Method and device for calculating qualification of order receiving capacity, electronic equipment and storage medium

By classifying the sensitivity of driver order-accepting qualification indicators and dynamically matching the calculation mode, the problem of the inability to differentiate the calculation strategy scheduling in the existing technology has been solved, realizing efficient and safe driver order-accepting qualification assessment and improving the calculation efficiency and compliance of ride-hailing platforms.

CN123140722APending Publication Date: 2026-11-20BEIJING BAIJU YIXING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611105505.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-23
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

In existing technologies, the driver order-accepting qualification calculation model fails to implement differentiated calculation strategies based on the urgency of indicator changes, resulting in untimely responses to changes in highly sensitive indicators and excessive computational resources being consumed by changes in low-sensitivity indicators, thus affecting order dispatch efficiency and safety compliance.

Method used

By pre-defining index sensitivity classification rules, capacity indicators are divided into high time sensitivity and low time sensitivity, and index changes are monitored. Real-time calculation mode or offline calculation mode is dynamically matched. High-sensitivity indicators are calculated in real time, and low-sensitivity indicators are calculated offline. Qualification assessment is carried out by combining the calculation logic units of order channels and categories.

Benefits of technology

It enables timely response to high-sensitivity indicators and optimized resource calculation for low-sensitivity indicators, reduces system load, improves the accuracy and timeliness of qualification calculation, and enhances compliance response capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123140722A_ABST
    Figure CN123140722A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of intelligent transportation, and discloses a method and device for calculating the qualification of a target transport capacity, an electronic device and a storage medium, wherein a preset index sensitivity classification rule is obtained; a current transport capacity index of a target transport capacity is monitored, and when a change in any transport capacity index in the transport capacity index is monitored, a corresponding target calculation mode is matched in the index sensitivity classification rule according to the sensitivity category of the transport capacity index; and the target transport capacity is subjected to qualification calculation according to the target calculation mode, so as to obtain an order category set in which the target transport capacity has the qualification for accepting orders. The present application solves the technical problem that, due to the fact that a differentiated calculation strategy is not dispatched according to the business urgency degree of an index change, a high-sensitivity index change response is not timely, and a low-sensitivity index change occupies too many calculation resources. While ensuring the accuracy and timeliness of driver order qualification calculation, the present application significantly reduces the system calculation load and reasonably allocates calculation resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent transportation technology, specifically to a method, apparatus, electronic device, and storage medium for calculating the qualification of transportation capacity to accept orders. Background Technology

[0002] In ride-hailing services, calculating driver qualifications is a core element in ensuring safe operation and compliant order dispatch. Driver qualifications typically involve multiple evaluation indicators, including driver identity verification status, driver's license validity, vehicle inspection status, traffic violation records, service rating, and order history data. There are two main modes for calculating driver qualifications: one is real-time calculation, where all relevant indicator data is immediately retrieved and the qualification assessment is completed whenever there is an order request or a change in driver data; the other is offline calculation, where the system periodically calculates driver qualifications in batches and caches the results, which are then directly accessed when an order request is made.

[0003] However, both of these models have inherent drawbacks. While the real-time calculation model ensures the timeliness of qualification assessments, it requires frequent triggering of full data collection and calculation when there are a large number of drivers and numerous assessment indicators. This leads to a surge in computational pressure, especially during peak order periods, which can cause response delays and affect dispatch efficiency. Although the offline calculation model reduces the real-time computational pressure through batch processing, the qualification results have a caching period, making it impossible to reflect dynamic changes in driver qualifications in a timely manner. Summary of the Invention

[0004] This invention provides a method, apparatus, electronic device, and storage medium for calculating the qualification of transportation capacity to accept orders, in order to solve the problem in related technologies that the real-time calculation mode and the offline calculation mode are independent of each other and fail to perform differentiated calculation strategy scheduling according to the business urgency of indicator changes.

[0005] In a first aspect, the present invention provides a method for calculating the qualification of transportation capacity to accept orders, the method comprising: Obtain preset indicator sensitivity classification rules, which define the criteria for classifying high time sensitivity indicators and low time sensitivity indicators; The current capacity indicators of the target capacity are monitored. When any change in the capacity indicators is detected, the corresponding target calculation mode is matched in the indicator sensitivity classification rules according to the sensitivity category of the capacity indicator. Among them, high time sensitivity indicators correspond to real-time calculation mode, and low time sensitivity indicators correspond to offline calculation mode. Based on the target calculation model, the target capacity is evaluated for eligibility, resulting in a set of order categories for which the target capacity is qualified to accept orders.

[0006] The method for calculating the order-accepting qualification of transportation capacity provided in this invention predefines index sensitivity classification rules, dividing transportation capacity indicators into high-time-sensitivity indicators and low-time-sensitivity indicators. It monitors changes in the current transportation capacity indicators of the target capacity. When any transportation capacity indicator changes, the method matches the corresponding target calculation mode in the classification rules according to the sensitivity category of that indicator. High-time-sensitivity indicators correspond to a real-time calculation mode, and low-time-sensitivity indicators correspond to an offline calculation mode. Then, the method performs qualification calculation on the target transportation capacity according to the matched target calculation mode, ultimately obtaining a set of order categories for which the target transportation capacity is qualified to accept orders. This solves the technical problem in related technologies where the lack of differentiated calculation strategy scheduling based on the urgency of business changes in indicators leads to untimely response to changes in high-sensitivity indicators and excessive computational resource consumption for changes in low-sensitivity indicators. It achieves the technical effect of significantly reducing system computational load and rationally allocating computational resources while ensuring the accuracy and timeliness of driver order-accepting qualification calculation.

[0007] In one optional implementation, the step of performing qualification calculation on the target capacity according to the target calculation mode to obtain a set of order categories for which the target capacity is qualified to accept orders includes: Obtain the order channel identifier and order category currently associated with the target capacity, and determine the order channel currently in which the target capacity is located based on the order channel identifier; Invoke the calculation logic unit associated with the order channel and order category, wherein the calculation logic unit includes at least a combination of indicator thresholds and a condition judgment tree; The current capacity index of the target capacity is used as input, and the index threshold combination and condition judgment tree in the calculation logic unit are executed to determine whether the target capacity meets the admission requirements of each order category. The set of order categories that meet the admission requirements will be used as the qualification result of the target capacity under the target calculation mode.

[0008] The method for calculating the order acceptance qualification of transportation capacity provided in this embodiment of the invention, when performing qualification calculation according to the target calculation mode, determines the order channel by obtaining the order channel identifier and order category currently associated with the target transportation capacity, and then calls the calculation logic unit associated with the order channel and order category, which at least contains a combination of indicator thresholds and a condition judgment tree. Taking the current transportation capacity indicators of the target transportation capacity as input, the calculation logic unit executes the combination of indicator thresholds and the condition judgment tree to determine whether the target transportation capacity meets the admission requirements of each order category. Finally, the set of order categories that meet the admission requirements is output as the qualification result. This solves the technical problem in related technologies where the qualification calculation logic is tightly coupled with business rules, and rule changes require code modifications leading to slow business response. It achieves decoupling between the calculation logic unit and the system execution code, allowing different order channels and different order categories to independently configure and call their respective admission rules, improving the flexibility of business rule changes and the maintainability of qualification calculation.

[0009] In one optional implementation, when a change is detected in the value of any of the high time-sensitive indicators among the capacity indicators, the target calculation mode is determined to be the real-time calculation mode. The process of performing qualification calculations on the target capacity based on the target calculation model yields a set of order categories for which the target capacity is qualified to accept orders, including: Obtain the revised first change indicator data and collect the first necessary indicator data related to the target capacity; A first set of indicator data for the target capacity is generated based on the first change indicator data and the first necessary indicator data. Obtain the order channel identifier and order category currently associated with the target capacity, and determine the order channel currently in which the target capacity is located based on the order channel identifier; The calculation logic unit associated with the order channel and order category is invoked, the first indicator dataset is used as input, and the pre-configured indicator threshold combination and condition judgment tree in the calculation logic unit are executed to determine whether the target capacity meets the admission requirements of each order category. Obtain the first set of order categories that meet the admission requirements, and use the first set of order categories as the first qualification result of the target capacity in the real-time calculation mode.

[0010] The method for calculating the order acceptance qualification of transportation capacity provided in this invention determines the target calculation mode corresponding to the change as a real-time calculation mode when a change in the value of a high-time-sensitive indicator is detected. Specifically, the method first acquires the changed first indicator data and collects the first necessary indicator data related to the target transportation capacity. Based on these two data, a first indicator data set is generated. Then, the order channel identifier and order category currently associated with the target transportation capacity are acquired. The corresponding calculation logic unit is called, and the first indicator data set is used as an input execution indicator threshold combination and a condition judgment tree to determine whether the admission requirements for each order category are met. Finally, the first order category set that meets the admission requirements is output as the first qualification result in the real-time calculation mode. This method solves the technical problems of low calculation efficiency and response delay caused by the full collection of all indicator data in related real-time calculation modes. It achieves calculation input using only the changed indicator and necessary related indicators, reducing data collection volume and calculation overhead, and improving the response speed of qualification calculation in scenarios with changes in highly sensitive indicators.

[0011] In one optional implementation, when a change is detected in the value of any low-time-sensitivity indicator among the capacity indicators, the target calculation mode is determined to be the offline calculation mode. The process of performing qualification calculations on the target capacity based on the target calculation model yields a set of order categories for which the target capacity is qualified to accept orders, including: An asynchronous calculation task associated with the target capacity is generated, the asynchronous calculation task carrying the modified second change index data; The asynchronous computing task is submitted to the offline task queue, and the task scheduler is controlled to pull the asynchronous computing task from the offline task queue as a task to be computed according to the preset scheduling strategy. Collect second necessary indicator data related to the target capacity, and generate a second indicator data set for the target capacity based on the second change indicator data and the second necessary indicator data, wherein the second necessary indicator data has been updated; Obtain the order channel identifier and order category currently associated with the target capacity, and determine the order channel currently in which the target capacity is located based on the order channel identifier; The calculation logic unit associated with the order channel and order category is invoked, the second indicator dataset is used as input, and the indicator threshold combination and condition judgment tree in the calculation logic unit are executed to determine whether the target capacity meets the admission requirements of each order category. Obtain a second set of order categories that meet the admission requirements, and use the second set of order categories as the second qualification result of the target capacity in the offline calculation mode.

