Information processing method and device, storage medium and electronic equipment
By comparing the distance between the user's location and the target gas station, generating data, and displaying a confirmation interface, the problem of incorrect gas station information in gas payment is solved, improving payment accuracy and user experience.
Patent Information
- Application Number
- CN202410544323.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2025-10-31
AI Technical Summary
Existing payment methods for refueling cannot accurately determine whether the gas station information entered by the user is correct, leading to frequent payment errors and affecting user convenience.
By obtaining the user's location and the distance to the target gas station, comparing the difference between that distance and the predetermined distance, generating data, and displaying a confirmation interface to confirm the gas station, the system ensures that the user's input is correct.
Accurately identifying gas station information reduces payment errors and improves user convenience.
Smart Images

Figure CN120876003A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of information processing technology, and in particular to an information processing method, apparatus, storage medium, and electronic device. Background Technology
[0002] With the continuous increase in the number of cars, the demand for refueling services is also growing rapidly. Traditional refueling payment methods can no longer meet the market demand for efficiency and convenience. Therefore, refueling payment technology based on modern information technology has emerged, providing users with a faster and safer payment experience. Current technology typically involves drivers selecting a gas station through a user terminal, entering information such as the amount of fuel, the fuel type, and the pump number, and then making payment. However, current technology cannot accurately determine whether the information entered by the user is correct, which can easily lead to payment errors and cause considerable inconvenience to users. Summary of the Invention
[0003] In view of this, the purpose of this invention is to provide an information processing method, apparatus, storage medium, and electronic device that can accurately determine whether the gas station entered by the user is correct, reduce payment errors, and improve user convenience.
[0004] In a first aspect, embodiments of the present invention provide an information processing method, applicable to a server, the method comprising:
[0005] Obtain the user's location and the target gas station selected by the user;
[0006] Determine the first distance between the user's location and the target gas station's location;
[0007] Obtain the comparison result between the first distance and the predetermined distance;
[0008] In response to receiving a payment request, first data is generated based on the comparison result and sent to the user terminal, so that the user terminal can display a confirmation interface based on the first data to confirm the gas station for which payment is required.
[0009] Secondly, embodiments of the present invention provide an information processing method applicable to a user terminal, the method comprising:
[0010] Send a payment request to the server;
[0011] The server receives first data sent by the user, wherein the server is used to obtain the user's location and the target gas station selected by the user, determine a first distance between the user's location and the target gas station location, obtain a comparison result between the first distance and a predetermined distance, and generate first data based on the comparison result in response to receiving a payment request.
[0012] The confirmation interface is displayed based on the first data to confirm the gas station for which payment is required.
[0013] Thirdly, embodiments of the present invention provide an information processing method applicable to a user terminal, the method comprising:
[0014] Obtain the user's location and the target gas station selected by the user;
[0015] Determine the first distance between the user's location and the target gas station's location;
[0016] Obtain the comparison result between the first distance and the predetermined distance;
[0017] In response to receiving a payment request, a confirmation interface is displayed based on the comparison results to confirm the gas station for which payment is required.
[0018] Fourthly, embodiments of the present invention provide an information processing apparatus suitable for a server, the apparatus comprising:
[0019] The first acquisition unit is used to acquire the user's location and the target gas station selected by the user;
[0020] The first determining unit is used to determine a first distance between the user's location and the target gas station's location;
[0021] The first comparison unit is used to obtain the comparison result between the first distance and the predetermined distance;
[0022] The first sending unit is configured to, in response to receiving a payment request, generate first data based on the comparison result and send it to the user terminal, so that the user terminal can display a confirmation interface based on the first data to confirm the gas station for which payment is required.
[0023] Fifthly, embodiments of the present invention provide an information processing apparatus suitable for a user terminal, the apparatus comprising:
[0024] The request sending unit is used to send payment requests to the server;
[0025] A data receiving unit is used to receive first data sent by a server. The server is used to obtain the user's location and the target gas station selected by the user, determine a first distance between the user's location and the target gas station location, obtain a comparison result between the first distance and a predetermined distance, and generate the first data based on the comparison result in response to receiving a payment request.
[0026] The first display unit is used to display a confirmation interface based on the first data to confirm the gas station that requires payment.
[0027] Sixthly, embodiments of the present invention provide an information processing apparatus suitable for a user terminal, the apparatus comprising:
[0028] The second acquisition unit acquires the user's location and the target gas station selected by the user;
[0029] The second determining unit is used to determine a first distance between the user's location and the target gas station's location;
[0030] The second comparison unit is used to obtain the comparison result between the first distance and the predetermined distance;
[0031] The second sending unit is used to respond to the receipt of a payment request and display a confirmation interface based on the comparison result to confirm the gas station that needs to be paid.
[0032] In a seventh aspect, embodiments of the present invention provide an electronic device, including a memory and a processor, the memory being used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the methods described in the first, second and third aspects.
[0033] Eighthly, embodiments of the present invention provide a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the methods described in the first, second, and third aspects.
[0034] The technical solution of this invention obtains the user's location and the target gas station selected by the user, determines a first distance between the user's location and the target gas station's location, obtains a comparison result between the first distance and a predetermined distance, and in response to receiving a payment request, generates first data based on the comparison result and sends it to the user's terminal. This allows the user's terminal to display a confirmation interface based on the first data to confirm the gas station for which payment is required. Therefore, it can accurately determine whether the gas station entered by the user is correct, reduce payment errors, and improve user convenience. Attached Figure Description
[0035] The above and other objects, features and advantages of the present invention will become clearer from the following description of embodiments of the invention with reference to the accompanying drawings, in which:
[0036] Figure 1 This is a schematic diagram of an information interaction system according to an embodiment of the present invention;
[0037] Figure 2 This is a flowchart of the information interaction method according to the first embodiment of the present invention;
[0038] Figure 3 This is a schematic diagram of the homepage of an embodiment of the present invention;
[0039] Figure 4 This is a schematic diagram of a gas station selection interface according to an embodiment of the present invention;
[0040] Figure 5 This is a schematic diagram of a gas station selection interface according to another embodiment of the present invention;
[0041] Figure 6 This is a schematic diagram of the payment information input interface according to an embodiment of the present invention;
[0042] Figure 7 This is a schematic diagram of an example of the first confirmation interface according to an embodiment of the present invention;
[0043] Figure 8 This is a schematic diagram of another example of the first confirmation interface in an embodiment of the present invention;
[0044] Figure 9 This is a schematic diagram of the second confirmation interface according to an embodiment of the present invention;
[0045] Figure 10 This is a schematic diagram of the third confirmation interface according to an embodiment of the present invention;
[0046] Figure 11 This is a schematic diagram of the fourth confirmation interface according to an embodiment of the present invention;
[0047] Figure 12 This is a flowchart of the information processing method of the server according to the first embodiment of the present invention;
[0048] Figure 13 This is a flowchart of the information processing method for a user terminal according to the first embodiment of the present invention;
[0049] Figure 14 This is a flowchart of the information processing method for a user terminal according to the second embodiment of the present invention;
[0050] Figure 15 This is a schematic diagram of the information processing device of the server according to the first embodiment of the present invention;
[0051] Figure 16 This is a schematic diagram of the information processing device of the user terminal according to the first embodiment of the present invention;
[0052] Figure 17 This is a schematic diagram of the information processing device of the user terminal according to the second embodiment of the present invention;
[0053] Figure 18 This is a schematic diagram of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0054] The present invention is described below based on embodiments, but the invention is not limited to these embodiments. In the detailed description of the invention below, certain specific details are described in detail. Those skilled in the art will fully understand the invention even without these details. To avoid obscuring the essence of the invention, well-known methods, processes, flows, elements, and circuits are not described in detail.
[0055] Furthermore, those skilled in the art should understand that the accompanying drawings provided herein are for illustrative purposes only and are not necessarily drawn to scale.
[0056] Unless the context explicitly requires it, words such as "including" or "contains" throughout the application documents should be interpreted as including rather than exclusive or exhaustive; that is, meaning "including but not limited to".
[0057] In the description of this invention, it should be understood that the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Furthermore, in the description of this invention, unless otherwise stated, "a plurality of" means two or more.
[0058] Figure 1 This is a schematic diagram of an information interaction system according to an embodiment of the present invention. Figure 1 As shown, the information interaction system of this embodiment includes a server 1 and a user terminal 2. The server 1 and the user terminal 2 are connected by a communication link.
[0059] Server 1 is the platform server, used to provide refueling services to users, such as providing gas station locations, providing gas station navigation services, and providing fuel payment functions.
[0060] In some embodiments, server 1 is a ride-hailing platform server and can also provide ride-hailing related services.
[0061] Server 1 can be a single server or a server cluster consisting of multiple servers.
[0062] User terminal 2 is the terminal device used by the user. The user can select the refueling service provided by the server through APP (application), mini-program, web page, etc., carried by user terminal 2. The user refers to the driver or fellow passenger who needs to refuel.
[0063] The user terminal 2 can be implemented through a mobile phone, platform computer, laptop computer, vehicle terminal or other terminal device with data processing capabilities.
[0064] Figure 2This is a flowchart of the information interaction method according to the first embodiment of the present invention. Figure 2 The interaction between the server and the user terminal is illustrated, specifically including the following steps:
[0065] Step S101: The user terminal displays the homepage.
[0066] In this embodiment, the user terminal displays a homepage, which includes at least a refueling control.
[0067] Figure 3 This is a schematic diagram of the homepage of an embodiment of the present invention. For example... Figure 3 As shown, the homepage includes one or more controls, each with a different function. At least one of these controls is a refueling control.
[0068] Step S102: The user terminal sends a gas station acquisition request to the server.
[0069] In this embodiment, when the refueling control on the homepage is triggered, the user terminal generates a gas station acquisition request and sends it to the server. The gas station acquisition request includes at least the user's location, which is the current location information obtained by the user terminal through the location function when the user triggers the refueling control.
[0070] Step S103: The server obtains the second data.
[0071] In this embodiment, the server receives a gas station acquisition request from a user terminal, the request including the user's location. Second data is generated based on the user's location and sent to the user terminal; this second data includes at least one gas station. The user terminal then displays a gas station selection interface based on the second data, the interface including a list of gas stations, and the list includes at least one gas station.
[0072] Specifically, the server pre-stores the names and locations of various gas stations. Upon receiving a gas station retrieval request, it extracts the user's location from the request, retrieves gas stations within a certain range of the user's location, generates second data for these gas stations, and sends it to the user's terminal. The retrieval of gas stations within the user's location can be based on various existing methods, such as selecting a certain number of gas stations in order of distance from nearest to farthest, or retrieving gas stations within a predetermined distance.
[0073] The second data includes information such as the name, location, and distance between each gas station and the user's location.
[0074] Step S104: The server sends the second data to the user terminal.
[0075] In this embodiment, the server sends the acquired second data to the user terminal.
[0076] Step S105: The user terminal displays the gas station selection interface.
[0077] In this embodiment, the user terminal receives second data, parses the second data to obtain various gas stations, and then displays a gas station selection interface. The gas station selection interface includes information such as the name, location, and distance between each gas station and the user's location.
[0078] Furthermore, the user terminal prioritizes the gas station closest to the user's location in the gas station list based on the distance between the user's location and the locations of each gas station, and adds a "closest to" tag to it.
[0079] Figure 4 This is a schematic diagram of a gas station selection interface according to an embodiment of the present invention. Figure 4 As shown, the gas station selection interface includes a list of gas stations. This list includes at least one gas station and its corresponding information. The information for each gas station includes its name, location, distance from the user, and price (fuel cost). It should be understood that this embodiment of the invention does not limit the specific content of the information for each gas station; for example, it may also include information on discounts or promotions offered by each gas station.
[0080] Taking gas station A in the image as an example, its name is "Gas Station A," its location is "xxxx location," its distance from the user is "xx kilometers," and its price is "price xxxx." Each gas station's information is integrated into a single frame, and each frame is clickable. Clicking a frame leads to the payment information input interface. The frame also includes navigation controls, as shown by the black graphics in each frame. Clicking the navigation controls redirects to a navigation interface displaying a navigation path starting from the user's location and ending at the gas station's location.
[0081] Furthermore, the user terminal prioritizes the gas station closest to the user's location in the gas station list based on the distance between the user's location and the locations of each gas station, and adds a "closest to" tag to it. Figure 4 If gas station A is the closest, then place gas station A's frame at the top, and add a "closest" label inside gas station A's frame.
[0082] This makes it convenient for users to choose the nearest gas station to refuel.
[0083] In some embodiments, the user terminal is further configured to display a refresh control on the gas station selection interface in response to the display duration of the gas station selection interface reaching a predetermined duration and / or the user's location moving beyond a predetermined length.
[0084] Figure 5 This is a schematic diagram of a gas station selection interface according to another embodiment of the present invention. Figure 5 and Figure 4 In comparison, a "refresh" control has been added at the top. Specifically, when the user's terminal stays on the gas station selection interface for a predetermined duration, and / or the user's position moves beyond a predetermined distance, the refresh control is displayed on the gas station selection interface to guide the user to refresh. When the user clicks the refresh control, the process returns to steps S102-S105 to refresh the gas station selection interface.
[0085] Step S106: The user terminal obtains the first selection information.
[0086] In this embodiment, the first selection information is input by the user through the gas station selection interface, and the first selection information includes at least the gas station selected by the user.
[0087] Step S107: The user terminal sends the first selection information.
[0088] In this embodiment, the user terminal sends first selection information to the server.
[0089] Step S108: The server obtains the user's location and the target gas station selected by the user.
[0090] In this embodiment, the server determines the gas station selected by the user in the first selection information as the target gas station.
[0091] In some embodiments, the first selection information may further include the user's location, which is obtained by the user terminal through a positioning function.
[0092] Step S109: The server determines the first distance.
[0093] In this embodiment, the server determines a first distance between the user's location and the target gas station's location.
[0094] Step S110: The server obtains the comparison results.
[0095] In this embodiment, the server presets a predetermined distance and obtains a comparison result between the first distance and the predetermined distance.
[0096] In one optional implementation, the predetermined distance is two, including a first threshold and a second threshold, where the first threshold is greater than the second threshold. The step of obtaining the comparison result between the first distance and the predetermined distance includes: in response to the first distance being greater than the first threshold, determining the comparison result as a first result, which indicates that the target gas station is outside the payment range; and in response to the first distance being less than the second threshold, determining the comparison result as a second result, which indicates that the target gas station is within the payment range. The first and second thresholds can be set according to actual conditions; for example, the first threshold could be 2000 meters and the second threshold could be 100 meters.
[0097] It should be noted that when the first distance is greater than or equal to the second threshold and less than or equal to the first threshold, this can be achieved using various existing methods, and the embodiments of the present invention do not impose any limitations on this. Alternatively, the case where the first distance is greater than or equal to the second threshold and less than or equal to the first threshold can also be categorized as either the first result or the second result.
[0098] In another optional implementation, the predetermined distance is one. The step of obtaining the comparison result between the first distance and the predetermined distance includes: in response to the first distance being greater than the predetermined distance, determining the comparison result as a first result, which indicates that the target gas station is outside the payment range; and in response to the first distance being less than or equal to the predetermined distance, determining the comparison result as a second result, which indicates that the target gas station is within the payment range. The predetermined distance can be set according to actual conditions, for example, a predetermined distance of 100 meters, 200 meters, 500 meters, etc.
[0099] Step S111: The user terminal displays the payment information input interface.
[0100] After step S106, when the user selects a gas station by clicking the gas station box on the gas station selection interface, the user terminal displays a payment information input interface. The payment information input interface includes at least one of a payment amount input box, a fuel nozzle number input box, and a fuel type input box.
[0101] Figure 6 This is a schematic diagram of the payment information input interface according to an embodiment of the present invention. Figure 6 As shown, the payment information input interface includes a pump number input box K1, a fuel number input box K2, and a payment amount input box K3.
[0102] The oil nozzle number input box K1 is used to input the oil nozzle number, such as nozzle number 1, nozzle number 2, etc.
[0103] The fuel type input box K2 is used to input the fuel type, such as 92# gasoline, 95# gasoline, diesel, etc.
[0104] The payment amount input box K3 is used to enter the amount to be paid.
[0105] In some embodiments, the payment information input interface also includes a quick amount input control, such as K4 and K5 in the figure. The quick amount input control is pre-set with input amounts, such as 200, 300, etc. When the quick amount input control is clicked, the corresponding amount is directly entered into the payment amount input box, improving user convenience.
[0106] Step S112: The user terminal receives payment information.
[0107] In this embodiment, the user terminal receives payment information input by the user through the payment information input interface. The payment information includes the payment amount, fuel nozzle number, fuel number, etc.
[0108] Step S113: The user terminal plays the payment information.
[0109] In this embodiment, the user terminal plays the payment information to prompt the user and allow the user to verify it, further reducing the occurrence of payment errors.
[0110] Step S114: The user terminal sends a payment request.
[0111] In this embodiment, after receiving the payment information entered by the user through the payment information input interface, the user terminal clicks the payment control, generates a payment request based on the payment information, and sends the payment request to the server.
[0112] It should be noted that the embodiments of the present invention do not restrict the order of execution of steps S111-S114 and steps S108-S110. It is possible that the user terminal executes steps S111-S114 first, and then the server executes steps S108-S110 after receiving the payment request; or, the server executes steps S108-S110 first, and then the user terminal executes steps S111-S114. After receiving the payment request, the server executes step S115.
[0113] Step S115: The server generates the first data.
[0114] In this embodiment, upon receiving a payment request, the server generates first data based on the comparison result and sends it to the user terminal, so that the user terminal displays a confirmation interface based on the first data to confirm the gas station for which payment is required.
[0115] In one embodiment, in response to a comparison result being a first result, the server obtains a detection result of payable gas stations within a second threshold range at the user's location. The detection result includes whether a payable gas station exists or not. Payable gas stations are gas stations other than the target gas station. A payment request is received. In response to a detection result indicating the existence of a payable gas station, first data is generated and sent to the user terminal. The first data includes at least one payable gas station and a first prompt message, causing the user terminal to display a first confirmation interface, which includes the payable gas station and a corresponding confirmation control. In response to a detection result indicating the absence of a payable gas station, the server generates first data and sends it to the user terminal. The first data includes a second prompt message, causing the user terminal to display a second confirmation interface, which includes the second prompt message.
[0116] In another embodiment, in response to the comparison result being a second result, the server obtains a detection result of payable gas stations within a second threshold range of the user's location, the detection result including whether a payable gas station exists or not. A payment request is received. In response to the detection result indicating the existence of a payable gas station, the server obtains the distances of the user's location to the payable gas station and the target gas station, respectively. In response to the user's location being less than the distance between the payable gas station and the target gas station, first data is generated and sent to the user terminal. The first data includes the payable gas station, the target gas station, and a third prompt message, causing the user terminal to display a third confirmation interface. The third confirmation interface includes the payable gas station, the target gas station, the third prompt message, and confirmation controls corresponding to each gas station. The third prompt message indicates that there are nearby gas stations. In response to the user's location being greater than the distance between the payable gas station and the target gas station, first data is generated and sent to the user terminal. The first data includes the payable gas station, the target gas station, and a fourth prompt message, causing the user terminal to display a fourth confirmation interface. The fourth confirmation interface includes the payable gas station, the target gas station, the fourth prompt message, and confirmation controls corresponding to each gas station. The fourth prompt message indicates that there are other nearby gas stations.
[0117] Step S116: The server sends the first data.
[0118] In this embodiment, the server sends the first data to the user terminal.
[0119] Step S117: The user terminal displays the confirmation interface.
[0120] In this embodiment, after receiving the first data, the user terminal displays a confirmation interface. This confirmation interface includes a first confirmation interface, a second confirmation interface, a third confirmation interface, and a fourth confirmation interface.
[0121] For the first confirmation interface, in response to the comparison result being a first result, indicating that the target gas station is outside the payment range, the server obtains the detection result of payable gas stations within a second threshold range at the user's location. The detection result includes whether a payable gas station exists or not. Payable gas stations are gas stations other than the target gas station. If the detection result indicates that a payable gas station exists, first data is generated and sent to the user terminal. The first data includes at least one payable gas station and a first prompt message, causing the user terminal to display the first confirmation interface, which includes the payable gas station and a corresponding confirmation control.
[0122] Figure 7 This is a schematic diagram illustrating an example of the first confirmation interface according to an embodiment of the present invention. Figure 7 In the illustrated embodiment, if the target gas station is too far from the user and there is another gas station nearby that accepts payments, a message will be displayed: "Too far from gas station. Payment is not available at the current gas station. There is a closer gas station nearby." The message also shows the gas stations that accept payments and their corresponding confirmation controls, such as the "Switch Gas Station" control shown in the figure.
[0123] Figure 7 In the illustrated embodiment, the target gas station is gas station A, and the obtained payable gas station is gas station B.
[0124] Therefore, when a user is too far from the selected gas station, they can be prompted to choose a closer gas station, reducing the occurrence of payment errors due to choosing the wrong gas station.
[0125] Figure 8 This is a schematic diagram of another example of the first confirmation interface in an embodiment of the present invention. Figure 8 In the illustrated embodiment, if the target gas station is too far from the user and there are multiple other gas stations nearby that accept payments, the system will display the message: "A closer gas station has been detected. Please confirm." The system also shows other gas stations that accept payments and their corresponding confirmation controls, such as the "Switch Gas Station" control shown in the figure.
[0126] Figure 8 In the illustrated embodiment, the target gas station is gas station A, and the gas stations that can be paid for are gas stations B and C, which will be used as examples for explanation.
[0127] Therefore, when a user is too far from the selected gas station, they can be prompted to choose a closer gas station, reducing the occurrence of payment errors due to choosing the wrong gas station.
[0128] For the second confirmation interface, in response to the comparison result being a first result, indicating that the target gas station is outside the payment range, the server obtains the detection result of payable gas stations within a second threshold range at the user's location. The detection result includes whether a payable gas station exists or not. Payable gas stations are those other than the target gas station. If the detection result is that no payable gas station exists, first data is generated and sent to the user terminal. The first data includes a second prompt message to cause the user terminal to display the second confirmation interface. The second confirmation interface includes at least one of a navigation control, a location refresh control, and the second prompt message, which indicates that the gas station is too far away.
[0129] Figure 9 This is a schematic diagram of the second confirmation interface according to an embodiment of the present invention. Figure 9 In the illustrated embodiment, if the target gas station is too far from the user and there are no other gas stations nearby where payment is available, a message will be displayed: "Too far from gas station reminder," along with navigation controls and a location refresh control. The navigation control can be "Navigate to station" as shown in the image, and the location refresh control can be "Refresh location" as shown in the image. Related prompts will be displayed, such as, "If you are not at the gas station, you can navigate to the station and place your order for refueling. If you have already arrived, you can try refreshing your location."
[0130] Therefore, if a user is too far from the selected gas station, the system can prevent them from continuing to pay, reducing the likelihood of payment errors due to selecting the wrong gas station. Additionally, navigation controls and location refresh controls provide convenience for the user.
[0131] For the third confirmation interface, in response to the comparison result being the second result, indicating that the target gas station is within the user's payment range, the server obtains the detection result of payable gas stations within a second threshold range of the user's location. The detection result includes whether a payable gas station exists or not. In response to the detection result indicating the existence of a payable gas station, the server obtains the distances of the user's location to the payable gas station and the target gas station, respectively. In response to the distance between the user's location and the payable gas station being less than the distance between the user's location and the target gas station, the server generates first data and sends it to the user terminal. The first data includes the payable gas station, the target gas station, and a third prompt message, so that the user terminal displays the third confirmation interface. The third confirmation interface includes the payable gas station, the target gas station, the third prompt message, and confirmation controls corresponding to each gas station. The third prompt message is used to indicate that there are closer gas stations nearby.
[0132] Figure 10 This is a schematic diagram of the third confirmation interface according to an embodiment of the present invention. Figure 10 In the illustrated embodiment, the third confirmation interface includes the payable gas station, the target gas station, a fourth prompt message, and confirmation controls corresponding to each gas station. The third prompt message indicates that there are nearby gas stations. The target gas station is gas station A, the payable gas station is gas station B, and the third prompt message is "Current gas station is x1 meters away from you" within the frame of gas station A, indicating the distance between the target gas station and the user. The distance between gas station B and the user is x2 meters, where x1 > x2. Therefore, it clearly indicates to the user that there are other gas stations closer than the target gas station. If the user confirms that the gas station to be paid for is gas station A, they can click "Continue Payment." If the user confirms that the gas station A selected in the previous process was incorrect, and the gas station to be paid for is actually gas station B, they can click "Switch Gas Station."
[0133] Therefore, the system can push the target gas station that the user has already selected, as well as the nearest gas stations that are available for payment, to the user for selection, reducing the occurrence of payment errors due to selecting the wrong gas station.
[0134] For the fourth confirmation interface, in response to the comparison result being the second result, the server obtains the detection result of payable gas stations within a second threshold range at the user's location. The detection result includes whether a payable gas station exists or not. In response to the detection result indicating the existence of a payable gas station, the server obtains the distances between the user's location and the payable gas station and the target gas station, respectively. In response to the distance between the user's location and the payable gas station being greater than the distance between the user's location and the target gas station, the server generates first data and sends it to the user terminal. The first data includes the payable gas station, the target gas station, and a fourth prompt message, so that the user terminal displays the fourth confirmation interface. The fourth confirmation interface includes the payable gas station, the target gas station, the fourth prompt message, and confirmation controls corresponding to each gas station. The fourth prompt message is used to indicate that there are other gas stations nearby.
[0135] Figure 11 This is a schematic diagram of the fourth confirmation interface according to an embodiment of the present invention. Figure 11In the illustrated embodiment, the fourth confirmation interface includes the payable gas station, the target gas station, a third prompt message, and confirmation controls corresponding to each gas station. The fourth prompt message indicates that there are other gas stations nearby. Specifically, the target gas station is gas station A, the payable gas station is gas station B, and the prompt message indicates that other gas stations have been detected nearby; please confirm. If the user confirms that the gas station to be paid for is gas station A, they can click "Continue Payment." If the user confirms that the gas station A selected in the previous process was incorrect, and the gas station to be paid for is actually gas station B, they can click "Switch Gas Station."
[0136] Therefore, the system can push the target gas station that the user has already selected, as well as nearby gas stations that are available for payment, to the user for selection, reducing the occurrence of payment errors due to selecting the wrong gas station.
[0137] Step S118: The user terminal receives the second selection information.
[0138] In this embodiment, the second selection information includes the gas station to be paid for selected by the user through the confirmation interface.
[0139] Step S119: The user terminal sends the second selection information.
[0140] In this embodiment, the user terminal sends a second selection information to the server.
[0141] Step S120: The server executes the payment process.
[0142] In this embodiment, the server receives the second selection information and executes the payment process based on the gas station selected by the user through the confirmation interface and the payment information.
[0143] The payment process can be implemented based on various existing methods, and this embodiment of the invention does not impose any restrictions on it.
[0144] This invention, through obtaining the user's location and the target gas station selected by the user, determines a first distance between the user's location and the target gas station's location, obtains a comparison result between the first distance and a predetermined distance, and in response to receiving a payment request, generates first data based on the comparison result and sends it to the user's terminal. This allows the user's terminal to display a confirmation interface based on the first data to confirm the gas station for which payment is required. Therefore, it can accurately determine whether the gas station entered by the user is correct, reducing payment errors and improving user convenience.
[0145] Figure 12 This is a flowchart of the information processing method of the server according to the first embodiment of the present invention. Figure 12 The flowchart illustrates the information processing method on the server side, which includes the following steps:
[0146] Step S201: Obtain the user's location and the target gas station selected by the user.
[0147] Step S202: Determine the first distance between the user's location and the target gas station's location.
[0148] Step S203: Obtain the comparison result between the first distance and the predetermined distance.
[0149] Step S204: In response to receiving a payment request, generate first data based on the comparison result and send it to the user terminal, so that the user terminal can display a confirmation interface based on the first data to confirm the gas station for which payment is required.
[0150] In some embodiments, the method further includes:
[0151] Receive a gas station acquisition request sent by a user terminal, wherein the gas station acquisition request includes the user's location;
[0152] Second data is generated based on the user's location and sent to the user terminal. The second data includes at least one gas station, so that the user terminal displays a gas station selection interface based on the second data. The gas station selection interface includes a list of gas stations, and the list of gas stations includes at least one gas station.
[0153] In some embodiments, the second data includes the distance between the user's location and the locations of each gas station, so that the user terminal will pin the gas station closest to the user's location to the top of the gas station list based on the distance between the user's location and the locations of each gas station, and add a "closest to" tag.
[0154] In some embodiments, obtaining the user's location and the target gas station selected by the user includes:
[0155] Receive first selection information sent by the user terminal, wherein the first selection information is input by the user through the gas station selection interface, and the first selection information includes at least the gas station selected by the user.
[0156] The gas station selected by the user in the first selection information is determined as the target gas station.
[0157] In some embodiments, the predetermined distance includes a first threshold and a second threshold, wherein the first threshold is greater than the second threshold;
[0158] The step of obtaining the comparison result between the first distance and the predetermined distance includes:
[0159] In response to the first distance being greater than the first threshold, the comparison result is determined to be a first result, which is used to characterize that the target gas station is outside the payment range;
[0160] In response to the first distance being less than the second threshold, the comparison result is determined to be the second result, which is used to characterize the target gas station as being within the payment range.
[0161] In some embodiments, the step of generating first data based on the comparison result and sending it to the user terminal in response to receiving a payment request includes:
[0162] In response to the comparison result being a first result, the detection result of payable gas stations within a second threshold range at the user's location is obtained, the detection result including whether payable gas stations exist and whether payable gas stations do not exist;
[0163] Receive payment requests;
[0164] In response to the detection result indicating the existence of a payable gas station, first data is generated and sent to the user terminal. The first data includes at least one payable gas station and a first prompt message, so that the user terminal displays a first confirmation interface, which includes the payable gas station and a corresponding confirmation control.
[0165] In response to the detection result that there is no gas station available for payment, first data is generated and sent to the user terminal. The first data includes a second prompt message to cause the user terminal to display a second confirmation interface. The second confirmation interface includes at least one of a navigation control, a location refresh control, and the second prompt message, which indicates that the gas station is too far away.
[0166] In some embodiments, the step of generating first data based on the comparison result and sending it to the user terminal in response to receiving a payment request includes:
[0167] In response to the comparison result being a second result, the detection result of payable gas stations within a second threshold range at the user's location is obtained, the detection result including whether payable gas stations exist and whether payable gas stations do not exist;
[0168] Receive payment requests;
[0169] In response to the detection result indicating the existence of a gas station that accepts payment, the distances between the user's location and the gas station that accepts payment and the target gas station are obtained respectively;
[0170] In response to the user's location being less than the distance between the payable gas station and the target gas station, first data is generated and sent to the user terminal. The first data includes the payable gas station, the target gas station, and a third prompt message, so that the user terminal displays a third confirmation interface. The third confirmation interface includes the payable gas station, the target gas station, the third prompt message, and confirmation controls corresponding to each gas station. The third prompt message is used to indicate that there is a closer gas station nearby.
[0171] In response to the user's location being greater than the distance between the payable gas station and the target gas station, first data is generated and sent to the user terminal. The first data includes the payable gas station, the target gas station, and a fourth prompt message, so that the user terminal displays a fourth confirmation interface. The fourth confirmation interface includes the payable gas station, the target gas station, the fourth prompt message, and confirmation controls corresponding to each gas station. The fourth prompt message is used to indicate that there are other gas stations nearby.
[0172] In some embodiments, the method further includes:
[0173] In response to receiving second selection information sent by the user terminal, a payment process is executed, wherein the second selection information includes at least the gas station to be paid for selected by the user through the confirmation interface.
[0174] For the specific implementation methods of the above steps, please refer to Figure 2 The flowchart shown is not repeated here in the embodiments of the present invention.
[0175] This invention, through obtaining the user's location and the target gas station selected by the user, determines a first distance between the user's location and the target gas station's location, obtains a comparison result between the first distance and a predetermined distance, and in response to receiving a payment request, generates first data based on the comparison result and sends it to the user's terminal. This allows the user's terminal to display a confirmation interface based on the first data to confirm the gas station for which payment is required. Therefore, it can accurately determine whether the gas station entered by the user is correct, reducing payment errors and improving user convenience.
[0176] Figure 13 This is a flowchart of the information processing method for a user terminal according to the first embodiment of the present invention.
[0177] Figure 13 A flowchart illustrating the information processing method for a user terminal is shown, which specifically includes the following steps:
[0178] Step S301: Send a payment request to the server.
[0179] Step S302: Receive first data sent by the server, wherein the server is used to obtain the user's location and the target gas station selected by the user, determine the first distance between the user's location and the target gas station location, obtain a comparison result between the first distance and a predetermined distance, and generate the first data according to the comparison result in response to receiving a payment request.
[0180] Step S303: Display the confirmation interface based on the first data to confirm the gas station that needs to be paid.
[0181] In some embodiments, the method further includes:
[0182] A gas station acquisition request sent to the server, the gas station acquisition request including the user's location;
[0183] Receive second data sent by the server, the second data including at least one gas station;
[0184] The second data displays a gas station selection interface, which includes a list of gas stations, and the list of gas stations includes at least one gas station.
[0185] In some embodiments, the second data includes the distance between the user's location and the locations of each gas station;
[0186] The step of displaying the gas station selection interface based on the second data includes:
[0187] Based on the distance between the user's location and the locations of each gas station, the gas station closest to the user's location will be pinned to the top of the gas station list and labeled as "closest to location".
[0188] In some embodiments, the method further includes:
[0189] Obtain first selection information input by the user through the gas station selection interface, wherein the first selection information includes at least the gas station selected by the user.
[0190] In some embodiments, the first data includes at least one payable gas station and a first notification message;
[0191] The step of displaying the confirmation interface based on the first data includes:
[0192] The first confirmation interface is displayed, which includes the payable gas station and the corresponding confirmation control.
[0193] In some embodiments, the first data includes a second prompt message;
[0194] The step of displaying the confirmation interface based on the first data includes:
[0195] A second confirmation interface is displayed, which includes at least one of a navigation control, a location refresh control, and a second prompt message, wherein the second prompt message is a prompt that the gas station is too far away.
[0196] In some embodiments, the first data includes the payable gas station, the target gas station, and third prompt information;
[0197] The step of displaying the confirmation interface based on the first data includes:
[0198] The third confirmation interface is displayed, which includes the payable gas station, the target gas station, a third prompt message, and confirmation controls corresponding to each gas station. The third prompt message is used to indicate that there is a closer gas station nearby.
[0199] In some embodiments, the first data includes the payable gas station, the target gas station, and the fourth prompt information;
[0200] The step of displaying the confirmation interface based on the first data includes:
[0201] The fourth confirmation interface is displayed, which includes the payable gas station, the target gas station, a fourth prompt message, and confirmation controls corresponding to each gas station. The fourth prompt message is used to indicate that there are other gas stations nearby.
[0202] In some embodiments, sending a payment request to the server includes:
[0203] A payment information input interface is displayed, which includes at least one of a payment amount input box, a fuel nozzle number input box, and a fuel number input box.
[0204] The payment information input interface receives payment information entered by the user.
[0205] A payment request is generated based on the payment information and sent to the server.
[0206] In some embodiments, the method further includes:
[0207] In response to receiving payment information input by the user through the payment information input interface, the payment information is played back via voice.
[0208] In some embodiments, the method further includes:
[0209] In response to the display duration of the gas station selection interface reaching a predetermined duration and / or the user's location moving beyond a predetermined length, a refresh control is displayed on the gas station selection interface.
[0210] In some embodiments, the method further includes:
[0211] Send a second selection information to the server, wherein the second selection information includes at least the gas station that the user selected to pay for through the confirmation interface.
[0212] For the specific implementation methods of the above steps, please refer to Figure 2 The flowchart shown is not repeated here in the embodiments of the present invention.
[0213] This invention, through obtaining the user's location and the target gas station selected by the user, determines a first distance between the user's location and the target gas station's location, obtains a comparison result between the first distance and a predetermined distance, and in response to receiving a payment request, generates first data based on the comparison result and sends it to the user's terminal. This allows the user's terminal to display a confirmation interface based on the first data to confirm the gas station for which payment is required. Therefore, it can accurately determine whether the gas station entered by the user is correct, reducing payment errors and improving user convenience.
[0214] The above Figures 2-13 In the first embodiment shown, information is displayed through interaction between the server and the user terminal. However, this embodiment of the invention does not limit this and the information can also be displayed by the user terminal.
[0215] Specifically, Figure 14 This is a flowchart of the information processing method for a user terminal according to the second embodiment of the present invention. Figure 14 A flowchart illustrating the information processing method for a user terminal is shown, which specifically includes the following steps:
[0216] Step S401: Obtain the user's location and the target gas station selected by the user.
[0217] In this embodiment, the user terminal obtains the user's location through a positioning component and inputs first selection information through a gas station selection interface. The first selection information includes at least the target gas station selected by the user.
[0218] Step S402: Determine the first distance between the user's location and the target gas station's location.
[0219] In this embodiment, the user terminal pre-acquires map data and determines a first distance between the user's location and the target gas station location based on the map data.
[0220] Step S403: Obtain the comparison result between the first distance and the predetermined distance.
[0221] In this embodiment, the predetermined distance includes a first threshold and a second threshold, where the first threshold is greater than the second threshold. The step of obtaining the comparison result between the first distance and the predetermined distance includes: in response to the first distance being greater than the first threshold, determining the comparison result as a first result, whereby the first result indicates that the target gas station is outside the payment range; and in response to the first distance being less than the second threshold, determining the comparison result as a second result, whereby the second result indicates that the target gas station is within the payment range.
[0222] Step S404: In response to receiving a payment request, a confirmation interface is displayed based on the comparison result to confirm the gas station for which payment is required.
[0223] In this embodiment, the user terminal, in response to receiving a payment request, displays a confirmation interface based on the comparison result, including: in response to the comparison result being a first result, obtaining a detection result of payable gas stations within a second threshold range at the user's location, the detection result including the existence of payable gas stations and the absence of payable gas stations; obtaining a payment request; in response to the detection result indicating the existence of payable gas stations, displaying a first confirmation interface, the first confirmation interface including the payable gas station and a corresponding confirmation control; and in response to the detection result indicating the absence of payable gas stations, displaying a second confirmation interface, the second confirmation interface including at least one of a navigation control, a location refresh control, and a second prompt message, the second prompt message being a gas station too far away prompt.
[0224] In response to the comparison result being a second result, the system obtains a detection result for payable gas stations within a second threshold range at the user's location. This detection result includes whether a payable gas station exists or not. A payment request is then obtained. In response to the detection result indicating the existence of a payable gas station, the system obtains the distances between the user's location and both the payable gas station and the target gas station. In response to the distance between the user's location and the payable gas station being less than the distance between the user's location and the target gas station, a third confirmation interface is displayed. This third confirmation interface includes the payable gas station, the target gas station, a third prompt message, and confirmation controls corresponding to each gas station. The third prompt message indicates the presence of a closer gas station. In response to the distance between the user's location and the payable gas station being greater than the distance between the user's location and the target gas station, a fourth confirmation interface is displayed. This fourth confirmation interface includes the payable gas station, the target gas station, a fourth prompt message, and confirmation controls corresponding to each gas station. The fourth prompt message indicates the presence of other gas stations nearby.
[0225] In some embodiments, the method further includes:
[0226] The interface displays a gas station selection screen, which includes a list of gas stations, and the list of gas stations includes at least one gas station.
[0227] In some embodiments, the display interface for selecting gas stations includes:
[0228] Based on the distance between the user's location and the locations of each gas station, the gas station closest to the user's location will be pinned to the top of the gas station list and labeled as "closest to location".
[0229] In some embodiments, the display interface for selecting gas stations includes:
[0230] Based on the distance between the user's location and the locations of each gas station, the gas station closest to the user's location will be pinned to the top of the gas station list and labeled as "closest to location".
[0231] In some embodiments, obtaining a payment request includes:
[0232] A payment information input interface is displayed, which includes at least one of a payment amount input box, a fuel nozzle number input box, and a fuel number input box.
[0233] The payment information input interface receives payment information entered by the user.
[0234] A payment request is generated based on the payment information.
[0235] In some embodiments, the method further includes:
[0236] In response to receiving payment information input by the user through the payment information input interface, the payment information is played back via voice.
[0237] In some embodiments, the method further includes:
[0238] In response to the display duration of the gas station selection interface reaching a predetermined duration and / or the user's location moving beyond a predetermined length, a refresh control is displayed on the gas station selection interface.
[0239] In some embodiments, the method further includes:
[0240] Send a second selection information to the server, wherein the second selection information includes at least the gas station that the user selected to pay for through the confirmation interface.
[0241] It should be noted that the data that the user terminal cannot directly obtain in the embodiments of the present invention, such as the location of each gas station, can be obtained from the server by the user terminal through interaction with the server.
[0242] This invention, through obtaining the user's location and the target gas station selected by the user, determines a first distance between the user's location and the target gas station's location, obtains a comparison result between the first distance and a predetermined distance, and in response to receiving a payment request, generates first data based on the comparison result and sends it to the user's terminal. This allows the user's terminal to display a confirmation interface based on the first data to confirm the gas station for which payment is required. Therefore, it can accurately determine whether the gas station entered by the user is correct, reducing payment errors and improving user convenience.
[0243] Figure 15 This is a schematic diagram of the information processing device for a server according to the first embodiment of the present invention. Figure 15 As shown, the information processing device of the server includes a first acquisition unit 151, a first determination unit 152, a first comparison unit 153, and a first sending unit 154. The first acquisition unit 151 is used to acquire the user's location and the target gas station selected by the user. The first determination unit 152 is used to determine a first distance between the user's location and the target gas station location. The first comparison unit 153 is used to acquire a comparison result between the first distance and a predetermined distance. The first sending unit 154, in response to receiving a payment request, generates first data based on the comparison result and sends it to the user terminal, so that the user terminal displays a confirmation interface based on the first data to confirm the gas station requiring payment.
[0244] In some embodiments, the apparatus further includes:
[0245] A gas station acquisition request receiving unit is used to receive a gas station acquisition request sent by a user terminal, wherein the gas station acquisition request includes the user's location;
[0246] The second data sending unit is configured to generate second data based on the user's location and send it to the user terminal. The second data includes at least one gas station, so that the user terminal displays a gas station selection interface based on the second data. The gas station selection interface includes a list of gas stations, and the list of gas stations includes at least one gas station.
[0247] In some embodiments, the second data includes the distance between the user's location and the locations of each gas station, so that the user terminal will pin the gas station closest to the user's location to the top of the gas station list based on the distance between the user's location and the locations of each gas station, and add a "closest to" tag.
[0248] In some embodiments, the first acquisition unit is used to:
[0249] Receive first selection information sent by the user terminal, wherein the first selection information is input by the user through the gas station selection interface, and the first selection information includes at least the gas station selected by the user.
[0250] The gas station selected by the user in the first selection information is determined as the target gas station.
[0251] In some embodiments, the predetermined distance includes a first threshold and a second threshold, wherein the first threshold is greater than the second threshold;
[0252] Wherein, the first comparison unit is used for:
[0253] In response to the first distance being greater than the first threshold, the comparison result is determined to be a first result, which is used to characterize that the target gas station is outside the payment range;
[0254] In response to the first distance being less than the second threshold, the comparison result is determined to be the second result, which is used to characterize the target gas station as being within the payment range.
[0255] In some embodiments, the first transmitting unit is configured to:
[0256] In response to the comparison result being a first result, the detection result of payable gas stations within a second threshold range at the user's location is obtained, the detection result including whether payable gas stations exist and whether payable gas stations do not exist;
[0257] Receive payment requests;
[0258] In response to the detection result indicating the existence of a payable gas station, first data is generated and sent to the user terminal. The first data includes at least one payable gas station and a first prompt message, so that the user terminal displays a first confirmation interface, which includes the payable gas station and a corresponding confirmation control.
[0259] In response to the detection result that there is no gas station available for payment, first data is generated and sent to the user terminal. The first data includes a second prompt message to cause the user terminal to display a second confirmation interface. The second confirmation interface includes at least one of a navigation control, a location refresh control, and the second prompt message, which indicates that the gas station is too far away.
[0260] In some embodiments, the first transmitting unit is configured to:
[0261] In response to the comparison result being a second result, the detection result of payable gas stations within a second threshold range at the user's location is obtained, the detection result including whether payable gas stations exist and whether payable gas stations do not exist;
[0262] Receive payment requests;
[0263] In response to the detection result indicating the existence of a gas station that accepts payment, the distances between the user's location and the gas station that accepts payment and the target gas station are obtained respectively;
[0264] In response to the user's location being less than the distance between the payable gas station and the target gas station, first data is generated and sent to the user terminal. The first data includes the payable gas station, the target gas station, and a third prompt message, so that the user terminal displays a third confirmation interface. The third confirmation interface includes the payable gas station, the target gas station, the third prompt message, and confirmation controls corresponding to each gas station. The third prompt message is used to indicate that there is a closer gas station nearby.
[0265] In response to the user's location being greater than the distance between the payable gas station and the target gas station, first data is generated and sent to the user terminal. The first data includes the payable gas station, the target gas station, and a fourth prompt message, so that the user terminal displays a fourth confirmation interface. The fourth confirmation interface includes the payable gas station, the target gas station, the fourth prompt message, and confirmation controls corresponding to each gas station. The fourth prompt message is used to indicate that there are other gas stations nearby.
[0266] In some embodiments, the apparatus further includes:
[0267] The payment unit is configured to execute a payment process in response to receiving second selection information sent by the user terminal, wherein the second selection information includes at least the gas station to be paid for selected by the user through the confirmation interface.
[0268] This invention, through obtaining the user's location and the target gas station selected by the user, determines a first distance between the user's location and the target gas station's location, obtains a comparison result between the first distance and a predetermined distance, and in response to receiving a payment request, generates first data based on the comparison result and sends it to the user's terminal. This allows the user's terminal to display a confirmation interface based on the first data to confirm the gas station for which payment is required. Therefore, it can accurately determine whether the gas station entered by the user is correct, reducing payment errors and improving user convenience.
[0269] Figure 16 This is a schematic diagram of the information processing device of a user terminal according to the first embodiment of the present invention. Figure 16As shown, the information processing device of the user terminal includes a request sending unit 161, a data receiving unit 162, and a first display unit 163. The request sending unit 161 is used to send a payment request to the server. The data receiving unit 162 is used to receive first data sent by the server. The server is used to obtain the user's location and the target gas station selected by the user, determine a first distance between the user's location and the target gas station location, obtain a comparison result between the first distance and a predetermined distance, and generate the first data based on the comparison result in response to receiving the payment request. The first display unit 163 is used to display a confirmation interface based on the first data to confirm the gas station requiring payment.
[0270] In some embodiments, the apparatus further includes:
[0271] A gas station acquisition request sending unit is used to send a gas station acquisition request to the server, wherein the gas station acquisition request includes the user's location;
[0272] The second data receiving unit is used to receive second data sent by the server, the second data including at least one gas station;
[0273] The first gas station selection interface display unit is used to display a gas station selection interface based on the second data. The gas station selection interface includes a gas station list, and the gas station list includes at least one gas station.
[0274] In some embodiments, the second data includes the distance between the user's location and the locations of each gas station;
[0275] The gas station selection interface display unit is used for:
[0276] Based on the distance between the user's location and the locations of each gas station, the gas station closest to the user's location will be pinned to the top of the gas station list and labeled as "closest to location".
[0277] In some embodiments, the apparatus further includes:
[0278] The first selection unit is used to obtain first selection information input by the user through the gas station selection interface, wherein the first selection information includes at least the gas station selected by the user.
[0279] In some embodiments, the first data includes at least one payable gas station and a first notification message;
[0280] The first display unit is used for:
[0281] The first confirmation interface is displayed, which includes the payable gas station and the corresponding confirmation control.
[0282] In some embodiments, the first data includes a second prompt message;
[0283] The first display unit is used for:
[0284] A second confirmation interface is displayed, which includes at least one of a navigation control, a location refresh control, and a second prompt message, wherein the second prompt message is a prompt that the gas station is too far away.
[0285] In some embodiments, the first data includes the payable gas station, the target gas station, and third prompt information;
[0286] The first display unit is used for:
[0287] The third confirmation interface is displayed, which includes the payable gas station, the target gas station, a third prompt message, and confirmation controls corresponding to each gas station. The third prompt message is used to indicate that there is a closer gas station nearby.
[0288] In some embodiments, the first data includes the payable gas station, the target gas station, and the fourth prompt information;
[0289] The first display unit is used for:
[0290] The fourth confirmation interface is displayed, which includes the payable gas station, the target gas station, a fourth prompt message, and confirmation controls corresponding to each gas station. The fourth prompt message is used to indicate that there are other gas stations nearby.
[0291] In some embodiments, the request sending unit is used to:
[0292] A payment information input interface is displayed, which includes at least one of a payment amount input box, a fuel nozzle number input box, and a fuel number input box.
[0293] The payment information input interface receives payment information entered by the user.
[0294] A payment request is generated based on the payment information and sent to the server.
[0295] In some embodiments, the apparatus further includes:
[0296] The first playback unit is used to respond to receiving payment information input by the user through the payment information input interface and to play the payment information by voice.
[0297] In some embodiments, the apparatus further includes:
[0298] The first refresh unit is used to display a refresh control on the gas station selection interface in response to the display duration of the gas station selection interface reaching a predetermined duration and / or the user's position moving beyond a predetermined length.
[0299] In some embodiments, the apparatus further includes:
[0300] The second selection unit is used to send second selection information to the server, wherein the second selection information includes at least the gas station that the user selects through the confirmation interface.
[0301] This invention, through obtaining the user's location and the target gas station selected by the user, determines a first distance between the user's location and the target gas station's location, obtains a comparison result between the first distance and a predetermined distance, and in response to receiving a payment request, generates first data based on the comparison result and sends it to the user's terminal. This allows the user's terminal to display a confirmation interface based on the first data to confirm the gas station for which payment is required. Therefore, it can accurately determine whether the gas station entered by the user is correct, reducing payment errors and improving user convenience.
[0302] Figure 17 This is a schematic diagram of the information processing device of a user terminal according to the second embodiment of the present invention. Figure 17 As shown, the information processing device of the user terminal includes a second acquisition unit 171, a second determination unit 172, a second comparison unit 173, and a second display unit 174. The second acquisition unit 171 acquires the user's location and the target gas station selected by the user. The second determination unit 172 determines a first distance between the user's location and the target gas station's location. The second comparison unit 173 acquires a comparison result between the first distance and a predetermined distance. The second display unit 174, in response to receiving a payment request, displays a confirmation interface based on the comparison result to confirm the gas station requiring payment.
[0303] In some embodiments, the apparatus further includes:
[0304] The second gas station selection interface display unit is used to display a gas station selection interface, which includes a list of gas stations, and the list of gas stations includes at least one gas station.
[0305] In some embodiments, the apparatus further includes:
[0306] The "pin to top" unit is used to pin the gas station closest to the user's location to the top of the gas station list based on the distance between the user's location and the locations of each gas station, and add a "closest to" tag.
[0307] In some embodiments, the second acquisition unit includes:
[0308] The second selection subunit is used to obtain first selection information input by the user through the gas station selection interface, wherein the first selection information includes at least the target gas station selected by the user.
[0309] In some embodiments, the predetermined distance includes a first threshold and a second threshold, wherein the first threshold is greater than the second threshold;
[0310] Wherein, the second comparison unit is used for:
[0311] In response to the first distance being greater than the first threshold, the comparison result is determined to be a first result, which is used to characterize that the target gas station is outside the payment range;
[0312] In response to the first distance being less than the second threshold, the comparison result is determined to be the second result, which is used to characterize the target gas station as being within the payment range.
[0313] In some embodiments, the second display unit is used for:
[0314] In response to the comparison result being a first result, the detection result of payable gas stations within a second threshold range at the user's location is obtained, the detection result including whether payable gas stations exist and whether payable gas stations do not exist;
[0315] Obtain the payment request;
[0316] In response to the detection result indicating the existence of a payable gas station, a first confirmation interface is displayed, which includes the payable gas station and a corresponding confirmation control.
[0317] In response to the detection result that there is no gas station available for payment, a second confirmation interface is displayed. The second confirmation interface includes at least one of a navigation control, a location refresh control, and a second prompt message, which indicates that the gas station is too far away.
[0318] In some embodiments, the second display unit is used for:
[0319] In response to the comparison result being a second result, the detection result of payable gas stations within a second threshold range at the user's location is obtained, the detection result including whether payable gas stations exist and whether payable gas stations do not exist;
[0320] Obtain the payment request;
[0321] In response to the detection result indicating the existence of a gas station that accepts payment, the distances between the user's location and the gas station that accepts payment and the target gas station are obtained respectively;
[0322] In response to the user's location being less than the distance between the payable gas station and the target gas station, a third confirmation interface is displayed. The third confirmation interface includes the payable gas station, the target gas station, a third prompt message, and confirmation controls for each gas station. The third prompt message is used to indicate that there is a closer gas station nearby.
[0323] In response to the user's location being greater than the distance between the available gas station and the target gas station, a fourth confirmation interface is displayed. The fourth confirmation interface includes the available gas station, the target gas station, a fourth prompt message, and confirmation controls for each gas station. The fourth prompt message is used to indicate that there are other gas stations nearby.
[0324] In some embodiments, obtaining a payment request includes:
[0325] A payment information input interface is displayed, which includes at least one of a payment amount input box, a fuel nozzle number input box, and a fuel number input box.
[0326] The payment information input interface receives payment information entered by the user.
[0327] A payment request is generated based on the payment information.
[0328] In some embodiments, the apparatus further includes:
[0329] The second playback unit is used to respond to receiving payment information input by the user through the payment information input interface and to play the payment information by voice.
[0330] In some embodiments, the method further includes:
[0331] The second refresh unit is used to display a refresh control on the gas station selection interface in response to the display duration of the gas station selection interface reaching a predetermined duration and / or the user's position moving beyond a predetermined length.
[0332] In some embodiments, the apparatus further includes:
[0333] The third selection unit is used to send second selection information to the server, wherein the second selection information includes at least the gas station that the user selects through the confirmation interface.
[0334] This invention, through obtaining the user's location and the target gas station selected by the user, determines a first distance between the user's location and the target gas station's location, obtains a comparison result between the first distance and a predetermined distance, and in response to receiving a payment request, generates first data based on the comparison result and sends it to the user's terminal. This allows the user's terminal to display a confirmation interface based on the first data to confirm the gas station for which payment is required. Therefore, it can accurately determine whether the gas station entered by the user is correct, reducing payment errors and improving user convenience.
[0335] Figure 18 This is a schematic diagram of an electronic device according to an embodiment of the present invention. Figure 18 The illustrated electronic device is a general-purpose data processing device, comprising a general-purpose computer hardware architecture, including at least a processor 181 and a memory 182. The processor 181 and memory 182 are connected via a bus 183. The memory 182 is adapted to store instructions or programs executable by the processor 181. The processor 181 can be a standalone microprocessor or a collection of one or more microprocessors. Thus, the processor 181 executes the instructions stored in the memory 182, thereby performing the method flow of the embodiments of the present invention as described above to process data and control other devices. The bus 183 connects the aforementioned components together, and also connects these components to a display controller 184, a display device, and an input / output (I / O) device 185. The input / output (I / O) device 185 can be a mouse, keyboard, modem, network interface, touch input device, motion-sensing input device, printer, and other devices known in the art. Typically, the input / output device 185 is connected to the system via an input / output (I / O) controller 186.
[0336] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus (devices), or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can be implemented as a computer program product on one or more computer-readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0337] This invention is described with reference to flowchart illustrations of methods, apparatus (devices), and computer program products according to embodiments of this application. It should be understood that each step in the flowchart can be implemented by computer program instructions.
[0338] These computer program instructions may be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including an instruction means, the implementation process of which is described in the instruction means. Figure 1 The function specified in one or more processes.
[0339] These computer program instructions may also be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing device, produce instructions for implementing processes. Figure 1 A device for a function specified in one or more processes.
[0340] The solutions described in this specification and embodiments, if involving the processing of personal information, will be processed only under the premise of having a legal basis (such as obtaining the consent of the personal information subject, or being necessary for the performance of a contract), and will only be processed within the scope stipulated or agreed upon. A user's refusal to process personal information beyond what is necessary for basic functions will not affect the user's use of basic functions.
[0341] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. For those skilled in the art, the present invention can be modified and varied in various ways. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of the present invention should be included within the scope of protection of the present invention.
Claims
1. An information processing method, applicable to a server, characterized in that, The method includes: Obtain the user's location and the target gas station selected by the user; Determine the first distance between the user's location and the target gas station's location; Obtain the comparison result between the first distance and the predetermined distance; In response to receiving a payment request, first data is generated based on the comparison result and sent to the user terminal, so that the user terminal can display a confirmation interface based on the first data to confirm the gas station for which payment is required.
2. The method according to claim 1, characterized in that, The method further includes: Receive a gas station acquisition request sent by a user terminal, wherein the gas station acquisition request includes the user's location; Second data is generated based on the user's location and sent to the user terminal. The second data includes at least one gas station, so that the user terminal displays a gas station selection interface based on the second data. The gas station selection interface includes a list of gas stations, and the list of gas stations includes at least one gas station.
3. The method according to claim 2, characterized in that, The second data includes the distance between the user's location and the locations of each gas station, so that the user terminal can pin the gas station closest to the user's location to the top of the gas station list based on the distance between the user's location and the locations of each gas station, and add a "closest to" tag.
4. The method according to claim 2, characterized in that, The method for obtaining the user's location and the target gas station selected by the user includes: Receive first selection information sent by the user terminal, wherein the first selection information is input by the user through the gas station selection interface, and the first selection information includes at least the gas station selected by the user. The gas station selected by the user in the first selection information is determined as the target gas station.
5. The method according to claim 1, characterized in that, The predetermined distance includes a first threshold and a second threshold, wherein the first threshold is greater than the second threshold; The step of obtaining the comparison result between the first distance and the predetermined distance includes: In response to the first distance being greater than the first threshold, the comparison result is determined to be a first result, which is used to characterize that the target gas station is outside the payment range; In response to the first distance being less than the second threshold, the comparison result is determined to be the second result, which is used to characterize the target gas station as being within the payment range.
6. The method according to claim 5, characterized in that, The step of responding to receiving a payment request, generating first data based on the comparison result, and sending it to the user terminal includes: In response to the comparison result being a first result, the detection result of payable gas stations within a second threshold range at the user's location is obtained, the detection result including whether payable gas stations exist and whether payable gas stations do not exist; Receive payment requests; In response to the detection result indicating the existence of a payable gas station, first data is generated and sent to the user terminal. The first data includes at least one payable gas station and a first prompt message, so that the user terminal displays a first confirmation interface, which includes the payable gas station and a corresponding confirmation control. In response to the detection result that there is no gas station available for payment, first data is generated and sent to the user terminal. The first data includes a second prompt message to cause the user terminal to display a second confirmation interface. The second confirmation interface includes at least one of a navigation control, a location refresh control, and the second prompt message, which indicates that the gas station is too far away.
7. The method according to claim 5, characterized in that, The step of responding to receiving a payment request, generating first data based on the comparison result, and sending it to the user terminal includes: In response to the comparison result being a second result, the detection result of payable gas stations within a second threshold range at the user's location is obtained, the detection result including whether payable gas stations exist and whether payable gas stations do not exist; Receive payment requests; In response to the detection result indicating the existence of a gas station that accepts payment, the distances between the user's location and the gas station that accepts payment and the target gas station are obtained respectively; In response to the user's location being less than the distance between the payable gas station and the target gas station, first data is generated and sent to the user terminal. The first data includes the payable gas station, the target gas station, and a third prompt message, so that the user terminal displays a third confirmation interface. The third confirmation interface includes the payable gas station, the target gas station, the third prompt message, and confirmation controls corresponding to each gas station. The third prompt message is used to indicate that there is a closer gas station nearby. In response to the user's location being greater than the distance between the payable gas station and the target gas station, first data is generated and sent to the user terminal. The first data includes the payable gas station, the target gas station, and a fourth prompt message, so that the user terminal displays a fourth confirmation interface. The fourth confirmation interface includes the payable gas station, the target gas station, the fourth prompt message, and confirmation controls corresponding to each gas station. The fourth prompt message is used to indicate that there are other gas stations nearby.
8. The method according to claim 1, characterized in that, The method further includes: In response to receiving second selection information sent by the user terminal, a payment process is executed, wherein the second selection information includes at least the gas station to be paid for selected by the user through the confirmation interface.
9. An information processing method, applicable to a user terminal, characterized in that, The method includes: Send a payment request to the server; The server receives first data sent by the user, wherein the server is used to obtain the user's location and the target gas station selected by the user, determine a first distance between the user's location and the target gas station location, obtain a comparison result between the first distance and a predetermined distance, and generate first data based on the comparison result in response to receiving a payment request. The confirmation interface is displayed based on the first data to confirm the gas station for which payment is required.
10. The method according to claim 9, characterized in that, The method further includes: Send a gas station acquisition request to the server, the gas station acquisition request including the user's location; Receive second data sent by the server, the second data including at least one gas station; The second data displays a gas station selection interface, which includes a list of gas stations, and the list of gas stations includes at least one gas station.
11. The method according to claim 10, characterized in that, The second data includes the distance between the user's location and the locations of each gas station; The step of displaying the gas station selection interface based on the second data includes: Based on the distance between the user's location and the locations of each gas station, the gas station closest to the user's location will be pinned to the top of the gas station list and labeled as "closest to location".
12. The method according to claim 10, characterized in that, The method further includes: Obtain first selection information input by the user through the gas station selection interface, wherein the first selection information includes at least the gas station selected by the user.
13. The method according to claim 9, characterized in that, The first data includes at least one payable gas station and a first notification message; The step of displaying the confirmation interface based on the first data includes: The first confirmation interface is displayed, which includes the payable gas station and the corresponding confirmation control.
14. The method according to claim 9, characterized in that, The first data includes the second prompt information; The step of displaying the confirmation interface based on the first data includes: A second confirmation interface is displayed, which includes at least one of a navigation control, a location refresh control, and a second prompt message, wherein the second prompt message is a prompt that the gas station is too far away.
15. The method according to claim 9, characterized in that, The first data includes payable gas stations, the target gas station, and third prompt information; The step of displaying the confirmation interface based on the first data includes: The third confirmation interface is displayed, which includes the payable gas station, the target gas station, a third prompt message, and confirmation controls corresponding to each gas station. The third prompt message is used to indicate that there is a closer gas station nearby.
16. The method according to claim 9, characterized in that, The first data includes the gas stations that can be paid for, the target gas station, and the fourth prompt information; The step of displaying the confirmation interface based on the first data includes: The fourth confirmation interface is displayed, which includes the payable gas station, the target gas station, a fourth prompt message, and confirmation controls corresponding to each gas station. The fourth prompt message is used to indicate that there are other gas stations nearby.
17. The method according to claim 9, characterized in that, Sending a payment request to the server includes: A payment information input interface is displayed, which includes at least one of a payment amount input box, a fuel nozzle number input box, and a fuel number input box. The payment information input interface receives payment information entered by the user. A payment request is generated based on the payment information and sent to the server.
18. The method according to claim 17, characterized in that, The method further includes: In response to receiving payment information input by the user through the payment information input interface, the payment information is played back via voice.
19. The method according to claim 10, characterized in that, The method further includes: In response to the display duration of the gas station selection interface reaching a predetermined duration and / or the user's location moving beyond a predetermined length, a refresh control is displayed on the gas station selection interface.
20. The method according to claim 9, characterized in that, The method further includes: Send a second selection information to the server, wherein the second selection information includes at least the gas station that the user selected to pay for through the confirmation interface.
21. An information processing method, applicable to a user terminal, characterized in that, The method includes: Obtain the user's location and the target gas station selected by the user; Determine the first distance between the user's location and the target gas station's location; Obtain the comparison result between the first distance and the predetermined distance; In response to receiving a payment request, a confirmation interface is displayed based on the comparison results to confirm the gas station for which payment is required.
22. The method according to claim 21, characterized in that, The method further includes: The interface displays a gas station selection screen, which includes a list of gas stations, and the list of gas stations includes at least one gas station.
23. The method according to claim 22, characterized in that, The displayed gas station selection interface includes: Based on the distance between the user's location and the locations of each gas station, the gas station closest to the user's location will be pinned to the top of the gas station list and labeled as "closest to location".
24. The method according to claim 22, characterized in that, The method for obtaining the user's location and the target gas station selected by the user includes: Obtain first selection information input by the user through the gas station selection interface, wherein the first selection information includes at least the target gas station selected by the user.
25. The method according to claim 21, characterized in that, The predetermined distance includes a first threshold and a second threshold, wherein the first threshold is greater than the second threshold; The step of obtaining the comparison result between the first distance and the predetermined distance includes: In response to the first distance being greater than the first threshold, the comparison result is determined to be a first result, which is used to characterize that the target gas station is outside the payment range; In response to the first distance being less than the second threshold, the comparison result is determined to be the second result, which is used to characterize the target gas station as being within the payment range.
26. The method according to claim 25, characterized in that, The step of displaying a confirmation interface based on the comparison result in response to receiving a payment request includes: In response to the comparison result being a first result, the detection result of payable gas stations within a second threshold range at the user's location is obtained, the detection result including whether payable gas stations exist and whether payable gas stations do not exist; Obtain the payment request; In response to the detection result indicating the existence of a payable gas station, a first confirmation interface is displayed, which includes the payable gas station and a corresponding confirmation control. In response to the detection result that there is no gas station available for payment, a second confirmation interface is displayed. The second confirmation interface includes at least one of a navigation control, a location refresh control, and a second prompt message, which indicates that the gas station is too far away.
27. The method according to claim 25, characterized in that, The step of displaying a confirmation interface based on the comparison result in response to receiving a payment request includes: In response to the comparison result being a second result, the detection result of payable gas stations within a second threshold range at the user's location is obtained, the detection result including whether payable gas stations exist and whether payable gas stations do not exist; Obtain the payment request; In response to the detection result indicating the existence of a gas station that accepts payment, the distances between the user's location and the gas station that accepts payment and the target gas station are obtained respectively; In response to the user's location being less than the distance between the payable gas station and the target gas station, a third confirmation interface is displayed. The third confirmation interface includes the payable gas station, the target gas station, a third prompt message, and confirmation controls for each gas station. The third prompt message is used to indicate that there is a closer gas station nearby. In response to the user's location being greater than the distance between the available gas station and the target gas station, a fourth confirmation interface is displayed. The fourth confirmation interface includes the available gas station, the target gas station, a fourth prompt message, and confirmation controls for each gas station. The fourth prompt message is used to indicate that there are other gas stations nearby.
28. The method according to claim 26 or 27, characterized in that, The payment request includes: A payment information input interface is displayed, which includes at least one of a payment amount input box, a fuel nozzle number input box, and a fuel number input box. The payment information input interface receives payment information entered by the user. A payment request is generated based on the payment information.
29. The method according to claim 28, characterized in that, The method further includes: In response to receiving payment information input by the user through the payment information input interface, the payment information is played back via voice.
30. The method according to claim 22, characterized in that, The method further includes: In response to the display duration of the gas station selection interface reaching a predetermined duration and / or the user's location moving beyond a predetermined length, a refresh control is displayed on the gas station selection interface.
31. The method according to claim 21, characterized in that, The method further includes: Send a second selection information to the server, wherein the second selection information includes at least the gas station that the user selected to pay for through the confirmation interface.
32. An information processing device, suitable for a server, characterized in that, The device includes: The first acquisition unit is used to acquire the user's location and the target gas station selected by the user; The first determining unit is used to determine a first distance between the user's location and the target gas station's location; The first comparison unit is used to obtain the comparison result between the first distance and the predetermined distance; The first sending unit is configured to, in response to receiving a payment request, generate first data based on the comparison result and send it to the user terminal, so that the user terminal can display a confirmation interface based on the first data to confirm the gas station for which payment is required.
33. An information processing apparatus, suitable for a user terminal, characterized in that, The device includes: The request sending unit is used to send payment requests to the server; A data receiving unit is used to receive first data sent by a server. The server is used to obtain the user's location and the target gas station selected by the user, determine a first distance between the user's location and the target gas station location, obtain a comparison result between the first distance and a predetermined distance, and generate the first data based on the comparison result in response to receiving a payment request. The first display unit is used to display a confirmation interface based on the first data to confirm the gas station that requires payment.
34. An information processing device, suitable for a user terminal, characterized in that, The device includes: The second acquisition unit acquires the user's location and the target gas station selected by the user; The second determining unit is used to determine a first distance between the user's location and the target gas station's location; The second comparison unit is used to obtain the comparison result between the first distance and the predetermined distance; The second display unit is used to respond to a payment request and display a confirmation interface based on the comparison result to confirm the gas station for which payment is required.
35. An electronic device comprising a memory and a processor, characterized in that, The memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method as described in any one of claims 1-31.
36. A computer-readable storage medium storing computer program instructions thereon, characterized in that, The computer program instructions, when executed by a processor, implement the method as described in any one of claims 1-31.