Sports event score processing method, system and equipment and medium
By automatically processing the performance data of sports events, using preset calculation rules and ranking rules, the problems of low efficiency and poor accuracy of manual performance processing are solved, and faster and more accurate results are achieved.
Patent Information
- Application Number
- CN202411659097.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-19
- Publication Date
- 2025-02-25
AI Technical Summary
The processing of sports events depends on manual labor, resulting in large workload, slow speed, untimely release of results and prone to deviations in statistical results.
Provide a method for processing results for sports events. By obtaining preset medal and points calculation rules, adding penalty points calculation rules, ranking rules and general score ranking rules, collecting competition results data of each participating organization, and automatically processing them according to these rules to generate published score data.
It reduces the workload of staff, improves the efficiency and accuracy of performance processing, improves the real-time performance announcement, and solves the problems of slow performance processing speed and deviation in the existing technology.
Smart Images

Figure CN119515183A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information technology, and in particular to a method, system, device and storage medium for processing results of sports events. Background Art
[0002] Sports events refer to activities held at a specific time and place, with competitive sports as the main form. These activities usually include competitions in various sports, such as football, basketball, athletics, swimming, etc. Participants can be individuals or teams, and a participating organization often includes multiple participants. The results of the competition are usually determined by grades or scores, and relevant performance data is counted.
[0003] In the related technology, the processing of sports event scores is affected by the characteristics of the sports event and the scoring rules, and the processing methods of scores of different sports events are different. At present, the processing of sports event scores mostly relies on manual work, which is prone to problems such as heavy workload, slow score processing, untimely score announcement, and deviation in score statistics.
[0004] In summary, the problems existing in related technologies need to be solved urgently. Summary of the invention
[0005] The purpose of this application is to solve one of the technical problems existing in the related art to at least a certain extent.
[0006] To this end, an object of embodiments of the present application is to provide a method, system, device and storage medium for processing sports event results.
[0007] In order to achieve the above technical objectives, the technical solutions adopted by the embodiments of the present application include:
[0008] On the one hand, an embodiment of the present application provides a method for processing sports event results, the method comprising:
[0009] Obtain preset medal and points calculation rules, penalty point calculation rules, score sorting rules, and general score ranking rules;
[0010] Collect initial competition performance data from each participating organization in multiple sports;
[0011] Ranking the initial competition performance data according to the performance ranking rule and the general performance ranking rule to obtain competition ranking data for each sport;
[0012] According to the medal and points calculation rules, the penalty points calculation rules and the competition ranking data, the medal data and points data of each participating organization are obtained;
[0013] Based on the medal data and the point data, published performance data is generated.
[0014] In addition, the sports event results processing method according to the above embodiment of the present application may also have the following additional technical features:
[0015] Furthermore, in one embodiment of the present application, the method further includes:
[0016] Establish the first correlation between comprehensive events;
[0017] According to the first association relationship, obtaining preset associated comprehensive competition summary results processing rules;
[0018] Establish a secondary association between a single comprehensive event and different individual events;
[0019] According to the second association relationship, obtaining a preset single comprehensive event points calculation supplementary rule;
[0020] The step of generating and publishing performance data according to the medal data and the score data comprises:
[0021] Generating final competition results of sports events of each individual event according to the medal data and the points data;
[0022] Calculate the summary results of all individual events associated with the participating organization under a single comprehensive event to generate the competition results of the comprehensive event;
[0023] Calculate the aggregated scores obtained by the participating organizations in the associated comprehensive events and generate published score data.
[0024] Furthermore, in one embodiment of the present application, the step of obtaining a preset single comprehensive event points calculation supplementary rule includes:
[0025] Obtain the maximum number of exchange events in the comprehensive event, the maximum number of exchange participants in a single event under the comprehensive event, and the maximum number of non-local athletes in a single event under the comprehensive event;
[0026] Calculate the difference between the number of individual events in which the participating organizations exchange athletes in the comprehensive event and the number of individual events with the most exchanges, establish a mapping relationship table based on the difference range, and determine a stepped first points deduction threshold;
[0027] Calculate the difference between the number of athlete exchanges of the participating organization and the maximum number of exchanges, establish a mapping relationship table based on the difference range, and determine a stepped second points deduction threshold;
[0028] The difference between the number of non-local athletes of the participating organization and the maximum number of non-local athletes is calculated, a mapping relationship table is established based on the difference range, and a stepped third points deduction threshold is determined.
[0029] Furthermore, in one embodiment of the present application, the step of calculating the aggregated scores of all individual events associated with the participating organization under a single comprehensive event includes:
[0030] Calculate the total number of gold medals, silver medals, bronze medals and medals won by the participating organization in all individual events in a single comprehensive competition;
[0031] Obtaining the points obtained by the participating organization in each individual event in a single comprehensive event;
[0032] According to the competition registration information, obtain the number of exchange projects of the participating organizations under all individual events in a single comprehensive competition;
[0033] Based on the exchange project number information of the participating organizations, determine a first point deduction threshold for quantity interval matching in the supplementary rules for point calculation of a single comprehensive event;
[0034] Based on the points and the first points deduction threshold, the points data obtained by the participating organization in all individual events in the current comprehensive event are calculated.
[0035] Furthermore, in one embodiment of the present application, the calculating of the aggregated scores obtained by the participating organizations in the associated comprehensive events includes:
[0036] Obtain the single comprehensive competition result processing parameters under the same competition type and the comprehensive competition result proportion parameters of single competition types under different competition levels preset in the comprehensive competition summary result processing rules;
[0037] Count the total number of gold medals, silver medals, bronze medals, medals and points won by the participating organization in a single comprehensive event;
[0038] According to the single comprehensive competition result processing parameters and the single competition type comprehensive competition result proportion parameters, the total number of gold medals, the total number of silver medals, the total number of bronze medals, the number of medals and the points data obtained by the participating organization in the associated comprehensive competitions and the comprehensive competitions of each competition type at different competition levels are calculated;
[0039] Obtaining the comprehensive competition results processing ratio parameters of different competition levels preset in the comprehensive competition summary results processing rules;
[0040] Based on the parameters for processing the proportion of comprehensive competition results and the total number of gold medals, silver medals, bronze medals, medals and points data won by the participating organization in the relevant comprehensive competitions and comprehensive competitions of various types at different competition levels, the summary results of the participating organization in the relevant comprehensive competitions are calculated.
[0041] Further, in one embodiment of the present application, the initial competition performance data is ranked according to the performance sorting rule and the general performance ranking rule to obtain competition ranking data of each sport, including:
[0042] Sorting the initial competition score data in ascending order or descending order according to the score sorting rule to obtain a sorting result;
[0043] The ranking results are ranked according to the general performance ranking rules to obtain the competition ranking data of each sport
[0044] Further, in one embodiment of the present application, the obtaining of medal data and points data of each participating organization according to the medal and points calculation rules, the penalty points calculation rules and the competition ranking data includes:
[0045] According to the medal and points calculation rules and the competition ranking data, the total number of gold medals, the total number of silver medals, the total number of bronze medals and the total number of medals of each participating organization are calculated;
[0046] According to the penalty point calculation rules and the competition ranking data, the points data of each participating organization is calculated.
[0047] On the other hand, an embodiment of the present application provides a sports event results processing system, the system comprising:
[0048] An acquisition unit, used to acquire preset medal and points calculation rules, penalty point calculation rules, score sorting rules, and general score ranking rules;
[0049] A collection unit, used to collect initial competition performance data of various participating organizations in multiple sports events;
[0050] A ranking unit, used to rank the initial competition performance data according to the performance ranking rule and the general performance ranking rule to obtain competition ranking data for each sport;
[0051] A calculation unit, used for obtaining medal data and points data of each participating organization according to the medal and points calculation rules, the penalty points calculation rules and the competition ranking data;
[0052] A generating unit is used to generate published performance data according to the medal data and the score data.
[0053] On the other hand, an embodiment of the present application provides an electronic device, including:
[0054] at least one processor;
[0055] at least one memory for storing at least one program;
[0056] When the at least one program is executed by the at least one processor, the at least one processor implements the above-mentioned method for processing the results of the sports event.
[0057] On the other hand, an embodiment of the present application further provides a computer-readable storage medium, in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to implement the above-mentioned method for processing the results of sports events.
[0058] The advantages and benefits of the present application will be partially given in the following description, and partially become apparent from the following description, or be understood through the practice of the present application:
[0059] The sports event performance processing method, system, device and storage medium disclosed in the embodiments of the present application obtain preset medal and points calculation rules, penalty point calculation rules, performance sorting rules and general performance ranking rules; collect initial competition performance data of each participating organization in multiple sports events; rank the initial competition performance data according to the performance sorting rules and the general performance ranking rules to obtain competition ranking data of each sports event; obtain medal data and points data of each participating organization according to the medal and points calculation rules, the penalty point calculation rules and the competition ranking data; generate and publish performance data according to the medal data and the points data. The method is based on the general score ranking rules for event score processing, combined with the nature and requirements of different sports events, to form medal and points calculation rules, penalty point calculation rules, score sorting rules and general score ranking rules that can be applied to different sports events, so as to solve the problems of large workload, low real-time and accuracy in score processing caused by the characteristics of different sports events and different scoring rules in sports events, thereby reducing the workload of staff, improving the efficiency of sports event score processing by using information technology, effectively improving the real-time nature of sports event score announcement and the accuracy of score statistics, and improving the existing sports event score processing methods, such as large calculation workload, slow speed and result deviation. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following introduction is made to the drawings of the embodiments of the present application or the related technical solutions in the prior art. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solutions of the present application. For technical personnel in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0061] Figure 1 A schematic diagram of an implementation environment of a method for processing results of a sports event provided in an embodiment of the present application;
[0062] Figure 2 A schematic diagram of a flow chart of a method for processing sports event results provided in an embodiment of the present application;
[0063] Figure 3 A schematic diagram of a rule configuration process provided in an embodiment of the present application;
[0064] Figure 4 A schematic diagram of another flow chart of rule configuration provided in an embodiment of the present application;
[0065] Figure 5 A schematic diagram of a process for obtaining competition ranking data of various sports events provided in an embodiment of the present application;
[0066] Figure 6 A schematic diagram of a process for obtaining medal data and points data of each participating organization provided in an embodiment of the present application;
[0067] Figure 7 A schematic diagram of a process for calculating the aggregated scores of participating organizations in individual events under a single comprehensive event provided in an embodiment of the present application;
[0068] Figure 8 A schematic diagram of a process for calculating the summary scores obtained by participating organizations in related comprehensive competitions provided in an embodiment of the present application;
[0069] Fig. 9 A schematic diagram of the structure of a sports event results processing system provided in an embodiment of the present application;
[0070] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0071] The present application is further described below in conjunction with the accompanying drawings and specific embodiments. The described embodiments should not be regarded as limiting the present application, and all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0072] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0073] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0074] Sports events refer to activities held at a specific time and place, with competitive sports as the main form. These activities usually include competitions in various sports, such as football, basketball, athletics, swimming, etc. Participants can be individuals or teams, and a participating organization often includes multiple participants. The results of the competition are usually determined by grades or scores, and relevant performance data is counted.
[0075] In the related technology, the processing of sports event scores is affected by the characteristics of the sports event and the scoring rules, and the processing methods of scores of different sports events are different. At present, the processing of sports event scores mostly relies on manual work, which is prone to problems such as heavy workload, slow score processing, untimely score announcement, and deviation in score statistics.
[0076] In particular, for youth sports events, in addition to being affected by the characteristics of traditional sports and scoring rules, they may also be affected by more factors such as athlete household registration, athlete exchanges, etc., and different youth comprehensive events may be related. Ultimately, the results of each participating organization are not entirely determined by a single youth comprehensive event.
[0077] In view of this, a method for processing the results of a sports event is provided in an embodiment of the present application. The method obtains preset medal and point calculation rules, penalty point calculation rules, result sorting rules, and general result ranking rules; collects initial competition result data of each participating organization in multiple sports events; ranks the initial competition result data according to the result sorting rules and the general result ranking rules to obtain competition ranking data of each sports event; obtains medal data and point data of each participating organization according to the medal and point calculation rules, the penalty point calculation rules, and the competition ranking data; generates and publishes result data based on the medal data and the point data. The method is based on the general score ranking rules for event score processing, combined with the nature and requirements of different sports events, to form medal and points calculation rules, penalty point calculation rules, score sorting rules and general score ranking rules that can be applied to different sports events, so as to solve the problems of large workload, low real-time and accuracy in score processing caused by the characteristics of different sports events and different scoring rules in sports events, thereby reducing the workload of staff, improving the efficiency of sports event score processing by using information technology, effectively improving the real-time nature of sports event score announcement and the accuracy of score statistics, and improving the existing sports event score processing methods, such as large calculation workload, slow speed and result deviation.
[0078] Please refer to Figure 1 , Figure 1 The schematic diagram of the implementation environment of a sports event score processing method provided in the embodiment of the present application is shown. In the implementation environment, the main hardware and software entities involved include a terminal device 110 and a backend server 120. The terminal device 110 and the backend server 120 are connected in communication.
[0079] Specifically, the sports event results processing method provided in the embodiments of the present application can be executed solely on the terminal device 110 side, can be executed solely on the background server 120 side, or can be executed based on data interaction between the terminal device 110 and the background server 120.
[0080] The terminal device 110 of the above embodiment may include a mobile phone, a computer, a smart wearable device, a PDA device, an intelligent voice interaction device, a vehicle terminal, etc., but is not limited thereto. The backend server 120 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0081] The terminal device 110 and the backend server 120 may establish a communication connection via a wireless network or a wired network. The wireless network or wired network uses standard communication technology and / or protocols, and the network may be set to the Internet or any other network, such as but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a private network or any combination of a virtual private network.
[0082] Of course, it is understandable that Figure 1 The implementation environment in the embodiment of the present application is only some optional application scenarios of the sports event score processing method provided in the embodiment of the present application, and the actual application is not fixed. Figure 1 The hardware and software environment shown.
[0083] Next, in combination with the introduction of the aforementioned implementation environment, a method for processing the results of a sports event provided in an embodiment of the present application is introduced and explained.
[0084] Please refer to Figure 2 , Figure 2 : is a schematic diagram of a method for processing the results of a sports event provided in an embodiment of the present application. The method for processing the results of a sports event includes but is not limited to:
[0085] Step 210, obtaining preset medal and points calculation rules, penalty point calculation rules, score sorting rules and general score ranking rules;
[0086] Step 220, collecting initial competition performance data of each participating organization in multiple sports events;
[0087] Step 230: rank the initial competition performance data according to the performance ranking rule and the general performance ranking rule to obtain competition ranking data for each sport;
[0088] Step 240, obtaining medal data and points data of each participating organization according to the medal and points calculation rules, the penalty points calculation rules and the competition ranking data;
[0089] Step 250: Generate and publish performance data based on the medal data and the score data.
[0090] In an embodiment of the present application, a method for processing the results of a sports event is provided. Rules are configured based on the interpretation and calculation of relevant influencing factors in the process of processing the results of youth sports events. On the basis of general rules for processing the results of youth sports events, combined with the special properties and requirements of different sports events, a method for processing the results of youth sports events that can be applied to different sports events is formed to solve the problems of large workload, low real-time performance and accuracy in processing the results of youth sports events due to different characteristics of different sports events, scoring rules, competition characteristics and other factors.
[0091] The technical solution in the embodiment of the present application can include three stages as a whole: a rule configuration stage, a data collection stage, and a score processing stage.
[0092] For details, please refer to Figure 3 , Figure 3 A schematic diagram of a rule configuration process provided in an embodiment of the present application is shown.
[0093] Figure 3 The process steps shown in the figure include:
[0094] Establish the first correlation between comprehensive events;
[0095] According to the first association relationship, obtaining preset associated comprehensive competition summary results processing rules;
[0096] Establish a secondary association between a single comprehensive event and different individual events;
[0097] According to the second association relationship, the preset single comprehensive event points calculation supplementary rules are obtained.
[0098] In the embodiment of the present application, when creating the competition information, the association relationship between different comprehensive events can be established, and they are recorded as the first association relationship, and the first association relationship can be used for the subsequent processing of the summary results of the associated comprehensive events. In addition, the association relationship between a single comprehensive event and different individual events can also be established, which is recorded as the second association relationship, and the second association relationship can be used for the subsequent processing of the results of the participating organizations in different individual events under a single comprehensive event. In the embodiment of the present application, the corresponding comprehensive event summary results processing rules and the single comprehensive event points calculation supplementary rules can be preset according to different association relationships.
[0099] Specifically, the process of presetting the rules for processing the summary results of multiple related comprehensive events may include:
[0100] Get the event level data dictionary;
[0101] Get the event type data dictionary;
[0102] The preset comprehensive competition results processing ratio parameters of different competition levels are t, and the sum of the comprehensive competition results processing ratio parameters of all competition levels is 1;
[0103] The comprehensive competition score ratio parameters of different competition types at each competition level are preset to 1, and the sum of the comprehensive competition score ratio parameters of all competition types at the same competition level is 1;
[0104] The preset processing parameters for a single comprehensive event result are s. Since different comprehensive events under the same event type may contain m events, the processing parameters for a single comprehensive event result under the same event type are
[0105] It should be noted that since youth competitions allow athlete exchanges, that is, athletes represent organizations other than their own registered organizations, if this happens too often, it will affect the fairness of the competition. Therefore, in the embodiment of this application, some supplementary rules can be pre-set to correct the results of the competition. At the same time, in order to protect the rights and interests of local athletes, corresponding supplementary rules will be made for the household registration of participating athletes.
[0106] For example, please refer to Figure 4 , Figure 4 A schematic diagram of another rule configuration process provided in an embodiment of the present application is shown. In this scenario, the process of presetting a single comprehensive event points calculation supplementary rule may include:
[0107] The maximum number of exchange events for the preset comprehensive competition;
[0108] The maximum number of people who can communicate in a single event under the preset comprehensive event;
[0109] The maximum number of non-local athletes in a single event under the pre-set comprehensive competition;
[0110] The difference between the number of individual events in which athletes are exchanged by participating organizations in the comprehensive competition and the preset limit on the maximum number of individual events for exchange is calculated. Based on the range of the difference, a mapping relationship table is established, and a step-by-step first point deduction threshold is preset, denoted as b, 0≦b≦100%;
[0111] According to the number of athletes exchanged by the participating organizations, the difference between the preset maximum number of exchanges is calculated, and based on the difference range, a mapping relationship table is established, and a stepped second point deduction threshold is preset, denoted as p, 0≦p≦100%;
[0112] The difference between the number of non-local athletes in the participating organizations and the preset maximum number of non-local athletes is calculated. A mapping relationship table is established based on the range of the difference, and a stepped third points deduction threshold is preset, denoted as m, 0≦m≦100%.
[0113] In step 210, the preset medal and points calculation rules, penalty point calculation rules, score sorting rules and general score ranking rules are obtained. Here, the medal and points calculation rules corresponding to different rankings in individual events, the penalty point calculation rules for competition results caused by different situations in individual events, and the score sorting rules for different score units in individual events can be preset in advance, and the general score ranking rules for individual events can be preset.
[0114] For example, the general ranking rule can adopt Chinese ranking or American ranking. Among them, "Chinese" and "American" are used to distinguish between two different ranking methods: "continuous ranking" and "discontinuous ranking". Chinese ranking (dense_rank) means dense ranking, and the number of people and the total ranking may be different (based on "results", there are as many rankings as there are results, and the last ranking is less than or equal to the total number of people); American ranking (rank) means that the number of people and the total ranking are the same (the last ranking is equal to the total number of people, except when there is a tie for the last place).
[0115] It should be noted that, in the preset individual event different performance units of the performance ranking rules, different performance units represent the performance unit dictionary summarized according to the characteristics of different sports events, and specific performance units include but are not limited to: hours, minutes, seconds, seconds, meters, kilograms and rankings, etc. The specific performance unit can be set according to the specific sports event, and the embodiment of the present application is not limited to this. According to the characteristics of different performance units, the corresponding initialization competition performance data can be set to be in ascending order (from small to large) or descending order (from large to small) order ranking rules.
[0116] In some embodiments, initial competition results data of each sport in a single event is collected: the initial competition results data collected for each sport includes but is not limited to: the major events, groups, minor events, participating organizations, athletes and specific competition results of each sport.
[0117] In some embodiments, reference Figure 5 In step 230 of the embodiment of the present application, the initial competition performance data is ranked according to the performance ranking rule and the general performance ranking rule to obtain the competition ranking data of each sport, which may include:
[0118] Sorting the initial competition score data in ascending order or descending order according to the score sorting rule to obtain a sorting result;
[0119] The sorting results are ranked according to the general performance ranking rules to obtain competition ranking data for each sport.
[0120] Among them, the sorting results are ranked according to the general score ranking rules to obtain the competition ranking data of each sports event, including: when determining the ascending rule sorting results according to the sorting results, ranking the ascending rule sorting results according to the general score ranking rules to obtain the competition ranking data of each sports event under the ascending rule; or, when determining the descending rule sorting results according to the sorting results, ranking the descending rule sorting results according to the general score ranking rules to obtain the competition ranking data of each sports event under the descending rule.
[0121] Specifically, according to the preset score sorting rules of different score units, the collected initial competition score data of each sport is sorted in ascending order (from small to large) or descending order (from large to small) to obtain corresponding competition ranking data.
[0122] Exemplarily, in some embodiments, according to the general score ranking rule, the scores of each sport under the ascending rule are ranked to form the competition ranking data of each sport under the ascending rule. Specifically, according to the general score ranking rule, the scores sorted according to the ascending rule are ranked to obtain the competition ranking data of each sport under the ascending rule, which may include: obtaining the initial competition score data of each sport corresponding to the scores sorted according to the ascending rule; determining the score difference of adjacent athletes according to the sorting position of the initial competition score data; calculating the number of tie scores according to the score difference; when the general score ranking rule is an intensive ranking rule, obtaining the first ranking data according to the intensive ranking rule and the number of tie scores, and obtaining the competition ranking data of each sport under the ascending rule according to the first ranking data; when the general score ranking rule is an American ranking rule, obtaining the second ranking data according to the American ranking rule and the number of tie scores, and obtaining the competition ranking data of each sport under the ascending rule according to the second ranking data.
[0123] For example, the processing steps for the ranking data of each sport under the ascending rule specifically include: obtaining the initial competition performance data of each sport after ascending sorting; obtaining the performance ranking rules of each relevant sport, such as using Chinese ranking or American ranking; assuming that the initial competition performance data of the athlete is S, the sorting position of the initial competition performance data is n, and the difference between the performances of the adjacent athletes is A, then A n =S n -S (n-1) ; Assume that when adjacent athletes have the same scores, that is, A n =S n -S (n-1) =0, set the number of times the scores are tied to h, and whenever A=0, h=h+1, the initial value of h can be set to 0; calculate the ranking of the athlete based on the above score processing results, assuming that the athlete's ranking is R.
[0124] In one example, when the calculation adopts the Chinese ranking (intensive ranking rule), when n=1, R=1; when n>1, if A n =S n -S (n-1) >0, then R n =R n +1, if A n =S n -S (n-1) =0, then R n =R n .
[0125] In another example, when the calculation adopts the American ranking, when n=1, R=1; when n>1, if A n =S n -S (n-1) >0, then R n =R n +1, if A n =S n -S (n-1) =0, then R n =R n , h=h+1, after A=0 appears, when A n =S n -S (n-1) >0, R n =R n +1+h, h returns to 0 after participating in one calculation, and waits for the next count again.
[0126] In other embodiments, the scores of each sport under the descending rule are ranked according to the general score ranking rule to form the competition ranking data of each sport under the descending rule. Specifically, the scores sorted according to the descending rule are ranked according to the general score ranking rule to form the competition ranking data of each sport under the descending rule, which may include: obtaining the initial competition score data of each sport corresponding to the scores sorted according to the descending rule; determining the score difference of adjacent athletes according to the sorting position of the initial competition score data; calculating the number of times the scores are tied according to the score difference; when the general score ranking rule is an intensive ranking rule, obtaining the third place data according to the intensive ranking rule and the number of times the scores are tied, and obtaining the competition ranking data of each sport under the descending rule according to the third place data; when the general score ranking rule is an American ranking rule, obtaining the fourth place data according to the American ranking rule and the number of times the scores are tied, and obtaining the competition ranking data of each sport under the descending rule according to the fourth place data.
[0127] For example, the calculation steps for the ranking data of each sport under the descending rule specifically include: obtaining the initial competition performance data of each sport after sorting in descending order; obtaining the performance ranking rules of each relevant sport, such as using Chinese ranking or American ranking; assuming that the initial competition performance data of the athlete is S, the sorting position of the initial competition performance data is n, and the difference between the performances of the adjacent athletes is A, then A n =S n -S (n-1) ; When the scores of adjacent athletes are the same, A n =S n -S (n-1) =0, set the number of times the scores are tied to h, and whenever A=0, h=h+1, the initial value of h can be set to 0; calculate the ranking of the athlete based on the above score processing results, assuming that the athlete's ranking is R.
[0128] In one example, when the Chinese ranking is calculated, when n=1, R=1; when n>1, if A n =S n -S (n-1) <0, then R n =R n +1, if A n =S n -S (n-1) =0, then R n =R n .
[0129] In another example, when the American ranking is used, when n=1, R=1; when n>1, if A n =S n -S (n-1) <0, then R n =R n +1, if A n =S n -S (n-1) =0, then R n =R n , h=h+1, after A=0 appears, when A n =S n -S (n-1) <0, R n =R n +1+h, h returns to 0 after participating in one calculation, and waits for the next count again.
[0130] In some embodiments, reference Figure 6 In step 240 of the embodiment of the present application, the medal data and points data of each participating organization are obtained according to the medal and points calculation rules, the penalty points calculation rules and the competition ranking data, including:
[0131] According to the medal and points calculation rules and the competition ranking data, the total number of gold medals, the total number of silver medals, the total number of bronze medals and the total number of medals of each participating organization are calculated;
[0132] According to the penalty point calculation rules and the competition ranking data, the points data of each participating organization is calculated.
[0133] It can be understood that according to the medal calculation rules in the preset medal and point calculation rules, combined with the calculated competition ranking data, the total number of gold medals, the total number of silver medals, the total number of bronze medals and the total number of medals of each participating organization can be determined; according to the point calculation rules in the preset medal and point calculation rules and the preset penalty point calculation rules, combined with the calculated competition ranking data, the point data of each participating organization can be calculated.
[0134] Specifically, according to the medal and points calculation rules and the competition ranking data, the total number of gold medals, the total number of silver medals, the total number of bronze medals and the total number of medals of each participating organization are calculated, including:
[0135] Obtain the total number of gold medals, silver medals and bronze medals for each event of each participating organization according to the medal and points calculation rules;
[0136] Obtain the total number of medals for a single event of the participating organization according to the sum of the total number of gold medals, the total number of silver medals and the total number of bronze medals;
[0137] The total number of medals of the participating organization is obtained according to the sum of the total number of medals of multiple individual events.
[0138] It should be noted that the steps for calculating the total number of gold medals, silver medals, bronze medals and total number of medals of each participating organization in a single event specifically include: determining the medal calculation rules; assuming that the total number of gold medals won by a participating organization in a single event is x, the total number of silver medals won in a single event is y, and the total number of bronze medals won in a single event is z, then the total number of medals won by the participating organization in a single event is g=x+y+z; calculate the total number of gold medals won by the participating organization in the entire competition Total number of silver medals Total number of bronze medals k represents the total number of events. The total number of medals won by the participating organization in the entire competition is G, then G = X + Y + Z, and the total number of medals G of the participating organization is obtained.
[0139] Specifically, the points data of each participating organization is calculated according to the penalty point calculation rule and the competition ranking data, including:
[0140] Obtaining the competition ranking points of a single athlete in a single event of each participating organization according to the competition ranking data;
[0141] According to the penalty point calculation rule, the points of multiple competition rankings of each participating organization in a single event are summed up to obtain the total points of each participating organization in a single event;
[0142] Obtain penalty point data and bonus point data according to the penalty point calculation rule and the competition ranking data;
[0143] The score of a single item is obtained by adding the bonus data to the total score and subtracting the penalty data;
[0144] The points data of the participating organization is obtained according to the sum of the points of the multiple individual items.
[0145] It can be understood that the above-mentioned medal data and points data can form the final competition results of each individual event; calculate the summary results of all individual events associated with the participating organizations under a single comprehensive event to form the competition results of the comprehensive event; calculate the final summary results obtained by the participating organizations in the associated comprehensive events to form the final publishable competition results, that is, publish the results data.
[0146] It should be noted that the steps for calculating the points of each participating organization in a single event specifically include: determining the points calculation rules and penalty points calculation rules; assuming that the points corresponding to the ranking of a single athlete in a single event of a participating organization are G, then the points obtained by the organization in a single event are the sum of the converted points of all the athletes who have won the ranking, that is, q represents the number of athletes who obtained a place. If the participating organization has bonus points in a single event, the calculated single bonus point value is u, and the number of bonus points is d, then the total bonus points of the participating organization in a single event is B=u*d; suppose the participating organization has penalty points in a single event, the calculated single penalty point value is c, and the number of penalty points is e, then the total penalty points of the participating organization in a single event is C=c*e; obtain the number of exchange athletes of the participating organization in a single event; based on the obtained number of exchange athletes of the participating organization in the single event, calculate the second point deduction threshold p that matches the corresponding number interval in the preset single comprehensive event point calculation supplementary rules; obtain the number of non-local registered athletes of the participating organization in the single event; based on the obtained number of non-local registered athletes of the participating organization in the single event, calculate the third point deduction threshold m that matches the corresponding number interval in the preset single comprehensive event point calculation supplementary rules; calculate that taking the participating organization as a unit, assuming that the point data of a certain organization in a single event is f, then f=(I+BC)(1-p)(1-m); calculate the total points of the organization in the entire game
[0147] Specifically, in some embodiments, referring to Figure 7 , calculate the aggregate results of participating organizations in each individual event under a single comprehensive event, including:
[0148] Calculate the total number of gold medals, silver medals, bronze medals and medals won by the participating organization in all individual events in a single comprehensive competition;
[0149] Obtaining the points obtained by the participating organization in each individual event in a single comprehensive event;
[0150] According to the competition registration information, obtain the number of exchange projects of the participating organizations under all individual events in a single comprehensive competition;
[0151] Based on the exchange project number information of the participating organizations, determine a first point deduction threshold for quantity interval matching in the supplementary rules for point calculation of a single comprehensive event;
[0152] Based on the points and the first points deduction threshold, the points data obtained by the participating organization in all individual events in the current comprehensive event are calculated.
[0153] In the embodiment of the present application, when determining the summary results of a participating organization in a single comprehensive event, the total number of gold medals X, the total number of silver medals Y, the total number of bronze medals Z and the total number of medals G won by the participating organization in the individual events can be obtained; the total number of gold medals won by a participating organization in all individual events in a single comprehensive event can be calculated. Total number of silver medals Total number of bronze medals Total number of medals Get the points F obtained by the participating organization in a single event in a single comprehensive event; according to the competition registration information, get the number of exchange projects of the participating organization in all single events in a single comprehensive event; based on the exchange project number information, calculate the first point deduction threshold b of the corresponding number interval matching in the preset single comprehensive event point calculation supplementary rules; calculate the points data obtained by the participating organization in all single events in the current comprehensive event
[0154] Specifically, in some embodiments, referring to Figure 8 , calculate the final summary results of participating organizations in related comprehensive competitions, dynamically calculate the summary results of all related comprehensive competitions as the related comprehensive competitions progress, and automatically calculate as the related comprehensive competitions increase, specifically including:
[0155] Obtain the single comprehensive competition result processing parameters under the same competition type and the comprehensive competition result proportion parameters of single competition types under different competition levels preset in the comprehensive competition summary result processing rules;
[0156] Count the total number of gold medals, silver medals, bronze medals, medals and points won by the participating organization in a single comprehensive event;
[0157] According to the single comprehensive competition result processing parameters and the single competition type comprehensive competition result proportion parameters, the total number of gold medals, the total number of silver medals, the total number of bronze medals, the number of medals and the points data obtained by the participating organization in the associated comprehensive competitions and the comprehensive competitions of each competition type at different competition levels are calculated;
[0158] Obtaining the comprehensive competition results processing ratio parameters of different competition levels preset in the comprehensive competition summary results processing rules;
[0159] Based on the parameters for processing the proportion of comprehensive competition results and the total number of gold medals, silver medals, bronze medals, medals and points data won by the participating organization in the relevant comprehensive competitions and comprehensive competitions of various types at different competition levels, the summary results of the participating organization in the relevant comprehensive competitions are calculated.
[0160] In the embodiment of the present application, when determining the summary scores obtained by the participating organizations in the associated comprehensive competitions, the single comprehensive competition score processing parameter s of the same competition type preset in the comprehensive competition summary score processing rules and the single competition type comprehensive competition score proportion parameter l of different competition levels are obtained;
[0161] Get the total number of gold medals X won by participating organizations in a single comprehensive event f 、Total number of silver medals Y f 、Total number of bronze medals Z f , Total number of medals G f , integral data F f ;
[0162] Calculate the medals won by participating organizations in related comprehensive events at different event levels and in each event type. It can be known that the total number of gold medals won by participating organizations in each event type at different event levels Total number of silver medals Total number of bronze medals Number of medals Points data
[0163] Calculate the total number of gold medals won by participating organizations in related comprehensive competitions at different levels Total number of silver medals Total number of bronze medals Number of medals Points data
[0164] Obtain the comprehensive competition results processing ratio parameter t of different competition levels preset in the comprehensive competition summary results processing rules;
[0165] Calculate the final summary results of participating organizations in related comprehensive competitions and the total number of gold medals won by participating organizations in related comprehensive competitions Total number of silver medals Total number of bronze medals Number of medals Points data
[0166] In some embodiments, the published results data is generated based on the medal data and the points data: the total number of medals G, points data F and other data of each sport event of each participating organization obtained according to the above sports event results processing process are used to form the final publishable competition results of each sport event. It is understandable that in actual applications, data can be selected according to the needs of results publication, and this embodiment does not limit the specific published data and publication method.
[0167] It can be understood that the sports event score processing method provided in the embodiments of the present application is based on the relevant influencing factors in the sports event score processing process, on the basis of the general score ranking rules for event score processing, combined with the nature and requirements of different sports events, to form medal and points calculation rules, penalty point calculation rules, score sorting rules and general score ranking rules that can be applied to different sports events, so as to solve the problems of large workload, low real-time and accuracy in score processing caused by the characteristics of different sports events and different scoring rules, thereby reducing the workload of staff, using information technology to improve the efficiency of sports event score processing, effectively improving the real-time nature of sports event score announcement and the accuracy of score statistics, and improving the existing sports event score processing methods such as large calculation workload, slow speed, and result deviation.
[0168] Reference Fig. 9 The present application also provides a sports event results processing system, including:
[0169] An acquisition unit 910 is used to acquire preset medal and points calculation rules, penalty point calculation rules, score sorting rules, and general score ranking rules;
[0170] A collection unit 920 is used to collect initial competition performance data of each participating organization in multiple sports events;
[0171] A ranking unit 930, configured to rank the initial competition performance data according to the performance ranking rule and the general performance ranking rule to obtain competition ranking data for each sport;
[0172] A calculation unit 940, configured to obtain medal data and point data of each participating organization according to the medal and point calculation rules, the penalty point calculation rules and the competition ranking data;
[0173] The generating unit 950 is used to generate published performance data according to the medal data and the score data.
[0174] It can be understood that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0175] Reference Fig.10 , an embodiment of the present application provides an electronic device, including:
[0176] at least one processor 1010;
[0177] At least one memory 1020, used to store at least one program;
[0178] When at least one program is executed by at least one processor 1010, at least one processor 1010 implements the above-mentioned method for processing the results of the sports event.
[0179] Similarly, the contents of the above method embodiments are all applicable to the electronic device embodiments. The functions specifically implemented by the electronic device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0180] The embodiment of the present application further provides a computer-readable storage medium, in which a program executable by the processor 1010 is stored. When the program executable by the processor 1010 is executed by the processor 1010, it is used to execute the above-mentioned sports event score processing method.
[0181] Similarly, the contents of the above method embodiments are all applicable to the computer-readable storage medium embodiments. The functions specifically implemented by the computer-readable storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0182] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the application is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part described as a larger operation is performed independently.
[0183] In addition, although the present application is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features can be integrated into a single physical device and / or software module, or one or more functions and / or features can be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present application. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional techniques of the engineer. Therefore, those skilled in the art can implement the present application set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present application, which is determined by the full scope of the attached claims and their equivalents.
[0184] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program code.
[0185] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0186] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0187] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0188] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0189] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.
[0190] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the embodiments. Technical personnel familiar with the field can make various equivalent modifications or substitutions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.
Claims
1. A method for processing sports event results, characterized in that: The method comprises: Obtain preset medal and points calculation rules, penalty point calculation rules, score sorting rules, and general score ranking rules; Collect initial competition performance data from each participating organization in multiple sports; Ranking the initial competition performance data according to the performance ranking rule and the general performance ranking rule to obtain competition ranking data for each sport; According to the medal and points calculation rules, the penalty points calculation rules and the competition ranking data, the medal data and points data of each participating organization are obtained; Based on the medal data and the point data, published performance data is generated.
2. A sports event results processing method according to claim 1, characterized in that: The method further comprises: Establish the first correlation between comprehensive events; According to the first association relationship, obtaining preset associated comprehensive competition summary results processing rules; Establish a secondary association between a single comprehensive event and different individual events; According to the second association relationship, obtaining a preset single comprehensive event points calculation supplementary rule; The step of generating and publishing performance data according to the medal data and the score data comprises: Generating final competition results of sports events of each individual event according to the medal data and the points data; Calculate the summary results of all individual events associated with the participating organization under a single comprehensive event to generate the competition results of the comprehensive event; Calculate the aggregated scores obtained by the participating organizations in the associated comprehensive events and generate published score data.
3. A sports event results processing method according to claim 2, characterized in that: The method of obtaining the preset single comprehensive event points calculation supplementary rules includes: Obtain the maximum number of exchange events in the comprehensive event, the maximum number of exchange participants in a single event under the comprehensive event, and the maximum number of non-local athletes in a single event under the comprehensive event; Calculate the difference between the number of individual events in which the participating organizations exchange athletes in the comprehensive event and the number of individual events with the most exchanges, establish a mapping relationship table based on the difference range, and determine a stepped first points deduction threshold; Calculate the difference between the number of athlete exchanges of the participating organization and the maximum number of exchanges, establish a mapping relationship table based on the difference range, and determine a stepped second points deduction threshold; The difference between the number of non-local athletes of the participating organization and the maximum number of non-local athletes is calculated, a mapping relationship table is established based on the difference range, and a stepped third points deduction threshold is determined.
4. A method for processing sports event results according to claim 3, characterized in that: The calculation of the aggregated results of all individual events associated with the participating organization under a single comprehensive event includes: Calculate the total number of gold medals, silver medals, bronze medals and medals won by the participating organization in all individual events in a single comprehensive competition; Obtaining the points obtained by the participating organization in each individual event in a single comprehensive event; According to the competition registration information, obtain the number of exchange projects of the participating organizations under all individual events in a single comprehensive competition; Based on the exchange project number information of the participating organizations, determine a first point deduction threshold for quantity interval matching in the supplementary rules for point calculation of a single comprehensive event; Based on the points and the first points deduction threshold, the points data obtained by the participating organization in all individual events in the current comprehensive event are calculated.
5. A method for processing sports event results according to claim 4, characterized in that: The calculating of the aggregated scores obtained by the participating organizations in the associated comprehensive events includes: Obtain the single comprehensive competition result processing parameters under the same competition type and the comprehensive competition result proportion parameters of single competition types under different competition levels preset in the comprehensive competition summary result processing rules; Count the total number of gold medals, silver medals, bronze medals, medals and points won by the participating organization in a single comprehensive event; According to the single comprehensive competition result processing parameters and the single competition type comprehensive competition result proportion parameters, the total number of gold medals, the total number of silver medals, the total number of bronze medals, the number of medals and the points data obtained by the participating organization in the associated comprehensive competitions and the comprehensive competitions of each competition type at different competition levels are calculated; Obtaining the comprehensive competition results processing ratio parameters of different competition levels preset in the comprehensive competition summary results processing rules; Based on the parameters for processing the proportion of comprehensive competition results and the total number of gold medals, silver medals, bronze medals, medals and points data won by the participating organization in the relevant comprehensive competitions and comprehensive competitions of various types at different competition levels, the summary results of the participating organization in the relevant comprehensive competitions are calculated.
6. A sports event results processing method according to claim 1, characterized in that: The initial competition performance data is ranked according to the performance ranking rule and the general performance ranking rule to obtain competition ranking data of each sport, including: Sorting the initial competition score data in ascending order or descending order according to the score sorting rule to obtain a sorting result; The sorting results are ranked according to the general performance ranking rules to obtain competition ranking data for each sport.
7. A sports event results processing method according to claim 1, characterized in that: The obtaining of medal data and points data of each participating organization according to the medal and points calculation rules, the penalty points calculation rules and the competition ranking data includes: According to the medal and points calculation rules and the competition ranking data, the total number of gold medals, the total number of silver medals, the total number of bronze medals and the total number of medals of each participating organization are calculated; According to the penalty point calculation rules and the competition ranking data, the points data of each participating organization is calculated.
8. A sports event results processing system, characterized in that: The system comprises: An acquisition unit, used to acquire preset medal and points calculation rules, penalty point calculation rules, score sorting rules, and general score ranking rules; A collection unit, used to collect initial competition performance data of various participating organizations in multiple sports events; A ranking unit, used to rank the initial competition performance data according to the performance ranking rule and the general performance ranking rule to obtain competition ranking data for each sport; A calculation unit, used for obtaining medal data and points data of each participating organization according to the medal and points calculation rules, the penalty points calculation rules and the competition ranking data; A generating unit is used to generate published performance data according to the medal data and the score data.
9. An electronic device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements a method for processing results of a sports event as described in any one of claims 1-7.
10. A computer-readable storage medium storing a program executable by a processor, characterized in that: The processor-executable program is used to implement a sports event results processing method as described in any one of claims 1-7 when executed by the processor.