[0012] The method for calculating transport capacity acceptance qualifications provided in this invention, when a change in the value of a low-time-sensitivity indicator is detected, determines the target calculation mode corresponding to the change as an offline calculation mode. Specifically, during execution, an asynchronous calculation task carrying second changed indicator data is first generated and submitted to the offline task queue. The task scheduler pulls this task as a task to be calculated according to a preset scheduling strategy. Then, updated second necessary indicator data is collected and combined with the second changed indicator data to generate a second indicator data set. Subsequently, the corresponding calculation logic unit is called to perform qualification judgment. Finally, the second order category set that meets the admission requirements is output as the second qualification result in the offline calculation mode. This solves the technical problems of wasted computing resources and untimely task processing caused by the full periodic recalculation of all transport capacity indicators in related offline calculation modes. It achieves asynchronous, incremental calculation triggered by changes in low-sensitivity indicators, significantly reducing peak pressure while ensuring the final accuracy of the qualification.

[0013] In one optional implementation, the computing logic unit is configured and updated in the following manner: The calculation logic unit is predefined for each order category for each order channel, and the calculation logic unit is stored independently in the form of a configuration file or configuration record. The calculation logic unit includes at least a combination of indicator thresholds and a condition judgment tree. When the computational logic unit needs to be changed, modify the indicator threshold combination and condition judgment tree in the computational logic unit; Replace the original computational logic unit with the modified one.

[0014] The method for calculating the order acceptance qualification of transportation capacity provided in this invention configures and updates the calculation logic unit as follows: A calculation logic unit is predefined for each order category of each order channel and stored independently in the form of a configuration file or configuration record. This calculation logic unit includes at least a combination of indicator thresholds and a condition judgment tree. When the calculation logic unit needs to be changed, the indicator threshold combination and condition judgment tree are directly modified, and the original calculation logic unit is replaced with the modified one. This solves the technical problem in related technologies where qualification calculation rules are tightly coupled with system execution code, and rule changes require code modification and redeployment, resulting in long business response cycles. It achieves separate storage and hot updates of the calculation logic unit and system code, enabling adjustments to business rules to be quickly implemented without code development or service restarts. This significantly improves the responsiveness of ride-hailing platforms to changes in market strategies and compliance requirements in multi-channel and multi-category scenarios.

[0015] In an optional implementation, the method further includes: Obtain a list of order channels associated with the target capacity, wherein the list of order channels contains at least one order channel; Configure an independent subset of capacity indicators for each order channel, wherein the subset of capacity indicators only contains the capacity indicators required by the corresponding order channel; When any change in any capacity indicator of the target capacity is detected, the order channel list is queried to read the complete indicator dataset of the target capacity. Using the complete indicator dataset as a shared input, the computational logic units corresponding to each order channel in the order channel list are called in parallel. Based on the calculation logic unit, qualification calculations are performed respectively to obtain the qualification results calculated and output by each order channel. Each calculation logic unit only uses a subset of the capacity indicators of the associated order channel for calculation. The capacity identifier of the target capacity is combined with the order channel identifier of the order channel to obtain an identifier key. Based on the identifier key, the qualification results calculated and output by each order channel are stored in a preset channel qualification cache to isolate the qualification results of different order channels.

[0016] The method for calculating the order acceptance qualification of transportation capacity provided in this invention obtains a list of order channels associated with the target transportation capacity, configures an independent subset of transportation capacity indicators for each order channel, and queries the order channel list to read the complete indicator dataset of the target transportation capacity when any change in any transportation indicator of the target transportation capacity is detected. Using this complete indicator dataset as a shared input, the calculation logic unit corresponding to each order channel is called in parallel to perform qualification calculations. Each calculation logic unit only uses the subset of transportation capacity indicators associated with the order channel for calculation. Finally, an identifier key is obtained by combining the transportation capacity identifier and the order channel identifier, and the qualification results of each channel are stored in a preset channel qualification cache, achieving isolated storage of qualification results for different order channels. This solves the technical problems of mutual interference of qualification calculation results, low efficiency of serial calculation, and resource waste caused by repeated reading of indicator data in multi-channel scenarios in related technologies. It realizes parallel processing and data isolation of multi-channel qualification calculation, significantly improving the calculation efficiency and system throughput in multi-tenant SaaS scenarios.

[0017] In one optional implementation, the capacity indicators include high time-sensitive indicators and low time-sensitive indicators, and the method further includes: A set of key triggering conditions is predefined. The key triggering conditions include at least one of the following: the service satisfaction score drops by more than a preset threshold, the vehicle insurance validity period changes from valid to expired, the driver's license validity period changes from valid to expired, and the driver's main vehicle binding relationship is released. When a change in any of the high time-sensitive indicators among the capacity indicators is detected to meet the key triggering condition, this change will be marked as a high-priority calculation task. When the high-priority computing task and at least one offline computing task corresponding to a low time sensitivity index exist simultaneously in the task scheduling queue, the scheduling order of the task scheduling queue is adjusted so that the high-priority computing task is executed before the offline computing task. If the task scheduler is executing the offline computing task, it will interrupt the currently executing offline computing task and insert the high-priority computing task into the head of the task scheduling queue for immediate execution. After the high-priority computing task is completed, the interrupted offline computing task will resume execution.

[0018] The method for calculating ride-hailing capacity acceptance qualifications provided in this invention predefines a set of key triggering conditions, including a sudden drop in service satisfaction ratings, expired insurance or driver's licenses, and unbinding of the main vehicle. When a change in a high-time-sensitive indicator meets the key triggering conditions, it is marked as a high-priority calculation task. When this high-priority task and the offline calculation task corresponding to a low-time-sensitive indicator coexist in the task scheduling queue, the scheduling order is adjusted, and the high-priority task is executed before the offline task. If the task scheduler is currently executing an offline calculation task, the current task is interrupted, and the high-priority task is inserted at the head of the queue for immediate execution. After the high-priority task is completed, the interrupted offline task is resumed. This solves the technical problem in related technologies where qualification changes in key business scenarios lead to delayed response and potential security and compliance risks due to queuing for processing. It achieves preemptive scheduling of offline calculation tasks for changes in high-sensitivity indicators in key scenarios, ensuring that high-risk changes are processed with the highest priority, significantly improving the safety assurance capabilities and compliance response timeliness of ride-hailing platforms.

[0019] Secondly, the present invention provides a calculation device for transportation capacity order acceptance qualification, the device comprising: The rule acquisition module is used to acquire preset indicator sensitivity classification rules, which define the criteria for classifying high time sensitivity indicators and low time sensitivity indicators. The mode determination module is used to monitor the current capacity indicators of the target capacity. When any capacity indicator changes, the module matches the corresponding target calculation mode in the indicator sensitivity classification rules according to the sensitivity category of the capacity indicator. High time sensitivity indicators correspond to real-time calculation mode, and low time sensitivity indicators correspond to offline calculation mode. The qualification calculation module is used to perform qualification calculation on the target capacity according to the target calculation mode, and obtain the set of order categories for which the target capacity has the qualification to accept orders.

[0020] Thirdly, the present invention provides an electronic device, comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform the calculation method for transportation capacity order acceptance qualification as described in the first aspect or any corresponding embodiment.

[0021] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute the method for calculating the capacity acceptance qualification of the first aspect or any corresponding embodiment described above. Attached Figure Description

[0022] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0023] Figure 1 This is a flowchart illustrating the method for calculating the capacity to accept orders according to an embodiment of the present invention; Figure 2 This is a structural block diagram of a calculation device for transport capacity order acceptance qualification according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0025] It is understood that before using the technical solutions disclosed in the various embodiments of the present invention, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in the present invention and their authorization should be obtained in accordance with relevant laws and regulations through appropriate means.

[0026] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0027] In ride-hailing services, calculating driver qualifications is a core element in ensuring safe operation and compliant order dispatch. Driver qualifications typically involve multiple evaluation metrics, including driver identity verification status, driver's license validity, vehicle inspection status, traffic violation records, service rating, and order history data. Currently, there are two main modes for calculating driver qualifications: one is real-time calculation, where all relevant metrics are immediately retrieved and qualifications are assessed whenever an order request is received or driver data changes; the other is offline calculation, where the system periodically calculates driver qualifications in batches and caches the results, which are then directly accessed when an order request is made.

[0028] However, both of the above models have inherent drawbacks. While the real-time calculation model can ensure the timeliness of qualification assessment, when the number of drivers is large and the assessment indicators are numerous, it requires frequent triggering of full data collection and calculation, leading to a surge in computational pressure. This is especially problematic during peak order periods, where response delays can occur, impacting dispatch efficiency. The offline calculation model, while reducing real-time computational pressure through batch processing, suffers from a caching period for qualification results. This caching period prevents timely reflection of dynamic changes in driver qualifications. For example, if a driver has just committed a traffic violation or their driver's license has suddenly expired, the offline model may still classify them as compliant within that caching period, potentially resulting in non-compliant drivers being dispatched, posing safety and compliance risks. Therefore, the existing real-time and offline calculation models are independent and mutually exclusive, failing to differentiate computational strategies based on the urgency of indicator changes. This results in the system being unresponsive when handling high-sensitivity indicator changes, while consuming excessive computational resources when handling low-sensitivity indicator changes.

[0029] Based on this, the present invention provides an embodiment of a method for calculating the qualification of transportation capacity to accept orders. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0030] This embodiment provides a method for calculating the qualification of transportation capacity to accept orders, which can be used on the server side. Figure 1 This is a flowchart of a method for calculating the capacity acceptance qualification according to an embodiment of the present invention, such as... Figure 1As shown, the process includes the following steps: Step S101: Obtain the preset index sensitivity classification rules. The index sensitivity classification rules define the criteria for classifying high time sensitivity indices and low time sensitivity indices.

[0031] Step S102: Monitor the current capacity indicators of the target capacity. When any capacity indicator changes, match the corresponding target calculation mode in the indicator sensitivity classification rules according to the sensitivity category of the capacity indicator. Among them, high time sensitivity indicators correspond to real-time calculation mode, and low time sensitivity indicators correspond to offline calculation mode.

[0032] Step S103: Perform qualification calculation on the target capacity according to the target calculation mode to obtain the set of order categories for which the target capacity is qualified to accept orders.

[0033] The method for calculating the order-accepting qualification of transportation capacity provided in this embodiment predefines index sensitivity classification rules, dividing transportation capacity indicators into high-time-sensitivity indicators and low-time-sensitivity indicators. It monitors changes in the current transportation capacity indicators of the target capacity. When any transportation capacity indicator changes, the method matches the corresponding target calculation mode in the classification rules according to the sensitivity category of that indicator. High-time-sensitivity indicators correspond to real-time calculation mode, and low-time-sensitivity indicators correspond to offline calculation mode. Then, the qualification calculation is performed on the target transportation capacity according to the matched target calculation mode, ultimately obtaining the set of order categories for which the target transportation capacity is qualified to accept orders. This solves the technical problem in related technologies where the lack of differentiated calculation strategy scheduling based on the urgency of business changes in indicators leads to untimely response to changes in high-sensitivity indicators and excessive computational resource consumption for changes in low-sensitivity indicators. It achieves the technical effect of significantly reducing system computational load and rationally allocating computational resources while ensuring the accuracy and timeliness of driver order-accepting qualification calculation.

[0034] The steps described above will be explained in detail below.

[0035] In step S101, a preset index sensitivity classification rule is obtained, which defines the criteria for classifying high time sensitivity indexes and low time sensitivity indexes.

[0036] In this embodiment, a pre-defined index sensitivity classification rule is first obtained. This rule categorizes capacity indicators into two types: high-time-sensitive indicators and low-time-sensitive indicators. High-time-sensitive indicators are those whose changes must be immediately reflected in the driver's order-accepting qualifications, such as service satisfaction ratings, real-time vehicle binding status, vehicle online status, insurance validity period, and driver's license validity period. Changes to these indicators directly affect driving safety and compliant operation, requiring real-time response. Low-time-sensitive indicators, on the other hand, are those whose changes do not immediately impact order-accepting qualifications, such as vehicle brand, vehicle model, historical total completed orders, and driver registration days. Changes to these indicators do not immediately pose safety or compliance risks and can be addressed later.

[0037] Indicator sensitivity classification rules can be pre-stored in a configuration center or rule base, existing in the form of key-value pairs, configuration files, or database records. Each rule record contains fields such as indicator name, indicator code, and sensitivity category identifier. For example, a typical sensitivity classification rule can be represented as: indicator code "SVC_SCORE", indicator name "Service Satisfaction Rating", and sensitivity category "High Time Sensitivity"; another rule can be represented as: indicator code "VEH_BRAND", indicator name "Vehicle Brand", and sensitivity category "Low Time Sensitivity". By obtaining the above-mentioned pre-set indicator sensitivity classification rules, the sensitivity category of any capacity indicator can be determined according to the rule, thus providing a basis for selecting the corresponding calculation mode.

[0038] In step S102, the current capacity indicators of the target capacity are monitored. When any change in the capacity indicators is detected, the corresponding target calculation mode is matched in the indicator sensitivity classification rules according to the sensitivity category of the capacity indicators. Among them, high time sensitivity indicators correspond to real-time calculation mode, and low time sensitivity indicators correspond to offline calculation mode.

[0039] In this embodiment, a platform-level capacity indicator data dictionary is first constructed to standardize the definition of all capacity indicators. The capacity indicator data dictionary is a centralized metadata storage structure, where each record corresponds to a capacity indicator. For example, capacity indicators can be divided into two main categories: driver-level indicators and vehicle-level indicators.

[0040] The driver-related metrics can be further subdivided into two categories: basic attributes and dynamic behavioral data. Basic attributes include driver age, length of service, driver's license status, and health certificate validity, reflecting the driver's static qualifications. Dynamic behavioral data includes service satisfaction ratings, total historical completed orders, completion rate for specific order categories, and recent order-taking activity, reflecting the driver's dynamic performance and order-taking ability.

[0041] Vehicle-related metrics can be further subdivided into two categories: static attributes and compliance status. Static attributes include brand and model, vehicle class, number of seats, energy type, and registration year, reflecting the vehicle's basic configuration and class. Compliance status includes annual inspection validity, commercial insurance status, and currently linked driver ID, reflecting the vehicle's legal operation status and its binding relationship with the driver.

[0042] For each capacity indicator, the data dictionary synchronously maintains its unique code, data type, business semantics, and expected update frequency. The unique code uniquely identifies the indicator within the platform; for example, "DRV_AGE" represents driver age, "SVC_SCORE" represents service satisfaction rating, and "INS_STATUS" represents commercial insurance status. The data type constrains the format of the indicator value, such as integer, floating-point, Boolean, or date. The business semantics describe the business meaning of the indicator; for example, "service satisfaction rating represents the passenger's overall evaluation score of the driver's service." The expected update frequency indicates the frequency of changes to the indicator, such as real-time updates, hourly updates, or daily updates. Through this capacity indicator data dictionary, a unified and consistent data benchmark is provided for subsequent qualification calculations, ensuring that all calculation logic units use the same defined indicators for rule configuration and execution.

[0043] In this embodiment, the data collection for the capacity indicator is automatically triggered based on key business events of drivers or vehicles. These key business events include driver registration submission, order completion, document update, vehicle binding, and vehicle unbinding. When a driver submits registration information through the client, a data collection is triggered, collecting raw data such as the driver's name, age, driver's license information, and health certificate information. When a driver completes an order, another data collection is triggered, collecting raw data such as the order completion status and passenger service rating. When a driver uploads a new driver's license or health certificate, another data collection is triggered, collecting raw data such as the document's validity period and status. When a driver binds a new vehicle or unbinds an existing vehicle through the client, another data collection is triggered, collecting raw data such as the vehicle's brand and model, license plate number, vehicle class, annual inspection validity period, insurance status, and the binding / unbinding timestamp.

[0044] The collected raw data needs to be cleaned and standardized before it can become standardized capacity indicator data. The cleaning process removes null values, outliers, or data with incorrect formats. The standardization process unifies data from different sources and in different formats into the standardized format defined in the capacity indicator data dictionary. For example, service ratings given by passengers after different orders may use different score ranges, some using a 100-point scale and others a 5-point scale. The standardization process normalizes the original scores to a 100-point scale, that is, multiplying the 5-point scale score by 20 to obtain the corresponding 100-point score. Another example is that the vehicle name entered by drivers during registration may have multiple spellings, such as "Brand A GL8 Luxury Edition" or "Brand A GL8-Luxury". The standardization process maps these non-standard vehicle names to a unified vehicle class, for example, mapping both spellings to the vehicle class "Brand A Luxury Business Vehicle". The standardized indicator data formed after cleaning and standardization is persistently stored in the capacity indicator center on the server. The Capacity Indicator Center is a database or data warehouse on the server side used to centrally store capacity indicator data. It stores and maintains various indicators for each capacity according to the capacity identifier, and supports fast reading and querying during subsequent qualification calculations.

[0045] In this embodiment, in addition to automatically triggering the collection of capacity indicators based on key business events of drivers or vehicles, it is also necessary to continuously monitor the current capacity indicators of the target capacity. Target capacity refers to a combination unit of drivers and vehicles, and each target capacity is associated with a set of capacity indicators, including indicators at the driver level and indicators at the vehicle level. Monitoring can be achieved by setting up a data change listener in the capacity indicator center, which subscribes to all capacity indicator change events.

[0046] When the value of any capacity indicator in the capacity indicator center is updated, such as when the service satisfaction score changes from 4.9 to 4.6, or when the vehicle insurance validity period changes from valid to expired, the listener immediately captures the change event and obtains the changed indicator value.

[0047] Upon detecting a change event, the system matches the target calculation mode corresponding to the changed capacity indicator within the existing indicator sensitivity classification rules, based on the sensitivity category of the changed indicator. Specifically, if the changed capacity indicator is classified as high-sensitivity (i.e., a high-time-sensitivity indicator), the matched target calculation mode is real-time calculation; if the changed capacity indicator is classified as low-sensitivity (i.e., a low-time-sensitivity indicator), the matched target calculation mode is offline calculation. For example, when the service satisfaction rating changes, because this indicator is classified as a high-time-sensitivity indicator, the matched target calculation mode is real-time calculation; while when the vehicle brand changes, because this indicator is classified as a low-time-sensitivity indicator, the matched target calculation mode is offline calculation.

[0048] This embodiment continuously monitors the current capacity indicators of the target capacity. When any capacity indicator changes, it matches the corresponding target calculation mode according to the sensitivity category of the indicator in a preset indicator sensitivity classification rule. High time-sensitive indicators correspond to real-time calculation mode, while low time-sensitive indicators correspond to offline calculation mode. This solves the technical problem in existing technologies where the lack of differentiated calculation strategy scheduling based on the urgency of indicator changes leads to untimely response to changes in high-sensitivity indicators and excessive computational resource consumption for changes in low-sensitivity indicators. It achieves the technical effect of dynamically selecting the calculation mode based on the sensitivity category of the changing indicator, enabling urgent and important indicator changes to be processed in real time, while non-urgent indicator changes are processed offline. This ensures the accuracy and timeliness of qualification calculations while rationally allocating computational resources.

[0049] In step S103, the target capacity is qualified according to the target calculation mode to obtain the set of order categories for which the target capacity is qualified to accept orders.

