A method for judging cycling fraud

By collecting primary and secondary variables during the cycling process, calculating and comparing expected data, and combining this with a machine learning model, cheating behavior in cycling can be identified, solving the problem of ineffective monitoring in cycling competitions and achieving fairness and accuracy in cycling competitions.

CN123179228APending Publication Date: 2026-11-27QINGDAO MAGENE INTELLIGENCE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611402195.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-10
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing cycling competition platforms are unable to effectively monitor users' riding process, resulting in some users using electric-assist devices or having others complete the race on their behalf, thus undermining the fairness of cycling competitions.

Method used

By collecting the first and second variables during the cycling process, calculating or obtaining the expected data of the second variable, and comparing the actual data with the expected data, it is possible to identify whether the user's cycling data deviates from the normal ability range. Multi-dimensional cross-validation and machine learning models are used to judge cheating behavior.

Benefits of technology

It effectively identifies cheating behavior in cycling, provides reliable technical safeguards, ensures the fairness and accuracy of cycling competitions, adapts to changes in users' physical fitness, and reduces misjudgments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179228A_ABST
    Figure CN123179228A_ABST
Patent Text Reader

Abstract

The application is a cycling cheating judgment method, belonging to the technical field of cycling data analysis. The method comprises: when judging that a user is cycling, data is collected every interval Δt1 time, and at least a first variable and a second variable are collected; the expected data of the second variable corresponding to the first variable is calculated or obtained; the measured data of the second variable is compared with the expected data to judge whether the measured data of the second variable deviates from the expected data by more than a first preset value, and if it does, it is determined to be abnormal. By collecting the first variable and the second variable during cycling, and comparing the measured data of the second variable with the expected data calculated based on the user's own historical level or physical mechanism, it can automatically identify whether the user's cycling data deviates from the normal ability range, effectively detect cheating behavior, and provide reliable technical support for the fairness of online cycling competition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of cycling data analysis technology, and in particular to a method for judging cycling cheating. Background Technology

[0002] Cycling, as a mainstream form of outdoor cycling competition, has gained popularity among cycling enthusiasts in recent years due to its open routes, flexible timing, and low barrier to entry. Currently, most cycling apps only provide route location information; users can choose their own time to complete the ride and upload their results to the platform for ranking.

[0003] However, because the platform cannot effectively monitor the riding process of participating users, some users will use illegal means such as electric assist devices or having others complete the race for them in order to improve their ranking. These cheating behaviors seriously undermine the fairness of cycling and hinder the healthy development of online cycling competitions. Summary of the Invention

[0004] This application addresses, to at least some extent, one of the technical problems in the related art.

[0005] Therefore, this application aims to provide a method for judging cycling cheating. By collecting a first variable and a second variable during the cycling process, and comparing the measured data of the second variable with the expected data calculated based on the user's own historical level or physical mechanism, the method can automatically identify whether the user's cycling data deviates from their normal ability range, effectively detect cheating behavior, and provide reliable technical protection for the fairness of online cycling competitions.

[0006] To achieve the above objectives, this application provides a method for determining cycling cheating, comprising the following steps: S200. When it is determined that the user is riding a bicycle, data is collected once every Δt1 time interval, and the data is collected for at least the first variable and the second variable.

[0007] S400, Calculate or obtain the expected data for the second variable corresponding to the first variable.

[0008] S500. Compare the measured data of the second variable with the expected data, and determine whether the measured data of the second variable differs from the expected data by more than a first preset value. If it exceeds the first preset value, it is determined to be abnormal.

[0009] In this technical solution, real-time measured data of a first variable and a second variable are collected during the user's current cycling process. The first variable is the independent variable, and the second variable is the dependent variable. Based on this information, the expected data of the second variable under the current exercise state is calculated or obtained. The difference between the measured data and the expected data of the second variable is calculated. If the absolute difference exceeds a first preset value, the user is determined to be in an abnormal exercise state. By analyzing the deviation between the measured values ​​and the expected values, this solution can effectively identify whether the user's exercise data deviates from their normal ability range, providing reliable data support for determining whether cheating has occurred.

[0010] In some embodiments of this application, in step S200, data is collected at intervals of Δt2 and Δt3, with a data collection interval of Δt1. At least the first variable and the second variable are collected, and the average value of the variables collected in each group of Δt3 time intervals is calculated. This average value is used as the measured data.

[0011] In this technical solution, a cycling data segment of length Δt3 is extracted at intervals of Δt2 as an analysis window. The average values ​​of the first and second variables within the window are calculated as the measured data for that window, which is then compared with the physical fitness benchmark. This sliding window approach can cover the entire cycling process, and taking the average value within the window can reduce the impact of instantaneous changes and cycling fluctuations on the data, making the data more stable and the judgment results more accurate.

[0012] In some embodiments of this application, a step S100 for forming a user physical fitness benchmark is also included, S100 including: S110. Collect user cycling data, and record at least the data for the first and second variables.

[0013] S130. Based on the data of the first and second variables, construct the function f(·) to form the user's physical fitness benchmark, which serves as the basis for calculating the expected data of the second variable in step S400.

[0014] In the technical solution, based on user cycling data, the distribution pattern of the second variable corresponding to different levels of the first variable is statistically analyzed. A function f(·) is constructed using methods such as curve fitting to form a personalized fitness benchmark for the user. This benchmark is used to calculate the expected data for the second variable and to determine deviations from the user's current cycling data. This benchmark reflects the user's exercise capacity level under normal conditions, thus providing a reference standard for subsequent anomaly identification.

[0015] In some embodiments of this application, the first variable is the ratio p_m of power P to functional threshold power FTP, and the second variable is the ratio hr_m of heart rate hr to maximum heart rate hr_max.

[0016] Step S200 is followed by step S300: determine whether the first variable and the second variable of each group meet the first screening criteria. If they do not meet the criteria, exclude the group of data. If they do meet the criteria, execute S400.

[0017] Step S110 is followed by step S120: determine whether the data of the first variable and the second variable in each group meet the first screening criteria. If they do not meet the criteria, remove the data in that group. If they do meet the criteria, proceed to step S130.

[0018] In step S130, a function f1(hr_m) is formed by fitting the first and second variables, which is the trend function of power P when the heart rate hr changes.

