A competition matching system and method based on win rate graph

Through the competition matching system based on the winning rate graph, the global correlation is constructed and the points distribution is calculated, which solves the problem of being unable to evaluate the global competitive level and fairness in the existing technology, and achieves stable and accurate competition matching.

CN118059504BActive Publication Date: 2024-08-27BEIJING UNIV OF POSTS & TELECOMM
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410484668.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-22
Publication Date
2024-08-27
Estimated Expiration
2044-04-22

AI Technical Summary

Technical Problem

The existing competition matching system cannot effectively evaluate the overall competitive level in large-scale player participation and complex competition scenarios, and is easily manipulated, leading to fairness and accuracy issues.

Method used

A competition matching system based on the winning rate graph is used to calculate the Google matrix by constructing the winning rate matrix and the jump matrix, and calculate the points distribution probability density function based on historical data to achieve global correlation and stable points.

Benefits of technology

In-depth integration of global data avoids the impact of a single game result, reduces players' malicious score-scrubbing behavior, and improves the fairness of the game and the accuracy of rankings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118059504B
    Figure CN118059504B
Patent Text Reader

Abstract

The present invention provides a competition matching system and method based on a win rate graph. The Google matrix is ​​calculated through the win rate matrix and the jump matrix to establish the global correlation between each target player; the Google matrix is ​​multiplied by the ranking vector and iterated repeatedly until convergence to obtain the ranking numerical vector, and the ranking is obtained to avoid the fluctuation of the winning rate caused by a small number of game results. By mining the integral distribution probability density function of the number of points data in the historical data, the elements in the ranking numerical vector are substituted as independent variables and the inverse function is used to obtain the appropriate volume of game points. The present invention deeply combines the global game data instead of over-relying on a single game result, maintains the stability of the points after the game reaches a certain number of games, and avoids the malicious scoring of players. In the process of calculating the game points, the parameters of the inverse function of the integral distribution probability density function can be set according to the upper and lower limits of the points required by different games, so as to scale the game points to meet the requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic equipment, and in particular to a competition matching system and method based on a win rate graph. Background Art

[0002] In many competitive sports and electronic game competitions, a reasonable and accurate competition matching system is of great significance for evaluating the level of players, organizing competitions and improving the fairness of competition. The competition matching system can not only measure the level of players, but also is the basis for the organization and operation of competitive events. Although there are many methods for calculating points and rankings in the existing technology, there are still deficiencies when facing large-scale player participation and complex competition data.

[0003] In the prior art, the calculation of points and rankings is highly dependent on the win-loss relationship of a single game, without considering the results of the game between all participants, and can only reflect the local rather than the global competitive level. For example, there is a contradictory situation where the winning rate of player A against B is higher than the winning rate of player C against B, but the total points of player A are lower than those of player C. In addition, in the prior art, players may "suppress points" by intentionally losing to certain opponents, thereby lowering their rankings and participating in low-level games to obtain rewards. This manipulative behavior exploits loopholes in the algorithm, seriously undermines the fairness of the game and the accuracy of the competition matching system, and has a negative impact on sports events. Furthermore, in the face of team competitions or multi-participant competitions, the impact of the interaction and collaboration between teams in the game on the results cannot be fully reflected through a simple win-loss relationship, which exposes the shortcomings of the algorithm in dealing with complex competition forms. This also leads to the difficulty in arranging the schedule fairly according to the real competitive level during the competition matching process. Therefore, a competition matching system is urgently needed. Summary of the invention

[0004] In view of this, an embodiment of the present invention provides a competition matching system and method based on a win rate graph to eliminate or improve one or more defects existing in the prior art and solve the problem that the prior art relies on local data while ignoring the global competitive level in calculating game points and rankings in complex event scenarios.

[0005] One aspect of the present invention provides a competition matching system based on a win rate graph, the system comprising:

[0006] A matching management module, configured to receive a competition matching request from an initiator, wherein the competition matching request includes identity information of the initiator;

[0007] A data collection module is used to obtain competition result data of a plurality of target players on a target competition event, wherein the competition result data includes the identity information of both parties of each competition and the winning and losing results; the target players include the initiator;

[0008] The ranking and points analysis module is used to calculate the ranking and points based on the competition result data of each target player. The steps include:

[0009] An initial winning rate matrix is ​​constructed according to the competition result data, wherein the initial winning rate matrix is ​​a two-dimensional matrix, wherein the rows and columns of the initial winning rate matrix correspond to the identity information of each target player, and each element of the initial winning rate matrix is ​​used to mark the winning rate between the target players corresponding to the row and column; the winning rate also introduces a weight that is positively correlated with the number of games;

[0010] Normalizing the initial winning rate matrix so that the sum of each column or row is 1, thereby obtaining a winning rate matrix;

[0011] Constructing a jump matrix in which all element values ​​are equal, and calculating a Google matrix using the win rate matrix and the jump matrix;

[0012] Initializing a ranking vector, wherein each element of the ranking vector is equal, multiplying the Google matrix by the ranking vector and iterating repeatedly to reach a stable state, thereby obtaining a ranking numerical vector; and ranking each target player according to the ranking numerical vector;

[0013] Acquire survey data, the survey data being data on the number of people with existing points in the target competition event; after cleaning the data on the number of people with points to remove outliers, obtain a probability density function of point distribution by kernel density estimation fitting;

[0014] Substituting the elements in the ranking numerical vector as independent variables into the inverse function of the score distribution probability density function to perform integral calculation to obtain the game score of each target player;

[0015] The matching management module is also used to match opponents in the same ranking interval or competition score interval according to the ranking or competition score of the initiator and form a match arrangement. In some embodiments, the ranking score analysis module constructs a jump matrix with all element values ​​equal, and calculates the Google matrix using the win rate matrix and the jump matrix, and the calculation formula is:

[0016] ;

[0017] Among them, S is the Google matrix, E is the jump matrix, T is the winning rate matrix, and α is the damping coefficient.

[0018] In some embodiments, the ranking points analysis module performs data cleaning on the points number data to remove abnormal points, including:

[0019] Set threshold values ​​and abnormal ratios;

[0020] An abnormality judgment is made on the data of the number of people with points, and if there is a data point whose deviation from the mean of all data points within the threshold value range around it is greater than the abnormal ratio, then the data point is the abnormal point;

[0021] The outlier point is removed or replaced with the mean value of all data points within the threshold value range around the outlier point.

[0022] In some embodiments, the survey data acquired by the ranking score analysis module includes:

[0023] Obtaining historical competition result data of the target competition event;

[0024] The points data is obtained by processing the historical competition result data based on the Elo rating system.

[0025] In some embodiments, the ranking score analysis module multiplies the Google matrix by the ranking vector and iterates repeatedly to reach a stable state, including:

[0026] The Google matrix is ​​multiplied by the ranking vector, and repeated iteration is performed for a set number of times to obtain the ranking value vector.

[0027] In some embodiments, after the ranking score analysis module obtains the integral distribution probability density function through kernel density estimation fitting, it also includes: using curve_fit curve fitting function to further fit and update the integral distribution probability density function.

[0028] In some embodiments, the ranking and points analysis module calculates and updates the ranking and points based on the competition result data of each target player at a set interval.

[0029] The ranking and points analysis module is also used to divide the target players into groups according to preset classification conditions, and calculate the rankings and points of the players in each group based on the competition result data of each group; the preset classification conditions include: geographical conditions, age conditions and body shape conditions.

[0030] In some embodiments, the elements in the ranking value vector are substituted as independent variables into the inverse function of the integral distribution probability density function to perform integral calculation to obtain the game score of each target player, and the calculation formula is:

[0031]

[0032] in, represents the score of the competition, represents the inverse function of the integral distribution probability density function, k represents the slope, b is a parameter constant, and x represents the value in the ranking numerical vector.

[0033] In some embodiments, the system further includes: a storage module for establishing a log and storing the historical game points and historical rankings of each target player.

[0034] The data publishing module is used to send the current ranking and the competition points of each target player to a designated terminal for display according to a preset link; and send the match arrangement obtained by matching to the initiator.

[0035] On the other hand, the present invention also provides a method for generating competition ranking and points based on a win rate graph, the method being executed in the above-mentioned competition matching system based on a win rate graph, the method comprising the following steps:

[0036] The matching management module obtains competition matching requests from multiple initiators and establishes a waiting queue;

[0037] The data acquisition module acquires competition result data on a target competition item between multiple target players, wherein the competition result data includes the identity information of both parties in each competition and the winning and losing results; the target players include the initiators;

[0038] The ranking and points analysis module calculates the ranking and points based on the competition result data of each target player;

[0039] The data publishing module sends the competition points and rankings of each target player to the designated terminal for display according to the preset link;

[0040] The matching management module divides the rank intervals according to the ranking and competition points of each target player, and matches the initiators in the waiting queue that belong to the same rank interval with each other.

[0041] The beneficial effects of the present invention include at least:

[0042] The competition matching system and method based on the win rate graph described in the present invention calculates the Google matrix through the win rate matrix and the jump matrix to establish the global correlation between each target player; the Google matrix is ​​multiplied by the ranking vector and iterated repeatedly until convergence to obtain the ranking numerical vector, and the ranking is obtained to avoid the fluctuation of the winning rate caused by a small number of game results. By mining the integral distribution probability density function of the number of points data in the historical data, the elements in the ranking numerical vector are substituted as independent variables and used to use its inverse function to obtain the appropriate amount of game points. The present invention deeply combines global game data rather than over-relying on a single game result, maintains the stability of the points after a certain number of games, and avoids malicious scoring by players.

[0043] Furthermore, in the process of calculating the game points, the parameters of the inverse function of the point distribution probability density function can be set according to the upper and lower limit of the points required by different games, so as to scale the game points to meet the requirements.

[0044] Additional advantages, purposes, and features of the present invention will be described in part in the following description, and will become apparent to those skilled in the art after studying the following, or may be learned from the practice of the present invention. The purposes and other advantages of the present invention may be achieved and obtained by the structures specifically indicated in the specification and the accompanying drawings.

[0045] Those skilled in the art will appreciate that the objectives and advantages that can be achieved with the present invention are not limited to the above specific description, and the above and other objectives that can be achieved by the present invention will be more clearly understood from the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The drawings described herein are used to provide a further understanding of the present invention, constitute a part of the present application, and do not constitute a limitation of the present invention. In the drawings:

[0047] Figure 1 A schematic diagram of the execution logic of the method for generating competition ranking points based on a win rate graph according to an embodiment of the present invention.

[0048] Figure 2 The figure is a schematic diagram of the execution flow of the TR algorithm in the method for generating competition ranking points based on the winning rate graph according to an embodiment of the present invention.

[0049] Figure 3 The figure is a schematic diagram of the TR-TRS mapping process in the method for generating competition ranking points based on the win rate graph according to an embodiment of the present invention.

[0050] Figure 4 This is a data graph of the number of points in the survey data in the method for generating competition ranking points based on the winning rate graph described in an embodiment of the present invention.

[0051] Figure 5 for Figure 4 The data chart of the number of people with points obtained after the data is clarified.

[0052] Figure 6 It is a curve diagram of the probability density function of the points distribution in the method for generating competition ranking points based on the winning rate graph described in one embodiment of the present invention.

[0053] Figure 7 for Figure 6 Graph of the inverse function of the integral distribution probability density function. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments and the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0055] It should also be noted that, in order to avoid obscuring the present invention due to unnecessary details, only structures and / or processing steps closely related to the solutions according to the present invention are shown in the accompanying drawings, while other details that are not closely related to the present invention are omitted.

[0056] It should be emphasized that the term “include / comprises” when used herein refers to the presence of features, elements, steps or components, but does not exclude the presence or addition of one or more other features, elements, steps or components.

[0057] It should also be noted that, unless otherwise specified, the term “connection” herein may refer not only to a direct connection but also to an indirect connection involving an intermediate.

[0058] In the prior art, the form of score calculation and ranking based on the improved Elo score system is widely used in the field of competitive sports, but it shows obvious deficiencies and challenges when dealing with large-scale player participation and complex game data. Even for the improved Elo algorithm, its core is still to adjust the player's score based on the win-loss relationship of a single game. Players may "suppress points" by intentionally losing to certain opponents, thereby lowering their rankings, and then participate in low-level competitions to obtain rewards. This manipulative behavior takes advantage of the loopholes in the algorithm, seriously undermines the fairness of the game and the accuracy of the ranking system, and has a negative impact on sports events. Although the ranking system based on the Elo algorithm has achieved certain applications and developments in the fields of table tennis, tennis, badminton and chess, its limitations in the face of large-scale player participation, high competitiveness and complex game forms have become increasingly prominent. These limitations urgently need new technical solutions to improve and optimize in order to achieve a more fair, accurate and difficult to manipulate ranking system.

[0059] Specifically, the present invention discloses a competition matching system based on a win rate graph, the system comprising: a matching management module, a data acquisition module, a ranking and points analysis module and a data publishing module, which respectively perform competition result data acquisition, ranking and points calculation, and ranking and points announcement. Each module can adopt a microcomputer, a field programmable gate circuit, a PCB board and other devices, and can also be loaded in an existing computing power device or platform system to perform corresponding functions.

[0060] The matching management module is used to receive a competition matching request from an initiator, wherein the competition matching request includes the identity information of the initiator.

[0061] The data collection module is used to obtain the competition result data of multiple target players on the target competition items. The competition result data includes the identity information of both parties in each competition and the winning and losing results. The target players include the initiator. The target players are the objects that need to be ranked and the points are calculated. The identity information is the identification information added for each target player. The winning and losing results can include the win and loss and the score. The competition result data is updated in real time according to the competition arrangement.

[0062] Ranking and points analysis module, used to calculate ranking and points based on the competition results of each target player, refer to Figure 1 and Figure 2 , the steps include S101~S106:

[0063] Step S101: construct an initial win rate matrix based on the competition result data. The initial win rate matrix is ​​a two-dimensional matrix. The rows and columns of the initial win rate matrix correspond to the identity information of each target player. Each element of the initial win rate matrix is ​​used to mark the win rate between the target players corresponding to the row and column. The win rate also introduces a weight that is positively correlated with the number of games.

[0064] Step S102: Normalize the initial winning rate matrix so that the sum of each column or row is 1, thereby obtaining the winning rate matrix.

[0065] Step S103: construct a jump matrix with all element values ​​being equal, and calculate the Google matrix using the win rate matrix and the jump matrix.

[0066] Step S104: Initialize the ranking vector, each element of the ranking vector is equal, multiply the Google matrix by the ranking vector and repeat the iteration to reach a stable state, and obtain the ranking numerical vector; rank each target player according to the ranking numerical vector.

[0067] Step S105: obtaining survey data, which is the existing data on the number of points winners of the target competition; cleaning the data on the number of points winners to remove outliers, and then obtaining the probability density function of the points distribution through kernel density estimation fitting.

[0068] Step S106: Substitute the elements in the ranking numerical vector as independent variables into the inverse function of the score distribution probability density function to perform integral calculation to obtain the game score of each target player.

[0069] In step S101, IDs are assigned to the target players respectively, and an ID list is generated. Furthermore, an index dictionary mapping the player ID to the initial win rate matrix can be established. Each element in the win rate matrix records the win rate relationship. For example, the element in the i-th row and j-th column represents the win rate of the i-th contestant relative to the j-th contestant.