[0050] In one optional implementation, the target capacity is assessed for eligibility based on a target calculation model to obtain a set of order categories for which the target capacity is qualified to accept orders, including: Obtain the order channel identifier and order category currently associated with the target capacity, and determine the current order channel of the target capacity based on the order channel identifier; Call the calculation logic unit associated with the order channel and order category. The calculation logic unit shall at least contain the combination of indicator thresholds and the condition judgment tree. The target capacity is given its current capacity index as input. The calculation logic unit combines the index thresholds and the condition judgment tree to determine whether the target capacity meets the admission requirements of each order category. The set of order categories that meet the admission requirements will be used as the qualification result of the target capacity under the target calculation mode.

[0051] In this embodiment, when performing qualification calculations, it is first necessary to obtain the order channel identifier and order category currently associated with the target capacity. The order channel identifier uniquely identifies an order channel, such as an economy channel, business channel, or luxury channel; the order category refers to the further subdivision of service types within the same order channel, such as the economy channel which may include express and carpooling categories. Each target capacity may be in different order channels at different times; for example, when a driver actively switches their order-taking mode, their current order channel will change. Based on the obtained order channel identifier, the current order channel of the target capacity is determined.

[0052] Then, the calculation logic unit associated with the order channel and order category is invoked. The calculation logic unit is a configurable rule execution unit, containing at least a combination of indicator thresholds and a conditional decision tree. The indicator threshold combination defines the numerical range that each capacity indicator must meet; for example, a service satisfaction score greater than or equal to 4.8 points and a vehicle class of luxury. The conditional decision tree combines multiple indicator thresholds through logical operators to form a multi-level judgment structure. For example, the conditional decision tree can be represented as: if the vehicle class is luxury and the service satisfaction score is greater than or equal to 4.8 points, then the judgment passes; otherwise, it further judges whether the vehicle class is business and the service satisfaction score is greater than or equal to 4.6 points. Different order channels and order categories correspond to different calculation logic units. For example, the indicator thresholds in the calculation logic unit for the luxury channel can be set to be higher, while those in the calculation logic unit for the economy channel can be set to be lower.

[0053] Next, the current capacity indicators of the target capacity are used as input to execute the indicator threshold combination and condition judgment tree in the calculation logic unit. Specifically, the actual values ​​of each current capacity indicator of the target capacity are read from the capacity indicator center, such as vehicle class being luxury, service satisfaction rating being 4.9 points, and insurance status being valid. These actual values ​​are then substituted into the indicator threshold combination for comparison one by one, and the judgment is performed layer by layer according to the logical branches of the condition judgment tree to ultimately determine whether the target capacity meets the admission requirements for each order category.

[0054] Finally, the set of order categories that meet the eligibility requirements is output as the qualification result of the target capacity under the target calculation mode. For example, if the target capacity meets the eligibility requirements for both express and carpooling categories in the economy channel, but not the eligibility requirements for the business channel, the output set of order categories will include both express and carpooling categories. This qualification result can be directly used for subsequent order dispatch decisions; that is, only order categories included in the qualification result will be allowed to be dispatched to the target capacity.

[0055] The method for calculating the order acceptance qualification of transportation capacity provided in this embodiment, when performing qualification calculation according to the target calculation mode, determines the order channel by obtaining the order channel identifier and order category currently associated with the target transportation capacity. Then, it calls the calculation logic unit associated with the order channel and order category, which at least contains a combination of indicator thresholds and a condition judgment tree. Taking the current transportation capacity indicators of the target transportation capacity as input, the calculation logic unit executes the combination of indicator thresholds and the condition judgment tree to determine whether the target transportation capacity meets the admission requirements of each order category. Finally, the set of order categories that meet the admission requirements is output as the qualification result. This solves the technical problem in related technologies where the qualification calculation logic is tightly coupled with business rules, and rule changes require code modifications, resulting in slow business response. It achieves decoupling between the calculation logic unit and the system execution code, allowing different order channels and different order categories to independently configure and call their respective admission rules, improving the flexibility of business rule changes and the maintainability of qualification calculation.

[0056] In one optional implementation, when a change is detected in the value of any high time-sensitive indicator among the capacity indicators, the target calculation mode is determined to be the real-time calculation mode. Based on the target calculation model, the target capacity is evaluated for eligibility, resulting in a set of order categories for which the target capacity is qualified to accept orders, including: Obtain the first changed indicator data after the change, and collect the first necessary indicator data related to the target capacity; A set of first indicator data for target capacity is generated based on the first change indicator data and the first necessary indicator data. Obtain the order channel identifier and order category currently associated with the target capacity, and determine the current order channel of the target capacity based on the order channel identifier; The calculation logic unit associated with the order channel and order category is invoked, the first indicator dataset is used as input, and the pre-configured indicator threshold combination and condition judgment tree in the calculation logic unit are executed to determine whether the target capacity meets the admission requirements of each order category. Obtain the first set of order categories that meet the admission requirements, and use the first set of order categories as the first qualification result of the target capacity in the real-time calculation mode.

[0057] When a change is detected in the value of any high-time-sensitive indicator among the capacity metrics, the target calculation mode can be determined to be real-time calculation mode. For example, suppose the current service satisfaction score of the target capacity drops from 4.9 to 4.5. The service satisfaction score is defined as a high-time-sensitive indicator by the preset indicator sensitivity classification rules, thus triggering the real-time calculation mode.

[0058] In real-time calculation mode, the first modified first indicator data, i.e., the modified service satisfaction score of 4.5, is obtained from the capacity indicator center. At the same time, the first necessary indicator data related to the target capacity is collected. The first necessary indicator data refers to other capacity indicators necessary for performing qualification calculations besides the modified indicators, including vehicle class, insurance validity period, driver's license validity period, etc.

[0059] Based on the first change indicator data and the first necessary indicator data, a first indicator data set for the target capacity is generated. This first indicator data set is a complete input dataset, including the changed service satisfaction score and collected indicator values ​​such as vehicle class, insurance validity period, and driver's license validity period.

[0060] Then, obtain the order channel identifier and order category currently associated with the target capacity, and determine the current order channel of the target capacity based on the order channel identifier. For example, if the target capacity is currently in the business order channel, the order channel identifier is CHANNEL_BUSINESS, and the associated order categories include Business Express and Business Premier.

[0061] This invokes the computational logic unit associated with the order channel and corresponding order category. This unit is pre-configured with indicator threshold combinations and conditional judgment trees. For example, the indicator threshold combination requires a service satisfaction score greater than or equal to 4.6, a vehicle class greater than or equal to business type, and valid insurance status. Taking the first indicator dataset as input, the computational logic unit executes the indicator threshold combinations and conditional judgment trees, determining item by item whether the target capacity meets the admission requirements for each order category. For instance, when the changed service satisfaction score is 4.5, it is lower than the threshold requirement of 4.6, therefore the target capacity no longer meets the admission requirements for the Business Express and Business Premier categories.

[0062] Finally, the first set of order categories that meet the admission requirements is obtained. Since the above judgment result indicates that the admission requirements for any business order category are not met, the first set of order categories is empty. This empty set is then output as the first qualification result for the target capacity in the real-time calculation mode, indicating that the target capacity no longer has the qualification to accept orders through the business order channel. If the service satisfaction score changes to 4.7 instead of 4.5, the first set of order categories will include both business express and business chauffeur categories, and the target capacity will still have the qualification to accept orders through the business order channel. Through the above real-time calculation mode, changes in highly time-sensitive indicators can be immediately reflected in the qualification results, preventing non-compliant capacity from being assigned orders.

[0063] The method for calculating the order acceptance qualification of transportation capacity provided in this embodiment determines the target calculation mode corresponding to the change as a real-time calculation mode when a change in the value of a high-time-sensitive indicator is detected. In the specific execution process, the changed first indicator data is first obtained, and the first necessary indicator data related to the target transportation capacity is collected. Based on these two, a first indicator data set is generated. Then, the order channel identifier and order category currently associated with the target transportation capacity are obtained, and the corresponding calculation logic unit is called. The first indicator data set is used as an input execution indicator threshold combination and a condition judgment tree to determine whether the admission requirements of each order category are met. Finally, the first order category set that meets the admission requirements is output as the first qualification result in the real-time calculation mode. This solves the technical problem of low calculation efficiency and response delay caused by the full collection of all indicator data in related real-time calculation modes. It achieves calculation input using only the changed indicator and necessary related indicators, reducing data collection volume and calculation overhead, and improving the qualification calculation response speed in scenarios with changes in highly sensitive indicators.

[0064] In one optional implementation, when a change is detected in the value of any low time-sensitive indicator among the capacity indicators, the target calculation mode is determined to be the offline calculation mode. Based on the target calculation model, the target capacity is evaluated for eligibility, resulting in a set of order categories for which the target capacity is qualified to accept orders, including: Generate an asynchronous calculation task associated with the target capacity, the asynchronous calculation task carrying the modified second change index data; Asynchronous computing tasks are submitted to the offline task queue, and the task scheduler is controlled to pull asynchronous computing tasks from the offline task queue as tasks to be computed according to the preset scheduling strategy. Collect second essential indicator data related to the target capacity, and generate a second indicator data set for the target capacity based on the second change indicator data and the second essential indicator data, wherein the second essential indicator data has been updated; Obtain the order channel identifier and order category currently associated with the target capacity, and determine the current order channel of the target capacity based on the order channel identifier; The calculation logic unit associated with the order channel and order category is invoked, the second indicator dataset is used as input, and the indicator threshold combination and condition judgment tree in the calculation logic unit are executed to determine whether the target capacity meets the admission requirements of each order category. Obtain the second set of order categories that meet the admission requirements, and use the second set of order categories as the second qualification result of the target capacity in offline calculation mode.

[0065] Since the target calculation mode can be determined to be offline calculation mode when a change in the value corresponding to any low time sensitivity indicator in the capacity indicators is detected. Suppose that the target capacity has changed the vehicle it is bound to, and the vehicle brand has changed from Volkswagen Passat to Toyota Camry. The vehicle brand is defined as a low time sensitivity indicator by the preset indicator sensitivity classification rules, thus triggering the offline calculation mode.

