Target charging cost determination method and device, equipment and storage medium
By monitoring and analyzing the sharing and charging data of old users, and dynamically generating discount information, the problems of fixed coupon amounts and poor rationality in the existing technology are solved, and the user incentives and overall benefits of the charging platform are improved.
Patent Information
- Application Number
- CN202510328427.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-19
- Publication Date
- 2025-05-23
AI Technical Summary
When the existing charging platform generates coupons for old users, the coupon amount is fixed and cannot be adjusted according to the number of successful sharing times and charging data of different users, resulting in poor rationality of discount information.
By monitoring the operation data of old users forwarding promotion information to new users in real time, creating charging platform accounts, and generating discount information of different discount amounts based on the historical charging data of old users and the number of account creations.
It realizes dynamic generation of discount information based on the number of successful sharing times and charging data of old users, so that every old user can obtain the corresponding amount of sharing rewards, and improves the diversity and rationality of discount information.
Smart Images

Figure CN120031609A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technologies, and in particular, to a method, device, equipment, and storage medium for determining a target charging fee. Background Art
[0002] A charging platform is a service platform designed specifically for electric vehicle users. In order to increase the number of users of the charging platform, in addition to promoting through third-party platforms, new users can also be obtained by sharing push messages through old users on the platform. For example, when charging starts, an old user shares the push message generated by the charging platform with a friend, and a coupon with a corresponding amount is generated for the old user according to the sharing situation, which can be used when settling the charge after charging is completed.
[0003] In the related art, when the charging platform generates a coupon for an old user, the amount of the coupon is fixed. Whether to share the coupon with a fixed amount for the old user is determined by counting the number of successful sharing times. If the number of successful sharing times is less than a preset number, the old user cannot obtain any coupon, and only the actual charging amount can be used as the target charging fee during settlement. The generation method and adjustment strategy of the preferential information are single, and the preferential information cannot be adjusted for different users, resulting in poor rationality of the generated preferential information. Summary of the Invention
[0004] The embodiments of the present application provide a method, device, equipment, and storage medium for determining a target charging fee, which solve the problems that the generation method and adjustment strategy of the preferential information are single, and the rationality of the preferential information is poor. Different preferential information with different preferential amounts can be generated based on the number of successful sharing times of old users and the charging data of new and old users, so that each old user can obtain a sharing reward with a corresponding amount, and the diversity and rationality of the preferential information generation method and the preferential information adjustment strategy are improved.
[0005] In a first aspect, the embodiments of the present application provide a method for determining a target charging fee, including:
[0006] Real-time monitoring the operation data of the first terminal forwarding the promotion information to the second terminal, and determining the second user identifier of the second terminal, where the promotion information includes the first user identifier and a referral code;
[0007] In response to the information receiving instruction sent by the second terminal, creating a charging platform account for the second terminal based on the referral code and the second user identifier, and generating a first preferential information according to the historical charging data corresponding to the first user identifier and the creation quantity of the charging platform account;
[0008] In response to a charging request sent by the second terminal, recording charging data of the second terminal within a preset time, and generating second preferential information corresponding to the first user identifier based on the charging data;
[0009] In response to the charging completion instruction sent by the first terminal, the charging fee of the first terminal is calculated, the charging fee is adjusted according to the first preferential information and the second preferential information, and the target charging fee of the first terminal is determined.
[0010] Optionally, the generating the first preferential information according to the historical charging data corresponding to the first user identifier and the number of created charging platform accounts includes:
[0011] Calculating a user score of the first terminal according to the historical charging frequency and the historical charging amount corresponding to the first user identifier, and determining an initial discount amount associated with the user score of the first terminal;
[0012] An additional discount amount is determined according to the number of created charging platform accounts, the initial discount amount is added to the additional discount amount to obtain a first discount amount, and first discount information is generated based on the first discount amount.
[0013] Optionally, the recording charging data of the second terminal within a preset time, and generating second preferential information corresponding to the first user identifier based on the charging data includes:
[0014] Recording the number of times the second terminal is charged and the charging duration within a preset time, and calculating a user score of the second terminal based on the number of times and the charging duration;
[0015] Second preferential information corresponding to the first user identifier is generated according to the user score of the second terminal and a preset preferential policy.
[0016] Optionally, the target charging fee includes a first target charging fee and a second target charging fee, and the adjusting the charging fee according to the first preferential information and the second preferential information to determine the target charging fee of the first terminal includes:
[0017] Adjust the charging fee according to the first preferential amount in the first preferential information to obtain a first target charging fee for the first terminal;
[0018] determining whether the adjustment condition of the first target charging fee is met according to the usage rules in the second preferential information;
[0019] When the first target charging fee meets the adjustment condition, the first target charging fee is adjusted according to the second preferential amount in the second preferential information to obtain the second target charging fee of the first terminal.
[0020] Optionally, after the first preferential amount, it also includes:
[0021] Calculate the historical average charging amount, and calculate the average revenue of the charging platform based on the historical average charging amount;
[0022] Calculate the discount amount threshold based on the average income and preset discount rules;
[0023] Correspondingly, generating first preferential information based on the first preferential amount includes:
[0024] The first preferential amount is compared with the preferential amount threshold, and first preferential information including the first preferential amount or the preferential amount threshold is generated based on the comparison result.
[0025] Optionally, after determining the target charging fee of the first terminal, the method further includes:
[0026] A settlement voucher is generated according to the charging fee of the first terminal, the first preferential information, the second preferential information and the target charging fee.
[0027] Optionally, a generation cycle of the second preferential information is the same as the preset time.
[0028] In a second aspect, an embodiment of the present application provides a device for determining a target charging fee, comprising:
[0029] A monitoring module, used to monitor in real time the operation data of the first terminal forwarding the promotion information to the second terminal, and determine the second user identifier of the second terminal, wherein the promotion information includes the first user identifier and the referral code;
[0030] an account creation module, configured to create a charging platform account for the second terminal based on the recommendation code in response to an information receiving instruction corresponding to the second user identifier;
[0031] A first preferential information generating module, configured to generate first preferential information according to the historical charging data corresponding to the first user identifier and the number of created charging platform accounts;
[0032] a charging data recording module, configured to record charging data of the second terminal within a preset time in response to a charging request corresponding to the second user identifier;
[0033] A second preferential information generating module, configured to generate second preferential information corresponding to the first user identifier based on the charging data;
[0034] The target charging cost determination module is used to calculate the charging cost of the first terminal in response to the charging completion instruction corresponding to the first user identifier, adjust the charging cost according to the first preferential information and the second preferential information, and determine the target charging cost of the first terminal.
[0035] In a third aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors; a storage device configured to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the target charging cost determination method described in the first aspect.
[0036] In a fourth aspect, an embodiment of the present application provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the target charging cost determination method as described in the first aspect.
[0037] The embodiment of the present application monitors the operation data of the first terminal forwarding the promotion information to the second terminal in real time, and determines the second user identification of the second terminal; in response to the information receiving instruction sent by the second terminal, creates a charging platform account of the second terminal based on the recommendation code and the second user identification, and generates the first preferential information according to the historical charging data corresponding to the first user identification and the number of charging platform accounts created; in response to the charging request sent by the second terminal, records the charging data of the second terminal within a preset time, and generates the second preferential information corresponding to the first user identification based on the charging data; in response to the charging completion instruction sent by the first terminal, calculates the charging cost of the first terminal, adjusts the charging cost according to the first preferential information and the second preferential information, and determines the target charging cost of the first terminal. It is possible to generate preferential information with different preferential amounts based on the number of successful sharing of old users and the charging data of new and old users, so that each old user can obtain a sharing reward of the corresponding amount, thereby increasing the enthusiasm of new and old users to share push information, avoiding the loss of old users, and improving the overall revenue of the charging platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 is a flow chart of a method for determining a target charging fee provided in an embodiment of the present application;
[0039] Figure 2 This is a schematic diagram of a promotion information forwarding scenario provided by an embodiment of the present application;
[0040] Figure 3 is a flow chart of a first preferential information generating method provided by an embodiment of the present application;
[0041] Figure 4 It is a flowchart of a method for generating a second preferential information provided by an embodiment of the present application;
[0042] Figure 5 It is another target charging cost provided by an embodiment of the present application;
[0043] Figure 6 It is a schematic structural diagram of a device for determining a target charging cost provided by an embodiment of the present application;
[0044] Figure 7 It is a schematic structural diagram of a device for determining a target charging cost provided by an embodiment of the present application. Detailed implementation manners
[0045] In order to make the purpose, technical solutions and advantages of the present application clearer, the following further describes the specific embodiments of the present application in detail with reference to the accompanying drawings. It can be understood that the specific embodiments described herein are only used to explain the present application, rather than limiting the present application. In addition, it should be noted that for the sake of convenience of description, only parts related to the present application are shown in the drawings, rather than all the content. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the operations (or steps) as sequential processes, many of the operations can be implemented in parallel, concurrently or simultaneously. In addition, the order of the operations can be rearranged. When the operations are completed, the process can be terminated, but there may also be additional steps not included in the drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.
[0046] The following will clearly describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.
[0047] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are usually of the same type, and do not limit the number of objects. For example, the first object can be one or multiple. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / ", generally represents an "or" relationship between the associated objects before and after.
[0048] The target charging cost determination method, device, equipment and medium provided in the embodiments of the present application are described in detail below in conjunction with the accompanying drawings through specific embodiments and their application scenarios.
[0049] The target charging fee determination method provided in the embodiment of the present application can be used in the scenario of settling the charging fee when charging is completed, especially in the scenario of calculating the charging fee when the old user forwards the push information of the charging station to the new user and offers a discount to the old user. Based on the above application scenario, it can be understood that the execution subject of the present application is the server.
[0050] Figure 1 is a flow chart of a method for determining a target charging fee provided in an embodiment of the present application. Figure 1 As shown, including:
[0051] Step S101: monitor in real time the operation data of forwarding promotion information from a first terminal to a second terminal, and determine a second user identifier of the second terminal, wherein the promotion information includes a first user identifier and a referral code.
[0052] Among them, the first terminal may be an old user terminal of the platform that sends the promotion message, and the second terminal may be a new user terminal of the platform that receives the promotion message. The first terminal and the second terminal forward the promotion message through the communication platform. The promotion information may be the activity information generated by the agent operation platform for promoting the agent operation station after the first terminal performs the charging operation on the agent operation platform. The promotion information may include current preferential activities, charging assistance request information, and charging coupons. Optionally, the promotion information may also include a first user identifier and a recommendation code, wherein the first user identifier is used to represent the identification information of the first terminal, such as the nickname of the first terminal in the communication platform, the user mobile phone number bound to the first terminal, etc. The recommendation code is a special identifier, usually a combination of a string of numbers or letters, or a specific link, used to recommend the charging service of the charging station, and is associated with some discounts, activities or specific functions, thereby promoting the interaction and sharing between the first terminal and the second terminal. When the first terminal shares his recommendation code with the second terminal, the second terminal can enjoy certain discounts by using the recommendation code for charging services. At the same time, the first terminal that shares the recommendation code may also obtain corresponding rewards or points. The second identifier of the second terminal may also be a user nickname of the second terminal user in the communication platform or a user mobile phone number bound to the second terminal.
[0053] In one embodiment, Figure 2 is a schematic diagram of a promotion information forwarding scenario provided by an embodiment of the present application, such as Figure 2As shown, the server 23 monitors in real time whether the promotion information generated by the operating agent platform is forwarded by a first terminal 21. When the forwarding operation of the first terminal forwarding the promotion information is monitored, the forwarding target of the promotion information, that is, the second terminal 22, is determined. The second terminal 22 and the second identification information of the second terminal 22 can be determined based on the target forwarding address in the forwarding operation data. At this time, the second identification information can be the target forwarding address of the second terminal 22.
[0054] Step S102, in response to the information receiving instruction sent by the second terminal, create a charging platform account for the second terminal based on the recommendation code and the second user identifier, and generate first preferential information according to the historical charging data corresponding to the first user identifier and the number of created charging platform accounts.
[0055] Among them, the information receiving instruction is used to indicate the receiving notification instruction sent by the second terminal after the second terminal receives the promotion information. The charging platform account is a virtual account used by the user to settle the charging fee after the charging operation, and the charging settlement fee can be directly settled to the operating station through the charging platform account. Historical charging data is used to indicate all record information of the user charging through the current operating platform, which may include historical charging times, historical charging amounts, historical charging frequencies, etc. The first preferential information is preferential information generated to reward the user of the first terminal for forwarding the promotion information to the second terminal, and to enable the second terminal to view the activity information of the operating platform. The first preferential information can be a charging voucher or discount information for charging, etc.
[0056] In one embodiment, after the first terminal forwards the promotion information to the second terminal, the second terminal can view the content of the charging activity by clicking on the promotion information. At this time, the operation platform can respond to the second terminal receiving the instruction of the second terminal to open the promotion information, that is, the information receiving instruction. At this time, it can be proved that the second terminal has the intention to charge through this platform. Therefore, a charging platform account can be created for the second terminal for subsequent settlement of charging fees by the second terminal, and the second user identification and referral code are bound to the charging platform account, wherein the second user identification is used to identify the second terminal corresponding to the charging platform account, and the referral code is used to provide preferential rewards to the corresponding first terminal when the second terminal is charging on the current operation platform. Optionally, the same first terminal corresponds to one referral code.
[0057] In one implementation, after creating a charging platform account for the second terminal, the historical total charging amount associated with the first user identifier and the number of charging platform accounts bound to the corresponding recommendation code of the first terminal are queried in the historical database to generate the first discount information. Exemplarily, if the historical total charging amount is greater than or equal to the preset amount threshold and the number of charging platform accounts is greater than or equal to the preset account number threshold, an 8 yuan coupon is generated; if the historical total charging amount is less than the preset amount threshold or the number of charging platform accounts is less than the preset amount threshold, a 20% discount information is generated.
[0058] Step S103: In response to the charging request sent by the second terminal, record the charging data of the second terminal within a preset time, and generate second preferential information corresponding to the first user identifier based on the charging data.
[0059] The charging request is a request message sent by the user terminal when charging. The charging request can be sent to the agent operation platform by scanning the QR code on the charging pile through the scan function in the third-party platform. The second preferential information is a preferential information generated to reward the first terminal for forwarding a push message to the second terminal, successfully enabling the second terminal to charge on the platform and become a new user of the platform. Optionally, the generation cycle of the second preferential information is the same as the preset time.
[0060] In one embodiment, after responding to the charging request sent by the second terminal, the user value of the second terminal is predicted based on the charging status of the second terminal within a preset time, that is, the revenue that the second terminal can bring to the platform in the future is predicted. The more revenue, the greater the discount in the generated second discount information. Exemplarily, the total amount of charging of the second terminal in one month is recorded. If the total amount of charging is greater than the average monthly charging amount of each first terminal, a 10 yuan voucher corresponding to the first user identifier is generated, that is, a 10 yuan voucher is sent to the first terminal. Among them, if the charging data within one month is obtained, the corresponding second discount information is generated one month after the first terminal forwards the promotion information to the second terminal.
[0061] Step S104: in response to the charging completion instruction sent by the first terminal, calculating the charging fee of the first terminal, adjusting the charging fee according to the first preferential information and the second preferential information, and determining the target charging fee of the first terminal.
[0062] Among them, the charging fee of the first terminal is the original charging amount that the first terminal should pay after the charging is completed. The target charging fee is the charging fee actually required to be paid after a discount is made on the basis of the original charging amount. In one embodiment, after responding to the charging completion instruction sent by the first terminal, the charging fee generated during this charging process is calculated, and the first preferential information and the second preferential information currently available for the first terminal are determined according to the first user identifier, that is, coupons or other discount information, etc., and the first preferential information and the second preferential information currently available are deducted from the original charging fee to determine the charging fee actually required to be paid by the first terminal.
[0063] The embodiment of the present application monitors the operation data of the first terminal forwarding the promotion information to the second terminal in real time, and determines the second user identification of the second terminal; in response to the information receiving instruction sent by the second terminal, creates a charging platform account of the second terminal based on the recommendation code and the second user identification, and generates the first preferential information according to the historical charging data corresponding to the first user identification and the number of charging platform accounts created; in response to the charging request sent by the second terminal, records the charging data of the second terminal within a preset time, and generates the second preferential information corresponding to the first user identification based on the charging data; in response to the charging completion instruction sent by the first terminal, calculates the charging cost of the first terminal, adjusts the charging cost according to the first preferential information and the second preferential information, and determines the target charging cost of the first terminal. It is possible to generate preferential information with different preferential amounts based on the number of successful sharing of old users and the charging data of new and old users, so that each old user can obtain a sharing reward of the corresponding amount, thereby improving the diversity and rationality of the preferential information generation method and preferential information adjustment strategy.
[0064] Figure 3 is a flow chart of a first preferential information generating method provided in an embodiment of the present application, such as Figure 3 As shown, including:
[0065] Step S301: Calculate the user score of the first terminal according to the historical charging frequency and the historical charging amount corresponding to the first user identifier, and determine an initial discount amount associated with the user score of the first terminal.
[0066] The user rating is used to indicate the quality of the charging user. The higher the user rating, the higher the quality of the charging user. The initial discount amount is the preset default coupon amount, such as a 2 yuan coupon, which means that no matter how high or low the user rating is, they can get a coupon of at least 2 yuan.
[0067] In one embodiment, the historical charging data associated with the first user identifier is queried, the historical charging frequency and the historical total amount of charging in the past six months are calculated, the user score of the first terminal is calculated according to the weight value corresponding to the historical charging frequency and the weight value corresponding to the historical total amount of charging, and the initial preferential amount corresponding to the current user score is determined according to the preset association relationship between the user score and the initial preferential amount. Exemplarily, the historical charging frequency corresponding to the first user identifier is 3 days / time, and the historical charging amount is 1,200 yuan. According to the historical charging frequency, the weight value corresponding to the historical charging frequency is 30 in the first mapping relationship table, and the weight value corresponding to the historical charging amount is 30 in the second mapping relationship table according to the historical charging amount. Then, the user score is determined to be 60 points, and according to the preset association relationship between the user score and the initial preferential amount, the initial preferential amount corresponding to 60 points is determined to be 2 yuan.
[0068] Step S302: determine an additional discount amount according to the number of created charging platform accounts, add the initial discount amount and the additional discount amount to obtain a first discount amount, and generate first discount information based on the first discount amount.
[0069] The additional discount amount is the additional discount amount added to the initial discount amount, and the additional discount amount can be determined based on the number of charging platform accounts created. When counting the number of charging platform accounts, only the number of accounts created between the start time and the end time of this charging is counted, so that the first discount information of the dependent amount can be obtained after the charging is completed.
[0070] In one embodiment, during the charging time, each time a charging platform account associated with a first terminal's referral code is created, a 1-yuan discount amount can be added. After charging is completed, the initial discount amount and all additional discount amounts are accumulated to obtain a first discount amount. For example, if the initial discount amount is 2 yuan, and 3 charging platform accounts are created during the charging time, and each additional discount amount is 1 yuan, and a total of 3 additional times, then the initial discount amount and the 3 additional discount amounts are accumulated to obtain a first discount amount of 5 yuan, and the first discount information containing a 5-yuan coupon is generated.
[0071] In the above, the user score of the first terminal is calculated based on the historical charging frequency and historical charging amount corresponding to the first user identifier, and the initial discount amount associated with the user score of the first terminal is determined; the additional discount amount is determined based on the number of charging platform accounts created, the initial discount amount and the additional discount amount are accumulated to obtain the first discount amount, and the first discount information is generated based on the first discount amount. When determining the first discount information, the user quality of the first terminal and the number of new users invited can be comprehensively considered, so as to generate the corresponding first discount information based on different user situations and the ability to invite new users, so that old users can maintain high-quality charging habits and avoid the loss of old users, thereby improving the diversity and rationality of the discount information generation method and discount information adjustment strategy.
[0072] In one embodiment, after the first preferential amount, the method further includes:
[0073] Calculate the historical average charging amount, and calculate the average revenue of the charging platform based on the historical average charging amount;
[0074] Calculate the discount amount threshold based on the average income and preset discount rules;
[0075] Correspondingly, generating first preferential information based on the first preferential amount includes:
[0076] The first preferential amount is compared with the preferential amount threshold, and first preferential information including the first preferential amount or the preferential amount threshold is generated based on the comparison result.
[0077] In order to ensure the revenue of the charging platform, the first discount amount in the generated first discount information needs to be controlled within a certain amount range to avoid losses on the charging platform. The amount range can be determined based on the historical average charging amount.
[0078] For example, the average charging amount in the past six months is calculated. The platform's profit ratio can be known according to the preset preferential rules. The average profit of each charging pile per charge can be calculated according to the profit ratio and the average charging amount, and the average profit is determined as the preferential amount threshold. For example, the average user of charging pile A charges 20 yuan per charge, and the preset profit ratio is 30%. According to the profit ratio, the average profit of charging pile A per charge is 6 yuan, and the preferential amount threshold is determined to be 6 yuan, that is, the coupon amount in the first preferential information shall not exceed 6 yuan.
[0079] In one embodiment, after the first preferential amount is calculated, the first preferential amount is compared with the first preferential amount, and the coupon amount in the first preferential information is determined based on the comparison result. Exemplarily, if the preferential amount threshold is 6 yuan, the first preferential amount is 8 yuan, and the first preferential amount is greater than the preferential amount threshold, it is determined to generate the first preferential information containing a 6 yuan coupon. If the preferential amount threshold is 6 yuan, the first preferential amount is 5 yuan, and the first preferential amount is less than the preferential amount threshold, the first preferential information containing a 5 yuan coupon is generated.
[0080] In the above, the historical average charging amount is calculated after the first preferential amount, the average revenue of the charging platform is calculated based on the historical average charging amount, the first preferential amount is compared with the preferential amount threshold, and the first preferential information including the first preferential amount or the preferential amount threshold is generated based on the comparison result. This can avoid the situation where the first preferential amount is too high and causes the charging platform to lose money, and improve the diversity and rationality of the preferential information generation method and preferential information adjustment strategy.
[0081] In one embodiment, after determining the target charging fee of the first terminal, the method further includes:
[0082] A settlement voucher is generated according to the charging fee of the first terminal, the first preferential information, the second preferential information and the target charging fee.
[0083] The settlement voucher is a voucher for indicating the detailed settlement content of the charging fee, which may include the charging fee of the first terminal, i.e., the original charging fee that has not been deducted, the first preferential information and the second preferential information, i.e., the two deduction information, and the target charging fee, i.e., the actual amount paid. Generating a settlement voucher based on the charging fee of the first terminal, the first preferential information, the second preferential information, and the target charging fee can clearly show the reward generated by the first terminal user forwarding the promotion information, as well as the difference between the original amount and the actual payment amount, so as to facilitate the user to confirm the settlement information, and also improve the enthusiasm of the first terminal user to forward the promotion information, and accordingly, improve the platform traffic and overall revenue.
[0084] Figure 4 is a flow chart of a second preferential information generating method provided in an embodiment of the present application, such as Figure 4 Said, including:
[0085] Step S401: Record the number of times the second terminal is charged and the charging duration within a preset time, and calculate a user score of the second terminal based on the number of times and the charging duration.
[0086] Step S402: Generate second preferential information corresponding to the first user identifier according to the user score of the second terminal and a preset preferential policy.
[0087] In one embodiment, the historical charging data of the second terminal is queried, the number of charging times and the charging duration in the past month are calculated, the user score of the second terminal is calculated according to the weight value corresponding to the number of charging times and the weight value corresponding to the charging duration, and the preset preferential policy corresponding to the current user score is determined according to the preset association relationship between the user score and the preset preferential policy. Exemplarily, the number of charging times corresponding to the second user identifier is 3 times, and the charging duration is 6 hours. According to the number of charging times, the weight value corresponding to the number of charging times is 50 in the third mapping relationship table, and the weight value corresponding to the charging duration is 30 in the fourth mapping relationship table according to the charging duration, then the user score is determined to be 80 points. The preset preferential policy is that when the score is 100 points, a 50% discount is enjoyed; when the score is 90 points, a 40% discount is enjoyed; when the score is 80 points, a 30% discount is enjoyed; when the score is 70 points, a 20% discount is enjoyed; when the score is less than 70 points, a 10% discount is enjoyed. According to the current user score and the preset preferential policy, a second preferential information with a 30% discount can be generated for the first terminal.
[0088] In the above, by recording the number of times and duration of charging of the second terminal within the preset time, the user score of the second terminal is calculated based on the number of times and duration of charging; the second preferential information corresponding to the first user identifier is generated according to the user score of the second terminal and the preset preferential policy. When generating the second information for the first terminal user, the score of the second terminal user can be fully considered, so that the first terminal user can be encouraged to carry out high-quality publicity for the second terminal, so that the second terminal maintains a good charging habit on the charging platform, and improves the diversity and rationality of the preferential information generation method and preferential information adjustment strategy.
[0089] Figure 5 is another target charging fee provided in an embodiment of the present application. Figure 5 As shown, including:
[0090] Step S501: Adjust the charging fee according to the first preferential amount in the first preferential information to obtain a first target charging fee for the first terminal.
[0091] In one embodiment, the target charging fee includes a first target charging fee and a second target charging fee. The first target charging fee is the actual payment fee generated after each charging is completed. Since the first preferential information is preferential information that is generated each time charging is completed, the charging fee is generated each time charging is completed, and the first preferential amount in the first preferential information is deducted from the corresponding amount of charging fee to obtain the first target charging fee that the first terminal needs to actually pay. The second target charging fee is the actual payment fee obtained after the charging fee discount based on the second preferential information, but since the second preferential information can only be generated once within the preset time, the second target charging fee can only be obtained once within the preset time.
[0092] Step S502: Determine whether the adjustment condition of the first target charging fee is met according to the usage rules in the second preferential information.
[0093] Among them, the usage rules in the second preferential information may include the usage time and usage conditions of the second preferential discount. For example, if the usage rules are valid for 7 days and can be used when the amount is over 20 yuan, after calculating the first target charging fee, it is determined whether the time interval between the calculation time of the first target charging fee and the generation time of the second preferential information is less than or equal to 7 days, and whether the amount of the first target charging fee is greater than or equal to 20 yuan. If the usage rules in the second preferential information are met, the adjustment conditions of the first target charging fee are met. It can be seen that the usage rules in the second preferential information are the same as the adjustment conditions of the first target charging fee.
[0094] Step S503: When the first target charging fee meets the adjustment condition, the first target charging fee is adjusted according to the second preferential amount in the second preferential information to obtain a second target charging fee for the first terminal.
[0095] Exemplarily, if the first target fee is 16 yuan and the second discount amount in the second discount information is 5 yuan, the first target fee of the corresponding amount is deducted according to the second discount amount, and the second target charging fee of the first terminal is 11 yuan.
[0096] In the above, the charging fee is adjusted according to the first preferential amount in the first preferential information to obtain the first target charging fee of the first terminal; the use rules in the second preferential information determine whether the adjustment condition of the first target charging fee is met; if the first target charging fee meets the adjustment condition, the first target charging fee is adjusted according to the second preferential amount in the second preferential information to obtain the second target charging fee of the first terminal. If the adjustment condition of the first target charging fee is met, the charging fee can be automatically adjusted based on the second preferential amount in the second preferential information to avoid the user missing the second preferential information or causing the second preferential information to expire.
[0097] Figure 6 is a structural diagram of a device for determining a target charging fee provided in an embodiment of the present application, such as Figure 6 As shown, including:
[0098] A monitoring module 61, configured to monitor in real time the operation data of the first terminal forwarding the promotion information to the second terminal, and determine the second user identifier of the second terminal, wherein the promotion information includes the first user identifier and the referral code;
[0099] An account creation module 62, configured to create a charging platform account for the second terminal based on the recommendation code in response to an information receiving instruction corresponding to the second user identifier;
[0100] A first preferential information generating module 63, configured to generate first preferential information according to the historical charging data corresponding to the first user identifier and the number of created charging platform accounts;
[0101] A charging data recording module 64, configured to record charging data of the second terminal within a preset time in response to a charging request corresponding to the second user identifier;
[0102] A second preferential information generating module 65, configured to generate second preferential information corresponding to the first user identifier based on the charging data;
[0103] The target charging cost determination module 66 is used to calculate the charging cost of the first terminal in response to the charging completion instruction corresponding to the first user identifier, adjust the charging cost according to the first preferential information and the second preferential information, and determine the target charging cost of the first terminal.
[0104] The embodiment of the present application monitors the operation data of the first terminal forwarding the promotion information to the second terminal in real time, and determines the second user identification of the second terminal; in response to the information receiving instruction sent by the second terminal, creates a charging platform account of the second terminal based on the recommendation code and the second user identification, and generates the first preferential information according to the historical charging data corresponding to the first user identification and the number of charging platform accounts created; in response to the charging request sent by the second terminal, records the charging data of the second terminal within a preset time, and generates the second preferential information corresponding to the first user identification based on the charging data; in response to the charging completion instruction sent by the first terminal, calculates the charging cost of the first terminal, adjusts the charging cost according to the first preferential information and the second preferential information, and determines the target charging cost of the first terminal. It is possible to generate preferential information with different preferential amounts based on the number of successful sharing of old users and the charging data of new and old users, so that each old user can obtain a sharing reward of the corresponding amount, thereby improving the diversity and rationality of the preferential information generation method and preferential information adjustment strategy.
[0105] In a possible embodiment, the first preferential information generating module 63 is used to:
[0106] Calculating a user score of the first terminal according to the historical charging frequency and the historical charging amount corresponding to the first user identifier, and determining an initial discount amount associated with the user score of the first terminal;
[0107] An additional discount amount is determined according to the number of created charging platform accounts, the initial discount amount is added to the additional discount amount to obtain a first discount amount, and first discount information is generated based on the first discount amount.
[0108] In a possible embodiment, the second preferential information generating module 65 is used to:
[0109] Recording the number of times the second terminal is charged and the charging duration within a preset time, and calculating a user score of the second terminal based on the number of times and the charging duration;
[0110] Second preferential information corresponding to the first user identifier is generated according to the user score of the second terminal and a preset preferential policy.
[0111] In a possible embodiment, the target charging cost includes a first target charging cost and a second target charging cost, and the target charging cost determination module 66 is used to:
[0112] Adjust the charging fee according to the first preferential amount in the first preferential information to obtain a first target charging fee for the first terminal;
[0113] determining whether the adjustment condition of the first target charging fee is met according to the usage rules in the second preferential information;
[0114] When the first target charging fee meets the adjustment condition, the first target charging fee is adjusted according to the second preferential amount in the second preferential information to obtain the second target charging fee of the first terminal.
[0115] In a possible embodiment, the target charging fee determination device further includes a preferential amount threshold determination module, and the preferential amount threshold determination module is used to:
[0116] Calculate the historical average charging amount, and calculate the average revenue of the charging platform based on the historical average charging amount;
[0117] Calculate the discount amount threshold based on the average income and preset discount rules;
[0118] The first preferential information generating module 63 is further used to compare the first preferential amount with the preferential amount threshold, and generate first preferential information including the first preferential amount or the preferential amount threshold based on the comparison result.
[0119] The target charging fee determination device also includes a settlement voucher generation module, which is used to generate a settlement voucher according to the charging fee of the first terminal, the first preferential information, the second preferential information and the target charging fee.
[0120] In a possible embodiment, a generation period of the second preferential information is the same as the preset time.
[0121] The embodiment of the present application also provides a target charging fee determination device, which can integrate a target charging fee determination apparatus provided in the embodiment of the present application. Figure 7 This is a schematic diagram of a target charging fee determination device provided in an embodiment of the present application, with reference to Figure 7 The target charging fee determination device includes: an input device 73, an output device 74, a memory 72 and one or more processors 71; the memory 72 is used to store one or more programs; when one or more programs are executed by one or more processors 71, the one or more processors 71 implement the target charging fee determination method provided in the above embodiment. The input device 73, the output device 74, the memory 72 and the processor 71 can be connected by a bus or other means. Figure 7 The example of connecting through bus is taken in the following.
[0122] The memory 72, as a computing device readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the target charging cost determination method provided in any embodiment of the present application. The memory 72 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the device, etc. In addition, the memory 72 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 72 may further include a memory remotely arranged relative to the processor 71, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0123] The input device 73 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the device. The output device 74 may include a display device such as a display screen.
[0124] The processor 71 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 72, that is, realizes the above-mentioned target charging fee determination method.
[0125] The target charging fee determination device, equipment and computer provided above can be used to execute the target charging fee determination method provided in any of the above embodiments, and have corresponding functions and beneficial effects.
[0126] The embodiment of the present application further provides a storage medium storing computer executable instructions. When the computer executable instructions are executed by a computer processor, they are used to perform the target charging fee determination method provided in the above embodiment. The target charging fee determination method includes:
[0127] monitoring in real time the operation data of the first terminal forwarding the promotion information to the second terminal, and determining the second user identifier of the second terminal, wherein the promotion information includes the first user identifier and the referral code;
[0128] In response to the information receiving instruction sent by the second terminal, creating a charging platform account for the second terminal based on the recommendation code and the second user identifier, and generating first preferential information according to the historical charging data corresponding to the first user identifier and the number of created charging platform accounts;
[0129] In response to a charging request sent by the second terminal, recording charging data of the second terminal within a preset time, and generating second preferential information corresponding to the first user identifier based on the charging data;
[0130] In response to the charging completion instruction sent by the first terminal, the charging fee of the first terminal is calculated, the charging fee is adjusted according to the first preferential information and the second preferential information, and the target charging fee of the first terminal is determined.
[0131] Storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROM, floppy disk or tape device; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory elements, etc. Storage media may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the first computer system in which the program is executed, or may be located in a different second computer system, which is connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations (for example, in different computer systems connected by a network). The storage medium may store program instructions (for example, embodied as a computer program) that can be executed by one or more processors.
[0132] Of course, the storage medium containing computer executable instructions provided in an embodiment of the present application is not limited to the target charging cost determination method as described above, and can also execute related operations in the target charging cost determination method provided in any embodiment of the present application.
[0133] The target charging fee determination apparatus, device and storage medium provided in the above embodiments can execute the target charging fee determination method provided in any embodiment of the present application. For technical details not described in detail in the above embodiments, please refer to the target charging fee determination method provided in any embodiment of the present application.
[0134] The above are only preferred embodiments of the present application and the technical principles used. The present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not deviate from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the claims.
Claims
1. A method for determining a target charging cost, applied to a server, characterized in that: include: monitoring in real time the operation data of the first terminal forwarding the promotion information to the second terminal, and determining the second user identifier of the second terminal, wherein the promotion information includes the first user identifier and the referral code; In response to the information receiving instruction sent by the second terminal, creating a charging platform account for the second terminal based on the recommendation code and the second user identifier, and generating first preferential information according to the historical charging data corresponding to the first user identifier and the number of created charging platform accounts; In response to a charging request sent by the second terminal, recording charging data of the second terminal within a preset time, and generating second preferential information corresponding to the first user identifier based on the charging data; In response to the charging completion instruction sent by the first terminal, the charging fee of the first terminal is calculated, the charging fee is adjusted according to the first preferential information and the second preferential information, and the target charging fee of the first terminal is determined.
2. The method for determining the target charging cost according to claim 1, characterized in that: The generating the first preferential information according to the historical charging data corresponding to the first user identifier and the number of created charging platform accounts includes: Calculating a user score of the first terminal according to the historical charging frequency and the historical charging amount corresponding to the first user identifier, and determining an initial discount amount associated with the user score of the first terminal; An additional discount amount is determined according to the number of created charging platform accounts, the initial discount amount is added to the additional discount amount to obtain a first discount amount, and first discount information is generated based on the first discount amount.
3. The method for determining the target charging cost according to claim 1, characterized in that: The recording of charging data of the second terminal within a preset time, and generating second preferential information corresponding to the first user identifier based on the charging data, includes: Recording the number of times the second terminal is charged and the charging duration within a preset time, and calculating a user score of the second terminal based on the number of times and the charging duration; Second preferential information corresponding to the first user identifier is generated according to the user score of the second terminal and a preset preferential policy.
4. The method for determining the target charging cost according to claim 2, characterized in that: The target charging fee includes a first target charging fee and a second target charging fee, and the adjusting the charging fee according to the first preferential information and the second preferential information to determine the target charging fee of the first terminal includes: Adjust the charging fee according to the first preferential amount in the first preferential information to obtain a first target charging fee for the first terminal; determining whether the adjustment condition of the first target charging fee is met according to the usage rules in the second preferential information; When the first target charging fee meets the adjustment condition, the first target charging fee is adjusted according to the second preferential amount in the second preferential information to obtain the second target charging fee of the first terminal.
5. The method for determining the target charging cost according to claim 2, characterized in that: After the first preferential amount, it also includes: Calculate the historical average charging amount, and calculate the average revenue of the charging platform based on the historical average charging amount; Calculate the discount amount threshold based on the average income and preset discount rules; Correspondingly, generating first preferential information based on the first preferential amount includes: The first preferential amount is compared with the preferential amount threshold, and first preferential information including the first preferential amount or the preferential amount threshold is generated based on the comparison result.
6. The method for determining the target charging cost according to claim 5, characterized in that: After determining the target charging fee of the first terminal, the method further includes: A settlement voucher is generated according to the charging fee of the first terminal, the first preferential information, the second preferential information and the target charging fee.
7. The method for determining the target charging cost according to claim 1, characterized in that: The generation cycle of the second preferential information is the same as the preset time.
8. A device for determining a target charging fee, characterized in that: include: A monitoring module, used to monitor in real time the operation data of the first terminal forwarding the promotion information to the second terminal, and determine the second user identifier of the second terminal, wherein the promotion information includes the first user identifier and the referral code; an account creation module, configured to create a charging platform account for the second terminal based on the recommendation code in response to an information receiving instruction corresponding to the second user identifier; A first preferential information generating module, configured to generate first preferential information according to the historical charging data corresponding to the first user identifier and the number of created charging platform accounts; a charging data recording module, configured to record charging data of the second terminal within a preset time in response to a charging request corresponding to the second user identifier; A second preferential information generating module, configured to generate second preferential information corresponding to the first user identifier based on the charging data; The target charging cost determination module is used to calculate the charging cost of the first terminal in response to the charging completion instruction corresponding to the first user identifier, adjust the charging cost according to the first preferential information and the second preferential information, and determine the target charging cost of the first terminal.
9. An electronic device, comprising: one or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the target charging fee determination method as described in any one of claims 1-7.
10. A storage medium storing computer executable instructions, wherein the computer executable instructions are used to perform the target charging fee determination method according to any one of claims 1 to 7 when executed by a computer processor.
Citation Information
Patent Citations
Charging pile usage method, apparatus and system
CN107358474A
Commodity recommendation method and system capable of promoting consumers to actively increase consumption
CN113743992A
Charging guiding method and system
CN116691423A
Cost collection and payment method, system and device of operation platform, and storage medium
CN119477301A