[0070] In step S102, a normalization process is performed to ensure that the sum of the winning rate of each player against all other players is 1, so that each column represents a probability distribution. Specifically, a linear normalization algorithm, a Z-Score normalization algorithm, a decimal calibration normalization algorithm, or a batch normalization algorithm can be used to perform the normalization process.

[0071] In step S103, a jump matrix is ​​constructed. All element values ​​of the matrix are equal, indicating that the probability of jump between any two players is equal. The normalized win rate matrix and jump matrix are used to calculate the Google matrix, which is also the PageRank matrix in the PageRank algorithm. The Google matrix is ​​used to measure the strength of the players and provide a basis for ranking.

[0072] Specifically, in some embodiments, the ranking score analysis module constructs a jump matrix with equal element values, and calculates the Google matrix using the win rate matrix and the jump matrix, and the calculation formula is:

[0073] ;

[0074] Among them, S is the Google matrix, E is the jump matrix, T is the win rate matrix, and α is the damping coefficient. The damping coefficient is a very small value, such as 1×10 -3 , which is used to adjust the weight between direct win rate and random jump. This design aims to keep the system mainly based on actual win rate data, while avoiding extreme situations that may occur in ranking calculations by introducing a certain degree of randomness.

[0075] In step S104, a ranking numerical vector is initialized, and each element in the ranking numerical vector is initially set to be equal, representing the initial ranking score of each player. By multiplying the Google matrix S by the ranking vector X and repeating the iteration, the number of iterations is at least one thousand times, and the algorithm continuously updates the ranking score of each player until a stable state is reached. This iterative process simulates continuous competition and winning rate transfer among all players, and finally converges to a stable ranking score for each player. Based on the stable ranking score in the converged state, it is possible to sort the target players according to the competition results in the target competition event. The stable ranking score should retain multiple decimal places to ensure accuracy to prevent the global winning rate from being too small and the players with similar winning rates from being unable to distinguish when there are many players participating in the competition.

[0076] In some embodiments, the ranking score analysis module multiplies the Google matrix by the ranking vector and iterates repeatedly to reach a stable state, including: multiplying the Google matrix by the ranking vector, and iterating repeatedly for a set number of times to obtain a ranking value vector.

[0077] In steps S105 and S106, in order to configure the competition points with reasonable numerical intervals for easy use. The ranking points analysis module maps the stable ranking scores obtained above to the required scale. In the mapping process, the present invention first analyzes the target competition items based on the survey data, and calculates the distribution of the points and the number of people according to the existing data analysis results. The survey data can be historical data, which can be obtained by analysis based on an existing points evaluation system or algorithm.

[0078] In some embodiments, the survey data acquired by the ranking points analysis module includes: acquiring historical competition result data of the target competition event; and obtaining points number data by processing the historical competition result data based on the Elo rating system (Elo system).

[0079] First, the data of the number of people with points may have some abnormal points. This application first performs data cleaning to remove or replace the abnormal points to make the data smooth. In some embodiments, the ranking points analysis module performs data cleaning to remove abnormal points on the data of the number of people with points, including steps S201~S203:

[0080] Step S201: setting a threshold value and anomaly ratio.

[0081] Step S202: Make an abnormal judgment on the number of people with points. If there is a data point whose deviation from the mean of all data points within the surrounding threshold value range is greater than the abnormal ratio, the data point is an abnormal point.

[0082] Step S203: remove or replace the outlier with the mean of all data points within the threshold value range around the outlier.

[0083] Further, the cleaned survey data is analyzed, and the distribution of the data is fitted using kernel density estimation (KDE) to obtain an integral distribution probability density function about the integral distribution, where the independent variable is the integral and the dependent variable is the probability. In some embodiments, after the ranking integral analysis module obtains the integral distribution probability density function by kernel density estimation fitting, it also includes: using the curve_fit curve fitting function to further fit and update the integral distribution probability density function.

[0084] The value of the ranking numerical vector obtained through multiple rounds of repeated iterations in step S104 is substituted as an independent variable into the inverse function of the score distribution probability density function to obtain a game score that meets the interval requirements.

[0085] In some embodiments, the elements in the ranking value vector are substituted as independent variables into the inverse function of the score distribution probability density function to perform integral calculation to obtain the game score of each target player. The calculation formula is:

[0086]

[0087] in, represents the score of the competition, represents the inverse function of the integral distribution probability density function, k represents the slope, b is a parameter constant, and x represents the value in the ranking numerical vector.

[0088] The matching management module is also used to match opponents belonging to the same ranking interval or game score interval according to the ranking or game score of the initiator and form a match arrangement.

[0089] The data publishing module is used to send the current ranking and game points of each target player to the designated terminal for display according to the preset link; and send the matched event schedule to the initiator. The designated terminal includes a display device, which can be a dedicated terminal device deployed on the field or a user mobile device; and match the target players whose ranking or game points belong to the same interval and form an event schedule.

[0090] In some embodiments, the ranking and points analysis module calculates and updates the ranking and points based on the competition result data of each target player at a set interval.

