CN117911088A - Method, system, electronic equipment and medium for deducting parking coupons - Google Patents
Method, system, electronic equipment and medium for deducting parking coupons Download PDFInfo
- Publication number
- CN117911088A CN117911088A CN202410131966.2A CN202410131966A CN117911088A CN 117911088 A CN117911088 A CN 117911088A CN 202410131966 A CN202410131966 A CN 202410131966A CN 117911088 A CN117911088 A CN 117911088A
- Authority
- CN
- China
- Prior art keywords
- amount
- parking
- coupon
- coupons
- merchant
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
- G06Q30/0213—Consumer transaction fees
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- Finance (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Economics (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
一种停车优惠券的抵扣方法、系统、电子设备及介质,涉及物联网技术技术领域。该方法包括:根据当前可用余额以及客流量,生成第一停车优惠券,并将第一停车优惠券的第一优惠金额确定为冻结金额,并在可用余额中冻结冻结金额;当目标用户使用第一停车优惠券时,判断第一优惠金额是否大于或等于目标用户在停车场的第一消费金额;若第一优惠金额是否大于或等于目标用户在停车场的第一消费金额,则核销冻结金额;若第一优惠金额小于目标用户在停车场的第一消费金额,则根据目标用户在商家端的第二消费金额补发第二停车优惠券。达到了根据用户停车费用,匹配实际抵扣的停车优惠券的效果。
A parking coupon deduction method, system, electronic device and medium, relating to the technical field of Internet of Things technology. The method comprises: generating a first parking coupon according to the current available balance and passenger flow, determining the first preferential amount of the first parking coupon as the frozen amount, and freezing the frozen amount in the available balance; when the target user uses the first parking coupon, judging whether the first preferential amount is greater than or equal to the first consumption amount of the target user in the parking lot; if the first preferential amount is greater than or equal to the first consumption amount of the target user in the parking lot, rewriting the frozen amount; if the first preferential amount is less than the first consumption amount of the target user in the parking lot, reissuing a second parking coupon according to the second consumption amount of the target user at the merchant end. The effect of matching the parking coupon actually deducted according to the user's parking fee is achieved.
Description
技术领域Technical Field
本申请涉及物联网技术领域,具体涉及一种停车优惠券的抵扣方法、系统、电子设备及介质。The present application relates to the technical field of Internet of Things, and in particular to a parking coupon deduction method, system, electronic device and medium.
背景技术Background technique
随着城市化进程的加速和汽车产业的发展,越来越多的人选择乘坐私人汽车出行,这导致了城市中的停车问题日益突出。尤其在商业区,良好的停车设施和优惠政策不仅能够为客户提供便利,还能有效吸引更多的客流,提升商家的营业额。因此,许多商家开始推出各种停车优惠券,以减轻客户的停车费用负担。With the acceleration of urbanization and the development of the automobile industry, more and more people choose to travel by private car, which leads to increasingly prominent parking problems in cities. Especially in commercial areas, good parking facilities and preferential policies can not only provide convenience for customers, but also effectively attract more customers and increase the turnover of businesses. Therefore, many businesses have begun to launch various parking coupons to reduce the parking fee burden on customers.
目前,现有停车优惠券的抵扣方法通常是固定的,商家提前设定优惠券的面额向用户进行发放,当用户停车后,可使用优惠券抵扣一定的停车费用。但是在实际应用中,用户缴纳停车费时,由于采用先扣后用的方式发放优惠券,无法预估用户的停车费用,往往会导致派发的优惠券面额与实际停车费用不匹配。At present, the deduction method of existing parking coupons is usually fixed. Merchants set the face value of coupons in advance and issue them to users. When users park, they can use the coupons to deduct a certain amount of parking fees. However, in actual applications, when users pay parking fees, since coupons are issued in a first-deduction-then-use manner, it is impossible to estimate the user's parking fees, which often leads to a mismatch between the face value of the coupons issued and the actual parking fees.
发明内容Summary of the invention
本申请提供了一种停车优惠券的抵扣方法、系统、电子设备及介质,具有根据用户停车费用,匹配实际抵扣的停车优惠券的效果。The present application provides a parking coupon deduction method, system, electronic device and medium, which has the effect of matching the actual deduction parking coupon according to the user's parking fee.
第一方面,本申请提供了一种停车优惠券的抵扣方法,包括:In a first aspect, the present application provides a parking coupon deduction method, comprising:
根据当前可用余额以及客流量,生成第一停车优惠券,并将所述第一停车优惠券的第一优惠金额确定为冻结金额,并在所述可用余额中冻结所述冻结金额;generating a first parking coupon according to the current available balance and the passenger flow, determining a first preferential amount of the first parking coupon as a frozen amount, and freezing the frozen amount in the available balance;
当所述目标用户使用所述第一停车优惠券时,判断所述第一优惠金额是否大于或等于所述目标用户在停车场的第一消费金额;When the target user uses the first parking coupon, determining whether the first discount amount is greater than or equal to the first consumption amount of the target user in the parking lot;
若所述第一优惠金额是否大于或等于所述目标用户在停车场的第一消费金额,则核销所述冻结金额;If the first preferential amount is greater than or equal to the first consumption amount of the target user in the parking lot, the frozen amount is cancelled;
若所述第一优惠金额小于所述目标用户在停车场的第一消费金额,则根据所述目标用户在所述商家端的第二消费金额补发第二停车优惠券。If the first preferential amount is less than the first consumption amount of the target user in the parking lot, a second parking coupon is reissued according to the second consumption amount of the target user at the merchant end.
通过采用上述技术方案,对首轮停车优惠券面值的智能确定和冻结对应金额,实现了资金使用的精准化,既满足了首次使用的支付需求,又防止了余额不足的风险。当用户消费发生后,系统可以核对优惠券抵扣的实际金额,实现准确的冻结金额核销,避免资金被重复或错误冻结,提升了资金使用效率。在首轮优惠券无法完全支付用户停车费用的情况下,系统可以快速捕捉并获取用户的剩余费用,进行等额的第二轮补充优惠券发放。通过该技术方案,采用先用后扣的方式派发优惠券,根据停车场用户实际的停车费用进行优惠券的派发和抵扣,并能在抵扣停车费用后回收未抵扣的优惠券金额返回商家,能够使停车场物业端能更清晰查看为商家提供优惠券金额的明细,商家能够更清晰了解优惠券的实际抵扣金额,提高了优惠券派发的数据透明性,达到优惠券派发金额与实际停车费用匹配,实抵实销的效果。By adopting the above technical solution, the face value of the first round of parking coupons is intelligently determined and the corresponding amount is frozen, which realizes the precise use of funds, meets the payment needs of the first use, and prevents the risk of insufficient balance. After the user consumes, the system can check the actual amount of the coupon deduction, realize accurate write-off of the frozen amount, avoid repeated or erroneous freezing of funds, and improve the efficiency of fund use. In the case that the first round of coupons cannot fully pay the user's parking fee, the system can quickly capture and obtain the user's remaining fee and issue a second round of supplementary coupons of the same amount. Through this technical solution, coupons are distributed in a first-use-then-deduction manner, and coupons are distributed and deducted according to the actual parking fees of parking lot users. After deducting the parking fees, the undeducted coupon amount can be recovered and returned to the merchant, which enables the parking lot property end to more clearly view the details of the coupon amount provided to the merchant, and the merchant can more clearly understand the actual deduction amount of the coupon, which improves the data transparency of coupon distribution, and achieves the effect of matching the coupon distribution amount with the actual parking fee and actual deduction and actual sales.
可选的,将历史停车优惠券派发数量、历史停车优惠券派发金额以及历史客流量发生至管辖所述停车场的物业端,以使所述物业端根据所述历史停车优惠券派发数量、所述历史停车优惠券派发金额以及所述历史客流量确定所述可用余额;接收所述物业端分配的所述可用余额。Optionally, the historical number of parking coupons distributed, the historical amount of parking coupons distributed, and the historical passenger flow are transmitted to the property end that has jurisdiction over the parking lot, so that the property end determines the available balance based on the historical number of parking coupons distributed, the historical amount of parking coupons distributed, and the historical passenger flow; and receives the available balance allocated by the property end.
通过采用上述技术方案,建立商家端和物业端之间的数据连接,实现了双方在停车优惠券管理中的协同配合。商家端主动汇总提供历史发券和客流等关键业务数据,使物业端可以更准确地评估分析商家的资金需求,据此确定一个既符合商家实际又兼顾风险的可用余额额度,再将该额度直接划拨给商家端使用。这种业务数据支持下的余额确定方式,不仅提高了资金使用效率,也减少了商家自身因为预测错误导致的资金风险。明确的分工也使双方可以各自专注所长,在效率上获得提升。借助物业端的专业资金管理能力,商家可以提供更稳定高效的停车场支付服务,不仅完善了支付体系,最终也可以提升用户的停车消费体验。因此,该方案增强了商家和物业的业务协同性,有利于双方共同提升支付服务的质量和效率。By adopting the above technical solution, a data connection is established between the merchant side and the property side, and the two sides can cooperate in the management of parking coupons. The merchant side actively summarizes and provides key business data such as historical coupon issuance and passenger flow, so that the property side can more accurately evaluate and analyze the merchant's capital needs, and determine an available balance amount that is both in line with the merchant's actual situation and takes into account the risk, and then directly allocate the amount to the merchant side for use. This balance determination method supported by business data not only improves the efficiency of capital use, but also reduces the capital risk of the merchant itself due to forecasting errors. The clear division of labor also allows both parties to focus on their strengths and improve efficiency. With the help of the professional capital management capabilities of the property side, merchants can provide more stable and efficient parking payment services, which not only improves the payment system, but also ultimately improves the user's parking consumption experience. Therefore, this solution enhances the business synergy between merchants and properties, which is conducive to both parties to jointly improve the quality and efficiency of payment services.
可选的,根据所述客流量,预测停车优惠券消费金额,并确定所述停车优惠券消费金额与所述可用余额之间的目标占比;根据所述目标占比,生成所述第一停车优惠券。Optionally, based on the passenger flow, a parking coupon consumption amount is predicted, and a target ratio between the parking coupon consumption amount and the available balance is determined; and based on the target ratio, the first parking coupon is generated.
通过采用上述技术方案,评估停车优惠券的消费金额,这样就可以清晰地了解本期发放券所需的大概资金数额。在明确资金需求规模后,进一步结合可用余额确定目标占比,即实现消费预估金额和可用余额之间的动态平衡,既满足发放需求,又保证了资金安全。在此基础上生成面值丰富的停车优惠券,可以使券值既符合占比要求,也提高使用方便性。因为面值合理,所以可以有效减少首轮使用后出现的资金不足情况,保证后续的支付平稳运行。该方案使商家可以依托精确的数据预测,实时调节资金的投入强度,不仅管理更加精细化,资金使用效率也显著提升。同时也可以把控优惠力度,达到资源利用和营销效果的双丰收。综上所述,该方案可以显著提升商家的停车优惠券管理水平,使商家在满足用户支付体验的同时,也实现自身资金使用效率的最大化。By adopting the above technical solution, the consumption amount of parking coupons is evaluated, so that the approximate amount of funds required for issuing coupons in this period can be clearly understood. After clarifying the scale of capital demand, the target proportion is further determined in combination with the available balance, that is, a dynamic balance between the estimated consumption amount and the available balance is achieved, which not only meets the issuance needs but also ensures the safety of funds. On this basis, parking coupons with rich face values are generated, so that the coupon value can meet the proportion requirements and improve the convenience of use. Because the face value is reasonable, it can effectively reduce the shortage of funds after the first round of use and ensure the smooth operation of subsequent payments. This solution enables merchants to rely on accurate data forecasts to adjust the investment intensity of funds in real time, which not only makes management more refined, but also significantly improves the efficiency of fund use. At the same time, the discount intensity can also be controlled to achieve a double harvest of resource utilization and marketing effects. In summary, this solution can significantly improve the management level of merchants' parking coupons, so that merchants can maximize their own fund use efficiency while satisfying the user's payment experience.
可选的,确定所述冻结金额与所述第一消费金额之间的金额差;在所述冻结金额中,将所述金额差返回至所述商家端的所述可用余额。Optionally, determine the amount difference between the frozen amount and the first consumption amount; and return the amount difference in the frozen amount to the available balance at the merchant end.
通过采用上述技术方案,计算冻结金额和实际消费金额的差值,可以清楚看到用户实际使用的优惠资金数额。将这部分不需要冻结的余额释放回商家的可用余额账户,这样就可以避免资金被长期锁定却又无法使用的情况,提升了资金使用效率。增加的可用余额可以支持商家后续的支付需求,保证支付体系平稳运行。返回的差额也反映出当前优惠券使用的情况,商家可以据此评估和调整优惠活动策略,作为未来决策的依据。实时调节可用余额和冻结余额,可以保持两者动态平衡,降低支付风险,也避免可用余额过多或过少的问题,实现资金合理分配,使商家可以进行更精细和高效的用户体验管理。综上所述,该方案实现了资金使用效率的提升和支付风险的控制,有利于商家提供更优质的支付服务和用户体验。By adopting the above technical solution, the difference between the frozen amount and the actual consumption amount is calculated, and the amount of preferential funds actually used by the user can be clearly seen. The balance that does not need to be frozen is released back to the merchant's available balance account, so that the funds can be prevented from being locked for a long time but cannot be used, and the efficiency of fund use can be improved. The increased available balance can support the merchant's subsequent payment needs and ensure the smooth operation of the payment system. The returned difference also reflects the current use of coupons. Merchants can evaluate and adjust the preferential activity strategy based on this as a basis for future decision-making. Real-time adjustment of the available balance and the frozen balance can maintain a dynamic balance between the two, reduce payment risks, avoid the problem of too much or too little available balance, realize reasonable allocation of funds, and enable merchants to carry out more refined and efficient user experience management. In summary, the solution achieves the improvement of fund use efficiency and the control of payment risks, which is conducive to merchants providing better payment services and user experience.
可选的,根据所述停车优惠券消费金额和所述第一消费金额,确定优惠金额差;判断所述优惠金额差是否小于预设金额差;若所述优惠金额差小于所述预设金额差,则补发所述优惠金额差对应的所述第二停车优惠券;若所述优惠金额差大于所述预设金额差,则根据所述第二消费金额匹配对应的所述第二停车优惠券。Optionally, a discount amount difference is determined based on the parking coupon consumption amount and the first consumption amount; and it is determined whether the discount amount difference is less than a preset amount difference; if the discount amount difference is less than the preset amount difference, the second parking coupon corresponding to the discount amount difference is reissued; if the discount amount difference is greater than the preset amount difference, the corresponding second parking coupon is matched according to the second consumption amount.
通过采用上述技术方案,计算出用户的优惠金额差,可以明确知道用户具体的剩余支付需求。在明确差额后,可以根据差额大小进行灵活处理,如果差额很小,则直接等额补发第二轮停车券,简化操作流程,提高处理效率。而如果差额较大,则需要匹配面值更加合适的第二轮停车券补发给用户,这样可以防止补发的券值过多或过少的问题,实现面值与用户实际需求的精准匹配。这样可以兼顾处理效率,也实现精准管理,最大程度满足不同情况下的用户支付需求,保证支付体系的顺畅运行。合理面值的补发可以提高资金使用效率,减少补发券造成的额外成本。用户的停车缴费体验也因此得到优化和提升。该方案实现了对商家停车优惠券补发管理的优化,使商家可以高效、精准地响应用户支付需求的变化,不仅增强了用户粘性,也为商家在竞争中取得优势。By adopting the above technical solution, the user's preferential amount difference is calculated, and the user's specific remaining payment needs can be clearly known. After the difference is determined, it can be flexibly handled according to the size of the difference. If the difference is very small, the second round of parking coupons with the same amount will be directly reissued to simplify the operation process and improve the processing efficiency. If the difference is large, it is necessary to match the second round of parking coupons with a more appropriate face value to reissue them to the user. This can prevent the problem of too much or too little reissued coupons and achieve an accurate match between the face value and the actual needs of the user. This can take into account processing efficiency and achieve precise management, meet the payment needs of users in different situations to the greatest extent, and ensure the smooth operation of the payment system. The reissue of reasonable face value can improve the efficiency of capital use and reduce the additional costs caused by the reissue of coupons. The user's parking payment experience is also optimized and improved. This solution optimizes the management of merchant parking coupon reissue, allowing merchants to respond efficiently and accurately to changes in user payment needs, which not only enhances user stickiness, but also gives merchants an advantage in competition.
可选的,判断所述商家端的所述可用额度是否小于预设额度;若所述商家端的所述可用额度小于预设额度,则获取所述商家端当天的剩余营业时间;根据所述剩余营业时间,预测对应的临时补充额度,并将所述临时补充额度对应的余额补充至所述商家端的所述可用余额。Optionally, determine whether the available credit limit at the merchant end is less than the preset credit limit; if the available credit limit at the merchant end is less than the preset credit limit, obtain the remaining business hours of the merchant end on that day; based on the remaining business hours, predict the corresponding temporary supplementary credit limit, and add the balance corresponding to the temporary supplementary credit limit to the available balance at the merchant end.
通过采用上述技术方案,实时监控商家端余额使用情况,当可用余额低于预设安全额度时,可以自动获取商家当前的剩余营业时间。基于剩余时间,可以精确预测在当前时间段内可能发生的额外支付交易金额。从新的交易中提取对应的金额,补充充实至商家端的可用余额中。实现了对余额使用情况的动态监控,并可以主动、精准地补充余额,既保证了后续时间内的支付需求可以得到满足,也避免了资金被过度冻结而出现资金利用率下降的情况。主动、智能补充余额方式也降低了人工作业成本。商家可以依托该智能补余模式,避免闭店时出现余额突然不足的情况,保障支付体系平稳高效运行,带来更好的消费者体验。该方案整体实现了商家余额的动态、精准管理,不仅优化了资金使用效率,也使商家可以更好地建立品牌信任度,以差异化营销策略提升商业价值。By adopting the above technical solution, the balance usage of the merchant side is monitored in real time. When the available balance is lower than the preset safety limit, the merchant's current remaining business hours can be automatically obtained. Based on the remaining time, the amount of additional payment transactions that may occur in the current time period can be accurately predicted. The corresponding amount is extracted from the new transaction and supplemented to the available balance on the merchant side. Dynamic monitoring of the balance usage is achieved, and the balance can be replenished actively and accurately, which not only ensures that the payment needs in the subsequent time can be met, but also avoids the situation where the funds are over-frozen and the utilization rate of funds decreases. The active and intelligent balance replenishment method also reduces the cost of manual labor. Merchants can rely on this intelligent balance replenishment mode to avoid the situation where the balance is suddenly insufficient when the store is closed, ensure the smooth and efficient operation of the payment system, and bring better consumer experience. The overall solution realizes the dynamic and accurate management of the merchant balance, which not only optimizes the efficiency of fund use, but also enables merchants to better establish brand trust and enhance commercial value with differentiated marketing strategies.
可选的,获取所述第一停车优惠券中未核销停车优惠券的发放时长;判断所述发放时长是否超出所述第一停车优惠券对应的预设有效期;若所述发放时长超出所述预设有效期,则将所述未核销停车优惠券作为失效,并将所述未核销停车优惠券对应的目标额度返回至所述商家端的所述可用余额。Optionally, obtain the issuance period of the unredeemed parking coupon in the first parking coupon; determine whether the issuance period exceeds the preset validity period corresponding to the first parking coupon; if the issuance period exceeds the preset validity period, treat the unredeemed parking coupon as invalid, and return the target amount corresponding to the unredeemed parking coupon to the available balance of the merchant end.
通过采用上述技术方案,获取未核销停车优惠券的具体发放时长,可以判断出其中已超过预设有效期的券,并将这些超期券全部标记为失效状态。对于这些失效的优惠券,可以自动解除其对应的金额冻结,并返回至商家端的可用余额账户中。这样就可以避免资金被长期冻结但又无法使用的情况,提升了资金使用效率。增加的可用余额可以为后续的支付需求提供支撑,保证支付体系稳定运行。返回的冻结资金也便于商家进行更精细化的可用余额监控和管理。分析未核销券数据,也可以帮助商家评估调整当前的发券策略,以提高发券管理水平。该方案实现了对未核销优惠券有效期的动态监控,不仅回收了资源,提升了券的使用效率,也显著优化了商家端资金的配置效率,降低了支付成本。By adopting the above technical solution, the specific issuance time of uncancelled parking coupons can be obtained, and the coupons that have exceeded the preset validity period can be determined, and all these expired coupons can be marked as invalid. For these expired coupons, the corresponding amount can be automatically unfrozen and returned to the available balance account on the merchant side. In this way, it is possible to avoid the situation where funds are frozen for a long time but cannot be used, and improve the efficiency of fund use. The increased available balance can provide support for subsequent payment needs and ensure the stable operation of the payment system. The returned frozen funds also facilitate merchants to conduct more refined monitoring and management of available balances. Analyzing the data of uncancelled coupons can also help merchants evaluate and adjust the current coupon issuance strategy to improve the level of coupon issuance management. This solution realizes dynamic monitoring of the validity period of uncancelled coupons, which not only recycles resources and improves the efficiency of coupon use, but also significantly optimizes the allocation efficiency of merchant funds and reduces payment costs.
在本申请的第二方面提供了一种停车优惠券的抵扣系统。In a second aspect of the present application, a parking coupon redemption system is provided.
优惠券获取模块,用于根据当前可用余额以及客流量,生成第一停车优惠券,并将所述第一停车优惠券的第一优惠金额确定为冻结金额,并在所述可用余额中冻结所述冻结金额;A coupon acquisition module, configured to generate a first parking coupon according to the current available balance and the passenger flow, determine a first preferential amount of the first parking coupon as a frozen amount, and freeze the frozen amount in the available balance;
优惠券识别模块,用于当所述目标用户使用所述第一停车优惠券时,判断所述第一优惠金额是否大于或等于所述目标用户在停车场的第一消费金额;a coupon identification module, configured to determine whether the first discount amount is greater than or equal to the first consumption amount of the target user in the parking lot when the target user uses the first parking coupon;
优惠券核销模块,用于若所述第一优惠金额是否大于或等于所述目标用户在停车场的第一消费金额,则核销所述冻结金额;A coupon redemption module, configured to redeem the frozen amount if the first preferential amount is greater than or equal to the first consumption amount of the target user in the parking lot;
优惠券补发模块,用于若所述第一优惠金额小于所述目标用户在停车场的第一消费金额,则根据所述目标用户在所述商家端的第二消费金额补发第二停车优惠券。The coupon reissue module is used to reissue a second parking coupon according to a second consumption amount of the target user at the merchant end if the first discount amount is less than the first consumption amount of the target user at the parking lot.
在本申请的第三方面提供了一种电子设备。In a third aspect of the present application, an electronic device is provided.
一种停车优惠券的抵扣系统,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序,该程序能够被处理器加载执行时实现一种停车优惠券的抵扣方法。A parking coupon deduction system comprises a memory, a processor and a program stored in the memory and executable on the processor. The program can implement a parking coupon deduction method when loaded and executed by the processor.
在本申请的第四方面提供了一种计算机可读存储介质。In a fourth aspect of the present application, a computer-readable storage medium is provided.
一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现一种停车优惠券的抵扣方法。A computer-readable storage medium stores a computer program, which, when executed by a processor, enables the processor to implement a parking coupon redemption method.
综上所述,本申请实施例中提供的一个或多个技术方案,至少具有如下技术效果或优点:In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
1、本申请通过对首轮停车优惠券面值的智能确定和冻结对应金额,实现了资金使用的精准化,既满足了首次使用的支付需求,又防止了余额不足的风险。当用户消费发生后,系统可以核对优惠券抵扣的实际金额,实现准确的冻结金额核销,避免资金被重复或错误冻结,提升了资金使用效率。在首轮优惠券无法完全支付用户停车费用的情况下,系统可以快速捕捉并获取用户的剩余费用,进行等额的第二轮补充优惠券发放。通过该技术方案,采用先用后扣的方式派发优惠券,根据停车场用户实际的停车费用进行优惠券的派发和抵扣,并能在抵扣停车费用后回收未抵扣的优惠券金额返回商家,能够使停车场物业端能更清晰查看为商家提供优惠券金额的明细,商家能够更清晰了解优惠券的实际抵扣金额,提高了优惠券派发的数据透明性,达到优惠券派发金额与实际停车费用匹配,实抵实销的效果。1. This application realizes the precise use of funds by intelligently determining the face value of the first round of parking coupons and freezing the corresponding amount, which not only meets the payment needs of the first use, but also prevents the risk of insufficient balance. When the user consumes, the system can check the actual amount of the coupon deduction, realize accurate write-off of the frozen amount, avoid repeated or erroneous freezing of funds, and improve the efficiency of fund use. In the case that the first round of coupons cannot fully pay the user's parking fees, the system can quickly capture and obtain the user's remaining fees and issue a second round of supplementary coupons of the same amount. Through this technical solution, coupons are distributed in a first-use-then-deduction manner, and coupons are distributed and deducted according to the actual parking fees of parking lot users. After deducting the parking fees, the undeducted coupon amount can be recovered and returned to the merchant, which enables the parking lot property end to more clearly view the details of the coupon amount provided to the merchant, and the merchant can more clearly understand the actual deduction amount of the coupon, which improves the data transparency of coupon distribution, and achieves the effect of matching the coupon distribution amount with the actual parking fee and actual deduction and actual sales.
2、本申请通过实时监控商家端余额使用情况,当可用余额低于预设安全额度时,可以自动获取商家当前的剩余营业时间。基于剩余时间,可以精确预测在当前时间段内可能发生的额外支付交易金额。从新的交易中提取对应的金额,补充充实至商家端的可用余额中。实现了对余额使用情况的动态监控,并可以主动、精准地补充余额,既保证了后续时间内的支付需求可以得到满足,也避免了资金被过度冻结而出现资金利用率下降的情况。主动、智能补充余额方式也降低了人工作业成本。商家可以依托该智能补余模式,避免闭店时出现余额突然不足的情况,保障支付体系平稳高效运行,带来更好的消费者体验。2. This application monitors the balance usage on the merchant side in real time. When the available balance is lower than the preset safety limit, it can automatically obtain the merchant's current remaining business hours. Based on the remaining time, the amount of additional payment transactions that may occur in the current time period can be accurately predicted. The corresponding amount is extracted from the new transaction and added to the available balance on the merchant side. Dynamic monitoring of the balance usage is achieved, and the balance can be replenished actively and accurately, which not only ensures that payment needs in the subsequent period can be met, but also avoids the situation where funds are excessively frozen and the utilization rate of funds decreases. The active and intelligent balance replenishment method also reduces manual operation costs. Merchants can rely on this intelligent balance replenishment mode to avoid sudden insufficient balances when closing the store, ensure the smooth and efficient operation of the payment system, and bring a better consumer experience.
3、本申请通过获取未核销停车优惠券的具体发放时长,可以判断出其中已超过预设有效期的券,并将这些超期券全部标记为失效状态。对于这些失效的优惠券,可以自动解除其对应的金额冻结,并返回至商家端的可用余额账户中。这样就可以避免资金被长期冻结但又无法使用的情况,提升了资金使用效率。增加的可用余额可以为后续的支付需求提供支撑,保证支付体系稳定运行。返回的冻结资金也便于商家进行更精细化的可用余额监控和管理。分析未核销券数据,也可以帮助商家评估调整当前的发券策略,以提高发券管理水平。该方案实现了对未核销优惠券有效期的动态监控,不仅回收了资源,提升了券的使用效率,也显著优化了商家端资金的配置效率,降低了支付成本。3. This application can determine which coupons have exceeded the preset validity period by obtaining the specific issuance time of the uncancelled parking coupons, and mark all these expired coupons as invalid. For these expired coupons, the corresponding amount can be automatically unfrozen and returned to the merchant's available balance account. This can avoid the situation where funds are frozen for a long time but cannot be used, and improve the efficiency of fund use. The increased available balance can provide support for subsequent payment needs and ensure the stable operation of the payment system. The returned frozen funds also facilitate merchants to conduct more refined monitoring and management of available balances. Analyzing the uncancelled coupon data can also help merchants evaluate and adjust the current coupon issuance strategy to improve the level of coupon issuance management. This solution realizes dynamic monitoring of the validity period of uncancelled coupons, which not only recovers resources and improves the efficiency of coupon use, but also significantly optimizes the allocation efficiency of merchant funds and reduces payment costs.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请实施例提供的一种停车优惠券的抵扣方法的流程示意图;FIG1 is a flow chart of a parking coupon deduction method provided in an embodiment of the present application;
图2是本申请实施例公开的一种停车优惠券的抵扣系统的结构示意图;FIG2 is a schematic diagram of the structure of a parking coupon deduction system disclosed in an embodiment of the present application;
图3是本申请实施例的公开的一种电子设备的结构示意图。FIG. 3 is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application.
附图标记说明:300、电子设备;301、处理器;302、通信总线;303、用户接口;304、网络接口;305、存储器。Description of reference numerals: 300, electronic device; 301, processor; 302, communication bus; 303, user interface; 304, network interface; 305, memory.
具体实施方式Detailed ways
为了使本领域的技术人员更好地理解本说明书中的技术方案,下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
在本申请实施例的描述中,“例如”或者“举例来说”等词用于表示作例子、例证或说明。本申请实施例中被描述为“例如”或者“举例来说”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“例如”或者“举例来说”等词旨在以具体方式呈现相关概念。In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.
在本申请实施例的描述中,术语“多个”的含义是指两个或两个以上。例如,多个系统是指两个或两个以上的系统,多个屏幕终端是指两个或两个以上的屏幕终端。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
为了便于理解本申请实施例提供的方法及系统,在介绍本申请实施例之前,先对本申请实施例的背景进行介绍。In order to facilitate understanding of the method and system provided by the embodiments of the present application, before introducing the embodiments of the present application, the background of the embodiments of the present application is first introduced.
目前,市面上现有的停车优惠券派发方法主要采用先扣后用的方式,因无法知道实际抵扣金额,以派发库存券的形式进行优惠券派发,然而库存券的模式是在无法预估车主实际停车时长的情况下,给车主派发多种类型的优惠券,优惠券的售价非实际抵扣金额,而是车场根据停车情况估算一个单价进行出售,导致优惠券的售卖价格非实际抵扣价格,并且券的核销数量非实际应核销数量。在发放库存券时可一次性派发n张,当库存券已经下发后系统无法根据实际核销数量返还剩余未抵扣的优惠券,会导致停车场物业对商家进行投诉。原因在于停车场本地计费方式不支持核算优惠券的实际抵扣数量以及实际抵扣优惠券后每一张未抵扣优惠券返还的抵扣金额。At present, the existing parking coupon distribution methods on the market mainly adopt the method of deduction first and then use. Since the actual deduction amount is unknown, coupons are distributed in the form of stock coupons. However, the stock coupon model is to distribute various types of coupons to car owners when the actual parking time of car owners cannot be estimated. The selling price of the coupon is not the actual deduction amount, but the parking lot estimates a unit price based on the parking situation for sale, resulting in the selling price of the coupon not being the actual deduction price, and the number of coupons written off is not the actual number to be written off. When issuing stock coupons, n coupons can be distributed at one time. When the stock coupons have been issued, the system cannot return the remaining undeducted coupons according to the actual number of written offs, which will cause the parking lot property to complain to the merchant. The reason is that the local billing method of the parking lot does not support the calculation of the actual deduction amount of the coupons and the deduction amount returned for each undeducted coupon after the actual deduction of the coupons.
本申请实施例公开了一种停车优惠券的抵扣方法,通过获取商家的可用余额以及客流量,初步生成第一停车优惠券,并在可用余额中对该第一停车优惠券对应的优惠金额进行冻结,比较该优惠金额与实际停车场的消费金额,从而进行可用余额的核销。主要用于解决优惠券面额与实际停车费用不匹配的问题。The embodiment of the present application discloses a parking coupon deduction method, which obtains the merchant's available balance and customer flow, preliminarily generates a first parking coupon, freezes the preferential amount corresponding to the first parking coupon in the available balance, compares the preferential amount with the actual parking lot consumption amount, and then writes off the available balance. It is mainly used to solve the problem of mismatch between the coupon denomination and the actual parking fee.
经过上述背景内容相关介绍,本领域技术人员可以了解现有技术中存在的问题,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行详细的描述,描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。After the above background content is introduced, those skilled in the art can understand the problems existing in the prior art. The technical solutions in the embodiments of the present application will be described in detail below in conjunction with the drawings in the embodiments of the present application. The described embodiments are only part of the embodiments of the present application, not all of the embodiments.
参照图1,一种停车优惠券的抵扣方法,该方法包括S10至S40,具体包括以下步骤:Referring to FIG. 1 , a parking coupon deduction method is provided, the method comprising S10 to S40, specifically comprising the following steps:
S10:根据当前可用余额以及客流量,生成第一停车优惠券,并将第一停车优惠券的第一优惠金额确定为冻结金额,并在可用余额中冻结冻结金额。S10: Generate a first parking coupon according to the current available balance and passenger flow, determine a first preferential amount of the first parking coupon as a frozen amount, and freeze the frozen amount in the available balance.
其中,冻结金额指商家可用余额中,冻结一定金额,使这部分冻结金额暂时无法进行其他用途的支付或提现。该冻结金额数值等于此次派发的第一停车优惠券面值总和。The frozen amount refers to a certain amount of the merchant's available balance, which is frozen so that this part of the frozen amount cannot be used for payment or withdrawal for other purposes temporarily. The value of the frozen amount is equal to the total face value of the first parking coupons distributed this time.
第一停车优惠券指商家给停车场用户派发的用于抵扣停车费用的优惠券,包括时长券、金额券、全免券以及多次免费进出券等类型的优惠券。多次免费进出券是指车主在时间周期内可多次免费进出停车场,原有库存模式(先扣后用),无法知道用户实际会产生多少的停车费,在多次免费进出券派发后,就扣除商家一张多次免费进出券,只收取多次免费进出券单价的费用。现有模式(先用后扣)是通过计算出该车辆在时间周期内停车次数的总费用,根据费用金额扣除商家的余额。全免券是指车主在本次停车内所有费用全免,原有库存模式(先扣后用),无法知道用户实际会产生多少的停车费,在全免券派发后,就扣除商家一张全免券的费用,现有模式(先用后扣)是通过计算出该车辆在时间周期内停车次数的总费用,根据费用金额扣除商家的余额。The first parking coupon refers to the coupon issued by the merchant to the parking lot user to deduct the parking fee, including time coupons, amount coupons, free coupons and multiple free entry and exit coupons. Multiple free entry and exit coupons mean that the owner can enter and exit the parking lot for free multiple times within the time period. The original inventory mode (deduct first and use later) cannot know how much parking fee the user will actually incur. After the multiple free entry and exit coupons are distributed, the merchant will deduct one free entry and exit coupon and only charge the unit price of the multiple free entry and exit coupons. The existing mode (use first and deduct later) is to calculate the total cost of the number of parking times of the vehicle within the time period and deduct the merchant's balance according to the fee amount. The free coupon means that the owner is exempt from all fees in this parking. The original inventory mode (deduct first and use later) cannot know how much parking fee the user will actually incur. After the free coupons are distributed, the merchant will deduct the cost of one free coupon. The existing mode (use first and deduct later) is to calculate the total cost of the number of parking times of the vehicle within the time period and deduct the merchant's balance according to the fee amount.
具体的,预测当日可能的停车优惠券使用总额,通过车场计费软件按照各主体的停车场经营源数据进行格式化上报至平台,解决目前行业现状“小时券、全免券、多次免费进出券”无法知道实际抵扣金额的问题。计算预测使用总额与当前可用余额的合理比例,即确定目标占比。目标占比是为了合理控制风险,防止发放的优惠券面值过大导致使用后可用余额不足的情况发生。目标占比可以根据商家的经营策略来确定,例如设置为70%左右。根据目标占比生成第一轮停车优惠券。将可用余额按比例转换为停车优惠券的面值金额,生成若干张面值各异的第一轮停车优惠券,停车场物业端按照各商家实际可能用到的不同类型的优惠券统一授权开放,开放后商家就可直接在可用余额充值的情况下不限量派发第一轮停车优惠券。因余额抵扣模式是先用后扣,便会导致商家余额钱包为负数的情况发生,为规避这种风险,现有采用先用后扣的方式,在每一张优惠派发后会冻结一笔金额,待优惠券核销后进行解冻,并扣除商家余额,即在发放第一轮停车优惠券时,将其面值总额确定为冻结金额,冻结占用可用余额。这样可以防止重复发放导致可用余额出现负数的问题。通过该步骤可以根据当日实际情况,灵活调整第一轮停车优惠券的面值,避免固定面值与实际不匹配的问题,又可以通过冻结金额的方式控制风险,保证可用余额的安全。Specifically, the total amount of parking coupons that may be used on the day is predicted, and the parking lot billing software is used to format and report to the platform according to the parking lot operation source data of each entity, so as to solve the problem that the actual deduction amount cannot be known for the current industry status of "hourly coupons, free coupons, and multiple free entry and exit coupons". Calculate the reasonable ratio of the predicted total amount of use to the current available balance, that is, determine the target proportion. The target proportion is to reasonably control risks and prevent the situation where the coupons issued are too large in value and the available balance is insufficient after use. The target proportion can be determined according to the business strategy of the merchant, for example, it is set to about 70%. Generate the first round of parking coupons according to the target proportion. Convert the available balance into the face value of the parking coupon in proportion, and generate several first round parking coupons with different face values. The parking lot property end is uniformly authorized and opened according to the different types of coupons that may actually be used by each merchant. After opening, the merchant can directly distribute the first round of parking coupons without limit when the available balance is recharged. Because the balance deduction mode is to use first and then deduct, it will cause the merchant's balance wallet to be negative. To avoid this risk, the current method of using first and then deducting is adopted. After each discount is distributed, an amount will be frozen, and it will be unfrozen after the coupon is cancelled, and the merchant's balance will be deducted. That is, when the first round of parking coupons are issued, the total face value is determined as the frozen amount, and the available balance is frozen. This can prevent the problem of negative available balance due to repeated issuance. Through this step, the face value of the first round of parking coupons can be flexibly adjusted according to the actual situation of the day, avoiding the problem of mismatch between fixed face value and actual value, and controlling risks by freezing the amount to ensure the safety of the available balance.
在本申请一种可选实施例中,通过物业端确定商家的可用余额的具体过程包括:商家端收集历史停车优惠券的派发数据,包括派发数量和派发金额,以及对应的历史客流量数据。收集这些历史数据的目的是为了帮助物业端更准确地预测分配可用余额。商家端将收集到的这些历史停车优惠券派发数量、派发金额以及对应的历史客流量的数据,发送给管辖停车场的物业端。物业端手中掌握更多停车场和周边地区的信息。物业端根据商家提供的历史数据,结合自身对该区域客流量的研判,来预测该商家当前适合的可用停车优惠券余额。预测的依据是历史派发数额与客流量之间的相关性。物业端将预测计算出的可用余额结果反馈给商家端,商家端接收该可用余额。这样,商家端可以获取到一个相对合理的可用余额额度,用于后续第一轮停车优惠券的生成。通过该步骤,可以提高可用余额额度的准确性,使第一轮停车优惠券的面值更符合实际需求,从而提高资金使用效率,也为后续补发留有余地。In an optional embodiment of the present application, the specific process of determining the merchant's available balance through the property end includes: the merchant end collects the historical parking coupon distribution data, including the distribution quantity and distribution amount, and the corresponding historical passenger flow data. The purpose of collecting these historical data is to help the property end more accurately predict and allocate the available balance. The merchant end sends the collected data on the number of historical parking coupons distributed, the distribution amount, and the corresponding historical passenger flow to the property end that governs the parking lot. The property end has more information about the parking lot and the surrounding area. The property end predicts the current suitable available parking coupon balance for the merchant based on the historical data provided by the merchant and its own research and judgment on the passenger flow in the area. The basis for the prediction is the correlation between the historical distribution amount and the passenger flow. The property end feeds back the predicted and calculated available balance result to the merchant end, and the merchant end receives the available balance. In this way, the merchant end can obtain a relatively reasonable available balance amount for the subsequent generation of the first round of parking coupons. Through this step, the accuracy of the available balance amount can be improved, so that the face value of the first round of parking coupons is more in line with actual needs, thereby improving the efficiency of capital use and leaving room for subsequent reissue.
在上述实施例的基础上,第一停车优惠券的生成过程具体步骤包括S11至S12:Based on the above embodiment, the specific steps of the process of generating the first parking coupon include S11 to S12:
S11:根据客流量,预测停车优惠券消费金额,并确定停车优惠券消费金额与可用余额之间的目标占比。S11: Predict the parking coupon consumption amount based on the passenger flow, and determine a target ratio between the parking coupon consumption amount and the available balance.
示例性地,根据商家所在区域过去一段时间内的历史客流量数据,建立客流量与停车优惠券使用金额之间的相关性模型。这是因为这两者之间存在一定的对应关系。结合今日的实时监测客流量,带入模型进行预测,可以得到今日整体停车优惠券的预计使用总金额,即消费金额。预测消费金额的目的是为了合理规划首轮优惠券面值。接着,将预测得到的消费金额与物业端调拨的可用余额进行对比,计算出两者的合理占比,即目标占比。For example, based on the historical passenger flow data of the area where the merchant is located over a period of time in the past, a correlation model between passenger flow and the amount of parking coupons used is established. This is because there is a certain correspondence between the two. Combined with today's real-time monitored passenger flow, the model is brought into the forecast to obtain the total estimated amount of parking coupons used today, that is, the consumption amount. The purpose of predicting the consumption amount is to reasonably plan the face value of the first round of coupons. Next, compare the predicted consumption amount with the available balance allocated by the property side, and calculate the reasonable proportion of the two, that is, the target proportion.
S12:根据目标占比,生成第一停车优惠券。S12: Generate a first parking coupon according to the target proportion.
示例性地,商家端已通过前述步骤预测得到当前时段的停车费用总额,以及确定出可用余额与费用总额之间的合理占比,即目标占比。商家端将可用余额数额按照目标占比进行分割。例如目标占比为70%,则取可用余额的70%来生成面值金额。将分割得到的面值总金额生成若干张面值各异的第一轮停车优惠券。确定每张优惠券的单张面值时,要考虑实际使用场景,不要单张面值过大或过小。发放已经生成的第一轮停车优惠券。冻结该批券对应面值的可用余额金额,以防重复发放导致不必要的资金占用风险。通过按照目标占比生成第一轮停车优惠券,可以使券面值符合当前实际需求,又兼顾了风险控制,避免出现可用余额不足或券面值过剩的问题。Exemplarily, the merchant has predicted the total parking fee for the current period through the above steps, and determined the reasonable ratio between the available balance and the total fee, that is, the target ratio. The merchant divides the available balance amount according to the target ratio. For example, if the target ratio is 70%, 70% of the available balance is taken to generate the face value. The total face value obtained by the division is used to generate several first-round parking coupons with different face values. When determining the face value of each coupon, the actual usage scenario should be considered, and the face value of a single coupon should not be too large or too small. Issue the first round of parking coupons that have been generated. Freeze the available balance amount corresponding to the face value of this batch of coupons to prevent unnecessary capital occupation risks caused by repeated issuance. By generating the first round of parking coupons according to the target ratio, the face value of the coupons can be made to meet the current actual needs, while taking into account risk control, avoiding the problem of insufficient available balance or excessive face value of coupons.
S20:当目标用户使用第一停车优惠券时,判断第一优惠金额是否大于或等于目标用户在停车场的第一消费金额。S20: When the target user uses the first parking coupon, it is determined whether the first discount amount is greater than or equal to the first consumption amount of the target user in the parking lot.
其中,第一消费金额指的是目标用户在使用第一轮停车优惠券时,在停车场发生的实际停车消费金额。即目标用户在停车场停车期间,按照停车场的收费标准和停车时长计算出的应支付的停车服务费用。The first consumption amount refers to the actual parking consumption amount incurred by the target user in the parking lot when using the first round of parking coupons, that is, the parking service fee that the target user should pay during the parking period in the parking lot, calculated according to the parking lot's charging standards and parking duration.
具体的,目标用户在停车场消费停车服务时,出示获得的第一轮停车优惠券进行支付。通过停车场的物业端会读取优惠券的面值信息,即第一优惠金额。停车场系统读取该用户的实际停车消费金额,即第一消费金额。该金额系根据停车时长计算获得。比较第一优惠金额与实际停车消费金额,判断第一优惠金额是否大于或等于第一消费金额。如果优惠金额大于或等于消费金额,则直接以优惠券抵扣该笔停车费用。如果优惠金额小于消费金额,则后续需要补发第二轮停车优惠券来支付剩余费用。通过该步骤的判断,可以区分使用第一轮优惠券是否能完全支付停车费用,以便后续采取差额补发或直接抵扣等不同处理方案,确保用户停车费用支付的连续性。Specifically, when the target user consumes parking services in the parking lot, he/she presents the first round of parking coupons for payment. The face value information of the coupon, that is, the first preferential amount, will be read through the property end of the parking lot. The parking lot system reads the actual parking consumption amount of the user, that is, the first consumption amount. This amount is calculated based on the parking duration. Compare the first preferential amount with the actual parking consumption amount to determine whether the first preferential amount is greater than or equal to the first consumption amount. If the preferential amount is greater than or equal to the consumption amount, the parking fee is directly deducted from the coupon. If the preferential amount is less than the consumption amount, a second round of parking coupons will need to be reissued to pay the remaining fees. Through the judgment of this step, it can be distinguished whether the parking fee can be fully paid using the first round of coupons, so that different processing solutions such as reissuing the difference or directly deducting the difference can be adopted in the future to ensure the continuity of the user's parking fee payment.
S30:若第一优惠金额是否大于或等于目标用户在停车场的第一消费金额,则核销冻结金额。S30: If the first preferential amount is greater than or equal to the first consumption amount of the target user in the parking lot, the frozen amount is written off.
具体的,在判断出第一优惠金额大于或等于目标用户的第一消费金额时。将直接以第一停车优惠券的面值抵扣目标用户的该笔停车费用支出,完成支付。自动核销冻结金额中与本次停车实际抵扣金额相等的部分。即解除冻结,使这部分余额重新可用。当平台接收到优惠核销通知,由平台按照优惠实际抵扣金额发起商家余额扣款,平台会根据每一笔扣款生成详细的支出明细。这个明细会详细列出每一笔优惠券的使用情况和对应的扣款金额,保证了账目的清晰和可追溯性。商家可以随时查看这些明细,了解优惠券的使用情况和余额的变动,提高了商家对平台的信任度,并减少了因账目不明确而产生的纠纷。这样操作的目的是根据优惠券的实际使用情况,准确核销对应的冻结余额。保证冻结余额随时反映最新状态,为后续余额调度提供参考,也避免重复冻结或错误冻结带来的资金占用风险。通过核销冻结金额,还可以统计优惠券的使用效果,作为商家制定营销策略的依据。Specifically, when it is determined that the first preferential amount is greater than or equal to the first consumption amount of the target user. The face value of the first parking coupon will be directly used to deduct the parking fee expenditure of the target user to complete the payment. The part of the frozen amount that is equal to the actual deduction amount of this parking will be automatically written off. That is, the freeze is lifted, making this part of the balance available again. When the platform receives the preferential write-off notification, the platform will initiate the merchant balance deduction according to the actual deduction amount of the preferential amount, and the platform will generate a detailed expenditure detail based on each deduction. This detail will list the use of each coupon and the corresponding deduction amount in detail, ensuring the clarity and traceability of the account. Merchants can check these details at any time to understand the use of coupons and changes in balances, which increases the merchants' trust in the platform and reduces disputes caused by unclear accounts. The purpose of this operation is to accurately write off the corresponding frozen balance according to the actual use of the coupons. Ensure that the frozen balance reflects the latest status at any time, provide a reference for subsequent balance scheduling, and avoid the risk of capital occupation caused by repeated freezing or erroneous freezing. By writing off the frozen amount, the use effect of the coupon can also be counted as a basis for merchants to formulate marketing strategies.
在上述实施例的基础上,核销冻结金额的具体步骤还包括S31至S32:Based on the above embodiment, the specific steps of writing off the frozen amount further include S31 to S32:
S31:确定冻结金额与第一消费金额之间的金额差。S31: Determine the difference between the frozen amount and the first consumption amount.
示例性地,在完成了优惠券抵扣第一消费金额的支付后,获取停车场系统反馈回来的第一消费金额数据以及该优惠券对应的冻结金额数据。将冻结金额数据与第一消费金额数据进行比对,计算出冻结金额与第一消费金额之间的数值差,即金额差。如果冻结金额大于第一消费金额,则差额为正值;如果冻结金额小于第一消费金额,则差额为负值。计算金额差的目的是为了后续的余额处理,判断是否需要针对差额调整可用余额。如果存在余额,则需要解冻回可用余额;如果出现不足,则需要从商家新的交易订单中补发优惠券。通过计算金额差,可以更精准地管理可用余额和优惠券补发,保证支付体系的流畅运转。Exemplarily, after completing the payment of the first consumption amount with the coupon, obtain the first consumption amount data fed back by the parking system and the frozen amount data corresponding to the coupon. Compare the frozen amount data with the first consumption amount data, and calculate the numerical difference between the frozen amount and the first consumption amount, that is, the amount difference. If the frozen amount is greater than the first consumption amount, the difference is a positive value; if the frozen amount is less than the first consumption amount, the difference is a negative value. The purpose of calculating the amount difference is for subsequent balance processing to determine whether the available balance needs to be adjusted for the difference. If there is a balance, it is necessary to unfreeze the available balance; if there is a shortage, it is necessary to reissue the coupon from the merchant's new transaction order. By calculating the amount difference, the available balance and coupon reissue can be managed more accurately to ensure the smooth operation of the payment system.
S32:在冻结金额中,将金额差返回至商家端的可用余额。S32: In the frozen amount, the difference in amount is returned to the available balance at the merchant end.
示例性地,在计算出冻结金额和第一消费金额的差额后,判断差额的正负情况。如果差额为正值,意味着冻结金额中有余额未使用。此时需要将这部分余额从冻结金额中解冻并返回至商家的可用余额账户中。自动解除冻结金额中等同于差额部分的资金,使差额部分的资金恢复为可自由使用的可用余额。可用余额增加了对应的差额,商家账户资金利用率提高,可以用于后续的第二轮补发或其他用途。将余额返回,是因为冻结金额仅作为风险控制使用,如果实际有剩余,应当退还至商家端,避免资金被长期占用,也能通过回笼余额,统计出优惠券使用效果,为商家调整营销策略提供依据。Exemplarily, after calculating the difference between the frozen amount and the first consumption amount, determine whether the difference is positive or negative. If the difference is positive, it means that there is an unused balance in the frozen amount. At this time, this part of the balance needs to be unfrozen from the frozen amount and returned to the merchant's available balance account. The funds equivalent to the difference in the frozen amount are automatically unfrozen, so that the funds in the difference are restored to a freely usable available balance. The available balance increases the corresponding difference, and the utilization rate of the merchant's account funds is improved, which can be used for the subsequent second round of reissue or other purposes. The balance is returned because the frozen amount is only used for risk control. If there is actually a surplus, it should be returned to the merchant side to avoid long-term occupation of funds. It can also calculate the effect of coupon use by recovering the balance, providing a basis for merchants to adjust their marketing strategies.
在上述实施例的基础上,完成冻结金额核销后,当可用余额不足,补充可用余额的具体步骤还包括S321至S322:On the basis of the above embodiment, after the frozen amount is written off, if the available balance is insufficient, the specific steps of replenishing the available balance further include S321 to S322:
S321:判断商家端的可用额度是否小于预设额度;若商家端的可用额度小于预设额度,则获取商家端当天的剩余营业时间。S321: Determine whether the available credit limit of the merchant side is less than the preset credit limit; if the available credit limit of the merchant side is less than the preset credit limit, obtain the remaining business hours of the merchant side for the day.
示例性地,在返回差额后,判断当前商家端的可用余额是否已经低于预先设置的可用余额下限额度。如果可用余额已经低于预设额度,表明余额可能出现不足的风险。这个时候就需要获取商家当前日期的剩余营业时间长度。读取商家的每日营业时间安排,计算出从当前时间算起,至当日闭店时间还剩余的营业时间长度。获取这个剩余营业时间长度,是为了后续根据时间长短来预测可能需要补充的余额,以支持续营时间内的消费需求。这样操作可以对商家端可用余额进行智能监控并提前预警,及时根据实际情况进行必要的补充,避免在营业过程中出现由于余额不足而无法支付的情况。Exemplarily, after returning the difference, determine whether the current available balance on the merchant side is lower than the preset lower limit of the available balance. If the available balance is lower than the preset limit, it indicates that there is a risk of insufficient balance. At this time, it is necessary to obtain the remaining business hours of the merchant on the current date. Read the merchant's daily business hours schedule, and calculate the remaining business hours from the current time to the closing time of the day. The purpose of obtaining this remaining business time is to predict the balance that may need to be replenished based on the length of time in the future to support consumption needs within the renewal period. This operation can intelligently monitor the available balance on the merchant side and issue early warnings, and make necessary supplements in time according to actual conditions to avoid situations where payment cannot be made due to insufficient balance during business operations.
S322:根据剩余营业时间,预测对应的临时补充额度,并将临时补充额度对应的余额补充至商家端的可用余额。S322: According to the remaining business hours, predict the corresponding temporary replenishment amount, and add the balance corresponding to the temporary replenishment amount to the available balance on the merchant side.
示例性地,获取当前商家端的剩余营业时间长度。根据商家的历史交易数据,计算出该时间段的平均每小时交易金额。按照该每小时交易金额乘以剩余营业小时数,可以预测出剩余时间段内的额外交易总额。根据设置的可用余额与交易额比例,从预测额外交易总额中按比例提取部分金额,作为临时需补充的可用余额。将计算得到的需补充额度实际增加到商家端当前的可用余额总数中,以应对接下来的交易需求。这样可以根据当日实际情况,智能补充可用余额,确保商家在经营时间内不会因余额不足而无法完成交易支付。避免了固定补充可能带来的余额过剩问题。Exemplarily, the remaining business hours of the current merchant end are obtained. Based on the merchant's historical transaction data, the average hourly transaction amount for the time period is calculated. By multiplying the hourly transaction amount by the remaining business hours, the total additional transaction amount in the remaining time period can be predicted. According to the set ratio of available balance to transaction amount, a portion of the amount is proportionally extracted from the predicted total additional transaction amount as the available balance that needs to be temporarily replenished. The calculated amount to be replenished is actually added to the current total available balance of the merchant end to cope with the next transaction needs. In this way, the available balance can be intelligently replenished according to the actual situation of the day to ensure that the merchant will not be unable to complete the transaction payment due to insufficient balance during the business hours. Avoid the problem of excess balance that may be caused by fixed replenishment.
在上述实施例的基础上,完成余额冻结操作后,当可用余额不足,停车优惠券失效的具体步骤还包括S323至S324:Based on the above embodiment, after the balance freezing operation is completed, when the available balance is insufficient, the specific steps of invalidating the parking coupon further include S323 to S324:
S323:获取第一停车优惠券中未核销停车优惠券的发放时长。S323: Obtain the issuance time of the unredeemed parking coupons in the first parking coupon.
示例性地,获取到第一轮已发放停车优惠券的总数量信息,可以统计出其中已被用户核销使用的停车优惠券数量。将已发放停车优惠券的总数量信息与已被用户核销使用的停车优惠券数量进行对比,即可计算出第一轮发放中还未被核销而在用户手中的停车优惠券数量。查询每一张未核销停车优惠券的具体发放时间,即该优惠券发放给用户后的时长。获取未核销券的发放时长,是为了后续判断这些券是否已经超过了有效期。如果超过有效期而未使用的券可以收回,其对应的冻结金额可以解冻释放,增加可用余额。这样可以进一步提高已冻结金额的使用效率。Exemplarily, the total number of parking coupons issued in the first round is obtained, and the number of parking coupons that have been used and cancelled by users can be counted. By comparing the total number of parking coupons issued with the number of parking coupons cancelled by users, the number of parking coupons in the first round of issuance that have not been cancelled and are in the hands of users can be calculated. Query the specific issuance time of each uncancelled parking coupon, that is, the length of time after the coupon is issued to the user. The issuance time of the uncancelled coupons is obtained in order to subsequently determine whether these coupons have exceeded their validity period. If the coupons that have expired but have not been used can be recovered, the corresponding frozen amount can be unfrozen and released to increase the available balance. This can further improve the efficiency of using the frozen amount.
S324:判断发放时长是否超出第一停车优惠券对应的预设有效期;若发放时长超出预设有效期,则将未核销停车优惠券作为失效,并将未核销停车优惠券对应的目标额度返回至商家端的可用余额。S324: Determine whether the issuance duration exceeds the preset validity period corresponding to the first parking coupon; if the issuance duration exceeds the preset validity period, the unredeemed parking coupon is deemed invalid, and the target amount corresponding to the unredeemed parking coupon is returned to the available balance on the merchant side.
示例性地,获取到每张未核销停车优惠券的具体发放时长后,系统将这些时长与优惠券的预设有效期进行对比。如果某张未核销券的发放时长已经超过了优惠券的有效期,则可以判定该张优惠券已经失效。将这些被判定为已失效的未核销停车优惠券标记为失效状态。将这些已失效的未核销券对应的冻结金额解除冻结,并将金额返回至商家端的可用余额中。这样操作的目的是回收利用那些超过有效期未被使用的冻结金额,避免资金被长期冻结但无法释放。反映出部分优惠券使用率不高的问题,供商家制定营销策略参考。Exemplarily, after obtaining the specific issuance duration of each uncancelled parking coupon, the system compares these durations with the preset validity period of the coupon. If the issuance duration of an uncancelled coupon has exceeded the validity period of the coupon, it can be determined that the coupon has expired. Mark these uncancelled parking coupons that are determined to be expired as invalid. Unfreeze the frozen amounts corresponding to these expired uncancelled coupons, and return the amounts to the available balance on the merchant side. The purpose of this operation is to recycle frozen amounts that have not been used after the validity period, to avoid funds being frozen for a long time but unable to be released. This reflects the problem of low utilization rate of some coupons, which is a reference for merchants to formulate marketing strategies.
S40:若第一优惠金额小于目标用户在停车场的第一消费金额,则根据目标用户在商家端的第二消费金额补发第二停车优惠券。S40: If the first discount amount is less than the first consumption amount of the target user in the parking lot, a second parking coupon is reissued according to the second consumption amount of the target user at the merchant end.
具体的,第二消费金额是指客户在商家端的消费金额,它反映了客户在商家的支付的费用,用于衡量第二停车优惠券派发的标准。Specifically, the second consumption amount refers to the consumption amount of the customer at the merchant end, which reflects the fees paid by the customer at the merchant and is used to measure the standard for distributing the second parking coupon.
示例性地,当用户使用第一轮停车优惠券支付停车费后,如果检测到该用户的第一轮优惠金额小于其在停车场的实际第一消费金额,即第一轮优惠无法完全覆盖用户的本次停车费用。为了保证用户可以顺利完成整个停车支付流程,系统需要获取该用户在本商家的第二消费金额,也就是该用户在该商家的全部实际消费总金额。获得这个真实的用户总体消费规模后,系统可以根据此制定优惠券补发策略,判断面值并匹配出合适的第二轮停车优惠券进行补发。这样的精准补发可以避免用户的支付流程中断,提供更好的停车消费体验。第二停车优惠券的补发也使商家获得了再次接触用户的机会。该步骤通过获知用户整体消费情况,制定针对性补发策略,既确保用户支付顺畅,也有利于商家进行差异化营销。Exemplarily, after a user uses the first round of parking coupons to pay parking fees, if it is detected that the user's first round discount amount is less than the actual first consumption amount in the parking lot, that is, the first round of discounts cannot fully cover the user's parking fee this time. In order to ensure that the user can successfully complete the entire parking payment process, the system needs to obtain the user's second consumption amount in this merchant, that is, the total amount of the user's actual consumption in this merchant. After obtaining this real user's overall consumption scale, the system can formulate a coupon reissue strategy based on this, determine the face value and match the appropriate second round of parking coupons for reissue. Such precise reissue can avoid interruptions in the user's payment process and provide a better parking consumption experience. The reissue of the second parking coupon also gives merchants the opportunity to contact users again. This step formulates a targeted reissue strategy by learning the overall consumption situation of the user, which not only ensures smooth user payment, but also facilitates merchants to carry out differentiated marketing.
在上述实施例的基础上,第二停车优惠券的补发过程具体还包括S41至S43:Based on the above embodiment, the process of reissuing the second parking coupon specifically further includes S41 to S43:
S41:根据停车优惠券消费金额和第一消费金额,确定优惠金额差。S41: Determine a discount amount difference according to the parking coupon consumption amount and the first consumption amount.
示例性地,在用户使用第一轮停车优惠券支付停车费后,系统需要根据该用户的停车优惠券消费金额和该用户在停车场的第一实际消费金额,来计算和确定两者之间的差额,即优惠金额差。计算这个优惠金额差的目的是要分析第一轮停车优惠券的使用情况和效果。通过确定优惠金额差的大小,系统可以判断第一轮停车优惠券对用户停车费用的覆盖程度,以及用户使用第一轮停车优惠券后是否还有余额未支付。如果优惠金额差为正值,说明第一轮停车优惠券没有完全覆盖用户的停车费用;如果值为0,说明刚好覆盖;如果为负值,说明优惠券超额使用。获取优惠金额差能帮助系统精确判断用户的实际剩余停车费用,以便可以快速补发合适面值的第二轮停车优惠券。可以根据优惠金额差的清晰判断,做出精准的第二轮停车优惠券面值补发,确保用户停车费用支付的连续性和流畅性,也为商家提供了更好地了解用户需求和使用习惯的机会。For example, after the user uses the first round of parking coupons to pay parking fees, the system needs to calculate and determine the difference between the user's parking coupon consumption amount and the user's first actual consumption amount in the parking lot, that is, the discount amount difference. The purpose of calculating this discount amount difference is to analyze the use and effect of the first round of parking coupons. By determining the size of the discount amount difference, the system can determine the coverage of the user's parking fees by the first round of parking coupons, and whether the user has an unpaid balance after using the first round of parking coupons. If the discount amount difference is a positive value, it means that the first round of parking coupons does not completely cover the user's parking fees; if the value is 0, it means that it is just covered; if it is a negative value, it means that the coupon is overused. Obtaining the discount amount difference can help the system accurately determine the user's actual remaining parking fees, so that the second round of parking coupons with appropriate face values can be reissued quickly. Based on the clear judgment of the discount amount difference, the accurate face value reissue of the second round of parking coupons can be made to ensure the continuity and smoothness of the user's parking fee payment, and also provide merchants with an opportunity to better understand user needs and usage habits.
S42:判断优惠金额差是否小于预设金额差;若优惠金额差小于预设金额差,则补发优惠金额差对应的第二停车优惠券。S42: Determine whether the difference in the preferential amount is less than a preset difference in amount; if the difference in the preferential amount is less than the preset difference in amount, reissue a second parking coupon corresponding to the difference in the preferential amount.
示例性地,在计算出用户的优惠金额差后,系统需要进一步判断该优惠金额差是否小于预设的金额差阈值。之所以要进行此步骤,是因为针对优惠金额差的大小,补发第二轮停车优惠券的策略可以有所不同,可以实现精细化管理。如果判断出用户的实际优惠金额差小于预设金额差,表明该用户在使用完第一轮停车优惠券后,仅剩下少量停车费用未支付。在这种情况下,系统可以直接按照用户的优惠金额差这一数值,生成面值等额的第二轮停车优惠券,并补发给该用户。采用这种直接等额补发的方式,可以快速高效地满足用户少量剩余停车费用的支付需求,完善用户的停车消费体验,也减少了系统运算及资源分配的复杂度,简化了操作流程。该步骤根据优惠金额差的大小,采取不同的补发策略,实现了针对性强且高效快速的第二轮停车优惠券发放,确保了用户停车支付的完整性。Exemplarily, after calculating the user's preferential amount difference, the system needs to further determine whether the preferential amount difference is less than a preset amount difference threshold. The reason for this step is that the strategy for reissuing the second round of parking coupons can be different for the size of the preferential amount difference, and refined management can be achieved. If it is determined that the user's actual preferential amount difference is less than the preset amount difference, it means that the user has only a small amount of parking fees left to pay after using the first round of parking coupons. In this case, the system can directly generate a second round of parking coupons with the same face value according to the user's preferential amount difference, and reissue it to the user. This direct equal amount reissue method can quickly and efficiently meet the user's payment needs for a small amount of remaining parking fees, improve the user's parking consumption experience, reduce the complexity of system calculations and resource allocation, and simplify the operation process. This step adopts different reissue strategies according to the size of the preferential amount difference, realizes the targeted, efficient and fast issuance of the second round of parking coupons, and ensures the integrity of the user's parking payment.
S43:若优惠金额差大于预设金额差,则根据第二消费金额匹配对应的第二停车优惠券。S43: If the discount amount difference is greater than the preset amount difference, a corresponding second parking coupon is matched according to the second consumption amount.
示例性地,在判断出用户的优惠金额差大于预设金额差之后,系统需要获取该用户在商家的第二消费金额,也就是该用户的总消费金额。之所以要获取第二消费金额,是因为当优惠金额差较大时,直接等额补发第二轮优惠券可能会导致补发金额过多或过少。根据该用户的第二消费金额,也就是其全部的实际消费金额,进行大数据分析,匹配出面值适当的第二轮停车优惠券进行补发。例如可以补发面值等于第二消费金额与第一消费金额差额的优惠券。当优惠金额差较大时,系统可以通过匹配第二消费金额补发面值合理的第二轮停车优惠券。这可以防止补发的优惠券面值过大或过小的问题,真正满足用户的剩余支付需求,同时也提高了商家的营销效率。该步骤实现了当优惠金额差较大时的精准补发策略,既照顾用户需求,也增加了商家的营销收益。Exemplarily, after determining that the user's preferential amount difference is greater than the preset amount difference, the system needs to obtain the user's second consumption amount at the merchant, that is, the user's total consumption amount. The reason for obtaining the second consumption amount is that when the preferential amount difference is large, directly reissuing the second round of coupons in equal amounts may result in too much or too little reissued amount. According to the user's second consumption amount, that is, the total actual consumption amount, big data analysis is performed to match the second round of parking coupons with appropriate face value for reissue. For example, a coupon with a face value equal to the difference between the second consumption amount and the first consumption amount can be reissued. When the preferential amount difference is large, the system can reissue the second round of parking coupons with a reasonable face value by matching the second consumption amount. This can prevent the problem of too large or too small face value of the reissued coupons, truly meet the user's remaining payment needs, and also improve the marketing efficiency of the merchant. This step implements a precise reissue strategy when the preferential amount difference is large, which not only takes care of user needs, but also increases the marketing benefits of the merchant.
参照图2,为本申请实施例提供的一种停车优惠券的抵扣系统,该系统包括:优惠券获取模块、优惠券识别模块、优惠券核销模块,优惠券补发模块,其中:2 , a parking coupon deduction system provided in an embodiment of the present application includes: a coupon acquisition module, a coupon identification module, a coupon cancellation module, and a coupon reissue module, wherein:
优惠券获取模块,用于根据当前可用余额以及客流量,生成第一停车优惠券,并将第一停车优惠券的第一优惠金额确定为冻结金额,并在可用余额中冻结冻结金额;A coupon acquisition module, for generating a first parking coupon according to the current available balance and the passenger flow, determining a first preferential amount of the first parking coupon as a frozen amount, and freezing the frozen amount in the available balance;
优惠券识别模块,用于当目标用户使用第一停车优惠券时,判断第一优惠金额是否大于或等于目标用户在停车场的第一消费金额;A coupon identification module, used to determine whether a first discount amount is greater than or equal to a first consumption amount of the target user in the parking lot when the target user uses the first parking coupon;
优惠券核销模块,用于若第一优惠金额是否大于或等于目标用户在停车场的第一消费金额,则核销冻结金额;A coupon redemption module, used to redeem the frozen amount if the first discount amount is greater than or equal to the first consumption amount of the target user in the parking lot;
优惠券补发模块,用于若第一优惠金额小于目标用户在停车场的第一消费金额,则根据目标用户在商家端的第二消费金额补发第二停车优惠券。The coupon reissue module is used to reissue a second parking coupon according to the second consumption amount of the target user at the merchant end if the first discount amount is less than the first consumption amount of the target user at the parking lot.
在上述实施例的基础上,优惠券获取模块还用于将历史停车优惠券派发数量、历史停车优惠券派发金额以及历史客流量发生至管辖停车场的物业端,以使物业端根据历史停车优惠券派发数量、历史停车优惠券派发金额以及历史客流量确定可用余额;接收物业端分配的可用余额。Based on the above embodiment, the coupon acquisition module is also used to transmit the historical number of parking coupons distributed, the historical amount of parking coupons distributed, and the historical passenger flow to the property side that has jurisdiction over the parking lot, so that the property side can determine the available balance based on the historical number of parking coupons distributed, the historical amount of parking coupons distributed, and the historical passenger flow; and receive the available balance allocated by the property side.
在上述实施例的基础上,优惠券获取模块还包括根据客流量,预测停车优惠券消费金额,并确定停车优惠券消费金额与可用余额之间的目标占比;根据目标占比,生成第一停车优惠券。Based on the above embodiment, the coupon acquisition module further includes predicting the parking coupon consumption amount according to the passenger flow, and determining a target ratio between the parking coupon consumption amount and the available balance; and generating a first parking coupon according to the target ratio.
在上述实施例的基础上,优惠券核销模块还用于确定冻结金额与第一消费金额之间的金额差;在冻结金额中,将金额差返回至商家端的可用余额。Based on the above embodiment, the coupon verification module is further used to determine the amount difference between the frozen amount and the first consumption amount; in the frozen amount, the amount difference is returned to the available balance of the merchant end.
在上述实施例的基础上,优惠券核销模块还包括判断商家端的可用额度是否小于预设额度;若商家端的可用额度小于预设额度,则获取商家端当天的剩余营业时间;根据剩余营业时间,预测对应的临时补充额度,并将临时补充额度对应的余额补充至商家端的可用余额。Based on the above embodiment, the coupon verification module also includes determining whether the available amount on the merchant side is less than the preset amount; if the available amount on the merchant side is less than the preset amount, obtaining the remaining business hours of the merchant side on that day; based on the remaining business hours, predicting the corresponding temporary supplementary amount, and adding the balance corresponding to the temporary supplementary amount to the available balance on the merchant side.
在上述实施例的基础上,优惠券核销模块还包括获取第一停车优惠券中未核销停车优惠券的发放时长;判断发放时长是否超出第一停车优惠券对应的预设有效期;若发放时长超出预设有效期,则将未核销停车优惠券作为失效,并将未核销停车优惠券对应的目标额度返回至商家端的可用余额。Based on the above embodiment, the coupon redemption module also includes obtaining the issuance time of the unredeemed parking coupon in the first parking coupon; judging whether the issuance time exceeds the preset validity period corresponding to the first parking coupon; if the issuance time exceeds the preset validity period, the unredeemed parking coupon is deemed invalid, and the target amount corresponding to the unredeemed parking coupon is returned to the available balance on the merchant side.
在上述实施例的基础上,优惠券补发模块还用于根据停车优惠券消费金额和第一消费金额,确定优惠金额差;判断优惠金额差是否小于预设金额差;若优惠金额差小于预设金额差,则补发优惠金额差对应的第二停车优惠券;若优惠金额差大于预设金额差,则根据第二消费金额匹配对应的第二停车优惠券。Based on the above embodiment, the coupon reissue module is further used to determine the discount amount difference based on the parking coupon consumption amount and the first consumption amount; determine whether the discount amount difference is less than the preset amount difference; if the discount amount difference is less than the preset amount difference, reissue a second parking coupon corresponding to the discount amount difference; if the discount amount difference is greater than the preset amount difference, match the corresponding second parking coupon according to the second consumption amount.
需要说明的是:上述实施例提供的装置在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置和方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
本申请还公开一种电子设备。参照图3,图3是本申请实施例的公开的一种电子设备的结构示意图。该电子设备300可以包括:至少一个处理器301,至少一个网络接口304,用户接口303,存储器305,至少一个通信总线302。The present application also discloses an electronic device. Referring to FIG3 , FIG3 is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application. The electronic device 300 may include: at least one processor 301 , at least one network interface 304 , a user interface 303 , a memory 305 , and at least one communication bus 302 .
其中,通信总线302用于实现这些组件之间的连接通信。The communication bus 302 is used to realize the connection and communication between these components.
其中,用户接口303可以包括显示屏(Display)接口、摄像头(Camera)接口,可选用户接口303还可以包括标准的有线接口、无线接口。The user interface 303 may include a display interface and a camera interface. Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.
其中,网络接口304可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
其中,处理器301可以包括一个或者多个处理核心。处理器301利用各种接口和线路连接整个服务器内的各个部分,通过运行或执行存储在存储器305内的指令、程序、代码集或指令集,以及调用存储在存储器305内的数据,执行服务器的各种功能和处理数据。可选的,处理器301可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器301可集成中央处理器(CentralProcessing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面图和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器301中,单独通过一块芯片进行实现。Among them, the processor 301 may include one or more processing cores. The processor 301 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the processor 301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface diagrams and applications, etc.; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 301, and it can be implemented separately through a chip.
其中,存储器305可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选的,该存储器305包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器305可用于存储指令、程序、代码、代码集或指令集。存储器305可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及的数据等。存储器305可选的还可以是至少一个位于远离前述处理器301的存储装置。参照图3,作为一种计算机存储介质的存储器305中可以包括操作系统、网络通信模块、用户接口模块以及一种停车优惠券的抵扣方法的应用程序。The memory 305 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 305 includes a non-transitory computer-readable storage medium. The memory 305 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 305 may also be at least one storage device located away from the aforementioned processor 301. Referring to FIG. 3 , the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program for a parking coupon deduction method.
在图3所示的电子设备300中,用户接口303主要用于为用户提供输入的接口,获取用户输入的数据;而处理器301可以用于调用存储器305中存储一种停车优惠券的抵扣方法的应用程序,当由一个或多个处理器301执行时,使得电子设备300执行如上述实施例中一个或多个的方法。需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必需的。In the electronic device 300 shown in FIG3 , the user interface 303 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 301 can be used to call the application program storing a parking coupon deduction method in the memory 305, and when executed by one or more processors 301, the electronic device 300 executes one or more methods in the above-mentioned embodiments. It should be noted that for the aforementioned method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
在本申请所提供的几种实施方式中,应该理解到,所披露的装置,可通过其他的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些服务接口,装置或单元的间接耦合或通信连接,可以是电性或其他的形式。In the several implementation modes provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储器包括:U盘、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.
以上者,仅为本公开的示例性实施例,不能以此限定本公开的范围。即但凡依本公开教导所作的等效变化与修饰,皆仍属本公开涵盖的范围内。本领域技术人员在考虑说明书及实践真理的公开后,将容易想到本公开的其他实施方案。The above are only exemplary embodiments of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, those skilled in the art will easily think of other embodiments of the present disclosure.
本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未记载的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的范围和精神由权利要求限定。This application is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art not described in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410131966.2A CN117911088B (en) | 2024-01-31 | 2024-01-31 | Method, system, electronic equipment and medium for deducting parking coupons |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410131966.2A CN117911088B (en) | 2024-01-31 | 2024-01-31 | Method, system, electronic equipment and medium for deducting parking coupons |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN117911088A true CN117911088A (en) | 2024-04-19 |
| CN117911088B CN117911088B (en) | 2025-06-03 |
Family
ID=90697392
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202410131966.2A Active CN117911088B (en) | 2024-01-31 | 2024-01-31 | Method, system, electronic equipment and medium for deducting parking coupons |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN117911088B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107730064A (en) * | 2017-02-28 | 2018-02-23 | 西安艾润物联网技术服务有限责任公司 | Reward voucher provides control method and device |
| KR102119716B1 (en) * | 2019-12-17 | 2020-06-05 | 여범수 | Method of distributing electric coupons revenue based on block chain and system performing the same |
| CN113657946A (en) * | 2021-08-30 | 2021-11-16 | 广东东菱智泊停车科技有限公司 | Method for deducting and settling discount coupons of parking user coupon traders |
-
2024
- 2024-01-31 CN CN202410131966.2A patent/CN117911088B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107730064A (en) * | 2017-02-28 | 2018-02-23 | 西安艾润物联网技术服务有限责任公司 | Reward voucher provides control method and device |
| KR102119716B1 (en) * | 2019-12-17 | 2020-06-05 | 여범수 | Method of distributing electric coupons revenue based on block chain and system performing the same |
| CN113657946A (en) * | 2021-08-30 | 2021-11-16 | 广东东菱智泊停车科技有限公司 | Method for deducting and settling discount coupons of parking user coupon traders |
Also Published As
| Publication number | Publication date |
|---|---|
| CN117911088B (en) | 2025-06-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN204946187U (en) | A kind of vending system for automatic vending machine | |
| US20020035496A1 (en) | Collection method of and collection system for collecting costs of energy-saving facilities | |
| CN109472574A (en) | Payment method, device, computer equipment and storage medium | |
| JP2018128740A (en) | Information processing device, information processing method, information processing program and information processing system | |
| CN112651834A (en) | Fund data processing method, device, system, computer equipment and storage medium | |
| JP2017503291A (en) | System and method for calculating premiums for life insurance options | |
| CN113205367A (en) | User data processing method and device, electronic equipment and storage medium | |
| JP2018055398A (en) | Point use compromise system and point use compromise method | |
| JP6666824B2 (en) | Resource allocation device and resource allocation method | |
| CN109087192A (en) | Financial transaction control method and financial transaction control device | |
| CN112765234B (en) | Method and device for acquiring open data, storage medium and electronic device | |
| JP7619462B2 (en) | Information processing method, information processing device, and program | |
| CN109829817A (en) | Repaying planning data determines method and device | |
| CN117911088B (en) | Method, system, electronic equipment and medium for deducting parking coupons | |
| CN114119283A (en) | Intelligent electric charge collecting method, system, storage medium and equipment | |
| US12154103B1 (en) | System and method for dynamic allocation of transaction-bound attributes using machine learning models | |
| CN111258750B (en) | Data volume processing method and system, and credit allocation method and system | |
| US20200372484A1 (en) | Computing system for sharing networks providing payment allocation based upon distributed reserving and related methods | |
| CN109658135A (en) | Bid regulation method, system, platform and storage medium based on effect data | |
| KR20170085220A (en) | System for providing saving services coupled with consumption | |
| CN116777601A (en) | Intelligent collection methods, devices, equipment and media | |
| CN108846711A (en) | Enterprises service fee calculation procedure, device, electronic equipment and storage medium | |
| CN1996372A (en) | System for implementing agency and application of financial products and method therefor | |
| CN115601141A (en) | Loan Risk Determination Method, Device, and Computer-Readable Storage Medium | |
| CN119821213B (en) | Charging control method, system, device and readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |