Online car-hailing driver annual bill generation method and device, computer equipment and medium
By querying and rendering the tenant's personalized bill page template sequence in the configuration server of the online ride-hailing aggregation platform, the problem that the annual bill generation function in the existing technology does not support personalized configuration is solved, and the personalized display and flexible operation needs of online ride-hailing drivers' annual bills are realized.
Patent Information
- Application Number
- CN202411419514.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-11
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2044-10-11
AI Technical Summary
The annual bill generation function provided by the existing online ride-hailing aggregation platform does not support the personalized configuration of tenants, resulting in the annual bill seen by online ride-hailing drivers of different tenants, which cannot meet the personalized and flexible operation needs of tenants.
By querying the bill page template sequence of the target tenant in the configuration server, a personalized annual bill page is generated based on the tenant's configuration, including rendering of bill copy information, and tenants are supported to configure bill metrics, copy components, page templates and template skins.
It realizes personalized display of annual bills for online ride-hailing drivers for different tenants, meets the personalized and flexible operation needs of each tenant, and reduces the platform maintenance costs.
Smart Images

Figure CN119558835A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, apparatus, computer equipment and medium for generating an annual bill for online car-hailing drivers. Background Art
[0002] In order to let online ride-hailing drivers know the results of their hard work in the past year, such as their income and expenditure, number of completed orders, service points, and driver level, the online ride-hailing aggregation platform provides its tenants with a function (or ability) to generate annual bills for online ride-hailing drivers. Each tenant can use this function to push annual bills to their associated online ride-hailing drivers. Among them, tenants refer to online ride-hailing operators who use the online ride-hailing service software provided by the online ride-hailing aggregation platform to provide online ride-hailing services to passengers.
[0003] However, the annual bill generation function currently provided by the aggregation platform does not support tenants to make personalized configurations, which results in the annual bills seen by online ride-hailing drivers belonging to different tenants being similar. For example, the various indicators displayed in the annual bill, the page displaying the annual bill data, the page style, etc. are the same. Based on this function, tenants cannot achieve personalized and flexible online ride-hailing operation needs. Summary of the invention
[0004] In response to the above-mentioned deficiencies or shortcomings, the present application provides a method, apparatus, computer equipment and medium for generating an annual bill for online ride-hailing drivers.
[0005] According to a first aspect, the present application provides a method for generating an annual bill for an online car-hailing driver. In some embodiments, the method includes:
[0006] In response to receiving the annual bill display instruction, the tenant associated with the target online car-hailing driver is determined, recorded as the target tenant, and the configuration server is queried for the effective bill page template sequence corresponding to the target tenant, recorded as the target bill page template sequence; the target bill page template sequence includes multiple bill page templates and their corresponding display order, each bill page template is configured based on multiple bill copy components, and each bill copy component is configured based on one or more bill indicators and their corresponding copy templates; the configuration server is used for each tenant on the online car-hailing aggregation platform to configure the corresponding bill indicators, bill copy components, bill page templates and bill page template sequences;
[0007] In response to the bill page browsing operation, the bill page template to be rendered is determined from the target bill page template sequence and recorded as the target bill page template. The page is rendered based on the target bill page template to display the corresponding annual bill page; the annual bill page includes multiple bill copy information; each bill copy information is rendered based on the indicator value of at least one bill indicator related to a bill copy component in the target bill page template and its corresponding copy template.
[0008] In some embodiments, when rendering a page, the indicator values of various bill indicators related to various bill copy components in the target bill page template are queried from the big data platform; the big data platform is used to maintain the user profile of each online car-hailing driver associated with each tenant, and the big data platform determines the indicator values of various bill indicators related to various bill copy components in the target bill page template from the user portrait corresponding to the target online car-hailing driver.
[0009] In some embodiments, after obtaining the indicator value of any billing indicator from the big data platform, the indicator value of the billing indicator is compared with a preset indicator threshold corresponding to the billing indicator;
[0010] If the indicator value of the bill indicator is less than the preset indicator threshold corresponding to the bill indicator, the indicator value of the bill indicator will not be displayed;
[0011] If the indicator value of the bill indicator is less than the preset indicator threshold corresponding to the bill indicator, the bill text information is rendered based on the indicator value of the bill indicator and the text template corresponding to the bill indicator.
[0012] In some embodiments, the configuration server is further used for each tenant on the online car-hailing aggregation platform to configure a corresponding template skin for the bill page template; the target bill page template sequence also includes the template skin corresponding to each bill page template; the method also includes:
[0013] When loading the annual bill page, the template skin corresponding to the target bill page template is determined from the target bill page template sequence, and the template skin is applied.
[0014] In some embodiments, in response to a bill page browsing operation, determining a bill page template to be rendered from a target bill page template sequence includes:
[0015] Determine a bill page switching instruction based on the detected bill page browsing operation; the bill page switching instruction is the previous page or the next page;
[0016] The display order corresponding to the currently displayed billing page template is determined, and the billing page template corresponding to the previous display order or the next display order of the display order is determined as the billing page template to be rendered.
[0017] In some embodiments, the big data platform is used to pull the billing indicator set corresponding to each tenant from the configuration server, set a corresponding offline data cleaning task for each tenant based on the billing indicator set corresponding to each tenant, and execute each offline cleaning task to generate a user profile of each online ride-hailing driver associated with each tenant; the user profile of each online ride-hailing driver associated with each tenant includes the indicator value of the billing indicator set corresponding to the tenant.
[0018] In some embodiments, the big data platform is further used to adjust the offline data cleaning task corresponding to any tenant when a change in the billing indicator set corresponding to the tenant is detected, and execute the adjusted offline data cleaning task.
[0019] According to a second aspect, the present application provides a device for generating an annual bill for an online car-hailing driver. In some embodiments, the device includes:
[0020] A template sequence acquisition module is used to respond to receiving an annual bill display instruction, determine the tenant associated with the target online car-hailing driver, record it as the target tenant, and query the configuration server for the effective bill page template sequence corresponding to the target tenant, record it as the target bill page template sequence; the target bill page template sequence includes multiple bill page templates and their corresponding display order, each bill page template is configured based on multiple bill copy components, and each bill copy component is configured based on one or more bill indicators and their corresponding copy templates; the configuration server is used for each tenant on the online car-hailing aggregation platform to configure the corresponding bill indicators, bill copy components, bill page templates and bill page template sequences;
[0021] A billing page display module is used to respond to a billing page browsing operation, determine the billing page template to be rendered from a target billing page template sequence, record it as the target billing page template, and render the page based on the target billing page template to display the corresponding annual billing page; the annual billing page includes multiple billing copy information; each billing copy information is rendered based on the indicator value of at least one billing indicator related to a bill copy component in the target billing page template and its corresponding copy template.
[0022] According to a third aspect, the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method for generating an annual bill for online car-hailing drivers provided in any of the above embodiments are implemented.
[0023] According to a fourth aspect, the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for generating an annual bill for online car-hailing drivers provided in any of the above embodiments are implemented.
[0024] In the above embodiment of the present application, in response to receiving the annual bill display instruction, the online car-hailing driver side determines the tenant associated with the target online car-hailing driver, recorded as the target tenant, and queries the configuration server for the effective bill page template sequence corresponding to the target tenant, recorded as the target bill page template sequence; thereafter, in response to the bill page browsing operation, the bill page template to be rendered is determined from the target bill page template sequence, recorded as the target bill page template, and the page is rendered based on the target bill page template to display the corresponding annual bill page. The embodiment of the present application supports tenants to perform personalized configuration. Each tenant can configure bill indicators, bill copy components, bill page templates, and template skins for their own use on the configuration server according to their own operational needs, and configure a bill page template sequence for displaying driver bill data. In this way, the annual bills seen by online car-hailing drivers of different tenants are different, for example, the number, content and / or display order of the annual bill pages are different, and the bill indicators and copy information specifically reflected in the page are also different. In this way, the online car-hailing aggregation platform can maintain the annual bill generation capability at a very low labor cost, and at the same time, this capability can meet the personalized and flexible online car-hailing operation needs of each tenant in the online car-hailing aggregation platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 An application environment diagram of a method for generating an annual bill for online car-hailing drivers provided by the present application according to one or more embodiments;
[0026] Figure 2 A complete flow diagram of the application including tenant-side personalized configuration, index data loading on the big data platform, and annual bill page display on the online car-hailing driver side according to one or more embodiments;
[0027] Figure 3-1 A schematic diagram of the display effect of the annual bill page provided by the present application according to one or more embodiments;
[0028] Figure 3-2 A schematic diagram of the display effect of an annual bill page provided by the present application according to one or more embodiments;
[0029] Figure 4 A flowchart of a method for generating an annual bill for an online car-hailing driver provided by the present application according to one or more embodiments;
[0030] Figure 5 A structural block diagram of a device for generating an annual bill for online car-hailing drivers provided by the present application according to one or more embodiments;
[0031] Figure 6 This is a diagram of the internal structure of a computer device provided by the present application according to one or more embodiments. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings. It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0033] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0034] In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances. In addition, in the description of the present application, unless otherwise specified, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0035] In view of the shortcomings of the prior art, the present application provides a method for generating an annual bill for online car-hailing drivers. In some embodiments, for example, Figure 1 The application environment of this method is shown, including the tenant side (i.e. Figure 1 10), configure the server (ie Figure 1 20), big data platform (i.e. Figure 1 30 of them), online car-hailing driver side (i.e. Figure 1 40 in ). This method provides tenants with a quick way to configure billing indicators, supports tenant-level configuration of billing indicators, builds billing copy components, and then builds billing page templates and their corresponding template skins, and finally generates and delivers data instances to achieve visualization of annual bills. For the complete process, see Figure 2 As shown below. Figure 2 Describe the components of the application environment.
[0036] The configuration server is used for each tenant on the online car-hailing aggregation platform to configure corresponding bill indicators, bill copy components, bill page templates and bill page template sequences.
[0037] Each tenant can configure billing indicators, billing document components, billing page templates, etc. on the configuration server through their own tenant terminals. The tenant terminal can be a computer device such as a personal computer, a laptop, or a tablet computer. The above configuration operations can be performed by the tenant's operation personnel.
[0038] The online car-hailing aggregation platform is an online car-hailing SAAS (Software as a Service) platform. Each tenant is an online car-hailing operator (also known as an online car-hailing service provider, such as xx travel and xx taxi) that uses the online car-hailing service software provided by the online car-hailing aggregation platform to provide online car-hailing services to passengers. The operational requirements of different tenants are usually different. In this embodiment, each tenant can configure billing indicators, billing copy components, billing page templates, and billing page template sequences on the configuration server according to its actual operational needs. The billing page template sequence is composed of multiple billing page templates that take effect after release. There is usually only one billing page template sequence corresponding to each tenant. When the online car-hailing drivers associated with each tenant request to display the annual bill, the page will be rendered based on the billing page template sequence corresponding to the tenant associated with the driver to display the specific annual bill page. The annual bill is displayed by multiple annual bill pages, and each bill page template is used to display an annual bill page.
[0039] In some embodiments, see Figure 2 As shown in the figure, tenants configure billing indicators on the configuration server, which mainly includes the following operations:
[0040] ① New indicators
[0041] The billing indicator information mainly includes the indicator business introduction, the Chinese and English names of the indicator (the English identifier is globally unique), and the indicator type, etc. The indicator type is differentiated according to the business type, for example, it can include multiple business types such as revenue, number of orders, mileage, and service points.
[0042] The billing indicators are the indicators reflected in the annual bill. The billing indicators configured by each tenant can be the indicators that conventional drivers want to know, such as order completion rate, service score, driver level, annual order flow, commission-free order flow, annual vehicle flow, total mileage, etc. They can also be indicators that the tenant wants the driver to know, such as the flow of the first order of the year, the amount of passenger tips, the maximum single tip amount, the number of orders received from passengers, the number of days with zero negative reviews, etc. This embodiment does not impose special restrictions on the number and specific content of the billing indicators configured by each tenant. Each tenant can make personalized configurations according to its own needs. Understandably, the number and content of billing indicators configured by different tenants are usually not exactly the same.
[0043] In some embodiments, the configuration server also supports tenants to configure priorities for each billing indicator. The priority of the billing indicator is used to determine the display position of each indicator on the same page. Generally, the higher the priority, the higher the display position of the billing indicator on the page.
[0044] ②Edit indicators
[0045] When a tenant creates a new billing indicator, he / she needs to edit the Chinese name of the business related to the billing indicator and basic information such as the indicator type.
[0046] ③Up / down line indicators
[0047] Tenants can bring the edited billing indicators online according to actual needs, and can also take the online billing indicators offline. The billing indicators that have been put online can be used to configure the billing copy component, while the billing indicators that have not been put online cannot be used to configure the billing copy component. The online and offline operations of the indicators will directly affect the subsequent data access and data display logic. The billing indicators configured by the tenants will serve as the basic data unit and are the unified identifier of the link data transmission. In addition, for the billing indicators that have been taken offline, tenants can delete them or re-edit them before putting them online.
[0048] Tenants configure billing document components and billing page templates on the configuration server, mainly including the following operations:
[0049] ① Regarding bill copy components, each bill copy component is used to present a bill copy information in an annual bill page. Accordingly, each bill copy component consists of an indicator set and a copy set. The indicator set usually contains one or more bill indicators, and the copy set includes the copy template corresponding to each bill indicator in the indicator set.
[0050] For example, suppose a bill copy component is configured based on the three bill indicators of year, number of days on the road, and number of mileage on the road. The copy template corresponding to the year is "[year] year," the copy template corresponding to the number of days on the road is "You have been on the road for a total of [number of days on the road] days," and the copy template corresponding to the mileage on the road is "Cumulative mileage [mileage on the road] kilometers." When displaying the annual bill page, the front end (such as the smart device used by the online car-hailing driver) will obtain the copy template and indicator value corresponding to the bill indicator, and then fill the indicator value into the placeholder position of the copy template to obtain the corresponding copy information. It should be noted that [] represents the placeholder corresponding to the bill indicator, which will not be displayed on the actual page. Exemplarily, the bill copy information presented by the above bill copy component can be: In 2024, you have been on the road for a total of 80 days, with a cumulative mileage of 34,000 kilometers.
[0051] In some embodiments, the configuration server may also support tenants to configure an indicator threshold for the billing indicator to determine whether to display the indicator value of the billing indicator, so as to meet their own personalized configuration and specified data display requirements. When the annual billing page is actually displayed, it will only be displayed when the indicator value of the billing indicator in the page is greater than (or greater than or equal to) the corresponding indicator threshold. If the indicator value is not greater than the corresponding indicator value, it will not be displayed. Continuing with the above example, assuming that the "annual" billing indicator has no corresponding indicator threshold, the indicator thresholds corresponding to the two billing indicators "days out" and "mileage out" are 100 and 20,000 respectively, then the billing copy information presented by the above billing copy component will be: In 2024, the cumulative mileage is 34,000 kilometers. That is, since the indicator value of "days out" is less than the corresponding indicator threshold, its corresponding copy information is not displayed.
[0052] ② Regarding bill page templates, each bill page template is usually configured based on multiple bill copy components, and each bill page template can be used to display an annual bill page. The bill page template is mainly used to determine the display logic of each bill copy component in an annual bill page.
[0053] In some embodiments, in order to further meet the tenant's needs for operational flexibility, the configuration server also supports tenants to configure priorities for each bill page template. The priority is used to determine the display order of the bill page template. Generally, the higher the priority, the higher the display order. As can be seen from the above, the annual bill of each online car-hailing driver is displayed through multiple annual bill pages, and each annual bill page is displayed based on a bill page template. Tenants can adjust the priority of each bill page template in the bill page template sequence according to actual needs, thereby dynamically adjusting the display order of the annual bill page.
[0054] In some embodiments, the configuration server also supports tenants to configure template skins for bill page templates. The template skins are used to determine the page skins of the annual bill page, such as the page appearance and style, which can be the background image, font style, etc. of the page. The display effect of the annual bill page can be seen in Figure 3-1 , Figure 3-2 Supporting tenants to configure template skins for bill page templates can meet the needs of different tenants for different page skin styles.
[0055] Correspondingly, the configuration server stores the relevant configuration information of the billing indicators, billing copy components, and billing page templates configured by each tenant in the tenant dimension. The configuration information of the billing indicators includes indicator information, indicator thresholds, priority, and other information; the configuration information of the billing copy components includes component information (such as the Chinese and English names of the components, introduction information, etc.), indicator identifiers of each billing indicator included in the billing copy components (which can be the English names of the billing indicators), and other information. The configuration information of the billing page template includes template information (such as the Chinese and English names of the template, introduction information), component identifiers of each billing copy component included in the billing page template (such as the English name of the billing copy component), priority, template skin, and other information.
[0056] The big data platform is used to maintain the user profile of each online taxi driver associated with each tenant. The user profile of each online taxi driver associated with each tenant includes the indicator values of all bill indicators contained in the bill page template sequence corresponding to the tenant. The big data platform collects data related to bill indicators from relevant data sets (usually multiple) through offline data cleaning tasks, and then performs data cleaning to obtain the indicator values of bill indicators.
[0057] In some embodiments, the big data platform is used to pull the billing indicator set corresponding to each tenant from the configuration server (i.e., all billing indicators contained in the billing page template sequence corresponding to each tenant), set corresponding offline data cleaning tasks for each tenant according to the billing indicator set corresponding to each tenant, and execute each offline cleaning task to generate a user profile of each online car-hailing driver associated with each tenant; the user profile of each online car-hailing driver associated with each tenant includes the indicator value of the billing indicator set corresponding to the tenant. Furthermore, the big data platform is also used to adjust the offline data cleaning task corresponding to any tenant when a change is detected in the billing indicator set corresponding to the tenant, and execute the adjusted offline data cleaning task.
[0058] In some other embodiments, the big data platform supports tenants to use media files (such as CSV files) to import user portraits of each online ride-hailing driver associated with them; it can also support tenants to call interfaces to directly import their own data. It should be noted that after the data provided by the tenant is imported, it will trigger offline data cleaning, calculation and other tasks to produce the latest results.
[0059] Regarding the online ride-hailing driver terminal, each online ride-hailing driver associated with each tenant of the online ride-hailing aggregation platform can view his or her annual bill through the online ride-hailing driver terminal. The online ride-hailing driver terminal can be a smart device used by the online ride-hailing driver, such as a smartphone, tablet computer, etc.
[0060] In some embodiments, the method for generating an annual bill for online car-hailing drivers provided in this application is applied to Figure 1The method includes: Figure 4 The steps shown are described below.
[0061] S110: In response to receiving the annual bill display instruction, determine the tenant associated with the target online car-hailing driver, record it as the target tenant, and query the configuration server for the effective bill page template sequence corresponding to the target tenant, record it as the target bill page template sequence.
[0062] The target online car-hailing driver refers to the online car-hailing driver corresponding to the driver side, and specifically can be the online car-hailing driver corresponding to the currently logged-in driver account. The driver can click the view link of the annual bill to trigger the annual bill display instruction. After receiving the annual bill display instruction, the driver side obtains the currently logged-in driver account, and then obtains the tenant ID associated with the driver account locally or queries the application server for the tenant ID associated with the driver account. The tenant corresponding to the tenant ID is the target tenant.
[0063] As mentioned above, the configuration server is used for each tenant on the online car-hailing aggregation platform to configure its own billing indicators, billing copy components, billing page templates and billing page template sequences.
[0064] After the driver determines the target tenant, it requests the bill page template sequence corresponding to the target tenant from the configuration server. Specifically, the driver sends the target tenant identifier (i.e. the tenant identifier of the target tenant) in the template sequence request to the configuration server. After receiving the template sequence request, the configuration server queries the bill page template sequence corresponding to the target tenant identifier from the database and returns it to the driver.
[0065] The target bill page template sequence includes multiple bill page templates and their corresponding display order. Each bill page template is configured based on multiple bill copy components, wherein the bill page template is used to display an annual bill page. Each bill copy component is configured based on one or more bill indicators and their corresponding copy templates, wherein the bill copy component is used to display a bill copy information, a bill copy information includes one or more copy information, and a bill indicator and its corresponding copy template are used to display a copy information. In some embodiments, the copy information can be a simple copy that does not contain the indicator value of the bill indicator, or it can be obtained by filling the indicator value of the bill indicator into the copy template corresponding to the bill indicator.
[0066] After the driver obtains the target bill page template, it obtains the bill page template with the highest display order, and then renders the page based on the template. When rendering the page, it queries the big data platform for the indicator values corresponding to each bill indicator contained in the template, and then fills the indicator values of each bill indicator into the corresponding copy template to form copy information, which is then displayed.
[0067] S120: In response to the billing page browsing operation, determine the billing page template to be rendered from the target billing page template sequence, record it as the target billing page template, and perform page rendering based on the target billing page template to display the corresponding annual billing page.
[0068] The bill page browsing operation is used to indicate the operation of displaying the previous or next annual bill page, such as swiping left / right, clicking the previous / next page button, etc. The specific operation form is not particularly limited in this embodiment. The annual bill page usually includes multiple bill copy information; each bill copy information is rendered based on the indicator value of at least one bill indicator related to a bill copy component in the target bill page template and its corresponding copy template.
[0069] Among them, when the driver is rendering the page, it will query the indicator values of various bill indicators related to each bill copy component in the target bill page template from the big data platform.
[0070] As mentioned above, the big data platform will pull the billing indicator set corresponding to each tenant from the configuration server, set the corresponding offline data cleaning task for each tenant according to the billing indicator set corresponding to each tenant, and execute each offline cleaning task to generate a user profile of each online ride-hailing driver associated with each tenant; the user profile of each online ride-hailing driver associated with each tenant includes the indicator value of the billing indicator set corresponding to the tenant.
[0071] The big data platform maintains a user profile for each online ride-hailing driver associated with each tenant. Therefore, when the big data platform receives a request from the driver, it determines the indicator values of each bill indicator related to each bill copy component in the target bill page template from the user profile corresponding to the target online ride-hailing driver.
[0072] In some embodiments, after obtaining the indicator value of any billing indicator from the big data platform, the driver compares the indicator value of the billing indicator with the preset indicator threshold corresponding to the billing indicator; if the indicator value of the billing indicator is smaller than the preset indicator threshold corresponding to the billing indicator, the indicator value of the billing indicator is not displayed; if the indicator value of the billing indicator is smaller than the preset indicator threshold corresponding to the billing indicator, the billing copy information is rendered based on the indicator value of the billing indicator and the copy template corresponding to the billing indicator.
[0073] For example, suppose a bill copy component is configured based on the three bill indicators of year, number of days of vehicle dispatch, and mileage. The copy template corresponding to year is "[year] year," the copy template corresponding to number of days of vehicle dispatch is "You have been dispatched for a total of [number of days of vehicle dispatch] days," and the copy template corresponding to mileage is "Cumulative mileage [mileage of vehicle dispatch] kilometers." Assuming that there is no corresponding indicator threshold for the "year" bill indicator, and the indicator thresholds corresponding to the two bill indicators "number of days of vehicle dispatch" and "mileage of vehicle dispatch" are 100 and 20,000 respectively, then the bill copy information presented by the above bill copy component will be: In 2024, the cumulative mileage is 34,000 kilometers. That is, because the indicator value of "number of days of vehicle dispatch" is less than the corresponding indicator threshold, its corresponding copy information is not displayed, while the copy information corresponding to "year" and "mileage of vehicle dispatch" is displayed.
[0074] In some embodiments, the configuration server is also used to enable each tenant on the online car-hailing aggregation platform to configure a corresponding template skin for the bill page template; the target bill page template sequence also includes template skins corresponding to each bill page template; the method also includes: when loading the annual bill page, determining the template skin corresponding to the target bill page template from the target bill page template sequence, and applying the template skin.
[0075] In some embodiments, in response to a billing page browsing operation, an operation of determining a billing page template to be rendered from a target billing page template sequence includes: determining a billing page switching instruction based on the detected billing page browsing operation; the billing page switching instruction is the previous page or the next page; determining a display order corresponding to a currently displayed billing page template, and determining a billing page template corresponding to the previous display order or the next display order of the display order as the billing page template to be rendered.
[0076] In some embodiments, the big data platform is also used to adjust the offline data cleaning task corresponding to any tenant when a change is detected in the billing indicator set corresponding to the tenant, and execute the adjusted offline data cleaning task, so that the driver can obtain the indicator value corresponding to the latest billing indicator from the big data platform, thereby ensuring the accuracy of the data displayed on the annual billing page.
[0077] It should be noted that, with respect to the various steps included in the method for generating an annual bill for online car-hailing drivers provided in any of the above embodiments, unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of these steps may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0078] Based on the same inventive concept, the present application also provides a device for generating an annual bill for online car-hailing drivers. Figure 5 As shown, the device includes the following modules:
[0079] The template sequence acquisition module 110 is used to determine the tenant associated with the target online car-hailing driver in response to receiving the annual bill display instruction, recorded as the target tenant, and query the configuration server for the effective bill page template sequence corresponding to the target tenant, recorded as the target bill page template sequence; the target bill page template sequence includes multiple bill page templates and their corresponding display order, each bill page template is configured based on multiple bill copy components, and each bill copy component is configured based on one or more bill indicators and their corresponding copy templates; the configuration server is used for each tenant on the online car-hailing aggregation platform to configure the corresponding bill indicators, bill copy components, bill page templates and bill page template sequences;
[0080] The billing page display module 120 is used to respond to the billing page browsing operation, determine the billing page template to be rendered from the target billing page template sequence, record it as the target billing page template, and render the page based on the target billing page template to display the corresponding annual billing page; the annual billing page includes multiple billing copy information; each billing copy information is rendered based on the indicator value of at least one billing indicator related to a bill copy component in the target billing page template and its corresponding copy template.
[0081] In some embodiments, the bill page display module 120 is also used to query the indicator values of various bill indicators related to various bill copy components in the target bill page template from the big data platform when rendering the page; the big data platform is used to maintain the user profile of each online car-hailing driver associated with each tenant, and the big data platform determines the indicator values of various bill indicators related to various bill copy components in the target bill page template from the user portrait corresponding to the target online car-hailing driver.
[0082] In some embodiments, the bill page display module 120 is also used to compare the indicator value of any bill indicator with a preset indicator threshold corresponding to the bill indicator after obtaining the indicator value of the bill indicator from the big data platform; if the indicator value of the bill indicator is less than the preset indicator threshold corresponding to the bill indicator, the indicator value of the bill indicator is not displayed; if the indicator value of the bill indicator is less than the preset indicator threshold corresponding to the bill indicator, the bill copy information is rendered based on the indicator value of the bill indicator and the copy template corresponding to the bill indicator.
[0083] In some embodiments, the configuration server is also used to enable each tenant on the online car-hailing aggregation platform to configure a corresponding template skin for the bill page template; the target bill page template sequence also includes template skins corresponding to each bill page template; accordingly, the bill page display module 120 is also used to determine the template skin corresponding to the target bill page template from the target bill page template sequence when loading the annual bill page, and apply the template skin.
[0084] In some embodiments, the bill page display module 120 determines the bill page template to be rendered from the target bill page template sequence in response to the bill page browsing operation, including:
[0085] Determine a bill page switching instruction based on the detected bill page browsing operation; the bill page switching instruction is the previous page or the next page;
[0086] The display order corresponding to the currently displayed billing page template is determined, and the billing page template corresponding to the previous display order or the next display order of the display order is determined as the billing page template to be rendered.
[0087] In some embodiments, the big data platform is also used to pull the billing indicator set corresponding to each tenant from the configuration server, set a corresponding offline data cleaning task for each tenant according to the billing indicator set corresponding to each tenant, and execute each offline cleaning task to generate a user profile of each online ride-hailing driver associated with each tenant; the user profile of each online ride-hailing driver associated with each tenant includes the indicator value of the billing indicator set corresponding to the tenant.
[0088] In some embodiments, the big data platform is further used to adjust the offline data cleaning task corresponding to any tenant when a change in the billing indicator set corresponding to the tenant is detected, and execute the adjusted offline data cleaning task.
[0089] For the specific limitations of the device for generating an annual bill for online car-hailing drivers, please refer to the limitations of the method for generating an annual bill for online car-hailing drivers mentioned above, which will not be repeated here. Each module in the above-mentioned device for generating an annual bill for online car-hailing drivers can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0090] The present application also provides a computer device. In some embodiments, the computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the clinical efficacy characteristic enhancement method provided in any of the above embodiments can be implemented.
[0091] Furthermore, in some embodiments, the internal structure diagram of the computer device may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as the driver identification of the target online car-hailing driver and its associated tenant identification. The specific stored data can also be found in the definitions in the above method embodiments. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for generating an annual bill for online car-hailing drivers is implemented.
[0092] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0093] The present application also provides a computer-readable storage medium. In some embodiments, a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the steps of the method for generating an annual bill for online car-hailing drivers provided in any of the above embodiments are implemented.
[0094] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0095] Those skilled in the art can understand that all or part of the processes in the above method embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink), DRAM (SLDRAM), memory bus (Rambus), direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0096] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0097] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for generating an annual bill for an online car-hailing driver, characterized in that: The method comprises: In response to receiving the annual bill display instruction, the tenant associated with the target online car-hailing driver is determined, recorded as the target tenant, and the configuration server is queried for the effective bill page template sequence corresponding to the target tenant, recorded as the target bill page template sequence; the target bill page template sequence includes multiple bill page templates and their corresponding display order, each bill page template is configured based on multiple bill copy components, and each bill copy component is configured based on one or more bill indicators and their corresponding copy templates; the configuration server is used for each tenant on the online car-hailing aggregation platform to configure the corresponding bill indicators, bill copy components, bill page templates and bill page template sequences; In response to a bill page browsing operation, a bill page template to be rendered is determined from the target bill page template sequence and recorded as the target bill page template. Page rendering is performed based on the target bill page template to display the corresponding annual bill page; the annual bill page includes multiple bill copy information; each bill copy information is rendered based on the indicator value of at least one bill indicator related to a bill copy component in the target bill page template and its corresponding copy template.
2. The method according to claim 1, characterized in that When rendering the page, the index values of various bill indicators related to each bill copy component in the target bill page template are queried from the big data platform; the big data platform is used to maintain the user profile of each online car-hailing driver associated with each tenant, and the big data platform determines the index values of various bill indicators related to each bill copy component in the target bill page template from the user portrait corresponding to the target online car-hailing driver.
3. The method according to claim 2, characterized in that After obtaining the indicator value of any of the billing indicators from the big data platform, comparing the indicator value of the billing indicator with a preset indicator threshold value corresponding to the billing indicator; If the indicator value of the bill indicator is less than the preset indicator threshold corresponding to the bill indicator, the indicator value of the bill indicator will not be displayed; If the indicator value of the bill indicator is less than the preset indicator threshold corresponding to the bill indicator, the bill text information is rendered based on the indicator value of the bill indicator and the text template corresponding to the bill indicator.
4. The method according to claim 1, characterized in that The configuration server is also used for each tenant on the online car-hailing aggregation platform to configure a corresponding template skin for the bill page template; the target bill page template sequence also includes the template skin corresponding to each bill page template; The method further comprises: When the annual bill page is loaded, the template skin corresponding to the target bill page template is determined from the target bill page template sequence, and the template skin is applied.
5. The method according to claim 1, characterized in that In response to the bill page browsing operation, determining a bill page template to be rendered from the target bill page template sequence includes: Determining a bill page switching instruction based on the detected bill page browsing operation; the bill page switching instruction is a previous page or a next page; The display order corresponding to the currently displayed billing page template is determined, and the billing page template corresponding to the previous display order or the next display order of the display order is determined as the billing page template to be rendered.
6. The method according to claim 2, characterized in that The big data platform is used to pull the bill indicator set corresponding to each of the tenants from the configuration server, set a corresponding offline data cleaning task for each of the tenants according to the bill indicator set corresponding to each of the tenants, and execute each of the offline cleaning tasks to generate a user profile of each online ride-hailing driver associated with each of the tenants; the user profile of each online ride-hailing driver associated with each of the tenants includes the indicator value of the bill indicator set corresponding to the tenant.
7. The method according to claim 6, characterized in that The big data platform is also used to adjust the offline data cleaning task corresponding to any tenant when it is detected that the bill indicator set corresponding to any tenant has changed, and execute the adjusted offline data cleaning task.
8. A device for generating annual bills for online car-hailing drivers, characterized in that: The device comprises: A template sequence acquisition module is used to determine the tenant associated with the target online car-hailing driver in response to receiving an annual bill display instruction, recorded as the target tenant, and query the configuration server for the effective bill page template sequence corresponding to the target tenant, recorded as the target bill page template sequence; the target bill page template sequence includes multiple bill page templates and their corresponding display order, each bill page template is configured based on multiple bill copy components, and each bill copy component is configured based on one or more bill indicators and their corresponding copy templates; the configuration server is used for each tenant on the online car-hailing aggregation platform to configure the corresponding bill indicators, bill copy components, bill page templates and bill page template sequences; A billing page display module is used to respond to a billing page browsing operation, determine the billing page template to be rendered from the target billing page template sequence, record it as the target billing page template, and perform page rendering based on the target billing page template to display the corresponding annual billing page; the annual billing page includes multiple billing copy information; each billing copy information is rendered based on the indicator value of at least one billing indicator related to a bill copy component in the target billing page template and its corresponding copy template.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Display method and system for business page template and computer device
CN107678736A
Personalized page configuration method supporting SaaS multi-tenant system
CN111930381A
Construction method of service system suitable for multiple tenants, framework, equipment and medium
CN112508431A
Bill data query method and device, equipment and storage medium
CN114398431A
Cboth case generation method and device, model training method and device, equipment and storage medium
CN114997131A