[0066] In offline computing mode, an asynchronous computing task associated with the target capacity needs to be generated first. This asynchronous computing task carries the modified second indicator data, such as the modified vehicle brand A. The asynchronous computing task is a computing request object independent of the current execution thread, which contains the identifier of the target capacity, the name of the modified indicator, and the modified indicator value.

[0067] The asynchronous computation task is submitted to the offline task queue, which is a first-in-first-out message queue used to temporarily store offline computation tasks to be processed. The task scheduler in the server pulls asynchronous computation tasks from the offline task queue as tasks to be computed according to a preset scheduling strategy. The preset scheduling strategy can be round-robin, priority-based, or time-ordered; this embodiment does not impose any specific limitations.

[0068] After the task scheduler retrieves the task to be calculated, it collects the second essential indicator data related to the target capacity. This second essential indicator data refers to other capacity indicators necessary for performing the qualification calculation, excluding changed indicators. These include vehicle class, number of seats per vehicle, vehicle registration year, annual inspection validity period, and insurance status. The data is collected by reading the current values ​​of these indicators from the capacity indicator center on the server. It should be noted that the offline calculation mode requires that the second essential indicator data has been updated; that is, the indicator values ​​stored in the capacity indicator center are the latest values ​​after cleaning and standardization.

[0069] Based on the second change indicator data and the second necessary indicator data, a second indicator data set for the target capacity is generated. The second indicator data set includes the changed vehicle brand A and the collected indicator values ​​such as vehicle grade, number of seats, vehicle registration year, annual inspection validity period, and insurance status.

[0070] Then, obtain the order channel identifier and order category currently associated with the target capacity, and determine the current order channel of the target capacity based on the order channel identifier. For example, if the target capacity is currently in the economy order channel, the order channel identifier is CHANNEL_ECONOMY, and the associated order categories include economy express and economy carpooling.

[0071] The system invokes the computational logic unit associated with the order channel and corresponding order category. This unit is pre-configured with indicator threshold combinations and conditional judgment trees. For example, the indicator threshold combinations might require the vehicle to have four or more seats, be registered for five years or less, have a valid annual inspection, and have valid insurance. Using the second indicator dataset as input, the computational logic unit executes the indicator threshold combinations and conditional judgment trees to determine whether the target capacity meets the entry requirements for each order category. For instance, if the changed vehicle brand A meets the vehicle grade requirements and all other necessary indicators meet the threshold conditions, then the target capacity is determined to meet the entry requirements for both the Economy Express and Economy Carpooling categories.

[0072] Finally, obtain the second set of order categories that meet the admission requirements. Combining the above example, namely the Economy Express category and the Economy Carpooling category, this second set of order categories is output as the second qualification result of the target capacity in offline calculation mode. If the vehicle brand is changed to a brand that does not meet the vehicle level requirements, such as changing to a minivan, the second set of order categories may be empty or contain only some categories.

[0073] The method for calculating capacity acceptance qualifications provided in this embodiment, when a change in the value of a low-time-sensitivity indicator is detected, determines the target calculation mode corresponding to the change as an offline calculation mode. In the specific execution process, an asynchronous calculation task carrying the second changed indicator data is first generated and submitted to the offline task queue. The task scheduler pulls this task as a task to be calculated according to a preset scheduling strategy. Then, the updated second necessary indicator data is collected and combined with the second changed indicator data to generate a second indicator data set. Subsequently, the corresponding calculation logic unit is called to perform qualification judgment. Finally, the second order category set that meets the admission requirements is output as the second qualification result in the offline calculation mode. This solves the technical problems of wasted computing resources and untimely task processing caused by the full periodic recalculation of all capacity indicators in related offline calculation modes. It realizes asynchronous, incremental calculation triggered by changes in low-sensitivity indicators, significantly reducing peak pressure while ensuring the final accuracy of the qualification.

[0074] In one alternative implementation, the computational logic unit is configured and updated in the following manner: Predefine a calculation logic unit for each order category for each order channel, and store the calculation logic unit independently in the form of a configuration file or configuration record. The calculation logic unit shall at least contain a combination of indicator thresholds and a condition judgment tree. When the computation logic unit needs to be changed, modify the indicator threshold combination and condition judgment tree in the computation logic unit; Replace the original computational logic unit with the modified one.

[0075] When configuring the computational logic unit, it is necessary to predefine the computational logic unit for each order category for each order channel. For example, the Economy order channel includes Economy Express and Economy Carpooling categories, each with its own computational logic unit; the Business order channel includes Business Express and Business Premier categories, each with its own computational logic unit; and the Luxury order channel includes Luxury Car category, with its own computational logic unit defined separately.

[0076] Each computational logic unit contains at least a combination of indicator thresholds and a conditional decision tree. Taking the computational logic unit for the Business Express category as an example, the indicator threshold combination can include a service satisfaction score greater than or equal to 4.6, a vehicle class greater than or equal to Business type, valid insurance status, and valid driver's license status. The conditional decision tree combines the above indicator thresholds using logical operators. For example, the judgment logic can be expressed as: if the service satisfaction score is greater than or equal to 4.6, the vehicle class is greater than or equal to Business type, the insurance status is valid, and the driver's license status is valid, then the capacity is determined to meet the entry requirements for the Business Express category; otherwise, it is determined not to meet the requirements.

[0077] The aforementioned computational logic units are stored independently in the form of configuration files or configuration records. Specifically, the configuration files can be JSON or YAML text files, stored in the server-side configuration center or rule repository. Taking JSON format as an example, the configuration file content for the computational logic unit of the Business Express category is as follows: the order channel identifier is CHANNEL_BUSINESS, the order category identifier is CATEGORY_BUSINESS_EXPRESS, and the indicator threshold combination includes a service satisfaction score threshold of 4.6 points, a vehicle level threshold of business type, an insurance status threshold of valid, and a driver's license status threshold of valid. The conditional judgment tree determines that the pass is achieved when all threshold conditions are met simultaneously. The configuration records can be stored in the rule table of a relational database on the server side. Each record corresponds to one computational logic unit for one order category, and the record fields can include, for example, the order channel identifier, the order category identifier, the serialized string of the indicator threshold combination, and the serialized string of the conditional judgment tree. This embodiment separates the computational logic units from the system execution code, so that the execution code only needs to read and parse the configuration file or configuration record according to a fixed interface, without needing to hard-code any business rules.

[0078] When adjustments to the admission rules for a specific order category are needed during business operations—meaning a change is required to the calculation logic unit—the modification is initiated through the front-end interface or application programming interface (API) of the rule configuration center on the server side. For example, if operations personnel decide to raise the service satisfaction score threshold for the Business Express category from 4.6 to 4.7, they will locate the corresponding calculation logic unit for the Business Express category in the rule configuration center and modify the service satisfaction score threshold in its indicator threshold combination to 4.7. As another example, to add an admission condition to the Luxury Car category requiring drivers to have at least two years of experience, the condition of "drivers having at least two years of experience" will be added to the indicator threshold combination of the Luxury Car category's calculation logic unit, and the condition decision tree will be updated accordingly, adding a decision branch for this condition to the existing decision logic.

[0079] After the modifications are completed, the rule configuration center replaces the original computation logic unit with the modified one. The replacement process uses a dynamic loading mechanism. Specifically, after the rule configuration center saves the modified configuration content, it generates a configuration change notification. This notification carries the identification information of the modified computation logic unit and the version number of the new version. The configuration change notification is then sent to the computation scheduler on the server.

[0080] Upon receiving a configuration change notification, the computation scheduler rereads the updated computation logic unit configuration from the configuration file or database record based on the identification information of the computation logic unit. The new version of the computation logic unit is then loaded into memory, replacing the old version. Subsequent qualification calculations for this order category automatically invoke the new version of the computation logic unit in memory. The entire replacement process requires no service restart, no modification to any execution code, and no interruption of ongoing qualification calculation tasks, achieving hot updating of the computation logic unit.

[0081] The method for calculating the order acceptance qualification of transportation capacity provided in this embodiment configures and updates the calculation logic unit as follows: A calculation logic unit is predefined for each order category of each order channel and stored independently in the form of a configuration file or configuration record. This calculation logic unit includes at least a combination of indicator thresholds and a condition judgment tree. When the calculation logic unit needs to be changed, the indicator threshold combination and condition judgment tree are directly modified, and the original calculation logic unit is replaced with the modified one. This solves the technical problem in related technologies where qualification calculation rules are tightly coupled with system execution code, and rule changes require code modification and redeployment, resulting in long business response cycles. It achieves separate storage and hot updates of the calculation logic unit and system code, enabling adjustments to business rules to be quickly deployed without code development and service restarts. This significantly improves the responsiveness of ride-hailing platforms to changes in market strategies and compliance requirements in multi-channel and multi-category scenarios.

[0082] In SaaS ride-hailing platforms, a single driver typically needs to participate in multiple order channels simultaneously. For example, a driver of a vehicle with commercial vehicle qualifications might simultaneously operate on economy, business, and intercity dedicated line channels. When a driver's performance metric changes, such as a service satisfaction rating dropping from 4.8 to 4.5, the platform needs to update the driver's order-accepting qualification results across all these channels. The traditional approach is sequential calculation: first, the qualification results for the economy channel are calculated; after completion, the results for the business channel are calculated; after completion, the results for the intercity dedicated line channel are calculated. This sequential approach has three drawbacks: First, each calculation requires reading the metric data separately from the driver's performance metric center, resulting in redundant input / output overhead; second, sequential execution means the total execution time equals the sum of the calculation times for each channel, significantly increasing latency when there are many channels; third, the calculation process for each channel is independent, making it impossible to share intermediate results.