[0019] In the technical solution, relative power (p_m) and relative heart rate (hr_m) are used as the first and second variables, respectively. Power and heart rate are divided by their individual upper limit values ​​(FTP) and maximum heart rate to eliminate discrepancies caused by individual user differences. This data is easily affected by sudden acceleration and braking during cycling, resulting in significant fluctuations. Therefore, a first screening criterion is set when constructing the fitness baseline and making real-time judgments. If the first screening criterion is met, the data in that window is identified as a stable cycling segment and used; otherwise, it is excluded. By filtering and retaining the steady-state data that best reflects the user's true aerobic fitness level for fitting and comparison, the accuracy of the judgment is improved.

[0020] In some embodiments of this application, the first variable is velocity v, and the second variable is the ratio of heart rate hr to maximum heart rate hr_max, hr_m.

[0021] In steps S110 and S200, the slope within the time period Δt3 is also collected.

[0022] Step S200 is followed by step S300: determine whether the first and second variables of each group meet the second screening criteria. If they do not meet the criteria, remove the data of that group. If they do meet the criteria, proceed to step S400.

[0023] Step S110 is followed by step S120: determine whether the first variable and the second variable of each group meet the second screening criteria. If they do not meet the criteria, remove the data of that group. If they do meet the criteria, proceed to step S130.

[0024] In step S130, a function f2(hr_m) is formed by fitting the first and second variables, which is the trend function of velocity v when the heart rate hr changes.

[0025] In the technical solution, the correlation between speed v and relative heart rate hr_m is used as the basis for judging physical fitness. This mapping relationship can reflect the user's cycling ability under different exercise intensities. Since this correlation is prone to abnormal fluctuations in specific scenarios such as inertial gliding and downhill gliding, a second screening criterion is set when constructing physical fitness benchmarks and making real-time judgments. Only cycling segments on flat roads or uphill slopes where the user actively pedals to maintain or increase speed are extracted to ensure that the data used for fitting and comparison can truly reflect the user's autonomous cycling ability, thereby improving the correlation and stability of the data.

[0026] In some embodiments of this application, the first variable is the riding time Δt, and the second variable is the maximum speed cv.

[0027] In step S130, a function f3(·) is formed by fitting the first and second variables, which is the trend function of the maximum speed cv as the riding time Δt changes.

[0028] In the technical solution, an f3(·) function is fitted, with different riding times Δt as the horizontal axis and the maximum average speed cv that the user can maintain in their historical riding history under each riding time Δt as the vertical axis. This function describes the decreasing trend of the user's maximum average speed cv as the riding time Δt increases. This benchmark can be constructed using only bike meter speed data. During real-time judgment, the maximum average speed cv under the same riding time length in the current ride is extracted and compared with the expected data. If the current performance significantly exceeds the calculated expected data, the riding data is considered abnormal.

[0029] In some embodiments of this application, the first variable is speed v and the second variable is power P.

[0030] In steps S200 and S110, the elevation difference Δh and rolling resistance coefficient C are also collected. RR The total weight of the user and bicycle (m), air density (ρ), gravitational acceleration (g), and relative wind speed (v) a One or more of them.

[0031] Based on the collected data, a function f4(·) is constructed, which is the theoretical trend function of cycling power change when speed v changes, as the basis for calculating the expected data of the second variable.

[0032] In this technical solution, based on the principle of energy conservation, the mechanical work output during cycling is decomposed into four components: acceleration, climbing, overcoming rolling resistance, and overcoming wind resistance. These components are inputted using real-time speed v, elevation difference Δh, and several physical constants. A physical model directly calculates the theoretical value of cycling power under the current cycling condition. This function requires no data fitting and does not rely on the user's personalized fitness benchmark. The average virtual power within a sliding window is used as a reference for expected data. The actual cycling output power measured by the power meter is compared with this expected data. If the measured power significantly exceeds the expected data, it is determined that there is cheating behavior involving external force assistance.

[0033] In some embodiments of this application, step S500 is followed by step S600, which includes: S610. Input the measured data and expected data of the second variable into the judgment machine. The judgment machine uses a binary classification machine learning model to process the data and determine whether there is cheating behavior. The judgment machine outputs a continuous value in the range of -1 to 1. The output value close to 1 indicates that no cheating is determined, close to -1 indicates that cheating is determined, and close to 0 indicates that it cannot be determined.

[0034] S620: The decision-making end receives the output information from the judgment machine, makes a decision, and outputs the judgment result.

[0035] In the technical solution, a large amount of measured data and corresponding expected data are generated during the cycling process. The deviation between the measured value and the expected value of each window is used as a feature input to the judgment machine. The judgment machine uses a pre-trained binary classification machine learning model to judge the cheating tendency based on this deviation feature, and outputs a continuous value from -1 to 1 as the judgment result of the judgment machine. The decision-making end receives the output information of each judgment machine, makes a comprehensive decision according to preset rules, and outputs the final judgment result.

[0036] In some embodiments of this application, the first and second variables collected can be combinations of multiple groups from the following four groups: The first variable is relative power p_m, and the second variable is relative heart rate hr_m.

[0037] The first variable is velocity v, and the second variable is relative heart rate hr_m.

[0038] The first variable is the riding time Δt, and the second variable is the maximum speed cv.

[0039] The first variable is velocity v, and the second variable is power P.

[0040] At this point in step S610, the judgment machine for each group outputs the judgment result for that group.

[0041] In step S620, the decision-making end assigns weights according to the multiple judgment machines set, makes a comprehensive decision, and outputs the judgment result.

[0042] The technical solution employs a parallel approach with multiple schemes to compensate for the shortcomings of different schemes. Each combination of the first and second variables corresponds to an independent judgment machine, and each judgment machine outputs an independent cheating suspicion score based on its own feature bias. The decision-making end performs weighted fusion based on the proportion of effective data corresponding to each judgment machine and preset importance weights, and outputs the final judgment by combining the judgment results of each group. Multi-dimensional cross-validation compensates for the detection blind spots of a single scheme, improving the overall detection accuracy.

[0043] In some embodiments of this application, step S500 is followed by: S700: Incorporate the measured data collected from the first and second variables into the cycling data, and repeat steps S110 to S130 to update the user's physical fitness baseline.

