Paddle board competition site connection grouping method and device, electronic equipment and medium
Through the automated system, the issues of fairness and impartiality in paddle board events are solved, the transparency and credibility of the event are achieved, and the compactness and viewing of the game are improved.
Patent Information
- Application Number
- CN202411423964.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-12
- Publication Date
- 2024-12-13
AI Technical Summary
In paddle board events, it is difficult to effectively group and allocate tracks to ensure fairness and impartiality of the competition, especially for athletes who have not completed or participated in the competition, and it is difficult to balance the advantages and competitiveness of different teams. .
By obtaining athletes' performance, age and team information, using an automated system to sort based on results and age, assign tracks and event groups, consider team information, ensure that athletes with similar strength compete on the same group or adjacent tracks, and through clear Standard and dual grouping strategies improve grouping elaboration and credibility.
The fairness and impartiality of the competition are achieved, artificial intervention is reduced, the transparency and credibility of the competition is enhanced, the bias caused by special circumstances is avoided, the compactness and viewing of the competition is improved, and the effective utilization of resources is ensured.
Smart Images

Figure CN119130080A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of event planning and processing, and in particular to a method, device, electronic equipment and medium for connecting and grouping at a paddle board event. Background Art
[0002] During the paddle board competition, there are generally two types of competitions, long distance and short distance. The athlete's final score is the sum of the points of the two competitions.
[0003] The two races are usually held one after the other. For example, if the long-distance race is held first, the results of the long-distance race will determine the track that the athlete will take in the second short-distance race, and the middle track is the advantageous track, that is, the better the athlete's results in the long-distance race, the closer he will be to the middle track.
[0004] In order to enable different teams to obtain more advantageous tracks and include as many different teams as possible in the same group, while also ensuring that different teams have the highest probability of advancing in short-distance competitions, a method for connecting and grouping paddle board events on site is urgently needed. Summary of the invention
[0005] In order to improve the scientific nature of the grouping of paddle board events, the present application provides a method, device, electronic device and medium for connecting and grouping paddle board events on site.
[0006] In the first aspect, the present application provides a method for connecting and grouping at a paddle board event, which adopts the following technical solution: Obtaining the track number, the athlete's performance information of the previous game, the athlete's age information and team information, wherein the performance information includes the athlete's final results, the results of the unfinished game or the non-participated game; Determine the number information of the athletes based on the age information, and sort the athletes according to the performance information and the number information to obtain a first sequence; Determining the level of the athlete according to the number of tracks and the ranking position of the athlete in the first sequence; Establish multiple competition groups, in order from low to high levels, and add athletes from each level to the competition groups in turn according to the athletes' team information; Each athlete in each event group is assigned a track based on their level.
[0007] By adopting the above technical solution, athletes are sorted based on their scores and ages, and tracks and competition groups are allocated accordingly, which helps to ensure the fairness and impartiality of the competition, especially by taking into account athletes who have not completed or participated in the competition, avoiding bias caused by special circumstances; through reasonable grouping and track allocation, athletes of similar strength can be allowed to compete in the same group or adjacent tracks as much as possible, and considering team information when grouping helps to maintain competition and cooperation between teams in the same competition group. The entire allocation process is based on clear and quantifiable standards (such as scores and age) and is carried out through an automated system, which reduces the possibility of human intervention, enhances the transparency and credibility of the event, and makes the event results more convincing.
[0008] Further, the numbering information includes grouping information and digital numbers, and the numbering information of the athletes is determined based on the age information, and the athletes are sorted according to the performance information and the numbering information to obtain a first sequence, including: Randomly determine a digital number for each athlete, where the number of digits of the digital number is the maximum number of digits corresponding to the total number of players in the event; determine the grouping information corresponding to the athlete according to the age information; Combining the grouping information with the digital number to obtain numbering information; If the athlete has completed the previous game, the millisecond-level performance information is used as the ranking value; If the athlete has not completed the previous game, the ASCII code corresponding to the grouping information is determined, the conversion code is determined by multiplying the ASCII code by 1000, and the millisecond value corresponding to 24 hours, the conversion code and the digital code are added together as the sorting value; If the athlete does not participate in the competition, the ASCII code corresponding to the grouping information is determined, the ASCII code is multiplied by 1000 to determine the conversion code, and the preset value, the conversion code and the digital code are added together as the sorting value, and the preset value is greater than the millisecond value corresponding to the 24 hours; The athletes are sorted in ascending order of the sorting values to obtain a first sequence.
[0009] By adopting the above technical solution, a digital number is randomly assigned to each athlete, and the number of digits in the number is consistent with the maximum number of digits corresponding to the total number of people in the event, thereby ensuring the standardization and uniqueness of the number, facilitating subsequent information management and query, and determining the grouping information of the athletes through age information, and combining the grouping information with the digital number into complete numbering information. This not only takes into account the age characteristics of the athletes, but also helps to manage the athletes more finely in subsequent sorting and grouping. For athletes who have completed, not completed or did not participate in the previous game, different methods are used to calculate the ranking values, giving them a relatively reasonable ranking position, avoiding sorting problems caused by lack of performance data, and making the entire sorting process more transparent and fair through clear sorting rules and calculation methods, thereby enhancing the transparency and credibility of the event.
[0010] Furthermore, determining the level of the athlete according to the number of tracks and the ranking position of the athlete in the first sequence includes: According to the order of the first sequence, the athletes are divided into different competition groups according to their age information; Obtaining professional group information of athletes in each of the competition groups; Divide the athletes into groups according to the same competition group and the same professional group information, and determine the second sequence of each group; Calculate the ratio of the total number of people in each group to the number of tracks and round it up to get the number of competition groups; Calculate the ratio of the total number of people to the number of groups in the competition and round it up to get the maximum level number; The athlete's ranking position in the second sequence is divided by the maximum grade number and rounded up to obtain the athlete's grade.
[0011] By adopting the above technical scheme, on the basis of the first sequence that has been obtained, the athletes are divided into different competition groups according to age information. This double grouping strategy makes the grouping more refined, which is helpful to find athletes of similar age and comparable competitive level in the same competition group, thereby improving the fairness and viewing experience of the competition. The athletes are further divided into groups according to the same competition group and the same professional group, which is helpful to achieve skill level matching in a smaller range. The athlete's ranking position in the second sequence is divided by the maximum level number and rounded up to calculate the athlete's level. This level division method not only takes into account the athlete's position in the overall ranking, but also ensures the continuity of the level division by rounding up. Through reasonable grouping and level division, the schedule and track allocation of the event can be arranged more scientifically, so that athletes of the same level can compete in the same time period, which not only avoids the loss of spectators caused by competitions with excessive disparity in strength, but also improves the compactness and viewing experience of the competition.
[0012] Furthermore, the establishment of multiple competition groups and adding athletes in each level to the competition groups in order from low to high levels according to the team information of the athletes include: A weight value corresponding to each team is established for each competition group, and the initial value of the weight value is 0; Sort the athletes in order of rank from low to high to obtain a third sequence, and use the first athlete in the third sequence as the current athlete; Determine whether the weight values corresponding to the teams of the current athletes in the respective competition groups are the same; If they are not the same, the current athlete is added to the competition group with the smallest weight value corresponding to the current athlete's team, and the weight value corresponding to the current athlete's team in the competition group is increased by one; If they are the same, the current athlete is added to any competition group, and the weight value corresponding to the team of the current athlete in the competition group is increased by one; When the weight values in each of the competition groups are increased by one, the current round is completed, and the next round continues. The next athlete in the third sequence is used as the current athlete, and the judgment step is repeated until all athletes are added to the competition group.
[0013] By adopting the above technical solution, athletes with similar strengths can be divided into the same level or group, which can ensure that they compete in the same time period and avoid one-sided results due to excessive disparity in strength. Track resources are allocated according to grouping and level division to ensure effective use of resources and avoid situations where some tracks are too crowded or idle due to uneven resource distribution. Grouping and level division make event management more convenient and efficient.
[0014] Furthermore, the assigning of a track to each athlete in each competition group according to the level of the athlete includes: establishing two-dimensional data according to each competition group, wherein the dimensions of the two-dimensional array are the number of competition groups and the number of rounds respectively; The middle value of the number of tracks is determined as the middle track, and the athletes are allocated one by one from the middle track to both sides according to the order of the number of rounds.
[0015] The above technical solution helps to reduce the unfairness of the competition caused by the difference in track position. The athletes on each track are in a relatively equal starting position at the beginning of the competition, so that the result of the competition depends more on the athletes' competitive level and performance rather than the track conditions. The athletes are allocated in the order of the rounds, which can ensure that each round of the competition can be carried out quickly and orderly.
[0016] Furthermore, if there are at least two competition groups in the current round whose corresponding weight values of the current athlete's team are the same, the method further includes: Determining the at least two competition groups as pending groups; Calculate the mean grade of each athlete in each pending group; Assign the current athlete to the event group with the lowest grade mean.
[0017] By adopting the above-mentioned technical solutions, it is ensured that each group contains a certain proportion of stronger and weaker athletes, thereby increasing the competitiveness and uncertainty of competitions within and between groups, promoting competitive balance, improving fairness, optimizing resource allocation, enhancing athlete motivation, facilitating event management, and promoting teamwork.
[0018] In a second aspect, the present application provides a paddle board event on-site connection and grouping device, comprising: An acquisition module, used to acquire the track number, the athlete's performance information of the previous game, the athlete's age information and team information, wherein the performance information includes the athlete's final score, the score of the unfinished game or the score of the non-participated game; A first sequence determination module, used to determine the number information of the athletes based on the age information, and sort the athletes according to the performance information and the number information to obtain a first sequence; A level determination module, used for determining the level of the athlete according to the number of tracks and the ranking position of the athlete in the first sequence; A competition group division module is used to establish multiple competition groups, and add athletes in each level to the competition groups in order from low to high levels and according to the team information of the athletes; The track allocation module is used to allocate the track for each athlete in each event group according to the athlete's level.
[0019] By adopting the above technical solution, athletes are sorted based on their scores and ages, and tracks and competition groups are allocated accordingly, which helps to ensure the fairness and impartiality of the competition, especially by taking into account athletes who have not completed or participated in the competition, avoiding bias caused by special circumstances; through reasonable grouping and track allocation, athletes of similar strength can be allowed to compete in the same group or adjacent tracks as much as possible, and considering team information when grouping helps to maintain competition and cooperation between teams in the same competition group. The entire allocation process is based on clear and quantifiable standards (such as scores and age) and is carried out through an automated system, which reduces the possibility of human intervention, enhances the transparency and credibility of the event, and makes the event results more convincing.
[0020] In a third aspect, the present application provides an electronic device, which adopts the following technical solution: An electronic device, comprising: at least one processor; Memory; At least one computer program, wherein the at least one computer program is stored in the memory and configured to be executed by the at least one processor, the at least one computer program being configured to: execute the method as described in any one of the first aspects.
[0021] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution: A computer-readable storage medium stores a computer program that can be loaded by a processor and executes the method as described in any one of the first aspects.
[0022] In summary, the present application includes at least one of the following beneficial technical effects: 1. Sorting athletes based on their performance and age, and allocating tracks and competition groups accordingly, helps ensure the fairness and impartiality of the competition, especially taking into account athletes who have not completed or participated in the competition, avoiding bias caused by special circumstances; through reasonable grouping and track allocation, athletes with similar strengths can compete in the same group or adjacent tracks as much as possible, and considering team information when grouping helps to maintain competition and cooperation between teams in the same competition group. The entire allocation process is based on clear and quantifiable standards (such as performance and age) and is carried out through an automated system, which reduces the possibility of human intervention, enhances the transparency and credibility of the event, and makes the event results more convincing; 2. Through reasonable grouping and level division, the schedule and track allocation of the event can be arranged more scientifically, allowing athletes of the same level to compete in the same time period, which not only avoids the loss of spectators caused by competitions with too great a disparity in strength, but also improves the compactness and viewing experience of the competition. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a flow chart of a method for connecting and grouping paddle board events on site in an embodiment of the present application.
[0024] Figure 2 It is a structural block diagram of a paddle board event site connection and grouping device in an embodiment of the present application.
[0025] Figure 3 It is a structural block diagram of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0027] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.
[0028] The present application embodiment discloses a method for connecting and grouping at a paddle board event. Figure 1 , executed by an electronic device, which can be a server or a terminal device, wherein the server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smart phone, a tablet computer, a desktop computer, etc., but is not limited thereto. It includes (steps S101 to S105): Step S101: Obtain the track number, the performance information of each athlete in the previous game, the athlete's age information and team information. The performance information includes the athlete's final score, the score of not completing the event or not participating in the event.
[0029] Specifically, the electronic device saves the track number of the current competition venue and the performance information of each athlete in the previous competition, and the athlete's age information can be obtained when the athlete information is entered.
[0030] The team information is the team that the athlete belongs to. The team can be divided according to region or customized. For example, the team information can include Beijing team (N), Shanghai team (O) and Guangzhou team (P).
[0031] Among them, there are three situations for athletes: completing the competition, not completing the competition, or not participating in the competition. Therefore, the performance information obtained by the electronic device includes the athlete's final score when completing the competition, the score when not completing the competition, and the score when not participating in the competition, among which the score of not participating in the competition is 0.
[0032] Step S102: Determine the athlete's number information based on the age information, and sort the athletes according to the performance information and the number information to obtain a first sequence. Including (steps S1021 to S1027): Step S1021: Randomly determine the digital number of each athlete, and the number of digits in the digital number is the maximum number of digits corresponding to the total number of people in the event.
[0033] Specifically, in order to ensure that each athlete has a unique digital number, the number of digits in the digital number needs to be sufficient to accommodate the total number of participants in the event. Therefore, the maximum number of digits corresponding to the total number of participants in the event is first determined. For example, if the total number of participants in the event is several hundred, the digital number is 3 digits; if the total number of participants in the event is thousands, the digital number is 4 digits, and so on.
[0034] Step S1022: Determine the grouping information corresponding to the athlete according to the age information.
[0035] Generally, athletes of different age groups compete independently, such as the junior group, youth group, adult group and middle-aged and elderly group.
[0036] Step S1023: Combine the grouping information with the digital number to obtain number information.
[0037] Specifically, in order to facilitate the distinction of the groups of athletes, the electronic device presets letter numbers corresponding to each group. For example, the youth group is A, the youth group is B, the adult group is C, and the middle-aged and elderly group is D. The numbering information is in the form of letter number + digital number, such as A001, B123, etc.
[0038] Step S1024: If the athlete has completed the previous game, the millisecond-level performance information is used as the ranking value.
[0039] Specifically, since the ranking of the second paddle board short-distance race needs to be based on the results of the previous paddle board long-distance race, the results information is used as the ranking value. The better the athlete performs in the first paddle board long-distance race, the higher the ranking in the second race.
[0040] Step S1025: If the athlete has not completed the previous game, determine the ASCII code corresponding to the grouping information, determine the conversion code by multiplying the ASCII code by 1000, and add the millisecond value corresponding to 24 hours, the conversion code and the digital code as the sort value.
[0041] Specifically, the game time of the athlete who has not completed the last game is inaccurate. If they are sorted according to the game time, the accuracy of the sequence will be affected. Therefore, the electronic device obtains the sorting value according to the grouping information of the athlete and the digital code combination of the athlete.
[0042] For example, the conversion code of athlete A001 = 65 (ascii code of A) * 1000 = 65,000; the sorting value = 86,400,000 * 1 (millisecond value corresponding to 24 hours) + 65,000 (conversion code) + 1 (digital code) = 86,465,001.
[0043] Among them, the time to complete the last game cannot exceed 24 hours, so the ranking value of the athlete who did not complete the last game is added to the millisecond value corresponding to 24 hours, which can distinguish the athletes who did not complete the game from the athletes who completed the game.
[0044] Among the athletes who have not completed the race, the athlete with a smaller serial number has a smaller ranking value, that is, when allocating the track for the second race, the position is determined only based on the numbering information.
[0045] Step S1026: If the athlete does not participate in the competition, determine the ASCII code corresponding to the grouping information, determine the conversion code by multiplying the ASCII code by 1000, add the preset value, the conversion code and the digital code as the sorting value, and the preset value is greater than the millisecond value corresponding to 24 hours.
[0046] Specifically, if an athlete does not participate in a game, in order to distinguish between athletes who have not completed the game and athletes who have completed the game, the preset value when generating the ranking value needs to be greater than the millisecond value corresponding to 24 hours, for example, the preset value can be 100,000,000. Therefore, the generated ranking value must be greater than the athlete who did not complete the previous game.
[0047] Step S1027: Sort the athletes in ascending order of the sorting values to obtain a first sequence.
[0048] Specifically, therefore, in the first sequence, athletes who have completed the competition are ranked first, athletes who have not completed the competition or have not participated in the competition are ranked last, and among athletes who have completed the competition, athletes with the same grouping information are adjacent.
[0049] Step S103: Determine the level of the athlete according to the number of tracks and the ranking position of the athlete in the first sequence. It includes (steps S1031 to S1036): Step S1031: According to the order of the first sequence, the athletes are divided into different competition groups according to their age information.
[0050] Specifically, since athletes of the same age group are adjacent in the first sequence, after being divided into different competition groups according to the order of the first sequence, the order of the athletes in each competition group is also obtained according to the results of the previous competition.
[0051] Step S1032: Obtain professional group information of athletes in each competition group.
[0052] Specifically, the professional group information refers to the professional level of the participants in the competition, for example, the open group and the master group. The open group refers to ordinary participants, and the master group refers to professional participants.
[0053] Step S1033: Group the athletes according to the same competition group and the same professional group information, and determine the second sequence of each group.
[0054] Specifically, due to the inconsistent performance of athletes in different professional groups, in order to facilitate distinction, athletes with the same professional group information in the same competition group are directly divided into one group without changing the order of the athletes in the first sequence, thereby determining the second sequence of each group.
[0055] Step S1034: Calculate the ratio of the total number of people in each group to the number of tracks and round it up to get the number of competition groups.
[0056] Step S1035: Calculate the ratio of the total number of players to the number of competition groups and round it up to get the maximum level number.
[0057] Step S1036: Divide the athlete's ranking position in the second sequence by the maximum grade number and round up to the integer to calculate the athlete's grade.
[0058] Specifically, the athletes in each second sequence are assigned to multiple competition groups together, and the calculated maximum level number is also the maximum number of people in each competition group. The athlete's ranking position in the second sequence is divided by the maximum level number to determine the round in which the athlete will be arranged into the competition group, that is, the smaller the level, the earlier the athlete will be arranged into the competition group.
[0059] For example, the total number of people in the second sequence corresponding to the adult open group is 22, and the number of tracks is 5. The ratio is calculated and rounded up to get 5 groups. The ratio of the total number of people 22 to 5 groups is the maximum level number 5, that is, 22 people can be divided into 5 levels in total. Furthermore, if the athlete's ranking position in the second sequence is 4, the athlete's level is 4÷5≈1.
[0060] Step S104: Establish multiple competition groups, and add athletes of each level to the competition groups in order from low to high level and according to the team information of the athletes. Including (steps S1041 to S1046): Step S1041: Establish a weight value corresponding to each team for each competition group, and the initial value of the weight value is 0.
[0061] Step S1042: Sort the athletes in order of level from low to high to obtain a third sequence, and use the first athlete in the third sequence as the current athlete.
[0062] Specifically, the electronic device ranks the athletes, and when the levels of the athletes are the same, the athletes are ranked according to their order in the second sequence.
[0063] Step S1043: Determine whether the weight values corresponding to the teams of the current athletes in each competition group are the same.
[0064] If they are not the same, execute step S1044: add the current athlete to the competition group with the smallest weight value corresponding to the current athlete's team, and increase the weight value corresponding to the current athlete's team in the competition group by one.
[0065] Specifically, if the weight values corresponding to the current athlete's team in each competition group are different, in order to balance the number of athletes from the same team in each competition group, the smallest weight value represents the team with the least number of people in the competition group. Therefore, the current athlete is added to the competition group with the smallest weight value corresponding to the team, and the weight value is updated.
[0066] If they are the same, execute step S1045: add the current athlete to any competition group, and increase the weight value corresponding to the current athlete's team in the competition group by one.
[0067] On the other hand, if the weight values corresponding to the current athlete's team in each event group are the same, then the number of athletes in the same team in each event group is the same, so the current athlete can be added to any event group and the weight value can be updated.
[0068] Step S1046: When all athletes in each level are added to the competition group, the current round is completed and the next round continues. The next athlete in the third sequence is used as the current athlete, and step S1043 is repeated until all athletes are added to the competition group.
[0069] Specifically, the electronic device allocates each athlete in sequence. When athletes in each level are added to the competition team, a round is completed, and the judgment step is repeated until the allocation is completed.
[0070] In another possible implementation, if there are at least two competition groups in the current round whose corresponding weight values of the current athlete's team are the same, then in addition to adding the athlete to any competition group, the method further includes (steps S11 to S13): Step S11: Determine at least two competition groups as pending groups.
[0071] Step S12: Calculate the average level of each athlete in each pending group.
[0072] Step S13: Allocate the current athlete to the competition group with the lowest grade average.
[0073] Specifically, the electronic device determines the competition group with the same weight value corresponding to the current athlete's team as the pending group, and further determines the average grade of each athlete in each pending group. The larger the average grade, the more people in the pending group and the stronger their strength. Therefore, the current athlete is assigned to the competition group with a low average grade, so that the number of people in each competition group is balanced and athletes with similar strength can be dispersed.
[0074] Take the following examples to illustrate the existence of multiple athletes, and replace them with numbers: Initial state: First round: Second round: Third round: Fourth round: Fifth round: Step S105: Allocating a track for each athlete in each competition group according to the athlete's level, including (steps S1051 to S1052): Step S1051: Create a two-dimensional array according to each competition group, where the dimensions of the two-dimensional array are the number of competition groups and the number of rounds.
[0075] For example, referring to the above table, a two-dimensional array is created: Step S1052: The middle value of the track number is determined as the middle track, and the athletes are allocated one by one from the middle track to both sides according to the order of the round number.
[0076] For example, if there are 5 tracks, the middle track is 3. Taking the first race group as an example, 122 is assigned to the 3rd track, 130 and 116 are assigned to the 2nd and 4th tracks respectively, and 131 and 111 are assigned to the 1st and 5th tracks respectively.
[0077] In order to better implement the above method, the present application embodiment also provides a paddle board event site connection grouping device, referring to Figure 2 The paddle board event site connection and grouping device 200 includes: The acquisition module 201 is used to acquire the track number, the athlete's performance information of the previous game, the athlete's age information and team information. The performance information includes the athlete's final score, the score of the unfinished game or the score of the game that he did not participate in; A first sequence determination module 202, for determining the number information of the athletes based on the age information, and sorting the athletes according to the performance information and the number information to obtain a first sequence; The level determination module 203 is used to determine the level of the athlete according to the number of tracks and the ranking position of the athlete in the first sequence; the competition group division module 204 is used to establish multiple competition groups, and add athletes in each level to the competition groups in order from low to high levels and according to the team information of the athletes; The track allocation module 205 is used to allocate a track to each athlete in each competition group according to the level of the athlete.
[0078] Further, the first sequence determination module 202 is specifically configured to: Randomly determine the digital number of each athlete, and the number of digits in the digital number is the maximum number of digits corresponding to the total number of players in the event; Determine the grouping information corresponding to the athletes according to the age information; Combine the grouping information with the digital number to obtain number information; If the athlete has completed the previous game, the millisecond-level performance information is used as the ranking value; If the athlete has not completed the previous game, determine the ASCII code corresponding to the grouping information, multiply the ASCII code by 1000 to determine the conversion code, and add the millisecond value, conversion code and digital code corresponding to 24 hours as the sorting value; If the athlete did not participate in the competition, determine the ASCII code corresponding to the grouping information, determine the conversion code by multiplying the ASCII code by 1000, add the preset value, the conversion code and the digital code as the sorting value, and the preset value is greater than the millisecond value corresponding to 24 hours; sort each athlete in ascending order of the sorting value to obtain the first sequence.
[0079] Furthermore, the level determination module 203 is specifically configured to: Following the order of the first sequence, the athletes are divided into different competition groups according to their age information; Get the professional group information of athletes in each competition group; Divide the athletes into groups according to the same competition group and the same professional group information, and determine the second sequence of each group; calculate the ratio of the total number of people in each group to the number of tracks and round it up to get the number of competition groups; Calculate the ratio of the total number of players to the number of tournament groups and round it up to get the maximum level number; The athlete's ranking position in the second sequence is divided by the maximum grade number and rounded up to calculate the athlete's grade.
[0080] Furthermore, the event group division module 204 is specifically used for: For each competition group, a weight value corresponding to each team is established, and the initial value of the weight value is 0; Sort the athletes in order of rank from low to high to obtain a third sequence, and use the first athlete in the third sequence as the current athlete; Determine whether the weight values corresponding to the current athletes' teams in each competition group are the same; If they are not the same, the current athlete is added to the competition group with the smallest weight value corresponding to the current athlete's team, and the weight value corresponding to the current athlete's team in the competition group is increased by one; If they are the same, the current athlete will be added to any competition group, and the weight value corresponding to the current athlete's team in the competition group will be increased by one; When the weight values in each competition group are increased by one, the current round is completed, and the next round continues. The next athlete in the third sequence is used as the current athlete, and the judgment steps are repeated until all athletes are added to the competition group.
[0081] Furthermore, the track allocation module 205 is specifically configured to: Create two-dimensional data based on each competition group, and the dimensions of the two-dimensional array are the number of competition groups and the number of rounds; The middle value of the number of tracks is determined as the middle track, and the athletes are allocated one by one from the middle track to both sides according to the order of the number of rounds.
[0082] Furthermore, the paddle board event on-site connection grouping device 200 includes, when there are at least two event groups in the current round where the weight values corresponding to the teams of the current athletes are the same, the following are applied: A pending group determination module, used for determining at least two competition groups as pending groups; A grade mean calculation module, used to calculate the grade mean of each athlete in each pending group; The allocation module is used to allocate the current athlete to the competition group with the lowest grade average.
[0083] The various variations and specific examples of the methods in the aforementioned embodiments are also applicable to the on-site connection and grouping device for paddle board events in this embodiment. Through the aforementioned detailed description of the on-site connection and grouping method for paddle board events, those skilled in the art can clearly know the implementation method of the on-site connection and grouping device for paddle board events in this embodiment, so for the sake of brevity of the specification, it will not be described in detail here.
[0084] In order to better implement the above method, the present application embodiment provides an electronic device, referring to Figure 3 , the electronic device 300 includes: a processor 301, a memory 303 and a display screen 305. Among them, the memory 303 and the display screen 305 are connected to the processor 301, such as through a bus 302. Optionally, the electronic device 300 may also include a transceiver 304. It should be noted that in actual applications, the transceiver 304 is not limited to one, and the structure of the electronic device 300 does not constitute a limitation on the embodiments of the present application.
[0085] Processor 301 may be a CPU (Central Processing Unit), a general purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 301 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0086] The bus 302 may include a path to transmit information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus 302 may be divided into an address bus, a data bus, a control bus, etc.
[0087] The memory 303 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
[0088] The memory 303 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the contents shown in the above method embodiment.
[0089] Figure 3 The electronic device 300 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0090] The embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the program is executed by a processor, the on-site connection and grouping method for paddle board events provided in the above embodiment is implemented. The processor executes the computer program in the computer-readable storage medium, sorts the athletes based on their scores and ages, and allocates tracks and event groups accordingly, which helps to ensure the fairness and impartiality of the competition, especially taking into account athletes who have not completed or participated in the competition, avoiding bias caused by special circumstances; through reasonable grouping and track allocation, athletes of similar strength can be allowed to compete in the same group or adjacent tracks as much as possible, and considering team information when grouping helps to maintain competition and cooperation between teams in the same event group. The entire allocation process is based on clear and quantifiable standards (such as scores and age) and is carried out through an automated system, which reduces the possibility of human intervention, enhances the transparency and credibility of the event, and makes the event results more convincing.
[0091] In this embodiment, the computer-readable storage medium may be a tangible device that holds and stores instructions used by the instruction execution device. The computer-readable storage medium may be, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any combination thereof. Specifically, the computer-readable storage medium may be a portable computer disk, a hard disk, a USB flash drive, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, an optical disk, a magnetic disk, a mechanical encoding device, and any combination thereof.
[0092] The computer program in this embodiment includes program codes for executing all the aforementioned methods, and the program codes may include instructions corresponding to the steps of the methods provided in the above embodiments. The computer program can be downloaded from a computer-readable storage medium to various computing / processing devices, or downloaded to an external computer or external storage device via a network (e.g., the Internet, a local area network, a wide area network, and / or a wireless network). The computer program can be executed entirely on a user's computer or as an independent software package.
[0093] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
[0094] In addition, it is to be understood that relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. The terms "comprises," "comprising," or any other variation thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device that includes a series of elements includes not only those elements, but also other elements that are not explicitly listed, or elements that are inherent to such process, method, article, or device.
Claims
1. A method for connecting and grouping paddle board events, characterized in that: include: Obtaining the track number, the athlete's performance information of the previous game, the athlete's age information and team information, wherein the performance information includes the athlete's final results, the results of the unfinished game or the non-participated game; Determine the number information of the athletes based on the age information, and sort the athletes according to the performance information and the number information to obtain a first sequence; Determining the level of the athlete according to the number of tracks and the ranking position of the athlete in the first sequence; Establish multiple competition groups, in order from low to high levels, and add athletes from each level to the competition groups in turn according to the athletes' team information; Each athlete in each event group is assigned a track based on their level.
2. The method according to claim 1, characterized in that The numbering information includes grouping information and digital numbers, the numbering information of athletes is determined based on the age information, and the athletes are sorted according to the performance information and the numbering information to obtain a first sequence, including: Randomly determine a digital number for each athlete, where the number of digits in the digital number is the maximum number of digits corresponding to the total number of players in the event; Determine the grouping information corresponding to the athlete according to the age information; Combining the grouping information with the digital number to obtain numbering information; If the athlete has completed the previous game, the millisecond-level performance information is used as the ranking value; If the athlete has not completed the previous game, the ASCII code corresponding to the grouping information is determined, the conversion code is determined by multiplying the ASCII code by 1000, and the millisecond value corresponding to 24 hours, the conversion code and the digital code are added together as the sorting value; If the athlete does not participate in the competition, the ASCII code corresponding to the grouping information is determined, the ASCII code is multiplied by 1000 to determine the conversion code, and the preset value, the conversion code and the digital code are added together as the sorting value, and the preset value is greater than the millisecond value corresponding to the 24 hours; The athletes are sorted in ascending order of the sorting values to obtain a first sequence.
3. The method according to claim 1, characterized in that Determining the level of the athlete according to the number of tracks and the ranking position of the athlete in the first sequence includes: According to the order of the first sequence, the athletes are divided into different competition groups according to their age information; Obtaining professional group information of athletes in each of the competition groups; Divide the athletes into groups according to the same competition group and the same professional group information, and determine the second sequence of each group; Calculate the ratio of the total number of people in each group to the number of tracks and round it up to get the number of competition groups; Calculate the ratio of the total number of people to the number of groups in the competition and round it up to get the maximum level number; The athlete's ranking position in the second sequence is divided by the maximum grade number and rounded up to obtain the athlete's grade.
4. The method according to claim 3, characterized in that: The method of establishing multiple competition groups and adding athletes of each level to the competition groups in order from low to high levels according to the team information of the athletes includes: A weight value corresponding to each team is established for each competition group, and the initial value of the weight value is 0; Sort the athletes in order of rank from low to high to obtain a third sequence, and use the first athlete in the third sequence as the current athlete; Determine whether the weight values corresponding to the teams of the current athletes in the respective competition groups are the same; If they are not the same, the current athlete is added to the competition group with the smallest weight value corresponding to the current athlete's team, and the weight value corresponding to the current athlete's team in the competition group is increased by one; If they are the same, the current athlete is added to any competition group, and the weight value corresponding to the team of the current athlete in the competition group is increased by one; When the weight values in each of the competition groups are increased by one, the current round is completed, and the next round continues. The next athlete in the third sequence is used as the current athlete, and the judgment step is repeated until all athletes are added to the competition group.
5. The method according to claim 1, characterized in that The track for each athlete in each competition group is allocated according to the athlete's level, including: Create two-dimensional data according to each competition group, the dimensions of the two-dimensional array are the number of competition groups and the number of rounds respectively; The middle value of the number of tracks is determined as the middle track, and the athletes are allocated one by one from the middle track to both sides according to the order of the number of rounds.
6. The method according to claim 4, characterized in that If there are at least two competition groups in the current round whose corresponding weight values of the current athlete's team are the same, the method further includes: Determining the at least two competition groups as pending groups; Calculate the mean grade of each athlete in each pending group; Assign the current athlete to the event group with the lowest grade mean.
7. A device for connecting and grouping paddle board events, characterized in that: include: An acquisition module, used to acquire the track number, the athlete's performance information of the previous game, the athlete's age information and team information, wherein the performance information includes the athlete's final score, the score of the unfinished game or the score of the non-participated game; A first sequence determination module, used to determine the number information of the athletes based on the age information, and sort the athletes according to the performance information and the number information to obtain a first sequence; A level determination module, used for determining the level of the athlete according to the number of tracks and the ranking position of the athlete in the first sequence; A competition group division module is used to establish multiple competition groups, and add athletes in each level to the competition groups in order from low to high levels and according to the team information of the athletes; The track allocation module is used to allocate the track for each athlete in each event group according to the athlete's level.
8. An electronic device, characterized in that: include: at least one processor; Memory; At least one computer program, wherein the at least one computer program is stored in the memory and configured to be executed by the at least one processor, the at least one computer program being configured to: execute the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 6.