[0083] Therefore, embodiments of the present invention also include multi-channel batch aggregation calculation of transportation capacity order acceptance qualifications to improve the efficiency of qualification calculation in multi-channel scenarios, specifically including the following steps: Retrieve the list of order channels associated with the target capacity. The list of order channels must contain at least one order channel. Configure an independent subset of capacity metrics for each order channel. The subset of capacity metrics only contains the capacity metrics required by the corresponding order channel. When any change in any capacity indicator of the target capacity is detected, query the order channel list to read the complete indicator dataset of the target capacity; Using the complete indicator dataset as a shared input, the computational logic unit corresponding to each order channel in the order channel list is called in parallel. The qualification calculation is performed by the calculation logic unit to obtain the qualification results of each order channel. Each calculation logic unit only uses a subset of the capacity indicators of the associated order channel for calculation. The capacity identifier of the target capacity is combined with the order channel identifier of the order channel to obtain the identifier key. Based on the identifier key, the qualification results calculated and output by each order channel are stored in the preset channel qualification cache to isolate the qualification results of different order channels.

[0084] Specifically, the first step is to obtain the order channel list associated with the target capacity. This list includes all order channels that the target capacity participates in, such as economy, business, and luxury channels. The order channel lists associated with different target capacities can differ, depending on the driver's qualification level, the vehicle's class, and the driver's chosen order range. For example, a capacity capable of accepting economy, business, and luxury orders will have an order channel list containing all three channels; a capacity capable only of accepting economy orders will have an order channel list containing only the economy channel.

[0085] Next, a separate subset of capacity metrics is configured for each order channel. This subset refers to a selection of metrics from the capacity metric data dictionary, containing only the capacity metrics actually required by the channel's access rules. For example, since the economy channel primarily focuses on driver service ratings, license compliance, and basic vehicle passenger capacity, with no strict requirements on vehicle class or brand, its capacity metric subset could include service satisfaction ratings, driver's license status, insurance status, vehicle seat count, and vehicle registration year. The business channel's capacity metric subset, in addition to the above metrics, adds a vehicle class metric, requiring a vehicle class of at least business class, and also includes a historical order completion volume metric, requiring drivers to have some order-taking experience. The luxury channel's capacity metric subset further adds vehicle brand, maximum vehicle seat count, and driver experience metric, requiring vehicles to be luxury brands, no more than four seats, and drivers to have at least two years of experience. By configuring a separate subset of capacity metrics for each order channel, each computational logic unit only needs to focus on a small number of relevant metrics during execution, without needing to load and process metric data unrelated to that channel.

[0086] When a change in any capacity indicator of a target vehicle is detected, such as a drop in service satisfaction score from 4.9 to 4.6, the system first queries the order channel list associated with that target vehicle to confirm that it participates in the Economy, Business, and Luxury order channels. Then, it retrieves the complete indicator dataset for that target vehicle from the capacity indicator center in one go. The complete indicator dataset refers to all current capacity indicator values ​​for that target vehicle, including service satisfaction score, driver's license validity period, insurance validity period, vehicle brand, vehicle class, number of seats, vehicle registration year, total historical completed orders, and driver's years of service. This one-time retrieval method uses the vehicle identifier as the query key to batch retrieve all indicator records associated with that vehicle from the capacity indicator center. Compared to retrieving the indicator data for each channel separately, this reduces network overhead and database access pressure caused by multiple queries.

[0087] Using the complete dataset of metrics as shared input, the computational logic units corresponding to each order channel in the order channel list are invoked in parallel. Specifically, invocations are simultaneously launched to the computational logic units for the Economy, Business, and Luxury channels. Parallel invocation can be implemented using multi-threaded concurrent execution, with each thread responsible for the qualification calculation of one order channel, or using coroutines or asynchronous task frameworks. The difference between parallel and serial invocation is that serial invocation requires waiting for each channel to complete its calculation before proceeding to the next channel, with the total time equal to the sum of the calculation times for each channel; parallel invocation executes the calculations for multiple channels simultaneously, with the total time approximately equal to the calculation time of the longest-running single channel.

[0088] Each computational logic unit performs qualification calculations independently, resulting in qualification outcomes for each order channel. During the calculation process, each logic unit uses only a subset of the capacity indicators for the associated order channel, omitting all indicators from the complete indicator dataset. For example, the calculation logic unit for the Economy channel extracts only service satisfaction rating, driver's license status, insurance status, number of vehicle seats, and vehicle registration year as input from the complete indicator dataset, ignoring other indicators such as vehicle class, vehicle brand, total historical completed orders, and driver's work experience. The calculation logic unit for the Business channel extracts service satisfaction rating, driver's license status, insurance status, number of vehicle seats, vehicle registration year, vehicle class, and total historical completed orders as input. The calculation logic unit for the Luxury channel extracts service satisfaction rating, driver's license status, insurance status, number of vehicle seats, vehicle registration year, vehicle class, vehicle brand, total historical completed orders, and driver's work experience as input. Each computational logic unit, based on its extracted indicator values, executes its own indicator threshold combination and condition judgment tree, and outputs the set of order categories that can be accepted under the economy channel, business channel, and luxury channel respectively.

[0089] Finally, the capacity identifier of the target capacity is combined with the order channel identifier to obtain the identifier key. The capacity identifier is a unique code that identifies the target capacity, for example, capacity number D12345. The order channel identifier is a unique code that identifies the order channel, for example, the identifier for the economy channel is: CHANNEL_ECONOMY, the identifier for the business channel is: CHANNEL_BUSINESS, and the identifier for the luxury channel is: CHANNEL_LUXURY. Next, the capacity identifier and the order channel identifier are concatenated to obtain the combined identifier key, for example: [D12345,CHANNEL_ECONOMY], [D12345,CHANNEL_BUSINESS], [D12345,CHANNEL_LUXURY].

[0090] Based on this identifier key, the qualification results calculated for each order channel are stored in a pre-defined channel qualification cache. The channel qualification cache is a key-value storage system, using the identifier key as the key and the corresponding qualification result as the value. For example, [D12345, CHANNEL_ECONOMY] stores the set of order categories that the capacity can accept under the Economy channel; [D12345, CHANNEL_BUSINESS] stores the set of order categories that the capacity can accept under the Business channel; and [D12345, CHANNEL_LUXURY] stores the set of order categories that the capacity can accept under the Luxury channel. Qualification results from different order channels are stored in isolation using different identifier keys, ensuring they do not affect each other. When the order matching engine needs to query the order acceptance qualification of a certain capacity under a certain channel, it only needs to construct the corresponding identifier key based on the capacity identifier and the order channel identifier, and read it from the channel qualification cache, without needing to re-execute the qualification calculation.

[0091] Through the aforementioned multi-channel batch aggregation calculation steps, when a capacity indicator changes, only the complete indicator dataset needs to be read once, and only one round of parallel computation needs to be performed to complete the qualification update of that capacity across all related channels. This avoids the redundant overhead caused by reading data and performing serial calculations for each channel separately, significantly improving computational efficiency in multi-channel scenarios. Simultaneously, by isolating and storing the qualification results of different channels using identifier keys, the independence of business rules for each channel and data security are guaranteed.

[0092] In hybrid computing mode, offline computing tasks corresponding to low-time-sensitive indicators are batched and queued for execution in an offline task queue. The capacity of this queue can be substantial; for example, during peak order periods, hundreds of offline computing tasks arising from low-sensitivity indicator changes such as vehicle brand changes or historical order completion updates may accumulate in the queue. Assuming an average processing time of one second for each offline computing task, tasks at the end of the queue may have to wait several minutes or even longer before being executed. In this scenario, if a high-risk indicator change occurs for a particular capacity, such as a sudden expiration of vehicle insurance, this change would trigger a real-time computing task in a conventional real-time computing mode. However, real-time and offline computing tasks typically use different processing chains, with the real-time computing chain generally not interacting with the offline task queue. Nevertheless, when the system load is high, the real-time computing chain may also face resource contention, leading to processing delays.

[0093] Therefore, to address this issue, this embodiment provides a high-priority scheduling mechanism to allow changes to certain extremely critical, highly sensitive indicators to enter the processing queue with the highest priority, and even interrupt ongoing offline computing tasks. In an optional implementation, the capacity indicators include high-time-sensitivity indicators and low-time-sensitivity indicators, and the method further includes: A set of key trigger conditions is predefined. The key trigger conditions include at least one of the following: the service satisfaction score drops by more than a preset threshold, the vehicle insurance validity period changes from valid to expired, the driver's license validity period changes from valid to expired, and the driver's vehicle binding relationship is terminated. When a change in any of the high time-sensitive indicators in the capacity indicators is detected and meets the key triggering conditions, this change will be marked as a high-priority calculation task. When a high-priority computing task and an offline computing task corresponding to at least one low-time-sensitivity indicator coexist in the task scheduling queue, the scheduling order of the task scheduling queue is adjusted so that the high-priority computing task is executed before the offline computing task. If the task scheduler is executing an offline computing task, it will interrupt the currently executing offline computing task and insert a high-priority computing task at the head of the task scheduling queue for immediate execution. After the high-priority computing task is completed, the interrupted offline computing task will resume execution.

[0094] In this embodiment, a set of key triggering conditions needs to be predefined. This set includes at least one key triggering condition, which refers to a highly time-sensitive indicator change scenario that, once it occurs, could have a significant impact on driving safety or compliant operation. Key triggering conditions include at least one of the following: 1) A single drop in service satisfaction rating exceeds a preset threshold. For example, if the preset threshold is 0.5 points, and the driver's service satisfaction rating drops from 4.9 to 4.3 points, the single drop is 0.6 points, exceeding the 0.5-point threshold, indicating that the driver may have committed a serious service complaint or violation; 2) The vehicle insurance validity period changes from valid to expired. Expired insurance means that the vehicle will not be able to receive compensation in the event of a traffic accident, and continuing to dispatch orders poses a significant operational risk; 3) The driver's license validity period changes from valid to expired. An expired driver's license means that the driver no longer has a legal driving qualification, and continuing to dispatch orders violates road traffic safety regulations; 4) The driver's primary vehicle binding relationship is terminated. The primary vehicle is the core operational tool that the driver relies on to execute orders; after the binding relationship is terminated, the driver cannot provide normal transportation services.