[0091] The ranking points analysis module is also used to divide each target player into groups according to preset classification conditions, and calculate the ranking and points of the players in the group based on the competition result data of each group; the preset classification conditions include: geographical conditions, age conditions and body shape conditions.

[0092] In some embodiments, when multiple people initiate matching requests at the same time, the matching management module in the system is used to obtain competition matching requests from multiple initiators and establish a waiting queue;

[0093] The data collection module is used to collect competition result data on target competition items between multiple target players, the competition result data including the identity information of both parties in each competition and the winning and losing results; the target players include the initiators in the waiting queue.

[0094] The ranking points analysis module is used to calculate the ranking and competition points of each target player.

[0095] The matching management module is also used to divide the rank intervals according to the ranking and competition points of each target player, and to match the initiators in the waiting queue who belong to the same rank interval with each other.

[0096] In some embodiments, the system further includes: a storage module for establishing a log and storing the historical game points and historical rankings of each target player.

[0097] On the other hand, the present invention further provides a competition matching method based on a win rate graph, the method is executed in the above-mentioned competition matching system based on a win rate graph, and the method comprises the following steps S301-S303:

[0098] Step S301: The matching management module obtains competition matching requests from multiple initiators and establishes a waiting queue;

[0099] Step S302: The data collection module obtains competition result data on a target competition event between multiple target players, where the competition result data includes the identity information of both players in each competition and the winning and losing results.

[0100] Step S303: The ranking and points analysis module calculates the ranking and points of each target player based on the competition result data.

[0101] Step S304: The data publishing module sends the game points and rankings of each target player to a designated terminal for display according to a preset link.

[0102] Step S305: The matching management module divides the rank intervals according to the ranking and competition points of each target player, and matches the initiators in the waiting queue that belong to the same rank interval with each other.

[0103] The present invention is described below in conjunction with a specific embodiment:

[0104] This embodiment will take the table tennis competition scenario as an example to illustrate the method for generating competition ranking points based on the win rate graph. In this comprehensive technical solution, the key steps include collecting and processing data, establishing a win rate matrix, using the TR algorithm (Table Tennis Rank Score) to calculate the ranking, and finally dynamically updating and visualizing it.

[0105] First, the system extracts data from the competition database, such as Figure 1 As shown, it contains the results of various competitions between players and related statistical information. Accuracy at this stage is crucial because all subsequent analysis is based on this foundation.

[0106] Next, based on the processed data, a win rate matrix is ​​constructed, where each matrix element corresponds to the win rate of different players, thereby revealing the strength comparison between the players. In this process, the calculation of the win rate takes into account the results of each player's game against all other players, ensuring the accuracy and representativeness of each data point.

[0107] Next, the TR algorithm comes into play. It iterates the win rate matrix, integrates all players' game information, and calculates each player's comprehensive ranking points. This process includes quantitative scoring of each game's win and loss, and weighting the game results to achieve a fair and comprehensive ranking effect. The TR algorithm is particularly suitable for processing large amounts of data and can resist the risk of ranking manipulation due to players' deliberate losses.

[0108] Finally, the system displays ranking results and analysis through charts and visualization tools, allowing all stakeholders to intuitively understand the ranking results. This includes not only the distribution of win rates and ranking trends, but also the distribution of player strength through heat maps and other methods. The dynamic update mechanism ensures that the system can adjust the ranking in real time according to the latest game results, ensuring the timeliness and accuracy of the ranking.

[0109] In general, this proposed technical solution uses data analysis and visualization to bring a new ranking system to the field of competitive sports. Through precise mathematical models and algorithms, this system not only improves the accuracy and fairness of the ranking, but also improves the understandability and transparency of the ranking results through visualization tools, providing a more fair and dynamic competitive platform for all stakeholders.

[0110] Specifically, the process of establishing the win rate matrix includes:

[0111] The win rate matrix building process in this embodiment is a series of carefully designed steps to accurately calculate the relative strength of players in a competitive match. The process starts with starting the win rate matrix building process, first by initializing the database connection and creating the cursor required to execute the query. Next, the system retrieves all independent player IDs from the database and generates a list of player IDs, and then creates a dictionary that maps player IDs to matrix indexes in preparation for the next steps.

[0112] The win rate matrix T is initialized to a two-dimensional array of all zeros based on the number of players. The system then traverses all the game records in the database, including the player ID and score of each game. With this information, the system updates the win rate matrix T and calculates the win rate for each game between each pair of players. The calculation of the win rate not only takes into account the simple win-loss relationship, but also introduces a weight calculation mechanism, which includes calculating the total number of games between each pair of players and giving different weights to the win rate based on the number of games, ensuring that the win rate calculation between players who frequently participate in the game is more accurate and meaningful.

[0113] In order to handle the situation of self-confrontation, the value on the diagonal of the win rate matrix is ​​set to 0.5, which is the player's "win rate" against himself. In addition, the process also includes stability optimization of the win rate matrix, by analyzing and adjusting those elements that cause large fluctuations in the win rate due to too few games, in order to improve the stability of the overall system. The specific calculation method of the weight can be linear or nonlinear, depending on the requirements for system stability and responsiveness.