[0044] In the technical solution, stable segments of data selected during the current ride are incorporated into the user's historical riding database. Steps S110 to S130 are then re-executed to incrementally update or rebuild the function f(·), allowing the user's fitness benchmark to dynamically evolve with the accumulation of riding sessions. Through this update mechanism, the fitness benchmark can adaptively adjust to the fitness improvements resulting from user training or the fitness decline caused by long-term inactivity, ensuring that the benchmark always reflects the user's current true athletic ability and avoiding misjudgments due to outdated benchmarks.

[0045] As can be seen from the above technical solutions, additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0046] Figure 1 This is a flowchart of the cycling cheating judgment method according to the embodiments of this application; Figure 2 This is a flowchart of the cycling cheating judgment method according to the embodiments of this application; Figure 3 This is a flowchart of a specific implementation scheme of the cycling cheating judgment method according to the embodiments of this application; Figure 4 This is a flowchart of another specific implementation of the cycling cheating judgment method according to the embodiments of this application; Figure 5 This is a flowchart of another specific implementation of the cycling cheating judgment method according to the embodiments of this application; Figure 6 This is a flowchart of another specific implementation of the cycling cheating judgment method according to the embodiments of this application; Figure 7This is a flowchart of a method for establishing a user's physical fitness benchmark according to the embodiments of this application; Figure 8 This is a flowchart of a specific implementation scheme of the method for establishing a user physical fitness benchmark according to the embodiments of this application; Figure 9 This is a flowchart of another specific implementation of the method for establishing a user's physical fitness benchmark according to the embodiments of this application; Figure 10 This is a flowchart of another specific implementation of the method for establishing a user's physical fitness benchmark according to the embodiments of this application; Figure 11 This is a flowchart illustrating the comprehensive decision-making process based on multiple schemes of the cycling cheating judgment method in the embodiments of this application; Figure 12 This is a flowchart illustrating the selection of a method for determining cycling cheating according to the embodiments of this application; Figure 13 This is a graph showing the relationship between the maximum speed cv and the riding time in the cycling cheating detection method according to the embodiments of this application. Detailed Implementation

[0047] In the description of this application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc., indicating the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application.

[0048] In this application, unless otherwise expressly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection, an electrical connection, or a connection that allows communication between components; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components, unless otherwise expressly limited. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0049] In this application, unless otherwise expressly specified and limited, "above" or "below" the second feature can mean that the first feature is in direct contact with the second feature, or that the first feature is in indirect contact with the second feature through an intermediate medium. Furthermore, "above," "over," and "on top" of the second feature can mean that the first feature is directly above or diagonally above the second feature, or simply indicates that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature can mean that the first feature is directly below or diagonally below the second feature, or simply indicates that the first feature is at a lower horizontal level than the second feature.

[0050] In this application, the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to a specific feature, structure, material, or characteristic described in connection with that embodiment or example, which is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0051] The present application will now be described in detail through exemplary embodiments. However, it should be understood that, without further description, elements, structures, and features in one embodiment may be advantageously incorporated into other embodiments.

[0052] In the following, embodiments of this application will be described in detail with reference to the accompanying drawings.

[0053] As attached Figure 1 As shown in the illustrative embodiment of a cycling cheating detection method of this application, the cycling cheating detection method includes the following steps: S200. When it is determined that the user is riding a bicycle, data is collected once every Δt1 time interval, and the data is collected for at least the first variable and the second variable.

[0054] In step S200, when it is determined that the user is cycling, real-time data during the user's cycling process is continuously collected at fixed time intervals Δt1. The collected data includes at least two dimensions: a first variable and a second variable. The first variable is the independent variable, which refers to a physical quantity that is actively controlled by the user during cycling or changes independently with the change of motion state; the second variable is the dependent variable, which refers to the response quantity that changes accordingly with the change of the first variable.

[0055] Furthermore, Δt1 is a preset value, meaning a data collection time interval is set in advance. The system periodically collects user cycling data according to this time interval. Δt1 can be flexibly set according to the actual application scenario's requirements for data accuracy and system processing capacity. The value is decreased when the data volume requirement is high, and increased when system resources are limited. Δt1 is preset during system initialization, or it can be configured by the user according to actual needs.

[0056] S400, Calculate or obtain the expected data for the second variable corresponding to the first variable.

[0057] In step S400, the expected data of the second variable is obtained by taking the measured data of the first variable collected in step S200 as input and calculating it through a preset correspondence, or by directly calling the constructed mapping model to read it.

[0058] S500. Compare the measured data of the second variable with the expected data, and determine whether the measured data of the second variable differs from the expected data by more than a first preset value. If it exceeds the first preset value, it is determined to be abnormal.

[0059] In step S500, the difference between the measured data of the second variable and the expected data is calculated. If the absolute value of the difference exceeds a first preset value, the user is determined to be in an abnormal movement state. In step S500, the difference between the measured data of the second variable collected in step S200 and the expected data of the second variable calculated or read in step S400 is calculated, i.e., the measured value is subtracted from the expected value and the absolute value is taken. If the absolute difference exceeds a first preset value, the user is determined to be in an abnormal movement state; if it does not exceed the first preset value, the current data is determined to be normal.

[0060] Furthermore, the first preset value is a pre-set deviation tolerance threshold, used to distinguish between normal fluctuations and abnormal deviations.

[0061] Understandably, measured data reflects a user's actual performance in the current cycling state, while expected data represents the normal performance range calculated based on the user's historical level or physical mechanisms. The greater the deviation between the two, the lower the reliability of the user's exercise data within the current window. This solution, by analyzing the deviation between measured and expected values, can effectively identify whether a user's exercise data deviates from their normal ability range, providing reliable data support for determining whether cheating has occurred.

[0062] As attached Figure 2 As shown, in some embodiments, in step S200, data is collected at intervals of Δt2 and Δt3, with a data collection interval of Δt1. At least the first variable and the second variable are collected, and the average value of the variables collected in each group of Δt3 time intervals is calculated. This average value is used as the measured data.

[0063] A sliding window approach is used, where cycling data segments of length Δt3 are extracted at intervals of Δt2. The average values ​​of the first and second variables within the window are calculated as the measured data for that window, which are then compared with physical fitness benchmarks. This sliding window approach covers the entire cycling process, and using the average value within the window reduces the impact of instantaneous changes and cycling fluctuations on the data, making the data more stable and the judgment results more accurate.