[0095] The aforementioned key trigger conditions are pre-stored in the server-side configuration center and maintained as a rule list. Each key trigger condition record includes a condition identifier, condition description, applicable indicator name, judgment logic, and priority identifier. For example, the judgment logic for the condition of a sudden drop in service satisfaction rating can be expressed as: calculate the difference between the current value of the service satisfaction rating indicator and the previous recorded value; if the absolute value of the difference is greater than a preset threshold of 0.5 points, then the key trigger condition is satisfied. The judgment logic for the condition of insurance expiration can be expressed as: if the value of the insurance validity period indicator changes from valid to invalid or expired, then the key trigger condition is satisfied.

[0096] When a change in any high-time-sensitive indicator among the capacity metrics is detected and meets the key triggering conditions, this change is marked as a high-priority calculation task. A high-priority calculation task is a special calculation request object. In addition to carrying basic information such as the target capacity identifier, the name of the changed indicator, and the changed indicator value, it also carries a priority field, whose value is set to high priority. The priority field is used to participate in the sorting in the task scheduling queue; high-priority tasks take precedence over ordinary-priority tasks and low-priority tasks in the queue.

[0097] When a high-priority computation task and at least one offline computation task corresponding to a low-time-sensitivity metric coexist in the task scheduling queue, the scheduling order of the task scheduling queue is adjusted, placing the high-priority computation task before the offline computation task. The task scheduling queue is a priority queue that supports priority sorting, and each task in the queue has a priority score. High-priority computation tasks have the highest priority score, while offline computation tasks have a normal priority score. When a new task is enqueued, the queue is automatically sorted according to its priority score, with tasks with higher priority scores placed at the head of the queue. Furthermore, when the task scheduler pulls a task from the head of the queue, it always prioritizes the task with the highest priority score.

[0098] If the task scheduler is executing an offline computing task, it will interrupt the currently executing offline computing task and insert the high-priority computing task at the head of the task scheduling queue for immediate execution. Specifically, before executing each offline computing task, the task scheduler registers an interruptible thread context. When a high-priority computing task arrives, the task scheduler detects that an offline computing task is currently executing and sends an interrupt signal to the execution thread of that offline computing task. Upon receiving the interrupt signal, the execution thread saves its current computing progress and intermediate state, then releases the occupied computing resources and actively exits execution. The task scheduler directly inserts the high-priority computing task at the head of the queue and immediately schedules it to begin execution. The execution process of the high-priority computing task is the same as in ordinary real-time computing mode, including acquiring changed indicator data, collecting necessary indicator data, generating indicator data sets, calling computing logic units, executing indicator threshold combinations and conditional judgment trees, and outputting qualification results.

[0099] After high-priority calculation tasks are completed, interrupted offline calculation tasks are resumed. Specifically, when resuming an interrupted offline calculation task, the task scheduler retrieves the next task from the head of the queue. If this task is a previously interrupted offline calculation task, it continues execution from the point of interruption based on the previously saved calculation progress and intermediate states, rather than starting from the beginning. If the calculation progress was not saved during the interruption, the offline calculation task can be re-executed. After resumption, the offline calculation task continues to complete the remaining qualification calculations and finally outputs the qualification results in offline calculation mode.

[0100] The following example illustrates the complete process of high-priority scheduling. Assume there are two offline calculation tasks in the task scheduling queue: a vehicle brand change calculation task for capacity A and a historical order completion volume change calculation task for capacity B. The task scheduler is currently executing the offline calculation task for capacity A. At this time, the service satisfaction score for capacity C drops from 4.9 to 4.3. This change meets the critical trigger condition that the single drop in service satisfaction score exceeds 0.5 points, thus generating a high-priority calculation task. Upon receiving this high-priority calculation task, the task scheduler detects that an offline calculation task is currently being executed and immediately sends an interrupt signal to the execution thread of the offline calculation task for capacity A. The offline calculation task for capacity A is interrupted, and its current calculation progress is saved. The task scheduler inserts the high-priority calculation task for capacity C at the head of the queue and immediately begins execution. The qualification calculation for capacity C uses a real-time calculation mode, quickly completing the calculation and outputting the qualification results. The order acceptance qualification for this capacity is immediately adjusted to meet only the requirements of the economy channel, instead of the business and luxury channels. After the high-priority calculation task for capacity C is completed, the task scheduler retrieves the next task from the head of the queue, namely the interrupted offline calculation task for capacity A, and resumes execution from the point of interruption to continue completing the qualification calculation after the vehicle brand change. The calculation results for capacity A can be updated within an acceptable delay, without affecting the real-time response of capacity C in critical scenarios.

[0101] Through the aforementioned high-priority scheduling mechanism, changes to highly sensitive indicators in critical scenarios can interrupt ongoing offline computing tasks, gaining priority processing rights. This ensures that capacity changes posing significant security risks or compliance problems can be responded to immediately, preventing non-compliant capacity from continuing to accept orders while offline computing tasks are queued. This improves the safety assurance capabilities and compliance response timeliness of ride-hailing platforms. Simultaneously, interrupted offline computing tasks can resume execution after high-priority tasks are completed, guaranteeing that offline computing tasks will eventually be completed and will not be permanently blocked due to priority preemption. This solves the technical problem in related technologies where qualification changes in critical business scenarios lead to delayed responses and potential security and compliance risks due to queuing for processing.

[0102] This embodiment also provides a calculation device for capacity order acceptance qualification, which is used to implement the above embodiments and preferred embodiments, and will not be repeated as already described. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0103] This embodiment provides a calculation device for transportation capacity order acceptance qualifications, such as... Figure 3 As shown, it includes: The rule acquisition module 301 is used to acquire preset indicator sensitivity classification rules, which define the criteria for classifying high time sensitivity indicators and low time sensitivity indicators.

[0104] The mode determination module 302 is used to monitor the current capacity indicators of the target capacity. When any capacity indicator changes, it matches the corresponding target calculation mode in the indicator sensitivity classification rules according to the sensitivity category of the capacity indicator. Among them, high time sensitivity indicators correspond to real-time calculation mode, and low time sensitivity indicators correspond to offline calculation mode.

[0105] The qualification calculation module 303 is used to perform qualification calculation on the target capacity according to the target calculation mode, and obtain the set of order categories that the target capacity is qualified to accept orders.

[0106] In some alternative implementations, the qualification calculation module 303 includes: The channel determination unit is used to obtain the order channel identifier and order category currently associated with the target capacity, and to determine the order channel currently occupied by the target capacity based on the order channel identifier.

[0107] The calling unit is used to call the calculation logic unit associated with the order channel and order category. The calculation logic unit includes at least the combination of indicator thresholds and the condition judgment tree.

[0108] The capacity calculation unit takes the current capacity index of the target capacity as input and executes the index threshold combination and condition judgment tree in the calculation logic unit to determine whether the target capacity meets the admission requirements of each order category.

[0109] The qualification determination unit is used to take the set of order categories that meet the access requirements as the qualification result of the target capacity under the target calculation mode.

[0110] In some optional implementations, when a change is detected in the value of any high time-sensitive indicator among the capacity indicators, the target calculation mode is determined to be the real-time calculation mode; the qualification calculation module 303 includes: The first data acquisition unit is used to acquire the changed first change indicator data and collect the first necessary indicator data related to the target capacity.

[0111] The first set generation unit is used to generate a first set of indicator data for the target capacity based on the first change indicator data and the first necessary indicator data.

[0112] The first channel determination unit is used to obtain the order channel identifier and order category currently associated with the target capacity, and determine the order channel currently in which the target capacity is located based on the order channel identifier.

[0113] The first capacity calculation unit is used to call the calculation logic unit associated with the order channel and order category, take the first indicator dataset as input, execute the pre-configured indicator threshold combination and condition judgment tree in the calculation logic unit, and determine whether the target capacity meets the admission requirements of each order category. The first qualification determination unit is used to obtain the first order category set that meets the admission requirements, and to use the first order category set as the first qualification result of the target capacity in the real-time calculation mode.

[0114] In some optional implementations, when a change is detected in the value of any low-time-sensitivity indicator among the capacity indicators, the target calculation mode is determined to be the offline calculation mode; the qualification calculation module 303 includes: The asynchronous task generation unit is used to generate asynchronous calculation tasks associated with the target capacity. The asynchronous calculation tasks carry the modified second change index data.

[0115] The task retrieval unit is used to submit asynchronous computing tasks to the offline task queue and control the task scheduler to retrieve asynchronous computing tasks from the offline task queue as tasks to be computed according to a preset scheduling strategy.

[0116] The second set generation unit is used to collect second necessary indicator data related to the target capacity, and generate a second indicator data set of the target capacity based on the second change indicator data and the second necessary indicator data, wherein the second necessary indicator data has been updated.

[0117] The second channel determination unit is used to obtain the order channel identifier and order category currently associated with the target capacity, and to determine the order channel currently occupied by the target capacity based on the order channel identifier; The second capacity calculation unit is used to call the calculation logic unit associated with the order channel and order category, take the second indicator dataset as input, execute the indicator threshold combination and condition judgment tree in the calculation logic unit, and determine whether the target capacity meets the admission requirements of each order category.

[0118] The second qualification determination unit is used to obtain the second order category set that meets the admission requirements, and to use the second order category set as the second qualification result of the target capacity in the offline calculation mode.

[0119] In some optional implementations, the computational logic unit is configured and updated through the following modules: The logic unit configuration module is used to predefine calculation logic units for each order category for each order channel, and to store the calculation logic units independently in the form of configuration files or configuration records. The calculation logic unit contains at least a combination of indicator thresholds and a condition judgment tree.

[0120] The logic unit update module is used to modify the indicator threshold combination and condition judgment tree in the calculation logic unit when the calculation logic unit needs to be changed; and to replace the previous calculation logic unit with the modified calculation logic unit.

[0121] In some alternative embodiments, the apparatus further includes: The channel list acquisition module is used to obtain a list of order channels associated with the target capacity. The order channel list contains at least one order channel.

[0122] The indicator subset configuration module is used to configure an independent capacity indicator subset for each order channel. The capacity indicator subset only contains the capacity indicators required by the corresponding order channel.

[0123] The channel list query module is used to query the order channel list to read the complete indicator dataset of the target capacity when any capacity indicator of the target capacity is detected to have changed.