[0114] Finally, the weighted and stability-optimized win rate matrix T and the player list will be output or printed, completing the process of establishing the weighted win rate matrix. This weighted mechanism uses the number of games as a weight factor and appropriately adjusts the impact of the results of the games between players with fewer games, avoiding ranking fluctuations caused by data sparsity, and also handles possible outliers to ensure the fairness and accuracy of the ranking.

[0115] like Figure 2 As shown, the TR algorithm process includes:

[0116] 1. Matrix Normalization

[0117] The first step of the algorithm is to normalize the win rate matrix T. Each element T[i,j] in the win rate matrix T represents the probability of player i winning against player j. In order to ensure that the sum of each player's win rate against all other players is 1, the algorithm normalizes each column by dividing the sum of all elements in the column. This step ensures that each column of the matrix represents a probability distribution, that is, the probability distribution of player i winning against all other players.

[0118] 2. Create a jump matrix and Google matrix

[0119] Next, the algorithm creates a jump matrix E, where all elements are equal, indicating that the probability of jumping between any two players is equal. This step is similar to the concept of random jumps introduced in the web page ranking algorithm, which is used to solve the hanging node problem and increase the robustness of the system.

[0120] Using the jump matrix E and the win rate matrix T, the algorithm calculates the Google matrix S. The S matrix is ​​formed by multiplying the win rate matrix T by a main factor (1 - alpha) and the jump matrix E by a small damping factor alpha. Here alpha is a very small value (such as 1×10 -3 ), which is used to adjust the weight between direct win rate and random jump. This design aims to keep the system mainly based on actual win rate data, while avoiding extreme situations that may occur in ranking calculations by introducing a certain degree of randomness.

[0121] 3. Iterative calculation of ranking points

[0122] The core part is to use the Google matrix S to calculate the final ranking points. The algorithm initializes a ranking vector X, where each element is initially set to be equal, representing the initial ranking points of each player. By multiplying the Google matrix S by the ranking vector X and iterating repeatedly (usually thousands of times), the algorithm continuously updates the ranking points of each player until a stable state is reached. This iterative process simulates continuous competition and win rate transfer among all players, and finally converges to a stable ranking point for each player.

[0123] Specifically, when the TR algorithm transfers weights, since the weights are always operated between 0 and 1, the accuracy of the result is linked to the decimal precision. For example, two players who originally had different win rates (perhaps only a few wins or losses) have the same global win rate and the same points, which means that it is difficult to distinguish between these players with a small difference in points.

[0124] The precision problem caused by division. Division leads to the loss of precision of the decimal part. Here we use the concept of global win rate / highest global win rate as "parts" to map out points, which leads to the introduction of division, and the precision may fluctuate by a few points.

[0125] The more members participate in the competition, the lower their global winning rate is. Therefore, high precision is needed to ensure that the accuracy of the score mapping will not be affected when the number of people exceeds a certain level.

[0126] Therefore, the TR algorithm effectively calculates the ranking points that reflect the comprehensive strength of each player by combining the direct win rate information between players and introducing a certain degree of randomness. This algorithm not only takes into account the win-loss relationship between players, but also enhances the fairness and robustness of the system through the concept of random jumps in the algorithm design. This method provides an accurate and fair solution to the ranking problem in complex competitive systems.

[0127] like Figure 3 As shown, the TR-TRS mapping algorithm process

[0128] The TR-TRS mapping algorithm maps the results calculated by the TR algorithm to the game points in the target range. By iterating the win rate matrix in the TR algorithm, a stable global win rate list of players is finally obtained, and the points of each player are mapped out through this win rate relationship. TR-TRS mapping is not a simple monotonic linear relationship. It adjusts the sensitivity of different players to points according to the distribution density of players in reality. This means that the more points intervals the players are distributed in, the greater the impact of the players' wins and losses in each game on the rate of change of their points; the fewer intervals the players are distributed in (such as top players), the smaller the impact of the players' wins and losses in each game on the rate of change of their points. This property means that players who have just joined the game or players who have been in the novice points interval for a long time can better obtain points and improve their ranks, while the masters on the court cannot lose points by maliciously losing multiple games. In general, this allows players to obtain more positive feedback from the competition and avoids malicious point loss behavior.

[0129] Through the data obtained from the survey, this embodiment draws a score-population density distribution diagram to know which score segment has a high population density and which segment has a low population density. Now draw a score density histogram. Overall, it roughly conforms to the skewed distribution (positive skewness).

[0130] The execution data is clear, including:

[0131] like Figure 4 As shown in the histogram, it can be observed that there are many prominent outliers. In order to remove outliers and extreme points and smooth them, follow the following steps to make the data clear and finally get the correct density distribution map

[0132] First, set a threshold value a, which is used to define the range of points around a point that should be considered when judging whether a point is abnormal. Then, set a ratio b%, which is used to define what level of points are abnormal. If the value of a point is b% higher than the average value of the points within the range a around it, then it is marked as abnormal.

[0133] For each point, get the points within a range on both sides. If the value of this point exceeds the average value of these points by b%, it is considered abnormal and removed. For the remaining points, they are considered normal points and smoothed with a slightly different method. Take the average value of each point itself and the θ points on its left and right, so that a smoother result can be obtained. For those abnormal points, there are two ways to deal with them: one is to delete them directly, and the other is to replace them with the average value of the points near them.