[0064] Furthermore, Δt2 is the window sliding step size, meaning the window slides forward once every Δt2 time intervals, and Δt3 is the window length, meaning the data within each Δt3 time interval is used as an analysis window, where Δt2 is less than or equal to Δt3. When Δt2 equals Δt3, there is no overlap between adjacent windows; when Δt2 is less than Δt3, there is data overlap between adjacent windows.

[0065] Furthermore, the window length Δt3 determines the amount of data involved in the average calculation. A larger Δt3 value results in more data participating in the average, higher data stability, and stronger suppression of instantaneous fluctuations, but reduces temporal resolution. Conversely, a smaller Δt3 value results in higher temporal resolution and faster response to changes in riding conditions, but reduces data stability. The setting of Δt3 needs to be chosen by comprehensively considering the smoothness of the riding scenario and the real-time requirements.

[0066] Furthermore, the sliding step size Δt2 determines the degree of overlap between adjacent windows. A smaller Δt2 value results in greater overlap between adjacent windows and better temporal continuity of the analysis results, but also increases the computational load. Conversely, a larger Δt2 value reduces the computational load but may miss crucial changes at the window edges. The setting of Δt2 requires a balanced consideration of the continuity of the analysis results and the system's computational efficiency.

[0067] Understandably, using the average value of the data within a window as a feature of that window aims to eliminate the interference of abrupt changes in data on individual values, allowing the measured data used for comparison to better reflect the overall movement level within the window. Therefore, in addition to the average value, other features that can reflect the overall level of the data within that interval, such as the median and mode, can also be used. The specific feature to be selected can be determined based on the data distribution pattern.

[0068] Furthermore, if the data of the first and second variables do not change abruptly within the current window Δt3 time period, that is, the data fluctuation within the window is small and there are no obvious abnormal jumps, then in step S200, the original data points at each collection time can be directly used as the measured data, omitting the calculation step of window averaging, so as to reduce the amount of calculation and improve the processing efficiency; at this time, in the subsequent step S500, the measured data of each collection point within the window are compared with the expected data one by one. If the deviation of any collection point exceeds the first preset value, it is determined to be abnormal.

[0069] As attached Figure 7 As shown, in some embodiments, a step S100 for forming a user's physical fitness benchmark is also included, S100 including: S110. Collect user cycling data, and record at least the data for the first and second variables.

[0070] S130. Based on the data of the first and second variables, construct the function f(·) to form the user's physical fitness benchmark, which serves as the basis for calculating the expected data of the second variable in step S400.

[0071] Based on user cycling data, the distribution pattern of the second variable is statistically analyzed under different levels of the first variable. A function f(·) is constructed using methods such as curve fitting, representing the trend of the second variable as the first variable changes. This forms a personalized fitness benchmark for the user, used to calculate the expected data for the second variable, and based on this expected data, deviations in the user's current cycling data are assessed. This benchmark reflects the user's exercise capacity level under normal conditions, thus providing a reference standard for subsequent anomaly identification.

[0072] It is understandable that the function f(·) constructed in step S130 essentially maps the value space of the first variable to the value space of the second variable, so that for any given measured value of the first variable, a corresponding theoretical value of the second variable can be calculated through this function. This theoretical value represents the value level that the second variable should typically reach or be close to when the first variable is at its current level under normal riding conditions. The process of calculating the expected data in step S400 involves substituting the currently measured value of the first variable into this function for solution.

[0073] As attached Figure 3 As shown, in some embodiments, the first variable is the ratio p_m of power P to functional threshold power FTP, and the second variable is the ratio hr_m of heart rate hr to maximum heart rate hr_max.

[0074] Furthermore, FTP refers to Functional Threshold Power, which is the maximum average power a user can continuously output for one hour under stable, full-power cycling conditions. It is a core indicator for measuring a user's aerobic endurance level. In this application, FTP serves as an individualized benchmark value for power data, used to convert absolute power values ​​into relative power ratios to eliminate absolute numerical deviations caused by differences in physical fitness levels among different users.

[0075] FTP can be directly measured through an actual one-hour full-power cycling test, or estimated by multiplying the average power obtained from a 20-minute full-power cycling test by 0.95, or calculated from the power distribution characteristics in long-term cycling data.

[0076] It is understandable that power p and heart rate hr are measured using a power meter and a heart rate monitor, and heart rate is directly positively correlated with exercise intensity. During exercise, power and heart rate show an approximately proportional relationship. Therefore, by establishing a functional relationship between heart rate and power, it is possible to effectively determine whether the power output of a user at a certain heart rate is within the user's normal level, and effectively determine whether there is cheating behavior.

[0077] By using relative power p_m and relative heart rate hr_m as the first and second variables, and dividing power and heart rate by their individual upper limit values ​​FTP and maximum heart rate respectively, the gap caused by individual differences among users is eliminated.

[0078] The formulas for calculating p_m and hr_m are as follows:

[0079]

[0080] Where power(i) is the real-time power value collected at the i-th time; is the real-time heart rate value collected at the i-th time; num is the number of data collected within the Δt3 time period; FTP is the functional threshold power, i.e., the maximum average power that the user can stably output; The user's maximum heart rate.

[0081] Furthermore, step S200 is followed by step S300: determining whether the first variable and the second variable in each group meet the first screening criteria. If they do not meet the criteria, the data in that group is excluded. If they do meet the criteria, step S400 is executed.

[0082] As attached Figure 8 As shown, step S110 is followed by step S120: determine whether the data of the first variable and the second variable in each group meet the first screening criteria. If they do not meet the criteria, remove the data in that group. If they do meet the criteria, execute step S130.

[0083] Relative power p_m and relative heart rate hr_m are easily affected by sudden surges and stops during cycling, resulting in large fluctuations. Therefore, a first screening criterion is set when constructing physical fitness benchmarks and making real-time judgments. If the first screening criterion is met, the data in that window is identified as a stable cycling segment and used; otherwise, it is excluded.

[0084] In some embodiments, the first screening criterion is that the standard deviation of the power P to FTP ratio is less than a second preset value.

[0085] Understandably, the standard deviation of the power-to-FTP ratio reflects the dispersion of the user's output power within the current window. When the riding state is stable, the user's output power fluctuates slightly around a certain mean, with a small standard deviation. However, when the user engages in non-steady-state riding behaviors such as sudden acceleration, abrupt stops, intermittent pedaling, or external assistance, the power output will fluctuate significantly, and the standard deviation will increase accordingly. Using a standard deviation of the power-to-FTP ratio less than a second preset value as the first screening criterion, non-steady-state riding segments can be excluded, ensuring that the data used in subsequent comparisons and fitting are all valid data that can truly reflect the user's autonomous and stable riding ability.

