A payment method, device, electronic equipment and storage medium
By displaying vehicle information from users' historical payment records and providing direct selection and manual input options, the system solves the problems of error-prone manual input and insufficient flexibility of fixed binding in existing vehicle payment systems, thus achieving an efficient and convenient vehicle payment process.
Patent Information
- Application Number
- CN202611314789.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-27
- Publication Date
- 2026-11-24
AI Technical Summary
In existing vehicle payment systems, manually entering license plate numbers is prone to errors and cumbersome. The fixed vehicle binding method cannot adapt to scenarios where families have multiple vehicles or temporarily change vehicles, resulting in low payment efficiency and poor user experience.
By obtaining the user's historical payment records, interactive controls are displayed to show associated vehicle information. Users can directly select the target vehicle to make payment, and the option to manually enter vehicle information is provided, supplemented by auxiliary information such as the operation time and frequency of vehicle information, simplifying the operation process.
It improves payment efficiency and user experience, avoids the tedious steps and error-prone issues of manual input, and supports continuous payment operations in multi-vehicle scenarios.
Smart Images

Figure CN123161306A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of intelligent parking technology, and more specifically, to a payment method, device, electronic device, and storage medium. Background Technology
[0002] With the widespread adoption of smart parking and online payment services, mobile-based vehicle payment systems have become an important tool for improving parking lot efficiency. Currently, most mainstream vehicle payment solutions in the industry employ either manual input or fixed vehicle binding methods.
[0003] However, manually entering the license plate number is cumbersome, requiring users to enter the number sequentially. In a rush, users are prone to entering the wrong number, resulting in paying for someone else's vehicle or payment failure. Furthermore, the fixed single vehicle binding method cannot adapt to flexible scenarios such as multiple vehicles in a family or temporary vehicle changes. If a user needs to pay for other vehicles under their name, they often need to exit the current process and reset it. The operation is fragmented and time-consuming, affecting the overall payment efficiency and user experience. Summary of the Invention
[0004] In view of this, embodiments of this application provide a payment method, apparatus, electronic device, and storage medium to improve payment efficiency and user experience.
[0005] In a first aspect, embodiments of this application provide a payment method, the method comprising: In response to a user's input of a vehicle payment request, the system retrieves the user's historical payment records and displays the payment interface. The payment interface displays interactive controls; the interactive controls include at least: a first control, which is used to display at least one vehicle information associated with the historical payment record for the user to select; If the target vehicle information obtained based on the interactive control is received, a payment operation is performed on the target vehicle information.
[0006] In one feasible implementation, the interactive control further includes: a second control for the user to input vehicle information; The target vehicle information obtained based on the interactive control includes: The first vehicle information obtained based on the first control; Alternatively, based on the second vehicle information obtained from the second control.
[0007] In one feasible implementation, the method further includes: For each piece of vehicle information displayed in the first control, the operation time associated with the vehicle information is displayed; the operation time is the latest payment time of the vehicle information in the historical payment record.
[0008] In one feasible implementation, interactive controls are displayed on the payment interface, including: For each piece of vehicle information associated with the historical payment record, the latest payment time of the vehicle information in the historical payment record is determined as the operation time associated with the vehicle information; The vehicle information is displayed in a queue according to the order of operation time from newest to oldest. The first control then sequentially displays the information of the first N vehicles in the display queue.
[0009] In one feasible implementation, the method further includes: In response to a user triggering a deletion operation for specified vehicle information, the specified vehicle information is deleted from the display queue. Update the information of the first N vehicles displayed in the first control according to the adjusted display queue.
[0010] In one feasible implementation, the method further includes: If the number of vehicle information entries in the display queue is less than N, then a third control is displayed in the first control; the third control is used for the user to add new vehicle information.
[0011] In one feasible implementation, the method further includes: If no historical payment record of the user is obtained, a second control is displayed; the second control is used for the user to enter vehicle information. After payment is completed, a historical payment record is generated, and the vehicle information entered by the user through the second control is used as the vehicle information associated with the historical payment record.
[0012] Secondly, embodiments of this application also provide a payment device, the device comprising: The interface display module is used to respond to the user's input vehicle payment request, obtain the user's historical payment records, and display the payment interface; A control display module is used to display interactive controls on the payment interface; the interactive controls include at least: a first control, which is used to display at least one vehicle information associated with the historical payment record for the user to select; The payment module is used to perform a payment operation on the target vehicle information if it receives target vehicle information obtained based on the interactive control.
[0013] In one feasible implementation, the interactive control further includes: a second control for the user to input vehicle information; The payment module is used to obtain target vehicle information based on the interactive control, including: The first vehicle information obtained based on the first control; Alternatively, based on the second vehicle information obtained from the second control.
[0014] In one feasible implementation, the device further includes: The time display module is used to display the operation time associated with each piece of vehicle information displayed in the first control; the operation time is the latest payment time of the vehicle information in the historical payment record.
[0015] In one feasible implementation, a control display module is used to display interactive controls on the payment interface, including: For each piece of vehicle information associated with the historical payment record, the latest payment time of the vehicle information in the historical payment record is determined as the operation time associated with the vehicle information; The vehicle information is displayed in a queue according to the order of operation time from newest to oldest. The first control then sequentially displays the information of the first N vehicles in the display queue.
[0016] In one feasible implementation, the device further includes: The deletion module is used to delete the specified vehicle information in the display queue in response to a user triggering a deletion operation for the specified vehicle information; The update module is used to update the information of the first N vehicles displayed in the first control according to the adjusted display queue.
[0017] In one feasible implementation, the device further includes: An add module is used to display a third control in the first control if the number of vehicle information entries in the display queue is less than N; the third control is used for users to add new vehicle information.
[0018] In one feasible implementation, the device further includes: The input module is used to display a second control if no historical payment record of the user is found; the second control is used for the user to input vehicle information. The record generation module is used to generate historical payment records after payment is completed, and to associate the vehicle information entered by the user through the second control with the vehicle information associated with the historical payment records.
[0019] Thirdly, embodiments of this application also provide an electronic device, including: a processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the payment method as described in any one of the first aspects.
[0020] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the payment method as described in any one of the first aspects.
[0021] This application provides a payment method, device, electronic device, and storage medium that displays a payment interface in response to a user's vehicle payment request, obtains the user's historical payment records, and then displays an interactive control containing a first control on the payment interface. The first control is used to display at least one vehicle information associated with the historical payment records for the user to select, and performs a payment operation on the target vehicle information after receiving the target vehicle information obtained based on the interactive control.
[0022] Compared to existing technologies that require users to manually enter license plate numbers or only allow payment for fixed, bound vehicles, this application embodiment avoids the tedious steps and error-prone issues of manual input by calling historical payment records and proactively displaying associated vehicle information for users to choose from. At the same time, it allows users to directly select any historically associated vehicle to complete the payment on the payment interface without having to exit the current process and reset it, simplifying the payment operation process in multi-vehicle scenarios and improving payment efficiency and user experience.
[0023] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0024] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0025] Figure 1 A flowchart of a payment method provided in an embodiment of this application is shown.
[0026] Figure 2 A flowchart of another payment method provided by an embodiment of this application is shown.
[0027] Figure 3 A schematic diagram of a payment device provided in an embodiment of this application is shown.
[0028] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown. Detailed Implementation
[0029] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0030] With the widespread adoption of smart parking and online payment services, mobile-based vehicle payment systems have become a key means of alleviating parking lot exit congestion and improving traffic efficiency. In practice, users often need to complete the payment process on their mobile devices when leaving a parking lot, a scenario that places high demands on the speed and accuracy of the operation.
[0031] Currently, a common payment method requires users to manually enter their license plate number on the payment interface. However, the lighting conditions at parking lot exits or in underground garages are complex, and users are often in a rush. Manually entering the number is not only time-consuming but also prone to errors. If an error occurs, the system will deduct the fee based on the incorrect license plate, causing the user to pay for an unfamiliar vehicle or for payment to fail because the vehicle registered under their name is not correctly identified. Ultimately, this requires reversing or manual intervention, which increases the time spent leaving the parking lot and defeats the original purpose of smart parking in improving efficiency.
[0032] Another approach involves binding a specific vehicle to the system. Users pre-bind a frequently used vehicle to the system, and subsequent payments are processed by default for that vehicle. While this avoids the hassle of entering the license plate number each time, it doesn't suit flexible scenarios such as family members sharing multiple vehicles, temporary changes of driving vehicles, or users paying parking fees for relatives or friends. When a user needs to pay for a vehicle other than their bound vehicle, they have to exit the current payment process, go to the settings module to change the bound vehicle, and then return to the payment page to repeat the process. This fragmented and repetitive process significantly slows down the payment process and negatively impacts the user experience in everyday scenarios where multiple vehicles are used interchangeably.
[0033] Therefore, it is necessary to address the dual problems of error-prone manual input and insufficient flexibility of fixed binding while maintaining convenient operation. Considering that users accumulate a large number of historical payment records over long-term use, these records naturally link to information on multiple vehicles the user has actually paid for and reflect the user's frequently used vehicle range. Therefore, if this existing data can be fully utilized, it is possible to intelligently expand the range of vehicles that can be selected for payment without increasing the user's additional operational burden. Based on this idea, this application proposes a payment method, device, electronic device, and storage medium. Its purpose is to: when a user initiates a vehicle payment request, first obtain the user's historical payment records and display selectable controls containing historically associated vehicle information, allowing the user to quickly select and pay for any historical vehicle under their name directly on the payment interface without manual input or pre-binding. This achieves a unified, coherent, and efficient payment process in multi-vehicle scenarios, ultimately simplifying operations, avoiding errors, and improving overall payment efficiency. The following is a detailed description: To facilitate understanding of this embodiment, a payment method disclosed in this application embodiment will first be described in detail. For example... Figure 1 As shown, it includes the following steps: Step 101: In response to the user's input of a vehicle payment request, obtain the user's historical payment records and display the payment interface.
[0034] When a user is about to drive out of the parking lot or needs to settle parking fees, they will initiate a vehicle payment request through their terminal. This vehicle payment request can be an action taken by the user actively opening a relevant payment mini-program or application, or it can be a page loading action triggered by the user scanning a payment QR code at the parking lot exit. When the method provided in this application embodiment receives this request, it will then obtain the user's historical payment records over a period of time and display the payment interface to the user.
[0035] It should be noted that the historical payment records mentioned here do not only refer to the payment history of the vehicle currently linked to the user, but also cover information on all vehicles under the user's account that have actually paid parking fees. These records are usually stored on the server and aggregated based on the unique identifier of the user account. In practice, different users may have different historical record retention policies, such as retaining the most recent three months, six months, or all traceable payment records. The specific retention period can be determined according to actual operational needs or data management strategies, and this application embodiment does not limit this.
[0036] There is no strict sequential order between displaying the payment interface and retrieving historical payment records. In some scenarios, to shorten user waiting time, a basic interface framework can be displayed first, followed by asynchronously fetching historical data in the background and gradually populating the corresponding controls. In other scenarios, the complete payment interface can be presented to the user only after the historical data is ready. Both execution orders can be flexibly selected based on the actual network environment and server response, and both are covered in the embodiments of this application.
[0037] Step 102: Display interactive controls on the payment interface; the interactive controls include at least one first control, which is used to display at least one vehicle information associated with the historical payment record for the user to select.
[0038] After the payment interface is presented to the user, this embodiment of the application will display corresponding interactive controls on the payment interface. These interactive controls are the main medium for users to operate on the payment interface. Their specific forms may be clickable buttons with multiple license plate information, drop-down lists with multiple license plate information, tabs with multiple license plate information, sliders with multiple license plate information, or icon cards with vehicle identification, etc. The specific visual style adopted can be determined according to the actual interface design requirements, and this application does not limit it.
[0039] The interactive controls include at least one primary control. The core function of this primary control is to display the vehicle information associated with the previously obtained historical payment records, allowing the user to select it during payment. The associated vehicle information refers to the license plate number extracted from the historical payment records, and may further include auxiliary identification information such as vehicle brand, model, color, and parking space number. Its purpose is to help the user quickly confirm whether the currently selected vehicle is the target vehicle for this payment. In actual presentation, this vehicle information can be arranged vertically in a list format, displayed sequentially by horizontal scrolling, or multiple vehicle cards can be displayed simultaneously using a grid layout. The specific display method can be adapted and adjusted according to the screen size and aesthetics of the mobile terminal.
[0040] The number of vehicle information entries displayed by the first control can be preset to an upper limit, or it can be dynamically determined based on actual conditions without setting an upper limit. If the total number of vehicles associated with a user's historical payment records does not exceed the preset upper limit, the first control can directly display all vehicle information for the user to select. Specifically, if the user has few historical payment records, the first control may display only one or two vehicle entries; while if the user has a rich history of payment records, the first control may display multiple vehicle entries, such as three or four. If the total number of vehicles associated with a user's historical payment records exceeds the preset upper limit, the first control will display no more than the maximum number of vehicle entries. The specific number displayed can be flexibly set according to needs and is not limited here.
[0041] For situations with limited display space or a large number of vehicles, the first control can use a collapsible or scrolling loading method to accommodate more vehicle information. For example, initially only a portion of the vehicles can be displayed, and users can expand the remaining selectable vehicles by pulling down or clicking "View More". Alternatively, a batch loading method can be adopted, that is, first load and display a portion of the vehicle information for users to select immediately, while continuing to fetch the remaining vehicle information in the background. Once the fetching is complete, it is dynamically updated to the first control, thus ensuring responsiveness without affecting the user's quick operation.
[0042] The order in which vehicle information is arranged can also be based on certain strategies. For example, the vehicle used for the most recent payment can be placed at the top of the list, or the vehicles can be sorted from highest to lowest based on their historical payment frequency. Alternatively, the most likely vehicle can be intelligently recommended and placed at the top based on the user's current location or the actual recognition results of the parking lot. These arrangement methods can be used individually or in combination, and the specific strategies can be pre-configured according to the actual application scenario or set by the user.
[0043] Step 103: If the target vehicle information obtained based on the interactive control is received, perform a payment operation on the target vehicle information.
[0044] When a user selects or touches vehicle information via interactive controls, this embodiment receives the selected target vehicle information and then uses that target vehicle as the payment subject, connecting to the payment channel to execute the deduction operation. In specific implementations, users can directly select a vehicle by clicking on a vehicle item in the first control, or they can select the vehicle first and then trigger the payment process via a separate confirmation button. The latter is more suitable for scenarios requiring secondary user confirmation. Selected target vehicles can also be highlighted or marked on the payment interface to indicate to the user which vehicle has been selected, preventing accidental operations.
[0045] Once the payment process is complete, the user will be notified of the payment result. For example, the payment interface may display a success or failure message. If the payment is successful, further details such as the payment amount, parking duration, order number, and parking lot name can be included for user verification. If the payment fails, the reason for the failure can be displayed, such as insufficient balance, network timeout, or license plate recognition error, while retaining the currently selected vehicle information, allowing the user to try paying again or choose a different vehicle. This comprehensive feedback mechanism helps users confirm that the payment was correct after completion and facilitates timely identification of problems and subsequent action in case of anomalies.
[0046] This application provides a payment method, device, electronic device, and storage medium that displays a payment interface in response to a user's vehicle payment request, obtains the user's historical payment records, and then displays an interactive control containing a first control on the payment interface. The first control is used to display at least one vehicle information associated with the historical payment records for the user to select, and performs a payment operation on the target vehicle information after receiving the target vehicle information obtained based on the interactive control.
[0047] Compared to existing technologies that require users to manually enter license plate numbers or only allow payment for fixed, bound vehicles, this application embodiment avoids the tedious steps and error-prone issues of manual input by calling historical payment records and proactively displaying associated vehicle information for users to choose from. At the same time, it allows users to directly select any historically associated vehicle to complete the payment on the payment interface without having to exit the current process and reset it, simplifying the payment operation process in multi-vehicle scenarios and improving payment efficiency and user experience.
[0048] In one feasible implementation, the interactive control further includes a second control for the user to input vehicle information.
[0049] In the aforementioned payment interface, in addition to the first control, a second control can be set up for users to manually input vehicle information. When the target vehicle does not appear in the historical associated vehicle list displayed by the first control, such as when a user is paying for a new car for the first time or paying on behalf of a friend or relative, the user can manually enter the license plate number through the second control to complete the payment. The second control can take the form of a text input box, an input component with format validation, or a shortcut to call the camera to scan and recognize the license plate. The specific implementation method can be flexibly set according to the actual scenario.
[0050] At this point, step 103, based on the target vehicle information obtained from the interactive control, includes: The first vehicle information is obtained based on the first control; or the second vehicle information is obtained based on the second control.
[0051] The target vehicle information ultimately obtained in this embodiment can come from either the first control or the second control. If the user selects a vehicle in the first control, the first vehicle information is obtained based on the first control as the target vehicle information; if the user does not select a vehicle from the first control but manually enters the license plate number through the second control, the second vehicle information is obtained based on the second control as the target vehicle information.
[0052] Two paths coexist on the same payment interface. Vehicles with a history can quickly select the path using the first control, while vehicles without a history can manually enter the path using the second control. Each path is designed for different scenarios, and users do not need to exit the current interface to perform other operations.
[0053] When both the first and second controls exist simultaneously, interaction logic can be set: if the user has already selected something in the first control, the input box of the second control will be automatically cleared or grayed out; conversely, if not, the same logic can be set. Alternatively, mutual exclusion logic can be omitted, and the information obtained by the control last interacted with by the user can be used, or a query can be sent to the user. The specific interaction method can be configured according to product design requirements, and this application does not impose any restrictions on it.
[0054] The second control can validate the format of the input received before submission. For example, it can perform regular expression matching on license plate numbers to check whether the number of digits, province abbreviation, and alphanumeric combinations conform to coding standards. If there is an error in the input, it will immediately prompt the user on the interface, guiding them to correct it before submitting, thus avoiding payment failure due to input errors.
[0055] This application embodiment adds a second control to the payment interface, allowing users to complete payment manually by entering vehicle information even when the target vehicle is not listed in the historical associated vehicle list. This avoids the awkward situation of being unable to use the solution due to a lack of historical records. The first and second controls coexist on the same payment interface, corresponding to two operation paths: quick selection and manual input, respectively. This covers the quick payment needs of most daily high-frequency scenarios while also retaining the ability to handle exceptional scenarios such as new car payments or payments made on behalf of relatives and friends. This makes the solution more widely applicable, allowing users with different driving habits to complete payment in one step on the current interface. In addition, the second control can perform format validation and provide immediate error prompts before input submission, effectively reducing the probability of errors in manual input scenarios and further ensuring operational accuracy.
[0056] In one feasible implementation, the method further includes: For each piece of vehicle information displayed in the first control, the operation time associated with the vehicle information is displayed; the operation time is the latest payment time of the vehicle information in the historical payment record.
[0057] When the first control displays vehicle information associated with historical payment records, it can also synchronously display the operation time associated with each vehicle information. The operation time here refers to the latest payment time for that vehicle in the historical payment records, that is, the specific moment when the license plate last completed a parking fee payment.
[0058] The purpose of displaying the payment time is to help users quickly make a judgment and selection among multiple available vehicles. When multiple vehicle information is listed in the first control, users often need additional information to assist in decision-making, especially when the license plate numbers of different vehicles are similar, or when the user has a vague memory of whether a certain vehicle has been used recently. The latest payment time can provide an intuitive reference. For example, users can use this to distinguish which vehicle is frequently used recently and which vehicle was temporarily paid for a long time ago, thus making them more confident in selecting the target vehicle for this payment.
[0059] In actual presentation, the operation time can be displayed directly near the corresponding vehicle information, such as immediately to the right or below the license plate number. Alternatively, it can be displayed in a smaller font size or a lighter color to visually differentiate it from the main vehicle information. Specifically, the timing of displaying the operation time can be synchronized with the loading of the vehicle information list by the first control, meaning each vehicle entry's latest payment time is included during rendering; or it can be dynamically retrieved and displayed after user interaction with the first control, such as when the user swipes the list or long-presses a vehicle entry. Both methods can be flexibly configured according to the actual interface design requirements.
[0060] For situations where the same vehicle may have multiple payments in its payment history, this solution always displays the payment time most recent to the current time across all historical payment records. If a vehicle has appeared in the payment history, but all its corresponding payment records are quite old, then only that older time is displayed. Users can use this time information to determine the vehicle's activity level and decide whether to make a payment for that vehicle. This display method based on the latest payment time allows the auxiliary information presented by the first control to convey the greatest decision-making value in the most concise form, without having to list all the vehicle's historical payment details, thus balancing information effectiveness and interface simplicity.
[0061] In another embodiment, when the first control displays vehicle information associated with historical payment records, in addition to displaying the latest payment time for each vehicle, other auxiliary information can also be displayed as needed to help users quickly make a judgment when selecting multiple vehicles.
[0062] For example, the usage frequency of each vehicle in the historical payment records can be displayed, that is, the cumulative number of payments made for that vehicle within a certain period. Vehicles with higher frequency of use usually represent vehicles used frequently recently, helping users quickly identify the vehicle they are currently driving. The statistical period can be the most recent month, three months, or the entire historical period, which can be preset according to operational needs.
[0063] It can also display multiple historical payment times for the vehicle, rather than just the most recent one. Users can view the dates, times, and even the corresponding parking lot locations for the vehicle's most recent payments by expanding details or using floating prompts, gaining a more complete understanding of the vehicle's usage history over time.
[0064] It can also display the active time period information for each vehicle, that is, the time period distribution in which the vehicle frequently appears in the historical payment records. For example, one vehicle is concentrated in the morning and evening rush hours on weekdays, while another vehicle is concentrated in the daytime on weekends, helping users to further distinguish the usage scenarios of different vehicles in a family with multiple vehicles.
[0065] The information such as the latest payment time, usage frequency, multiple payment time points, and active periods can be flexibly selected and combined according to the interface space and design requirements. When there is enough space, multiple items can be displayed at the same time. When space is limited, one or two key pieces of information can be selected, and the rest can be viewed by clicking or long-pressing. This application does not limit this.
[0066] In one feasible implementation, interactive controls are displayed on the payment interface, including: For each vehicle information associated with the historical payment record, the latest payment time of the vehicle information in the historical payment record is determined as the operation time associated with the vehicle information; the display queue of the vehicle information is determined according to the operation time from newest to oldest; and the first N vehicle information in the display queue are displayed sequentially in the first control.
[0067] Before displaying vehicle information associated with historical payment records in the first control, the latest payment time in the historical payment record can be determined for each vehicle information associated with that record, and this latest payment time can be used as the operation time associated with that vehicle information. Then, all vehicle information is sorted in ascending order of operation time to create a display queue. The more recent the operation time, i.e., the later the vehicle's most recent payment occurred, the higher its position in the display queue; conversely, the older the operation time, the lower its position.
[0068] Once the display queue is determined, the information of the first N vehicles can be retrieved sequentially from the beginning of the queue and displayed in the first control. For example, N can be set to 3. In this way, the first control always presents the user with the three most recently used vehicles from the historical payment records. These vehicles are most likely to be the user's target vehicle for this payment, effectively improving the user's selection efficiency. Setting N to 3 takes into account that most families typically own 1 to 3 frequently used vehicles, a number sufficient to cover most daily usage scenarios, while avoiding excessive screen space occupied by displaying too much vehicle information, achieving a good balance between information sufficiency and interface simplicity. In other embodiments, N can also be flexibly set according to the size of the first control.
[0069] For vehicle information ranked 3rd or lower in historical payment records, although not directly displayed in the initial list of the first control, they can be accessed through interactive operations. For example, a "View More" entry can be set in the first control, allowing users to expand or jump to a complete list containing all remaining vehicle information. In this way, even if a vehicle is used infrequently or its last payment was made a long time ago and therefore not in the top 3, users still have a way to select that vehicle to complete the payment, and the vehicle will not be excluded due to sorting or quantity truncation.
[0070] In one specific implementation, if the total number of vehicles associated with a user's historical payment records is less than 3, all vehicle information is displayed directly. The sorting in the display queue is still based on the order of operation time from newest to oldest. In this case, the number of vehicles in the first control is the actual total number of associated vehicles, and no truncation or padding is required.
[0071] In a feasible implementation plan, such as Figure 2 As shown, the method further includes: Step 201: In response to the user triggering a deletion operation for the specified vehicle information, delete the specified vehicle information from the display queue.
[0072] Step 202: Update the information of the first N vehicles displayed in the first control according to the adjusted display queue.
[0073] Users can delete any vehicle information stored in the display queue. For example, a user might not want to keep a vehicle in the recent license plate options because it has been sold, is no longer used, or simply wants to clear redundant information from the list. In this case, they can remove the vehicle by triggering a deletion operation for that specific vehicle information. The specific triggering method for deletion can be a separate "Delete" button or icon next to each vehicle information entry in the first control for the user to click, or unified deletion management in a dedicated license plate management interface, or deletion can be selected by long-pressing a vehicle entry and selecting "Delete" from a pop-up menu, or a swipe gesture interaction can be provided on the vehicle entry. The entry point for deletion is not limited to the current display of vehicle information in the first control. Users can find the management entry in other areas of the payment interface, or manage the addition and deletion of stored license plate information in a dedicated settings page. The specific implementation method can be flexibly determined according to the actual product design requirements, and this application does not impose any restrictions on it.
[0074] When a user triggers a deletion operation on a specific vehicle information, this embodiment responds to the operation by deleting the specified vehicle information from the current display queue. Subsequently, due to the change in the display queue, vehicle information originally ranked after the deletion position will be sequentially moved forward to fill the gap, while the overall order of the queue remains unchanged, following the order from newest to oldest based on the operation time. Based on this, this embodiment will redetermine the top N vehicle information according to the adjusted display queue and update the content currently displayed in the first control. For example, if a vehicle information originally ranked after the Nth position is moved into the top N due to the deletion operation, it will be newly displayed in the updated first control. If the deleted vehicle information was originally outside the top N, the deletion operation will not affect the actual vehicle information content currently displayed in the first control, but the background display queue still needs to be updated synchronously for subsequent sorting or reloading.
[0075] It's important to note that the deletion operation can be configured to apply only to vehicle information management in the display queue. This means it only removes the vehicle information from the user's recent license plate display list, without affecting historical order data related to that vehicle in the payment history. Historical payment records, serving as proof of payment, should be fully retained for future user verification. This deletion mechanism allows users to manage their stored license plate information independently, removing unwanted vehicles. This ensures the display queue always contains only the vehicles the user truly needs and is continuously interested in, further improving the list's cleanliness and selection accuracy. Simultaneously, the automatic replacement mechanism after deletion ensures that the first control always displays a sufficient number of vehicle information for the user to choose from, preventing insufficient display due to individual deletion operations and thus maintaining a good user experience. For example, the deletion operation can also be configured to apply to both the display queue and historical payment records simultaneously.
[0076] In one feasible implementation, the method further includes: If the number of vehicle information entries in the display queue is less than N, then a third control is displayed in the first control; the third control is used for the user to add new vehicle information.
[0077] When the first control needs to display N vehicle information entries, but the actual number of vehicle information entries in the display queue is less than N (e.g., the user is using this solution for the first time and has no historical payment records, or the user has removed some vehicle information through a deletion operation, resulting in less than N remaining entries), the selectable vehicle information in the first control cannot fill the preset display space. To address this situation, a third control can be displayed within the first control, allowing the user to add new vehicle information.
[0078] The third control can be a clickable area with an "Add New License Plate" or "+" icon. Its visual style can be differentiated from the entries displaying vehicle information, for example, by using a dotted border, a different background color, or a plus icon, so that users can intuitively identify its functional difference from the regular vehicle options. In terms of placement, the third control can be placed after existing vehicle information entries as the last item in the list; it can also be evenly distributed in empty spaces to maintain a neat interface layout; or it can be placed separately in a fixed area such as the bottom or side of the first control. The specific location can be flexibly determined according to the overall design layout of the payment interface.
[0079] When a user triggers the third control, they can enter the vehicle information addition process. For example, a license plate input window can pop up for the user to manually enter a new license plate number, or the user can be redirected to a dedicated license plate management page to add the vehicle. Alternatively, an input area can be expanded directly on the current screen for the user to enter the information instantly. Newly added vehicle information is simultaneously stored in the display queue and participates in subsequent sorting and display according to the operation time (i.e., the time of addition or payment), ensuring that the newly added vehicle information appears in the selectable list of the first control the next time the user enters the payment interface.
[0080] It is understandable that both the third control and the aforementioned second control involve the input and addition of vehicle information, but their roles differ. The second control primarily serves the scenario where the user needs to select the current target vehicle during the payment process, while the third control primarily serves the need to supplement and expand the list when the number of selectable vehicles in the display queue is insufficient. In some implementations, the entry points for the two controls can be merged or mutually called. For example, triggering the third control can directly bring up the input interface of the second control for the user to operate. This maintains functional consistency, reduces the duplication of interface elements, and makes the overall interaction more concise and unified. This application does not limit the specific implementation method of the third control or its relationship with the second control.
[0081] In one feasible implementation, the method further includes: If the user's historical payment record is not obtained, a second control is displayed; the second control is used for the user to input vehicle information; after the payment is completed, a historical payment record is generated, and the vehicle information entered by the user through the second control is used as the vehicle information associated with the historical payment record.
[0082] If a user initiates a vehicle payment request and no historical payment records are found, it means the user has not previously used the corresponding payment system, or the historical payment records are temporarily unavailable due to data migration, account changes, or other reasons. In this case, the payment interface will not display the first control and its associated historical vehicle information. Instead, it will display a second control for the user to directly input the vehicle information for this payment. The second control can be a license plate number input box or an input component with format validation and auto-completion functions. After manually entering the target vehicle's license plate number through the second control, the user can complete the order matching and payment process.
[0083] After the user completes the payment through the second control, since the payment has actually occurred, this embodiment of the application will generate a corresponding historical payment record for the user and store the vehicle information entered by the user through the second control as the vehicle information associated with the historical payment record. This historical payment record will be bound to the user's account identifier to ensure that when the user initiates another vehicle payment request, the system can obtain the generated historical payment record based on their account identifier, thereby identifying that the user has a payment history and displaying the corresponding historically associated vehicle information for the user to select later.
[0084] Understandably, the process of completing the initial payment and generating a historical payment record through the second control essentially transforms the user from a "user with no historical payment history" to a "user with historical payment history." When the user initiates a vehicle payment request again, the vehicle information used in the initial payment is already stored in their historical payment record, making it available for display and selection by the first control. This ensures that the core mechanism of this solution—displaying associated vehicle information based on historical payment records for quick user selection—takes effect in the user's subsequent use. This design ensures that all users (including first-time users) can complete the payment within the current payment interface, while gradually accumulating historical data with increased usage, automatically enjoying the convenience of simplified subsequent operations without requiring any additional settings or binding operations from the user.
[0085] Based on the same technical concept, embodiments of this application also provide a payment device, such as... Figure 3 As shown, the device includes: The interface display module 301 is used to respond to the user's input vehicle payment request, obtain the user's historical payment records, and display the payment interface.
[0086] The control display module 302 is used to display interactive controls on the payment interface; the interactive controls include at least one first control, which is used to display at least one vehicle information associated with the historical payment record for the user to select.
[0087] The payment module 303 is used to perform a payment operation on the target vehicle information if it receives target vehicle information obtained based on the interactive control.
[0088] This application provides a payment method, device, electronic device, and storage medium that displays a payment interface in response to a user's vehicle payment request, obtains the user's historical payment records, and then displays an interactive control containing a first control on the payment interface. The first control is used to display at least one vehicle information associated with the historical payment records for the user to select, and performs a payment operation on the target vehicle information after receiving the target vehicle information obtained based on the interactive control.
[0089] Compared to existing technologies that require users to manually enter license plate numbers or only allow payment for fixed, bound vehicles, this application embodiment avoids the tedious steps and error-prone issues of manual input by calling historical payment records and proactively displaying associated vehicle information for users to choose from. At the same time, it allows users to directly select any historically associated vehicle to complete the payment on the payment interface without having to exit the current process and reset it, simplifying the payment operation process in multi-vehicle scenarios and improving payment efficiency and user experience.
[0090] In one feasible implementation, the interactive control further includes a second control for the user to input vehicle information.
[0091] The payment module is used to obtain target vehicle information based on the interactive control, including: The first vehicle information is obtained based on the first control.
[0092] Alternatively, based on the second vehicle information obtained from the second control.
[0093] In one feasible implementation, the device further includes: The time display module is used to display the operation time associated with each piece of vehicle information displayed in the first control; the operation time is the latest payment time of the vehicle information in the historical payment record.
[0094] In one feasible implementation, a control display module is used to display interactive controls on the payment interface, including: For each vehicle information associated with the historical payment record, the latest payment time of the vehicle information in the historical payment record is determined as the operation time associated with the vehicle information.
[0095] The vehicle information is displayed in a queue based on the order of operation time from newest to oldest.
[0096] The first control then sequentially displays the information of the first N vehicles in the display queue.
[0097] In one feasible implementation, the device further includes: The deletion module is used to delete the specified vehicle information from the display queue in response to a user triggering a deletion operation for the specified vehicle information.
[0098] The update module is used to update the information of the first N vehicles displayed in the first control according to the adjusted display queue.
[0099] In one feasible implementation, the device further includes: An add module is used to display a third control in the first control if the number of vehicle information entries in the display queue is less than N; the third control is used for users to add new vehicle information.
[0100] In one feasible implementation, the device further includes: The input module is used to display a second control if no historical payment record of the user is obtained; the second control is used for the user to input vehicle information.
[0101] The record generation module is used to generate historical payment records after payment is completed, and to associate the vehicle information entered by the user through the second control with the vehicle information associated with the historical payment records.
[0102] Figure 4 A schematic diagram of an electronic device provided in this application embodiment includes: a processor 401, a storage medium 402, and a bus 403. The storage medium 402 stores machine-readable instructions executable by the processor 401. When the electronic device runs the payment method as described in the embodiment, the processor 401 communicates with the storage medium 402 via the bus 403, and the processor 401 executes the machine-readable instructions to perform the steps as described in the embodiment.
[0103] In this embodiment, the storage medium 402 may also execute other machine-readable instructions to perform other methods as described in the embodiment. For details on the specific execution steps and principles, please refer to the description of the embodiment, which will not be repeated here.
[0104] This application also provides a computer-readable storage medium storing a computer program that is executed by a processor to perform the steps as described in the embodiments.
[0105] In this embodiment, the computer program, when run by the processor, can also execute other machine-readable instructions to perform other methods as described in the embodiments. For details on the specific execution steps and principles, please refer to the description of the embodiments, which will not be repeated here.
[0106] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the coupling or direct coupling or communication connection shown or discussed may be through some communication interface; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.
[0107] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0108] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0109] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0110] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A payment method, characterized in that, The method includes: In response to a user's input of a vehicle payment request, the system retrieves the user's historical payment records and displays the payment interface. The payment interface displays interactive controls; the interactive controls include at least: a first control, which is used to display at least one vehicle information associated with the historical payment record for the user to select; If the target vehicle information obtained based on the interactive control is received, a payment operation is performed on the target vehicle information.
2. The method according to claim 1, characterized in that, The interactive control further includes: a second control, which is used for the user to input vehicle information; The target vehicle information obtained based on the interactive control includes: The first vehicle information obtained based on the first control; Alternatively, based on the second vehicle information obtained from the second control.
3. The method according to claim 1, characterized in that, The method further includes: For each piece of vehicle information displayed in the first control, the operation time associated with the vehicle information is displayed; the operation time is the latest payment time of the vehicle information in the historical payment record.
4. The method according to claim 1, characterized in that, The payment interface displays interactive controls, including: For each piece of vehicle information associated with the historical payment record, the latest payment time of the vehicle information in the historical payment record is determined as the operation time associated with the vehicle information; The vehicle information is displayed in a queue according to the order of operation time from newest to oldest. The first control then sequentially displays the information of the first N vehicles in the display queue.
5. The method according to claim 4, characterized in that, The method further includes: In response to a user triggering a deletion operation for specified vehicle information, the specified vehicle information is deleted from the display queue. Update the information of the first N vehicles displayed in the first control according to the adjusted display queue.
6. The method according to claim 5, characterized in that, The method further includes: If the number of vehicle information entries in the display queue is less than N, then a third control is displayed in the first control; the third control is used for the user to add new vehicle information.
7. The method according to any one of claims 2-6, characterized in that, The method further includes: If no historical payment record of the user is obtained, a second control is displayed; the second control is used for the user to enter vehicle information. After payment is completed, a historical payment record is generated, and the vehicle information entered by the user through the second control is used as the vehicle information associated with the historical payment record.
8. A payment device, characterized in that, The device includes: The interface display module is used to respond to the user's input vehicle payment request, obtain the user's historical payment records, and display the payment interface; A control display module is used to display interactive controls on the payment interface; the interactive controls include at least: a first control, which is used to display at least one vehicle information associated with the historical payment record for the user to select; The payment module is used to perform a payment operation on the target vehicle information if it receives target vehicle information obtained based on the interactive control.
9. An electronic device, characterized in that, include: The device includes a processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is in operation, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the payment method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the payment method as described in any one of claims 1 to 7.