[0134] Through such processing, Figure 5 As shown, we can finally get a cleaner and smoother density distribution map, which can better understand the true distribution of the data.

[0135] Fit the probability distribution of the number of points data:

[0136] Kernel density estimation (KDE) is a non-parametric method for estimating the probability density function (PDF) of a random variable by quickly fitting the corresponding density distribution function through the distribution of the data. Unlike parameter-based probability density estimation (such as normal distribution fitting), KD does not require the assumption that the data follows any specific distribution. Therefore, it is particularly suitable for exploratory data analysis and can reveal the distribution characteristics of the data, even in complex or unknown distributions. The integral density function used here generates a smooth probability density curve F(x), such as Figure 6 As shown, it helps to understand the distribution of the data and to generate subsequent TR-TRS as the function basis.

[0137] TR-TRS function generation:

[0138] like Figure 7 As shown, the inverse function of F(x) is recorded as f(x) to reflect the relationship between TR and TRS. The calculation formula is:

[0139]

[0140] in, represents the score of the competition, represents the inverse function of the integral distribution probability density function, k represents the slope, b is a parameter constant, and x represents the value in the ranking numerical vector.

[0141] By inputting the values ​​in the ranking numerical vector, i.e. the stable ranking points, as independent variables into the inverse function, the competition points that meet the interval requirements can be output.

[0142] Parameter fitting

[0143] The function is further fitted through the curve_fit function and the points and win rate data of the players in the dataset to make its parameters more accurate and the image more realistic.

[0144] It can be seen that the traditional Elo algorithm mainly adjusts the player's points based on the win-loss relationship of a single game, thereby reflecting the local rather than the global competitive level. The TR algorithm in this embodiment proposal, by constructing a win rate matrix and performing iterative calculations, uses global data to integrate the game results between all participants, and provides a more fair and comprehensive ranking result. This enables the algorithm to more accurately reflect the comprehensive strength of the players, rather than just the local confrontation results.

[0145] In traditional ranking systems, players may manipulate their rankings by deliberately losing games, etc. Since the TR algorithm calculates rankings based on overall game data, it greatly reduces the impact of individual behaviors on the overall ranking, thereby reducing the possibility of ranking manipulation and maintaining the fairness of the game.

[0146] Traditional Elo algorithms have shortcomings when dealing with the complexity of team games or multi-player games. The TR algorithm is not only suitable for one-on-one games, but also effectively handles the complexities of team games and multi-player games. This provides an accurate ranking system for various game formats and enhances the algorithm's scope and flexibility.

[0147] Through complex mathematical models and iterative calculations, the TR algorithm improves the robustness and accuracy of the ranking system. In contrast, the Elo algorithm and its variants may be more susceptible to the impact of individual game results due to their reliance on fewer data points.

[0148] This embodiment also emphasizes the dynamic update capability and visual display of the ranking system, so that all stakeholders can intuitively understand the ranking results. This not only improves the practicality of the system, but also enhances the viewing experience of the game and the participation of players and spectators.

[0149] In summary, the competition matching system and method based on the win rate graph described in the present invention calculates the Google matrix through the win rate matrix and the jump matrix to establish the global correlation between each target player; the Google matrix is ​​multiplied by the ranking vector and iterated repeatedly until convergence to obtain the ranking numerical vector, and the ranking is obtained to avoid the fluctuation of the winning rate caused by a small number of game results. By mining the integral distribution probability density function of the number of points data in the historical data, the elements in the ranking numerical vector are substituted as independent variables and used to use its inverse function to obtain the appropriate amount of game points. The present invention deeply combines global game data rather than relying too much on a single game result, maintains the stability of the points after a certain number of games, and avoids malicious scoring by players.

[0150] Furthermore, in the process of calculating the game points, the parameters of the inverse function of the point distribution probability density function can be set according to the upper and lower limits of the points required for different games, so as to scale the game points to meet the requirements.

[0151] Corresponding to the above method, the present invention also provides an apparatus / system, which includes a computer device, the computer device includes a processor and a memory, the memory stores computer instructions, the processor is used to execute the computer instructions stored in the memory, and when the computer instructions are executed by the processor, the apparatus / system implements the steps of the method described above.

[0152] The embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the aforementioned edge computing server deployment method are implemented. The computer-readable storage medium can be a tangible storage medium, such as a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a floppy disk, a hard disk, a removable storage disk, a CD-ROM, or any other form of storage medium known in the technical field.

[0153] It should be understood by those skilled in the art that the exemplary components, systems and methods described in conjunction with the embodiments disclosed herein can be implemented in hardware, software or a combination of the two. Whether it is performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link via a data signal carried in a carrier.

[0154] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.

[0155] In the present invention, features described and / or illustrated for one embodiment may be used in the same or similar manner in one or more other embodiments, and / or combined with features of other embodiments or replace features of other embodiments.