[0086] The formula for calculating the standard deviation p_std of power P and FTP is:

[0087] Understandably, after each set of data is filtered, a power and heart rate feature coordinate (hr_m, p_m) can be obtained. When there are enough recorded feature coordinates, function fitting can be performed.

[0088] Further, in step S130, a function f1(hr_m) is formed by fitting the first variable and the second variable, that is, the trend function of power P when the heart rate hr changes.

[0089] By filtering and retaining the steady-state data that best reflects the user's true aerobic fitness level, and fitting the steady-state data, the resulting function f1(hr_m) can more effectively reflect the user's fitness level and improve the accuracy of the judgment.

[0090] The fitted function f1(hr_m) is as follows:

[0091] Where p1 and p2 are the two independent threshold values ​​of the piecewise function f1(hr_m); k_p and b_p represent the slope and bias of f1(hr_m) in the linear interval, respectively; and c_p represents the constant value of the constant interval of f1(hr_m).

[0092] Understandably, the second variable can be fitted using various methods such as curve fitting, interpolation, and table lookup. Using the first variable as the independent variable and the second variable as the dependent variable, methods such as least squares, cubic spline interpolation, or piecewise linear regression are used to fit discrete sample points in historical data into a continuous function, thus representing the trend of the second variable as the first variable changes. These fitting methods are all conventional mathematical techniques, and an appropriate method can be selected based on the actual data distribution characteristics; they will not be elaborated upon further here.

[0093] It is understandable that when a user is not equipped with a power meter during cycling, it is impossible to collect the user's real-time power P. Therefore, the above method of judging by relative power p_m and relative heart rate hr_m as feature quantities has certain limitations in practical applications.

[0094] Therefore, as attached Figure 4 As shown, in some embodiments, the first variable is velocity v, and the second variable is the ratio of heart rate hr to maximum heart rate hr_max, hr_m.

[0095] During cycling, the heart rate hr increases as the user accelerates. The heart rate hr and speed v also show an approximately proportional relationship during exercise. Therefore, by establishing a functional relationship between heart rate hr and speed v, it is possible to effectively determine whether the user's heart rate is at a normal level when at a certain speed, and effectively determine whether there is cheating behavior.

[0096] Understandably, heart rate (HR) is collected by a heart rate monitor, while speed (V) is collected by a cycling computer. Cycling computers are widely used devices in cycling, while heart rate monitors are optional accessories. Therefore, users only need to add a heart rate monitor to their existing cycling computer to meet the data collection requirements of this cheating detection scheme, making the equipment barrier relatively low.

[0097] The formula for calculating relative heart rate hr_m is as follows:

[0098] In steps S110 and S200, the slope within the time period Δt3 is also collected.

[0099] Step S200 is followed by step S300: determine whether the first and second variables of each group meet the second screening criteria. If they do not meet the criteria, remove the data of that group. If they do meet the criteria, proceed to step S400.

[0100] As attached Figure 9 As shown, step S110 is followed by step S120: determine whether the first variable and the second variable of each group meet the second screening criteria. If they do not meet the criteria, remove the data of that group. If they do meet the criteria, execute S130.

[0101] Because this correlation is prone to abnormal fluctuations in specific scenarios such as inertial scooters and downhill gliding, a second screening criterion is set when constructing physical fitness benchmarks and making real-time judgments. Only cycling segments on flat roads or uphill where the user actively pedals to maintain or increase speed are extracted to ensure that the data used for fitting and comparison can truly reflect the user's autonomous cycling ability, thereby improving the correlation and stability of the data.

[0102] In some embodiments, the second screening criterion is that the velocity v is non-decreasing and the slope is non-decreasing during the time interval Δt3.

[0103] It's understandable that a non-decreasing speed (v) means the user is actively pedaling, continuously accelerating or maintaining a constant speed within the current window, rather than relying on inertial gliding to decelerate. A non-decreasing slope ensures the road is flat or continuously uphill, eliminating the interference of gravitational potential energy being converted into kinetic energy on speed during downhill sections. When both conditions are met, speed changes are primarily determined by the user's active work, and the positive correlation between heart rate and speed is the most stable and reliable. Using a non-decreasing speed (v) and a non-decreasing slope within the Δt3 time interval as the second screening criterion allows us to filter out data segments that truly reflect the user's autonomous cycling ability, eliminating data interference from abnormal heart rate-speed correlations in scenarios such as inertial gliding and downhill gliding.

[0104] In step S130, a function f2(hr_m) is formed by fitting the first and second variables, which is the trend function of velocity v when the heart rate hr changes.

[0105] The fitted function f2(hr_m) is as follows:

[0106] Where v1 and v2 are the two independent threshold values ​​of the piecewise function f2(hr_m); k_v and b_v represent the slope and bias of f2(hr_m) in the linear interval, respectively; and c_v represents the constant value of the constant interval of f2(hr_m).

[0107] It is understandable that when users are not equipped with heart rate monitors and power timers, it is impossible to collect data such as heart rate (hr) and power (P). Therefore, the above-mentioned schemes that rely on heart rate (hr) or power (P) as data collection variables cannot be implemented.

[0108] Therefore, as attached Figure 5 and attached Figure 10As shown, in some embodiments, the first variable is the riding time Δt, and the second variable is the maximum speed cv. Using different riding times Δt as the horizontal axis and the maximum average speed cv that the user can maintain during their historical riding at each riding time Δt as the vertical axis, a function f3(·) is fitted to describe the decreasing trend of the user's maximum average speed cv as the riding time Δt increases.

[0109] It's understandable that cycling time Δt and speed v are readily available basic data points during cycling activities, easily collected using a cycling computer. Cycling computers are widely used among cyclists and require no additional equipment such as heart rate monitors or power meters. Therefore, this solution has the lowest data acquisition threshold, the strongest universality, and can detect cheating without requiring any additional accessories from the user.

[0110] The maximum speed (cv) refers to the highest average speed that a user can achieve or maintain during a ride of length Δt. It is a core indicator for measuring the upper limit of a user's speed output within a certain duration. Using a specific ride duration as the window length, a sliding scan is performed on the speed sequence of a single ride. The arithmetic mean of the speed data within the window is calculated as the average speed of that window. After traversing all windows, the maximum value is taken as the maximum average speed (cv) corresponding to that ride duration.