[0124] The parallel computing module is used to call the computing logic unit corresponding to each order channel in the order channel list in parallel, using the complete indicator dataset as a shared input.

[0125] The qualification calculation module is used to perform qualification calculations based on the calculation logic unit to obtain the qualification results calculated for each order channel. Each calculation logic unit only uses a subset of the capacity indicators of the associated order channel for calculation. The isolated storage module is used to combine the capacity identifier of the target capacity with the order channel identifier of the order channel to obtain the identifier key. Based on the identifier key, the qualification results calculated and output by each order channel are stored in the preset channel qualification cache to isolate the qualification results of different order channels.

[0126] In some alternative implementations, the capacity indicators include high time-sensitive indicators and low time-sensitive indicators, and the apparatus further includes: The trigger condition preset module is used to predefine a set of key trigger conditions. The key trigger conditions include at least one of the following: the service satisfaction score drops by more than a preset threshold, the vehicle insurance validity period changes from valid to expired, the driver's license validity period changes from valid to expired, and the driver's vehicle binding relationship is terminated.

[0127] The priority marking module is used to mark any change in any high time-sensitive indicator among the capacity indicators as a high-priority calculation task when the change meets the key triggering conditions.

[0128] The task queue adjustment module is used to adjust the scheduling order of the task scheduling queue when a high-priority computing task and an offline computing task corresponding to at least one low time sensitivity index exist in the task scheduling queue at the same time, so that the high-priority computing task is executed before the offline computing task. The task queueing module is used to interrupt the currently executing offline computing task if the task scheduler is executing an offline computing task, and insert a high-priority computing task into the head of the task scheduling queue for immediate execution. After the high-priority computing task is completed, the interrupted offline computing task will resume execution.

[0129] The capacity order acceptance qualification calculation device provided in this embodiment of the invention can execute the capacity order acceptance qualification calculation method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method execution. Further functional descriptions of the above modules and units are the same as in the corresponding embodiments described above, and will not be repeated here.

[0130] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention.

[0131] The following is a detailed reference. Figure 3 The diagram illustrates a structural schematic suitable for implementing an electronic device according to embodiments of the present invention. The electronic device may include a processor (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes based on a program stored in a read-only memory (i.e., ROM 302) or a program loaded from memory 308 into a random access memory (i.e., RAM 303). The RAM 303 also stores various programs and data required for the operation of the electronic device. The processor 301, ROM 302, and RAM 303 are interconnected via a bus 304. Input / output (i.e., I / O interface 305) is also connected to the bus 304.

[0132] Typically, the following devices can be connected to I / O interface 305: input devices 306 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 307 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 308 including, for example, magnetic tapes, hard disks, etc.; and communication devices 309. Communication device 309 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 3 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.

[0133] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 309, or installed from a memory 308, or installed from a ROM 302. When the computer program is executed by the processor 301, it performs the functions defined in the capacity order acceptance qualification calculation method of the embodiments of the present invention.

[0134] Figure 3 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.

[0135] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the method for calculating the capacity acceptance qualification shown in the above embodiments is implemented.

[0136] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.

[0137] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. A method for calculating the qualification of transportation capacity to accept orders, characterized in that, The method includes: Obtain preset indicator sensitivity classification rules, which define the criteria for classifying high time sensitivity indicators and low time sensitivity indicators; The current capacity indicators of the target capacity are monitored. When any change in the capacity indicators is detected, the corresponding target calculation mode is matched in the indicator sensitivity classification rules according to the sensitivity category of the capacity indicator. Among them, high time sensitivity indicators correspond to real-time calculation mode, and low time sensitivity indicators correspond to offline calculation mode. Based on the target calculation model, the target capacity is evaluated for eligibility, resulting in a set of order categories for which the target capacity is qualified to accept orders.

2. The method according to claim 1, characterized in that, The process of performing qualification calculations on the target capacity based on the target calculation model yields a set of order categories for which the target capacity is qualified to accept orders, including: Obtain the order channel identifier and order category currently associated with the target capacity, and determine the order channel currently in which the target capacity is located based on the order channel identifier; Invoke the calculation logic unit associated with the order channel and order category, wherein the calculation logic unit includes at least a combination of indicator thresholds and a condition judgment tree; The current capacity index of the target capacity is used as input, and the index threshold combination and condition judgment tree in the calculation logic unit are executed to determine whether the target capacity meets the admission requirements of each order category. The set of order categories that meet the admission requirements will be used as the qualification result of the target capacity under the target calculation mode.

3. The method according to claim 2, characterized in that, When a change is detected in the value of any of the high time-sensitive indicators among the capacity indicators, the target calculation mode is determined to be the real-time calculation mode. The process of performing qualification calculations on the target capacity based on the target calculation model yields a set of order categories for which the target capacity is qualified to accept orders, including: Obtain the revised first change indicator data and collect the first necessary indicator data related to the target capacity; A first set of indicator data for the target capacity is generated based on the first change indicator data and the first necessary indicator data. Obtain the order channel identifier and order category currently associated with the target capacity, and determine the order channel currently in which the target capacity is located based on the order channel identifier; The calculation logic unit associated with the order channel and order category is invoked, the first indicator dataset is used as input, and the pre-configured indicator threshold combination and condition judgment tree in the calculation logic unit are executed to determine whether the target capacity meets the admission requirements of each order category. Obtain the first set of order categories that meet the admission requirements, and use the first set of order categories as the first qualification result of the target capacity in the real-time calculation mode.

4. The method according to claim 2, characterized in that, When a change is detected in the value of any low-time-sensitivity indicator among the capacity indicators, the target calculation mode is determined to be the offline calculation mode. The process of performing qualification calculations on the target capacity based on the target calculation model yields a set of order categories for which the target capacity is qualified to accept orders, including: An asynchronous calculation task associated with the target capacity is generated, the asynchronous calculation task carrying the modified second change index data; The asynchronous computing task is submitted to the offline task queue, and the task scheduler is controlled to pull the asynchronous computing task from the offline task queue as a task to be computed according to the preset scheduling strategy. Collect second necessary indicator data related to the target capacity, and generate a second indicator data set for the target capacity based on the second change indicator data and the second necessary indicator data, wherein the second necessary indicator data has been updated; Obtain the order channel identifier and order category currently associated with the target capacity, and determine the order channel currently in which the target capacity is located based on the order channel identifier; The calculation logic unit associated with the order channel and order category is invoked, the second indicator dataset is used as input, and the indicator threshold combination and condition judgment tree in the calculation logic unit are executed to determine whether the target capacity meets the admission requirements of each order category. Obtain a second set of order categories that meet the admission requirements, and use the second set of order categories as the second qualification result of the target capacity in the offline calculation mode.

5. The method according to claim 2, characterized in that, The computing logic unit is configured and updated in the following manner: The calculation logic unit is predefined for each order category for each order channel, and the calculation logic unit is stored independently in the form of a configuration file or configuration record. The calculation logic unit includes at least a combination of indicator thresholds and a condition judgment tree. When the computational logic unit needs to be changed, modify the indicator threshold combination and condition judgment tree in the computational logic unit; Replace the original computational logic unit with the modified one.

6. The method according to claim 1, characterized in that, The method further includes: Obtain a list of order channels associated with the target capacity, wherein the list of order channels contains at least one order channel; Configure an independent subset of capacity indicators for each order channel, wherein the subset of capacity indicators only contains the capacity indicators required by the corresponding order channel; When any change in any capacity indicator of the target capacity is detected, the order channel list is queried to read the complete indicator dataset of the target capacity. Using the complete indicator dataset as a shared input, the computational logic units corresponding to each order channel in the order channel list are called in parallel. Based on the calculation logic unit, qualification calculations are performed respectively to obtain the qualification results calculated and output by each order channel. Each calculation logic unit only uses a subset of the capacity indicators of the associated order channel for calculation. The capacity identifier of the target capacity is combined with the order channel identifier of the order channel to obtain an identifier key. Based on the identifier key, the qualification results calculated and output by each order channel are stored in a preset channel qualification cache to isolate the qualification results of different order channels.

7. The method according to claim 1, characterized in that, The capacity indicators include high time-sensitive indicators and low time-sensitive indicators, and the method further includes: A set of key triggering conditions is predefined. The key triggering conditions include at least one of the following: the service satisfaction score drops by more than a preset threshold, the vehicle insurance validity period changes from valid to expired, the driver's license validity period changes from valid to expired, and the driver's main vehicle binding relationship is released. When a change in any of the high time-sensitive indicators among the capacity indicators is detected to meet the key triggering condition, this change will be marked as a high-priority calculation task. When the high-priority computing task and at least one offline computing task corresponding to a low time sensitivity index exist simultaneously in the task scheduling queue, the scheduling order of the task scheduling queue is adjusted so that the high-priority computing task is executed before the offline computing task. If the task scheduler is executing the offline computing task, it will interrupt the currently executing offline computing task and insert the high-priority computing task into the head of the task scheduling queue for immediate execution. After the high-priority computing task is completed, the interrupted offline computing task will resume execution.

8. A calculation device for transportation capacity order acceptance qualification, characterized in that, The device includes: The rule acquisition module is used to acquire preset indicator sensitivity classification rules, which define the criteria for classifying high time sensitivity indicators and low time sensitivity indicators. The mode determination module is used to monitor the current capacity indicators of the target capacity. When any capacity indicator changes, the module matches the corresponding target calculation mode in the indicator sensitivity classification rules according to the sensitivity category of the capacity indicator. High time sensitivity indicators correspond to real-time calculation mode, and low time sensitivity indicators correspond to offline calculation mode. The qualification calculation module is used to perform qualification calculation on the target capacity according to the target calculation mode, and obtain the set of order categories for which the target capacity has the qualification to accept orders.

9. An electronic device, characterized in that, include: A memory and a processor are interconnected, the memory stores computer instructions, and the processor executes the computer instructions to perform the calculation method for capacity acceptance qualification as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to execute the calculation method for the capacity order acceptance qualification as described in any one of claims 1 to 7.