[0156] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the embodiments of the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A competition matching system based on a win rate graph, characterized in that: The system comprises: A matching management module, configured to receive a competition matching request from an initiator, wherein the competition matching request includes identity information of the initiator; A data collection module is used to obtain competition result data of a plurality of target players on a target competition event, wherein the competition result data includes the identity information of both parties of each competition and the winning and losing results; the target players include the initiator; The ranking and points analysis module is used to calculate the ranking and points based on the competition result data of each target player. The steps include: An initial winning rate matrix is ​​constructed according to the competition result data, wherein the initial winning rate matrix is ​​a two-dimensional matrix, wherein the rows and columns of the initial winning rate matrix correspond to the identity information of each target player, and each element of the initial winning rate matrix is ​​used to mark the winning rate between the target players corresponding to the row and column; the winning rate also introduces a weight that is positively correlated with the number of games; Normalizing the initial winning rate matrix so that the sum of each column or row is 1, thereby obtaining a winning rate matrix; A jump matrix with equal element values ​​is constructed, and the Google matrix is ​​calculated using the win rate matrix and the jump matrix. The calculation formula is: ; Wherein, S is the Google matrix, E is the jump matrix, T is the winning rate matrix, and α is the damping coefficient; Initializing a ranking vector, wherein each element of the ranking vector is equal, multiplying the Google matrix by the ranking vector and iterating repeatedly to reach a stable state, thereby obtaining a ranking numerical vector; and ranking each target player according to the ranking numerical vector; Acquire survey data, the survey data being data on the number of people with existing points in the target competition event; after cleaning the data on the number of people with points to remove outliers, obtain a probability density function of point distribution by kernel density estimation fitting; Substitute the elements in the ranking numerical vector as independent variables into the inverse function of the integral distribution probability density function to perform integral calculation to obtain the competition score of each target player. The calculation formula is: in, represents the score of the competition, represents the inverse function of the integral distribution probability density function, k represents the slope, b is a parameter constant, and x represents the value in the ranking numerical vector; The matching management module is also used to match opponents belonging to the same ranking interval or competition score interval according to the ranking or competition score of the initiator and form a match arrangement; Among them, the survey data obtained by the ranking points analysis module includes: obtaining the historical competition result data of the target competition event; and obtaining the points number data by processing the historical competition result data based on the Elo rating system.

2. The competition matching system based on the win rate graph according to claim 1, characterized in that: The ranking points analysis module performs data cleaning on the points number data to remove abnormal points, including: Set threshold values ​​and abnormal ratios; An abnormality judgment is made on the data of the number of people with points, and if there is a data point whose deviation from the mean of all data points within the threshold value range around it is greater than the abnormal ratio, then the data point is the abnormal point; The outlier point is removed or replaced with the mean value of all data points within the threshold value range around the outlier point.

3. The competition matching system based on the win rate graph according to claim 1, characterized in that: The ranking score analysis module multiplies the Google matrix by the ranking vector and iterates repeatedly to reach a stable state, including: Multiply the Google matrix by the ranking vector, and repeat the iteration for a set number of times to obtain the ranking value vector; After the ranking integral analysis module obtains the integral distribution probability density function through kernel density estimation fitting, it also includes: using the curve_fit curve fitting function to further fit and update the integral distribution probability density function.

4. The competition matching system based on the win rate graph according to claim 1, characterized in that: The ranking and points analysis module calculates and updates the ranking and points according to the competition result data of each target player at a set interval; The ranking and points analysis module is also used to divide the target players into groups according to preset classification conditions, and calculate the ranking and points of the players in each group according to the competition result data of each group; The preset classification conditions include: geographical conditions, age conditions and body shape conditions.

5. The competition matching system based on the winning rate graph according to claim 1, characterized in that: The matching management module is used to obtain competition matching requests from multiple initiators and establish a waiting queue; The data collection module is used to collect competition result data on a target competition item between multiple target players, wherein the competition result data includes the identity information of both parties in each competition and the winning and losing results; the target players include the initiators in the waiting queue; The ranking and points analysis module is used to calculate the ranking and competition points of each target player; The matching management module is further used to divide the rank intervals according to the ranking and competition points of each target player, and to match the initiators in the waiting queue that belong to the same rank interval with each other.

6. The competition matching system based on the winning rate graph according to claim 1, characterized in that: The system further comprises: A storage module is used to create a log and store the historical game points and historical rankings of each target player; The data publishing module is used to send the current ranking and the competition points of each target player to a designated terminal for display according to a preset link, and to send the match arrangement obtained by matching to the initiator.

7. A competition matching method based on a win rate graph, characterized in that: The method is executed in the competition matching system based on the win rate graph according to any one of claims 1 to 6, and the method comprises the following steps: The matching management module obtains competition matching requests from multiple initiators and establishes a waiting queue; The data acquisition module acquires competition result data on a target competition item between multiple target players, wherein the competition result data includes the identity information of both parties in each competition and the winning and losing results; the target players include the initiators; The ranking and points analysis module calculates the ranking and points based on the competition result data of each target player; The data publishing module sends the competition points and rankings of each target player to the designated terminal for display according to the preset link; The matching management module divides the rank intervals according to the ranking and competition points of each target player, and matches the initiators in the waiting queue that belong to the same rank interval with each other.

Citation Information

Patent Citations

  • Team matching

    CN101313322A

  • Data processing method and device, server and storage medium

    CN110772797A

  • Game user matching method and system

    CN112546635A

  • Competition opponent matching method and device, electronic equipment and storage medium

    CN115577271A

  • Calculating Web Page Importance

    US20100250555A1