[0111] The value of Δt can be determined according to the actual application scenario. The smaller the value of Δt, the higher the corresponding time resolution, and the extracted cv reflects the user's burst speed capability in a very short time. The larger the value of Δt, the more the extracted cv reflects the user's endurance speed capability under long-term riding. By calculating the corresponding cv for multiple different Δt values, multiple (Δt, cv) data points can be obtained, which can be used to subsequently fit the user's speed endurance curve.

[0112] Furthermore, since Δt is less than half the total riding time, at least two non-overlapping analysis windows can be extracted from the speed sequence of a single ride, thus ensuring that the calculation of cv has statistical significance.

[0113] As attached Figure 13 As shown, in step S130, a function f3(·) is formed by fitting the first variable and the second variable, which is the trend function of the maximum speed cv as the riding time Δt changes.

[0114] During real-time assessment, the maximum average speed (cv) for the same riding time in this session is extracted and compared with the expected data. If the performance significantly exceeds the expected data obtained through calculation, the riding data is considered abnormal.

[0115] It is understandable that during continuous exercise, the maximum sustained output capacity decreases as the exercise time increases; this is a universal physiological law. In a user's historical cycling data, for each cycling duration Δt, there exists a corresponding maximum average speed cv, which represents the best speed performance achievable in past rides of that duration. By plotting (Δt, cv) data points of multiple different durations on a coordinate system and fitting the data, a monotonically decreasing curve f3(·) can be obtained. This curve represents the maximum speed level that the user can theoretically maintain at different exercise durations, i.e., the user's endurance and speed benchmark.

[0116] In real-time assessment, the cycling time Δt is first obtained from the current cycling record, and the maximum average speed cv within that time is extracted as the measured value of the second variable. Then, the cycling time Δt is substituted into the fitness baseline function f3(·) to calculate the expected value of the maximum average speed for that time. The measured cv value is compared with the expected value. If the measured value significantly exceeds the expected value, it indicates that the user maintained a speed performance exceeding their historical best level during this ride, and this is judged as data anomaly.

[0117] Understandably, all three approaches rely on users' historical cycling data. A sufficient number of valid samples are needed to fit and form a user fitness baseline function, which is then used to calculate expected data and compare the deviation with actual measured data. When a user is riding for the first time or lacks sufficient historical cycling data, a reliable fitness baseline cannot be constructed, and none of the three approaches can be implemented.

[0118] Therefore, as attached Figure 6 As shown, in some embodiments, the first variable is velocity v and the second variable is power P.

[0119] In steps S300 and S110, the elevation difference Δh and rolling resistance coefficient C are also collected. RR The total weight of the user and bicycle (m), air density (ρ), gravitational acceleration (g), and relative wind speed (v) a One or more of them.

[0120] The elevation difference Δh refers to the change in the vehicle's vertical height between two adjacent data collection times, which is measured in real time by the device's built-in barometer or GPS module.

[0121] Rolling resistance coefficient C RR Rolling resistance coefficient (C) refers to the ratio of rolling resistance to vertical load experienced by a tire when rolling on a specific road surface; it is the coefficient of friction between the tire and the ground. The rougher the road and the softer the tire, the higher the rolling resistance coefficient. RR The larger it is.

[0122] Based on the principle of energy conservation, the mechanical work output during cycling is decomposed into four components: acceleration, climbing, overcoming rolling resistance, and overcoming wind resistance. The theoretical value of cycling power under the current cycling state is directly calculated through a physical model, using real-time speed v, elevation difference Δh, and multiple physical constants as inputs.

[0123] In step S130, based on the collected data, a function f4(v) is constructed, which is the theoretical trend function of cycling power change when the speed v changes.

[0124] This function does not require data fitting and does not rely on the user's personalized fitness benchmark. It uses the average virtual power within a sliding window as a reference for expected data, compares the actual cycling output power measured by the power meter with this expected data, and if the actual power significantly exceeds the expected data, it determines that there is cheating behavior involving external force assistance.

[0125]

[0126] Where v(i) and v(i-1) represent the velocities collected at time i and (i-1) respectively; C RR ρ is the rolling resistance coefficient; m is the total weight of the user and the bicycle; g is the acceleration due to gravity; Δh is the elevation difference calculated before and after the barometer; ρ is the air density. v a (i) represents the relative wind speed at time i, i.e.:

[0127] Where θ represents v(i) and v 风 (i) is the angle between them.

[0128] Furthermore, due to different road conditions and weather conditions, the rolling resistance coefficient C RR Wind resistance v a Since the data fluctuate slightly to some extent, the moving average P_dummy_m is taken for the virtual power in each window to balance the error caused by the slight fluctuation of the parameters.

[0129]

[0130] The above step S500 performs independent anomaly detection on multiple sets of data collected at every Δt1 time interval, generating multiple sets of anomaly marker information. Some of these anomaly detections may originate from momentary interference during cycling and do not necessarily indicate that the user has cheated. When the number of anomaly windows is large and their distribution is complex, it is difficult to directly draw a final conclusion on whether cheating has occurred based on the discrete detection results of each window.

[0131] Therefore, as attached Figure 11As shown, in some embodiments, step S500 is followed by step S600, which includes: S610. Input the measured data and expected data of the second variable into the judgment machine. The judgment machine uses a binary classification machine learning model to process the data and determine whether there is cheating behavior. The judgment machine outputs a continuous value in the range of -1 to 1. The output value close to 1 indicates that no cheating is determined, close to -1 indicates that cheating is determined, and close to 0 indicates that it cannot be determined.

[0132] During the cycling process, a large amount of measured data and corresponding expected data for each window are generated. The deviation between the measured value and the expected value of each window is used as a feature input to the judgment machine. The judgment machine uses a pre-trained binary classification machine learning model to judge the cheating tendency based on this deviation feature, and outputs a continuous value from -1 to 1 as the judgment result of the judgment machine.

[0133] Understandably, the binary classification machine learning model used by the decision machine can be implemented through methods such as logistic regression, support vector machines, decision trees, random forests, and neural networks. These are all conventional machine learning techniques. The specific model chosen depends on the scale of the training data, the dimensionality of the features, and the combined requirements for real-time performance and accuracy in the actual application scenario. Since these are all standard techniques, they will not be elaborated upon further here.

