Fund expenditure verification method and device, equipment and storage medium
The method and device verify reward fund expenditures by comparing settlement data with preliminary data to ensure correctness and safety, addressing calculation errors and reducing financial loss in marketing strategies.
Patent Information
- Application Number
- CN202411103124.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-12-06
AI Technical Summary
There is a higher risk of loss in reward fund expenditures during the implementation of marketing policies in various business scenarios due to the lack of effective verification of reward fund distribution results after marketing activity strategies are executed.
A method and device for verifying fund expenditures by obtaining target reward fund settlement data and comparing it with reward fund preliminary settlement data based on business scenario rules, statistical dimensions, and time dimensions, with an alarm issued for discrepancies.
Ensures the correctness and safety of reward fund expenditures by identifying and addressing calculation errors, thereby reducing the risk of financial loss in the formal environment.
Smart Images

Figure CN119090555A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method, device, equipment and storage medium for capital expenditure verification. Background Art
[0002] Software as a Service (SaaS) is a model that provides software services to different companies through the Internet, allowing users to use cloud-based applications through Internet connections. The marketing tools included in SaaS are more inclined to the implementation of marketing policies in the process of software operation services. In the process of implementing marketing policies, the reward funds generated by different business scenarios have a greater risk of loss. Summary of the invention
[0003] In view of this, the present invention provides a method, device, equipment and storage medium for fund expenditure verification to solve the problem that in the process of implementing marketing policies, there is a greater risk of loss in the reward fund expenditure generated in different business scenarios.
[0004] In a first aspect, the present invention provides a method for verifying fund expenditures, the method comprising: obtaining target reward fund settlement data generated by an order matching a business scenario rule; obtaining reward fund preliminary settlement data based on a hit rule of the business scenario, a statistical dimension corresponding to the business scenario, and a time dimension corresponding to the business scenario in the business data generated by the business scenario; and verifying the correctness of the target reward fund settlement data based on the target reward fund settlement data and the reward fund preliminary settlement data.
[0005] In an optional implementation, in the business data generated by the business scenario, based on the hit rule of the business scenario, the statistical dimension corresponding to the business scenario and the time dimension corresponding to the business scenario, the reward fund pre-settlement data is obtained, including: the statistical dimension includes: driver identifier, order number and order amount; multiple first order records matching the hit rule are obtained; among the multiple first order records, a second order record is obtained by screening based on the driver identifier and the time dimension;
[0006] The number of the second order records is obtained based on the order number; the first preliminary settlement data is obtained based on the order amount represented by each second order record; and the reward fund preliminary settlement data is obtained based on the hit rule and the first preliminary settlement data.
[0007] In an optional embodiment, target reward fund settlement data generated by orders matching business scenario rules is obtained, including: the business scenario rules include at least one of the following: a driver identifier, travel time, and a driver type identifier; and the target reward fund settlement data is calculated based on a software development kit.
[0008] In an optional embodiment, based on the target reward fund settlement data and the reward fund pre-settlement data, the correctness of the target reward fund settlement data is verified, including: if the target reward fund settlement data is the same as the reward fund pre-settlement data, the target reward fund settlement data is correct; if the target reward fund settlement data is different from the reward fund pre-settlement data, an abnormal alarm is issued.
[0009] In an optional implementation, the business scenarios include: an order-improvement reward settlement business scenario, a duration reward settlement business scenario, a turnover reward settlement business scenario, a commission-free reward settlement business scenario, and a guaranteed reward settlement business scenario.
[0010] In an optional embodiment, the business data generated by the business scenario includes one or more of: a driver identifier, a business scenario identifier, a business type identifier, an order number, a driver type identifier, travel time, and an order amount.
[0011] In an optional embodiment, in the business data generated by the business scenario, the reward fund pre-settlement data is obtained based on the hit rules of the business scenario, the statistical dimensions corresponding to the business scenario, and the time dimensions corresponding to the business scenario, including: if the business scenario is the commission-free reward settlement business scenario, in the business data generated by the commission-free reward settlement business scenario, the reward fund pre-settlement data is obtained by real-time calculation based on the hit rules of the commission-free reward settlement business scenario and the statistical dimensions corresponding to the commission-free reward settlement business scenario.
[0012] In a second aspect, the present invention provides a device for verifying fund expenditures, the device comprising: a first settlement module, for obtaining target reward fund settlement data generated by an order that matches a business scenario rule; a second settlement module, for obtaining reward fund preliminary settlement data from the business data generated by the business scenario based on the hit rule of the business scenario, the statistical dimension corresponding to the business scenario, and the time dimension corresponding to the business scenario; a verification module, for verifying the correctness of the target reward fund settlement data based on the target reward fund settlement data and the reward fund preliminary settlement data.
[0013] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method for verifying fund expenditures of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0014] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for verifying fund expenditures of the above-mentioned first aspect or any corresponding embodiment thereof.
[0015] By comparing the target reward fund settlement data generated by executing the marketing strategy with the reward fund preliminary settlement data obtained based on business data statistics, it is possible to verify whether the target reward fund settlement data is correct. The reward fund expenditure generated by the order can be checked for correctness, and it is possible to timely and effectively identify whether the reward fund expenditure is safe, thereby ensuring the security of the reward fund expenditure. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the related technologies, the drawings required for use in the specific embodiments or the related technical descriptions will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 A schematic diagram of a flow chart of a method for verifying fund expenditure provided by an embodiment of the present invention is shown;
[0018] Figure 2 A schematic diagram of the calculation process of the guaranteed reward activity is shown;
[0019] Figure 3 Another schematic flow chart of a method for verifying fund expenditure is shown;
[0020] Figure 4 Another schematic diagram of a method for verifying fund expenditure is shown;
[0021] Figure 5 A schematic diagram of the structure of a device for verifying fund expenditure provided by an embodiment of the present invention is shown;
[0022] Figure 6 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0024] For the testing methods related to funds in the marketing process, the focus is mainly on ensuring the correctness of the core link functions of the marketing activities, such as the matching of the rules of the marketing activities themselves, or the calculation of the software development kit, etc. The relevant technology lacks the verification of whether the reward fund distribution results after the execution of different marketing activity strategies are correct after the marketing activity function is iterated and launched.
[0025] According to an embodiment of the present invention, a method embodiment for fund expenditure verification is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0026] In this embodiment, a method for verifying fund expenditure is provided, which can be used for a mobile terminal, such as a mobile phone, a desktop computer, or a tablet computer, etc. Figure 1 A schematic diagram of a method for verifying fund expenditures provided by an embodiment of the present invention is shown. Figure 1 As shown, the process includes the following steps:
[0027] Step S101, obtaining target reward fund settlement data generated by orders matching business scenario rules.
[0028] Different business scenario rules are set for different marketing strategies, and business scenario rules are determined based on marketing strategies. The target reward fund settlement data is the additional reward funds paid to the driver in addition to the turnover amount represented by the orders that match the business scenario rules. If there is no order that matches the business scenario rules, the target reward fund settlement data will not be generated.
[0029] In a specific embodiment, the guaranteed minimum reward settlement rules are determined based on the guaranteed minimum marketing strategy, or the new customer acquisition reward settlement rules are determined based on the new customer acquisition marketing strategy.
[0030] Specifically, the rules of the guaranteed marketing strategy can be set as follows: 12 hours of driving, 35 orders completed, and a minimum turnover of 530 yuan on the driver side; accordingly, the guaranteed reward settlement rules can be set as follows: obtain the guaranteed orders with target drivers online for more than or equal to 12 hours and the number of completed orders greater than or equal to 35 orders, obtain the turnover amount represented by the guaranteed orders, if the turnover amount represented by the guaranteed orders is greater than or equal to 530 yuan, then there is no order that matches the guaranteed reward settlement rules; if the turnover amount represented by the guaranteed orders is less than 530 yuan, then the target reward fund settlement data is the difference between the turnover amount represented by the guaranteed orders and 530 yuan, if the turnover amount represented by the guaranteed orders is 500 yuan, then the target reward fund settlement data generated by the orders that match the guaranteed business scenario rules is 30 yuan. The above are only specific examples, which can be flexibly set according to user needs in practical applications and are not limited here.
[0031] Step S102, in the business data generated by the business scenario, based on the hit rule of the business scenario, the statistical dimension corresponding to the business scenario and the time dimension corresponding to the business scenario, obtain the pre-settlement data of the reward funds.
[0032] The business data generated by the business scenario refers to the data records generated by the driver based on the order acceptance and delivery of the online car-hailing platform, including one or more of the following: driver identifier (driverID), business scenario identifier (activityID), business type identifier (activityType), order number (order), driver type identifier (driverTag), travel time (Time) and order amount (Water). The hit rule of the business scenario is to determine whether the data record meets the business scenario rule.
[0033] Specifically, for guaranteed activities, it is necessary to determine whether the data record meets the guaranteed reward settlement business scenario. If the data record meets the guaranteed reward settlement business scenario, the data record is hit by the guaranteed reward settlement business scenario. For commission-free marketing strategies, it is necessary to determine whether the data record meets the commission-free reward settlement business scenario. If the data record meets the commission-free reward settlement business scenario, the data record is hit by the commission-free reward settlement business scenario.
[0034] Step S103, based on the target reward fund settlement data and the reward fund pre-settlement data, verify the correctness of the target reward fund settlement data.
[0035] Among them, if the target reward fund settlement data is the same as the reward fund pre-settlement data, the target reward fund settlement data is correct; if the target reward fund settlement data is different from the reward fund pre-settlement data, an abnormal alarm is issued. In the case where the target reward fund settlement data is different from the reward fund pre-settlement data, manual intervention can be carried out to investigate. The alarm group of R&D and test personnel can be reached through DingTalk, and manual intervention can be carried out to investigate the cause, obtain the investigation conclusion, follow up on the problem repair or optimize the calculation logic. You can also notify the corresponding person in charge to investigate by phone or text message.
[0036] The method for verifying fund expenditures provided in this embodiment verifies whether the target reward fund settlement data is correct by comparing the target reward fund settlement data generated by executing the marketing strategy with the reward fund preliminary settlement data obtained based on business data statistics; the correctness of fund expenditures can be verified, and whether the fund expenditures are safe can be identified in a timely and effective manner to ensure the safety of fund expenditures; it can solve the fund security control of travel service SaaS platform marketing tools in various business scenarios and achieve early perception of fund loss risks.
[0037] In some optional embodiments, in the business data generated by the business scenario, based on the hit rules of the business scenario, the statistical dimensions corresponding to the business scenario, and the time dimension corresponding to the business scenario, the reward fund pre-settlement data is obtained, including: the statistical dimensions include: driver identifier, order number and order amount; multiple first order records matching the hit rules are obtained; among the multiple first order records, second order records are obtained by filtering based on the driver identifier and the time dimension; the number of second order records is obtained based on the order number; the first pre-settlement data is obtained based on the order amount represented by each second order record; the reward fund pre-settlement data is obtained based on the hit rules and the first pre-settlement data.
[0038] Figure 2 The following is a schematic diagram showing the calculation process of the guaranteed reward activity. Figure 2 As shown, in this embodiment, the software development kit (Software Development Kit, SDK for short), step S201: activity configuration & SDK calculation, according to the marketing activity configuration and the software development kit calculation, obtain the reward amount W1 for a single driver and a single activity; specifically including: configuring the minimum guarantee activity as a minimum guarantee rule condition, for example, storing the order, time period, order quantity, driver and flow hit conditions into a relational database management system (mysql); judging whether the SDK calculation result matches the minimum guarantee rule condition, if the SDK calculation result matches the minimum guarantee rule condition, calling the financial settlement, the driver sends out the vehicle, ending the order, and obtaining the minimum guarantee activity target reward fund settlement data, that is, the minimum guarantee activity reward amount W1 for a single driver and a single activity; if the SDK calculation result does not match the minimum guarantee rule condition, no reward funds will be issued.
[0039] Step S202: asset loss prevention and control & data calculation. In MySQL, obtain multiple first order records that match the hit rule of the guaranteed activity. Among the multiple first order records, filter out the second order record based on the target driver identifier and the time dimension in the guaranteed rule condition, that is, determine whether the configured duration H of the guaranteed activity is less than or equal to the actual driving duration h of the target driver. When the configured duration H of the guaranteed activity is less than or equal to the actual driving duration h of the target driver, obtain the number of second order records based on the order number, that is, the actual order volume a of the target driver. Determine whether the qualified order volume A of the guaranteed activity is less than or equal to the actual order volume a of the target driver. When the qualified order volume A of the guaranteed activity is less than or equal to the actual order volume a of the target driver, calculate the first pre-settlement data w, that is, the actual turnover w of the target driver. Determine whether the guaranteed amount W configured for the guaranteed activity is greater than the actual turnover w of the target driver. When the guaranteed amount W configured for the guaranteed activity is greater than the actual turnover w of the target driver, obtain the guaranteed winning amount W2 for a single driver for a single activity, that is, the pre-settlement data of the reward funds.
[0040] Step S203: Result output & reach, determine whether W1 and W2 are equal. If they are equal, it meets business expectations. If they are not equal, DingTalk reaches the R&D and test personnel alarm group, manually intervenes to investigate the cause, outputs the investigation conclusion, follows up on the problem repair or optimizes the calculation logic.
[0041] In this way, by verifying the data dimension of the reward amount generated by the guaranteed activity rules, calculation errors caused by human factors, environmental factors or data factors in the testing phase can be avoided, and real financial losses in the formal environment caused by calculation errors can be avoided, thereby greatly protecting the safety of customer funds.
[0042] In some optional embodiments, target reward fund settlement data generated by orders matching business scenario rules are obtained, including: the business scenario rules include at least one of the following: a driver identifier, a travel time, and a driver type identifier; and the target reward fund settlement data is calculated based on a software development kit.
[0043] In this embodiment, for the order-improvement reward settlement business scenario, the business scenario rules include: driver identifier and travel time; for the duration reward settlement business scenario, the business scenario rules include: travel time; for the turnover reward settlement business scenario, the business scenario rules include: driver identifier; for the commission-free reward settlement business scenario, the business scenario rules include: driver type identifier; for the guaranteed reward settlement business scenario, the business scenario rules include: driver identifier, travel time and driver type identifier.
[0044] The target reward fund settlement data is calculated based on a software development toolkit, which can be a toolkit separately packaged in the business system to calculate whether the order quantity, flow, activities and drivers match each business scenario.
[0045] The reward amounts generated by the activity rules of each business scenario can be verified in data dimensions, which can avoid calculation errors caused by human factors, environmental factors or data factors during the testing phase, and avoid real financial losses in the formal environment caused by calculation errors, greatly protecting the safety of customer funds.
[0046] In some optional implementations, based on the target reward fund settlement data and the reward fund pre-settlement data, the correctness of the target reward fund settlement data is verified, including: if the target reward fund settlement data is the same as the reward fund pre-settlement data, the target reward fund settlement data is correct; if the target reward fund settlement data is different from the reward fund pre-settlement data, an abnormal alarm is issued. With the increase in business volume, the risk of unpredictable capital loss caused by the expanded capital exposure can be reduced.
[0047] In some optional implementations, the business scenarios include: order-improvement reward settlement business scenarios, duration reward settlement business scenarios, turnover reward settlement business scenarios, commission-free reward settlement business scenarios, and guaranteed reward settlement business scenarios.
[0048] In this embodiment, the order-pushing reward settlement business scenario is used to characterize the usage rules and reward amount calculation rules of the driver's order-pushing reward activity. For example, the order-pushing reward amount calculation rule may be, but is not limited to, the driver completes the preset order quantity within the preset travel time, and the driver is rewarded with a preset amount. The time-length reward settlement business scenario is used to characterize the usage rules and reward amount calculation rules of the driver's time-length reward activity. For example, the time-length reward amount calculation rule may be, but is not limited to, the driver's online time within the preset time period meets the preset requirements, and the driver is rewarded with a certain amount. The turnover reward settlement business scenario is used to characterize the usage rules and reward amount calculation rules of the driver's turnover reward activity. For example, the turnover reward amount calculation rule may be, but is not limited to, the turnover amount of the driver's order meets the preset conditions, and the driver is rewarded with a preset amount. The commission-free reward settlement business scenario is used to characterize the usage rules and reward amount calculation rules of the driver's commission-free reward activity. For example, the commission-free reward amount calculation rule may be, but is not limited to, within the preset time period, the commission extracted by the platform itself is rewarded to the driver. The guaranteed reward settlement business scenario is used to characterize the usage rules and reward amount calculation rules of the driver's guaranteed reward activity. For example, the calculation rule of the guaranteed reward amount may be, but is not limited to, if the driver completes a preset number of orders within a preset period, the driver is rewarded with a preset amount. The above is only a specific example, and in actual application, it can be flexibly set according to actual needs and is not limited here.
[0049] In some optional implementations, the business data generated by the business scenario includes one or more of: a driver identifier, a business scenario identifier, a business type identifier, an order number, a driver type identifier, a travel time, and an order amount, so that the method can adapt to the reward fund settlement correctness verification requirements in various business scenarios.
[0050] In some optional embodiments, in the business data generated by the business scenario, the bonus fund pre-settlement data is obtained based on the hit rules of the business scenario, the statistical dimensions corresponding to the business scenario, and the time dimensions corresponding to the business scenario, including: if the business scenario is a commission-free bonus settlement business scenario, in the business data generated by the commission-free bonus settlement business scenario, the bonus fund pre-settlement data is obtained by real-time calculation based on the hit rules of the commission-free bonus settlement business scenario and the statistical dimensions corresponding to the commission-free bonus settlement business scenario.
[0051] In this embodiment, for the guaranteed reward settlement business scenario, the settlement data can be stored in the warehouse on a daily basis according to the dimensions of driver, order quantity and order amount, combined with the guaranteed activity hit rules. For the commission-free reward settlement business scenario, the correctness of the commission-free reward amount settlement data can be checked in real time according to the dimensions of driver, order quantity and order amount, combined with the commission-free activity hit rules. For the new customer acquisition reward settlement business scenario, the settlement data can be stored in the warehouse on a daily basis according to the dimensions of driver, order quantity and order amount, combined with the new customer acquisition activity hit rules.
[0052] Data storage is the process of storing data in a database, which includes data collection, organization, verification and storage. In this process, the structure and attributes of the data need to strictly match the fields of the database table to ensure the correctness of the data. It is also possible to build a separate verification strategy for the settlement of reward funds generated in different business scenarios.
[0053] In the business scenario of the commission-free marketing strategy, drivers can obtain travel orders issued by passengers through the platform, and the platform does not charge commissions for the orders. The business scenario rules can be: for the preset travel time, all drivers are exempted from transaction commissions; or, for drivers who meet the preset conditions, the drivers are exempted from transaction commissions within the preset travel time; or, the drivers are classified, and the transaction commissions are exempted for the target type of drivers; or, the drivers are classified, and the transaction commissions are exempted for the target type of drivers for orders within the preset travel time range.
[0054] In the business scenario of the guaranteed minimum marketing strategy, the target type of drivers are given orders within the preset travel time range, and rewards are given to the target drivers when the order volume meets the preset threshold. In the business scenario of the new customer marketing strategy, rewards are given to drivers who meet the preset conditions.
[0055] Figure 3 Another flow chart of the method for verifying fund expenditure is shown. Figure 3 As shown, step S301: activity strategy configuration can be used to sort out business scenarios for preventing financial losses according to the rules of different activity strategies, and to implement automated inspections according to the rules of different business scenarios. Step S202: Set the attributes of each activity rule, such as orders, flow or crowd. Step S303: Based on the rules of each business scenario and the driver, it can be determined whether the data record matches each business scenario. For the business scenario of real-time settlement, the message queue (MQ) can be monitored, or binlog synchronization can be performed. For the business scenario of offline settlement, the overall offline data can be statistically verified. If the data record matches each business scenario, it goes to step S305. If the data record does not match each business scenario, it goes to step S304. Step S304: No reward fund settlement, no expenditure. Step S305: Perform reward fund settlement. Step S306: Disburse reward funds.
[0056] Figure 4 Another flow chart of a method for verifying fund expenditure is shown. Figure 4 As shown, step S401: obtain the policy configuration rules for each business scenario, and obtain the test scenario for preventing the loss of reward funds. Step S402: obtain the factors for preventing the loss of reward funds, such as the number of orders, order amount, travel time or driver type, etc. Step S403: based on the factors for preventing the loss of reward funds, execute the pre-settlement rules to obtain the reward funds pre-settlement data result set. Step S404: obtain the target reward funds settlement data set, that is, the actual reward funds settlement data set. Step S405: determine whether the reward funds pre-settlement data result set and the actual reward funds settlement data set are the same, and if they are not the same, proceed to step S406. Step S406: issue an abnormal alarm.
[0057] By comparing the target reward fund settlement data generated by executing the marketing strategy with the reward fund preliminary settlement data obtained based on business data statistics, it is possible to verify whether the target reward fund settlement data is correct. The correctness of fund expenditure can be verified, and the safety of fund expenditure can be identified in a timely and effective manner to ensure the safety of fund expenditure. It can solve the fund security control of travel service SaaS platform marketing tools in various business scenarios and achieve early perception of fund loss risks.
[0058] In this embodiment, a device for capital expenditure verification is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made are not repeated here. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0059] Figure 5 The schematic diagram of the structure of the device for verifying fund expenditure provided by the embodiment of the present invention is shown. This embodiment provides a device for verifying fund expenditure, such as Figure 5 As shown, including:
[0060] The first settlement module 501 is used to obtain target reward fund settlement data generated by orders matching the business scenario rules.
[0061] The second settlement module 502 is used to obtain the pre-settlement data of the reward funds from the business data generated by the business scenario based on the hit rule of the business scenario, the statistical dimension corresponding to the business scenario and the time dimension corresponding to the business scenario.
[0062] The verification module 503 is used to verify the correctness of the target reward fund settlement data based on the target reward fund settlement data and the reward fund pre-settlement data.
[0063] In some optional implementations, the second settlement module 502 includes:
[0064] The first unit of the second settlement module is used for statistical dimensions including: driver identifier, order number and order amount; obtaining multiple first order records that match the hit rule; filtering out second order records among the multiple first order records based on the driver identifier and time dimension; obtaining the number of second order records based on the order number; obtaining first preliminary settlement data based on the order amount represented by each second order record; obtaining reward fund preliminary settlement data based on the hit rule and the first preliminary settlement data.
[0065] In some optional implementations, the first settlement module 501 includes:
[0066] The first unit of the first settlement module is used for business scenario rules including at least one of the following: a driver identifier, a travel time, and a driver type identifier; and calculating target reward fund settlement data based on a software development kit.
[0067] In some optional implementations, the verification module 503 includes:
[0068] The first unit of the verification module is used to check if the target reward fund settlement data is the same as the reward fund pre-settlement data, and the target reward fund settlement data is correct; if the target reward fund settlement data is different from the reward fund pre-settlement data, an abnormal alarm will be issued.
[0069] In some optional implementations, the second settlement module 502 further includes:
[0070] The second unit of the second settlement module is used to, if the business scenario is a commission-free reward settlement business scenario, calculate the reward fund pre-settlement data in real time based on the hit rules of the commission-free reward settlement business scenario and the statistical dimensions corresponding to the commission-free reward settlement business scenario, from the business data generated by the commission-free reward settlement business scenario.
[0071] The device for verifying fund expenditure provided by the embodiment of the present invention verifies whether the target reward fund settlement data is correct by comparing the target reward fund settlement data generated by executing the marketing strategy with the reward fund preliminary settlement data obtained based on business data statistics; the correctness of the reward fund expenditure generated by the order can be verified, and whether the reward fund expenditure is safe can be identified in a timely and effective manner, thereby ensuring the safety of the reward fund expenditure.
[0072] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0073] The device for verifying fund expenditure in this embodiment is presented in the form of a functional unit, where the unit refers to an application specific integrated circuit (ASIC) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0074] The embodiment of the present invention also provides a computer device having the above Figure 5 The apparatus shown is used for funds expenditure verification.
[0075] See also Figure 6 , Figure 6 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 6As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the computer device, including instructions stored in or on the memory to display graphical information of a graphical user interface on an external input / output device (such as a display device coupled to an interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.
[0076] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0077] The aforementioned memory 20 stores instructions executable by at least one processor 10, so that the aforementioned at least one processor 10 executes the method shown in the above embodiment.
[0078] The memory 20 may 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 computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer 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.
[0079] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0080] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.
[0081] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (such as a light emitting diode) and a tactile feedback device (such as a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0082] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0083] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0084] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for verifying fund expenditure, characterized in that: The method comprises: Obtain target reward fund settlement data generated by orders matching business scenario rules; In the business data generated by the business scenario, based on the hit rule of the business scenario, the statistical dimension corresponding to the business scenario and the time dimension corresponding to the business scenario, the reward fund pre-settlement data is obtained; Based on the target reward fund settlement data and the reward fund preliminary settlement data, the correctness of the target reward fund settlement data is verified.
2. The method according to claim 1, characterized in that In the business data generated by the business scenario, based on the hit rule of the business scenario, the statistical dimension corresponding to the business scenario and the time dimension corresponding to the business scenario, the reward fund pre-settlement data is obtained, including: The statistical dimensions include: driver identifier, order number and order amount; Acquire multiple first order records matching the hit rule; Filtering the plurality of first order records based on the driver identifier and the time dimension to obtain a second order record; Obtaining the quantity of the second order record based on the order number; Obtaining first preliminary settlement data based on the order amount represented by each of the second order records; Based on the hit rule and the first pre-settlement data, the reward fund pre-settlement data is obtained.
3. The method according to claim 1 or 2, characterized in that: Get the target reward fund settlement data generated by the orders that match the business scenario rules, including: The business scenario rule includes at least one of the following: a driver identifier, a travel time, and a driver type identifier; The target reward fund settlement data is calculated based on a software development kit.
4. The method according to claim 3, characterized in that Based on the target reward fund settlement data and the reward fund pre-settlement data, verifying the correctness of the target reward fund settlement data includes: The target reward fund settlement data is the same as the reward fund pre-settlement data, and the target reward fund settlement data is correct; If the target reward fund settlement data is different from the reward fund pre-settlement data, an abnormal alarm is issued.
5. The method according to claim 1, characterized in that The business scenarios include: The business scenarios include settlement of order rewards, settlement of duration rewards, settlement of turnover rewards, settlement of commission-free rewards and settlement of guaranteed rewards.
6. The method according to claim 5, characterized in that The business data generated by the business scenario includes one or more of: a driver identifier, a business scenario identifier, a business type identifier, an order number, a driver type identifier, a travel time, and an order amount.
7. The method according to claim 5, characterized in that In the business data generated by the business scenario, based on the hit rule of the business scenario, the statistical dimension corresponding to the business scenario and the time dimension corresponding to the business scenario, the reward fund pre-settlement data is obtained, including: If the business scenario is the commission-free reward settlement business scenario, the reward fund pre-settlement data is calculated in real time based on the hit rules of the commission-free reward settlement business scenario and the statistical dimensions corresponding to the commission-free reward settlement business scenario, among the business data generated by the commission-free reward settlement business scenario.
8. A device for verifying fund expenditure, characterized in that: The device comprises: The first settlement module is used to obtain target reward fund settlement data generated by orders matching the business scenario rules; A second settlement module is used to obtain the reward fund pre-settlement data from the business data generated by the business scenario based on the hit rule of the business scenario, the statistical dimension corresponding to the business scenario and the time dimension corresponding to the business scenario; A verification module is used to verify the correctness of the target reward fund settlement data based on the target reward fund settlement data and the reward fund pre-settlement data.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for fund expenditure verification as described in any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for fund expenditure verification according to any one of claims 1 to 7.
Citation Information
Cited By
Financial checking system and method for online car-hailing order
CN120996959A