[0134] S620: The decision-making end receives the output information from the judgment machine, makes a decision, and outputs the judgment result.

[0135] The decision-making unit receives the output information from each judgment machine, makes a comprehensive decision according to preset rules, and outputs the final judgment result.

[0136] The above details four different approaches, but each approach has its limitations, applicable scenarios, and testing focuses. The power- and heart rate-based approach is highly accurate but relies on a power meter; the speed- and heart rate-based approach has lower equipment requirements but is susceptible to slope variations; the time- and maximum speed-based approach has the strongest versatility but relies on sufficient historical data; and the energy conservation-based physical model approach does not rely on historical data but is affected by the accuracy of road conditions and weather parameters.

[0137] In practical applications, a single solution is insufficient to cover all cycling scenarios and user device configurations, and is prone to failure in specific situations. Therefore, this application provides the following implementation method that integrates multiple solutions in parallel, compensating for the shortcomings of a single solution by combining the judgment results from various approaches.

[0138] In some embodiments, the first and second variables collected can be combinations of multiple groups from the following four groups: The first variable is relative power p_m, and the second variable is relative heart rate hr_m.

[0139] The first variable is velocity v, and the second variable is relative heart rate hr_m.

[0140] The first variable is the riding time Δt, and the second variable is the maximum speed cv.

[0141] The first variable is velocity v, and the second variable is power P.

[0142] It is understandable that the first and second variables collected in steps S300 and S110 are configured using multiple sets of features in parallel. The feature variables involved in the aforementioned four judgment schemes can be combined, and one or more sets can be selected simultaneously based on the actual data collection conditions. Each set of feature variables corresponds to an independent judgment path, executing the collection, expected value calculation, and deviation comparison processes described in steps S200 to S500 respectively, and finally outputting the anomaly judgment result for that set of feature variables.

[0143] At this point in step S610, the judgment machine for each group outputs the judgment result for that group.

[0144] Multiple schemes are used in parallel to compensate for the shortcomings of different schemes. Each combination of the first and second variables corresponds to an independent judgment machine, and each judgment machine outputs an independent cheating suspicion score based on its own feature bias.

[0145] In some embodiments, the reliability of collecting four sets of features simultaneously for judgment is the highest. After the four schemes are judged in parallel, the output results of the four judgment machines are combined for decision-making. Through multi-dimensional cross-validation, the risk of misjudgment or failure of a single scheme can be effectively reduced, thereby improving the overall reliability of the judgment.

[0146] Understandably, after each collection of the above four sets of features, a user behavior feature can be extracted. After the entire process is completed, the real-time measured data and the data calculated according to the f(·) function are input into the corresponding judgment machine for each set of features to obtain the average deviation of the four sets of features:

[0147] Where fea1~fea4 are the average deviations calculated for each set of features, and n1~n4 represent the number of data in each feature set.

[0148]

[0149] Here, f_state1~f_state4 are cheat detection machines, and temp1~temp4 represent the outputs of the four detection machines, with output values ​​ranging from -1 to 1.

[0150] In step S620, the decision-making end assigns weights according to the multiple judgment machines set, makes a comprehensive decision, and outputs the judgment result.

[0151] The decision-making end performs weighted fusion based on the proportion of effective data corresponding to each judgment machine and the preset importance weight, and outputs the final judgment by combining the judgment results of each group. Through multi-dimensional cross-validation, it makes up for the detection blind spots of a single scheme and improves the overall detection accuracy.

[0152] sum_n = n1 + n2 + n3 + n4;

[0153]

[0154] Wherein, out represents the comprehensive output obtained after feature fusion at the decision end, a1~a4 represent the weights assigned to the outputs of each cheating state judgment machine, b1~b4 represent the upper limits of the numerical proportions of out1~out4 in the final decision, temp represents the intermediate process parameters, out is the final judgment result, 1 indicates no cheating, -1 indicates cheating, and 0 indicates that it cannot be judged.

[0155] Furthermore, the weights a1 to a4 of each judgment unit's output are determined comprehensively based on factors such as the reliability of the scheme in the current riding scenario, the measurement accuracy and stability of the detection devices it relies on, and the data distribution characteristics of the set of feature quantities. After comprehensive evaluation, schemes with high reliability, precise devices, good data quality, and sufficient data volume are assigned higher weights, while those with lower weights are assigned lower weights. This allows the weighted fusion at the decision-making end to dynamically adjust the influence of each scheme in the final judgment based on actual riding conditions and data quality, further improving the accuracy of the judgment results.

[0156] Furthermore, b1 to b4 represent the upper limit of the numerical proportion of each decision-making machine's output in the final decision. This is set to prevent a single solution from having an excessive weight in the weighted fusion and dominating the final decision. The value range of b1 to b4 is determined based on the theoretical upper limit of confidence for each solution. Different solutions can have the same or different upper limit values, and the same solution can be dynamically adjusted under different riding scenarios. For solutions with high reliability and good detection device accuracy, their upper limit can be set higher; for solutions susceptible to environmental interference and with limited applicability, their upper limit should be set lower.

[0157] Furthermore, the specific values ​​of b1 to b4 can be determined through pre-calibration experiments or statistical analysis based on historical data, and optimized based on feedback from actual applications.

[0158] As attached Figure 12As shown, in some embodiments, since the acquisition devices and data types on which the above four determination schemes rely are different, step S200 further includes: S210, when determining that a user is riding a bicycle, identifies the type of the currently connected cycling device; S220: Based on the identified device types, determine whether the data required by each scheme meets the acquisition conditions; if the current device combination can support the acquisition of all the data required by a certain scheme, then the scheme is determined to be the current executable scheme. S230: Select which data to collect based on the plan content, and collect data once every Δt1 time interval.

[0159] Furthermore, for a solution that has been determined to be executable, when the system executes the corresponding judgment process, it only needs to collect the data of the first and second variables defined in the solution, without collecting data required by other solutions but not required by the current solution, thereby reducing data collection redundancy.

[0160] Understandably, the core function of this device identification and scheme selection mechanism is to enhance the system's adaptability. Through this mechanism, the system can dynamically adjust the combination of executable judgment schemes based on the actual equipment conditions of each ride. Even when the equipment configuration is incomplete, at least one scheme can still be run, ensuring that the cheating judgment function can start normally and output judgment results under different equipment conditions, thus balancing detection accuracy and scheme universality.

[0161] Furthermore, the executable scheme in this solution may include multiple schemes, each of which independently executes its own collection and judgment process.

[0162] Understandably, when the system identifies multiple executable solutions, each solution runs simultaneously without data cross-dependency. That is, each solution independently completes data acquisition, expected value calculation, and deviation comparison according to the complete process described in steps S200 to S500, and outputs its own anomaly judgment result. In step S610, each solution is input into its corresponding judgment machine for processing, and finally, in step S620, the decision-making end makes a comprehensive decision based on the output results of each solution.

[0163] In some embodiments, step S500 further includes: S700: Incorporate the measured data collected from the first and second variables into the cycling data, and repeat steps S110 to S130 to update the user's physical fitness baseline.

[0164] The selected stable data segments from this ride are incorporated into the user's historical riding database. Steps S110 to S130 are then re-executed to incrementally update or rebuild the function f(·), allowing the user's fitness benchmark to dynamically evolve with the accumulation of riding sessions. Through this update mechanism, the fitness benchmark can adaptively adjust to the fitness improvements resulting from user training or the fitness decline caused by long-term inactivity, ensuring that the benchmark always reflects the user's current true athletic ability and avoiding misjudgments due to outdated benchmarks.

[0165] In some embodiments, after completing the deviation comparison and anomaly determination in step S500, the valid data filtered by step S300 in this ride is saved to the user's historical ride database as the data source for updating the user's physical fitness benchmark function f(·) in the subsequent step S130.

[0166] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.

Claims

1. A method for detecting cheating in cycling, characterized in that, The steps include: S200: When it is determined that the user is riding a bicycle, data is collected once every Δt1 time interval, and the data is collected for at least the first variable and the second variable. S400, Obtain the expected data of the second variable corresponding to the first variable; S500. Compare the measured data of the second variable with the expected data, and determine whether the measured data of the second variable differs from the expected data by more than a first preset value. If it exceeds the first preset value, it is determined to be abnormal.

2. The method for determining cycling cheating according to claim 1, characterized in that, In step S200, data is collected at intervals of Δt2 within the time period Δt3. The data collection time interval is Δt1. At least the first variable and the second variable are collected. The average value of the collected variables within each group of time periods Δt3 is calculated. This average value is used as the measured data.

3. The cycling cheating detection method according to claim 2, characterized in that, It also includes step S100 for forming user fitness benchmarks, S100 including: S110. Collect user cycling data, and record at least the data for the first and second variables; S130. Based on the data of the first and second variables, construct the function f(·) to form the user's physical fitness benchmark, which serves as the basis for calculating the expected data of the second variable in step S400.

4. The cycling cheating detection method according to claim 3, characterized in that, The first variable is the ratio of power P to functional threshold power FTP, p_m; the second variable is the ratio of heart rate hr to maximum heart rate hr_max, hr_m. Step S200 is followed by step S300: determine whether the first variable and the second variable of each group meet the first screening criteria. If they do not meet the criteria, exclude the group of data. If they do meet the criteria, execute S400. Step S110 is followed by step S120: determine whether the data of the first variable and the second variable in each group meet the first screening criteria. If they do not meet the criteria, remove the data in that group. If they do meet the criteria, proceed to step S130. In step S130, a function f1(hr_m) is formed by fitting the first and second variables, which is the trend function of power P when the heart rate hr changes.

5. The method for determining cycling cheating according to claim 3, characterized in that, The first variable is velocity v, and the second variable is the ratio of heart rate hr to maximum heart rate hr_max, hr_m. In steps S110 and S200, the slope during the time period Δt3 is also collected; Step S200 is followed by step S300: determine whether the first variable and the second variable of each group meet the second screening criteria. If they do not meet the criteria, remove the data of that group. If they do meet the criteria, execute S400. Step S110 is followed by step S120: determine whether the first variable and the second variable of each group meet the second screening criteria. If they do not meet the criteria, remove the data of that group. If they do meet the criteria, execute S130. In step S130, a function f2(hr_m) is formed by fitting the first and second variables, which is the trend function of velocity v when the heart rate hr changes.

6. The cycling cheating detection method according to claim 3, characterized in that, The first variable is the riding time Δt, and the second variable is the maximum speed cv; In step S130, a function f3(·) is formed by fitting the first and second variables, which is the trend function of the maximum speed cv as the riding time Δt changes.

7. The method for determining cycling cheating according to claim 2, characterized in that, The first variable is velocity v, and the second variable is power P; Step S200 also collects the elevation difference Δh and rolling resistance coefficient C. RR The total weight of the user and bicycle (m), air density (ρ), gravitational acceleration (g), and relative wind speed (v) a One or more of them; Based on the collected data, a function f4(·) is constructed, which is the theoretical trend function of cycling power change when speed v changes, as the basis for calculating the expected data of the second variable.

8. The method for determining cycling cheating according to any one of claims 4-7, characterized in that, Step S500 is followed by step S600, which includes: S610. Input the measured data and expected data of the second variable into the judgment machine. The judgment machine uses a binary classification machine learning model to process the data and determine whether there is cheating behavior. The judgment machine outputs a continuous value in the range of -1 to 1. The output value close to 1 indicates that no cheating is determined, close to -1 indicates that cheating is determined, and close to 0 indicates that it cannot be determined. S620: The decision-making end receives the output information from the judgment machine, makes a decision, and outputs the judgment result.

9. The method for determining cycling cheating according to claim 8, characterized in that, The first and second variables collected can be combinations of multiple groups from the following four groups: The first variable is relative power p_m, and the second variable is relative heart rate hr_m; The first variable is velocity v, and the second variable is relative heart rate hr_m; The first variable is the riding time Δt, and the second variable is the maximum speed cv; The first variable is velocity v, and the second variable is power P; At this point in step S610, the judgment machine for each group outputs the judgment result for that group. In step S620, the decision-making end assigns weights according to the multiple judgment machines set, makes a comprehensive decision, and outputs the judgment result.

10. The method for determining cycling cheating according to claim 3, characterized in that, Step S500 also includes: S700: Incorporate the measured data collected from the first and second variables into the cycling data, and repeat steps S110 to S130 to update the user's physical fitness baseline.