Method and device for ending travel and computer program product
By displaying the trip end control and confirmation window on the user equipment, the problem that passengers in the prior art cannot flexibly end the trip is solved, and a more accurate and convenient itinerary ending process is achieved, improving the user experience and environmental protection effect.
Patent Information
- Application Number
- CN202510059728.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-14
- Publication Date
- 2025-05-13
AI Technical Summary
In the prior art, passengers can only complete the ending operation through the driver, resulting in the ending method being inflexible enough and it is difficult to meet the usage needs of both drivers and passengers.
By displaying the trip end control on the user equipment and displaying the trip end confirmation window after it is triggered, including the second trip end control, ensure that the trip ends only after the passenger confirms.
It improves the accuracy and flexibility of the end of the trip, avoids inconvenience caused by misoperation, improves the user experience of both drivers and passengers, and reduces the occupation of transportation resources and environmental pollution.
Smart Images

Figure CN119991246A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of Internet technology, and more particularly to a method, device and computer program product for ending a trip. Background Art
[0002] With the development of Internet technology, online car-hailing has become a common way of travel. People can initiate a car request by entering the location of the pick-up point or locating the current location on the user's device, and entering the location of the drop-off point. The driver picks up and drops off passengers according to the user's order information. In traditional technology, during the car-hailing process, users can choose from a variety of car types, such as express, special express, ride-sharing or carpooling.
[0003] Shared travel can not only bring cost benefits to both passengers and car owners, but also effectively reuse traffic resources and reduce social problems such as environmental pollution and congestion. Hitchhiking is a way of shared travel. Generally speaking, private car owners (as drivers) provide information such as departure time, starting point and destination to the travel platform before starting the journey. At the same time, passengers with travel needs also provide the above information to the travel platform. In this way, the travel platform can find "on the way" passengers for car owners to complete a trip together. In the prior art, when the passenger arrives at the destination, the driver can usually only complete the operation of ending the trip. The way to end the trip is not flexible enough and it is difficult to meet the needs of both the driver and the passengers. For example, when a passenger gets off the car in advance before reaching the destination, the driver has to continue driving to the original destination because the destination of the trip has not been modified. This way of use is not conducive to the driver's experience. Summary of the invention
[0004] The embodiments of the present application provide a method, device, and computer program product for ending a trip, which can solve the problem of poor user experience caused by the prior art that a trip can only be ended by a driver-side device.
[0005] In a first aspect, an embodiment of the present application provides a method for ending a trip, the method being applied to a first user device, the method comprising:
[0006] Displaying a first trip end control on the first trip information page;
[0007] When the first trip end control is triggered, displaying a trip end confirmation window on the first trip information page, the trip end confirmation window including a second trip end control;
[0008] When the second trip end control is triggered, the trip end information is displayed on the first trip information page.
[0009] In a possible implementation manner of the first aspect, the method further includes:
[0010] If the distance between the geographic location of the first user equipment and the destination is greater than a first distance threshold, displaying distance prompt information in the trip end confirmation window;
[0011] If the distance between the geographic location of the first user equipment and the destination is less than a first distance threshold, a trip end prompt message is displayed in the trip end confirmation window.
[0012] In a possible implementation manner of the first aspect, the method further includes:
[0013] If the distance between the first user equipment and the destination is greater than the first distance threshold, start a first countdown, wherein the second trip end control is in a state of being untriggerable before the first countdown ends;
[0014] When the first countdown ends, the state of the second end-of-trip control is adjusted to be triggerable.
[0015] In a possible implementation manner of the first aspect, the method further includes:
[0016] When the second trip end control is triggered, the first trip end notification information is sent to the server, and the server sends the second trip end notification information to the second user equipment when receiving the first trip end notification information, and the second user equipment and the first user equipment belong to the same trip.
[0017] In a second aspect, an embodiment of the present application provides a method for ending a trip, the method being applied to a second user device, the method comprising:
[0018] When receiving the second trip end notification information sent by the server, starting the trip end countdown and prompting the user, the server sends the second trip end notification information to the second user device when receiving the first trip end notification information sent by the first user device, and the second user device and the first user device belong to the same trip;
[0019] When the trip end countdown ends, the trip end information is displayed on the second trip information page.
[0020] In a possible implementation manner of the second aspect, before the countdown to the end of the trip ends, the method further includes:
[0021] Displaying a third trip end control on the second trip information page;
[0022] When the third trip end control is triggered, trip end information is displayed on the second trip information page.
[0023] In a possible implementation manner of the second aspect, before receiving the second trip end notification information sent by the server, the method further includes:
[0024] displaying a fourth trip end control on the second trip information page;
[0025] When the fourth trip end control is triggered, if the second trip end notification information is received, the trip end information is displayed on the second trip information page.
[0026] In a third aspect, an embodiment of the present application provides a device for ending a trip, the device being applied to a first user equipment, the device comprising:
[0027] A first display module, configured to display a first trip end control on a first trip information page;
[0028] a second display module, configured to display a trip end confirmation window on the first trip information page when the first trip end control is triggered, wherein the trip end confirmation window includes a second trip end control;
[0029] The third display module is used to display the trip end information on the first trip information page when the second trip end control is triggered.
[0030] In a fourth aspect, an embodiment of the present application provides a device for ending a trip, the device being applied to a second user equipment, the device comprising:
[0031] a fourth prompting module, configured to start a trip end countdown and prompt a user when receiving a second trip end notification message sent by the server, wherein the server sends the second trip end notification message to the second user device when receiving the first trip end notification message sent by the first user device, and the second user device and the first user device belong to the same trip;
[0032] The fifth display module is used to display the trip end information on the second trip information page when the trip end countdown ends.
[0033] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, wherein when the computer program is run, the method for ending a trip as described in the first aspect or the second aspect above is executed.
[0034] In a sixth aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for ending a trip as described in the first aspect or the second aspect is implemented.
[0035] In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for ending a trip as described in the first aspect or the second aspect above is implemented.
[0036] It can be understood that the beneficial effects of the second to seventh aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.
[0037] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0038] The present application is implemented by having a first user device display a first trip end control on a first trip information page, displaying a trip end confirmation window including a second trip end control on the first trip information page when the first trip end control is triggered, and displaying trip end information on the first trip information page when the second trip end control is triggered. The present application can ensure that the trip ends only when both the first trip end control and the second trip end control are triggered, thereby ensuring the accuracy of the trip end and avoiding the inconvenience caused by the trip end due to a misoperation by the first user using the first user device. Moreover, the first user device in the present application is usually a user device used by a passenger user (first user). The present application solves the technical problem of insufficient flexibility caused by the prior art that a trip can usually only be ended by a driver user. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0040] Figure 1 It is a flowchart of a method for ending a trip provided in an embodiment of the present application;
[0041] Figure 2 is a schematic diagram of a first trip information page in a method for ending a trip provided in an embodiment of the present application;
[0042] Figure 3 is a flowchart of a method for ending a trip provided by another embodiment of the present application;
[0043] Figure 4 is a flowchart of a method for ending a trip provided by another embodiment of the present application;
[0044] Figure 5is a schematic diagram of a second trip information page in a method for ending a trip provided in an embodiment of the present application;
[0045] Figure 6 is a flowchart of a method for ending a trip provided by another embodiment of the present application;
[0046] Figure 7 It is a structural schematic diagram of a device for ending a trip provided in one embodiment of the present application;
[0047] Figure 8 is a schematic structural diagram of a device for ending a trip provided in another embodiment of the present application;
[0048] Fig. 9 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0050] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0051] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0052] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0053] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0054] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0055] The method for ending a trip provided in the embodiment of the present application can be applied to electronic devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), etc. The embodiment of the present application does not impose any restrictions on the specific types of electronic devices.
[0056] Figure 1 It is a flowchart of a method for ending a trip provided in an embodiment of the present application.
[0057] The method for ending a trip provided in the embodiment of the present application is applied to a first user device. In the present application, the first user device is usually a user device used by a passenger user (first user), and the second user device is usually a user device used by a driver user (second user). Both the first user device and the second user device are electronic devices.
[0058] S11, displaying a first trip end control on a first trip information page.
[0059] The first trip information page refers to a page displayed on the first user device for presenting information related to the trip.
[0060] The first end-of-trip control refers to a control used to end a trip.
[0061] The first user device displays the first trip end control on the first trip information page, so that the passenger user can end the trip through the first trip end control, thereby making the way of ending the trip more flexible.
[0062] S12: When the first trip end control is triggered, displaying a trip end confirmation window on the first trip information page, wherein the trip end confirmation window includes a second trip end control.
[0063] When the first user selects the first trip end control displayed on the first trip information page, the first trip end control is triggered. When the first trip end control is triggered, a trip end confirmation window may be displayed on the first trip information page in a pop-up window. The trip end confirmation window refers to an information window for confirming whether to end the trip. The trip end confirmation window may include a second trip end control. The second trip end control refers to a control for ending the trip.
[0064] S13: When the second trip end control is triggered, displaying trip end information on the first trip information page.
[0065] When the first user selects the second trip end control displayed on the trip end confirmation window, the second trip end control is triggered. When the second trip end control is triggered, the trip end information is displayed on the first trip information page. The trip end information includes but is not limited to various information for prompting that the trip has ended. The trip end information can be in text form, for example.
[0066] The present application is implemented by having a first user device display a first trip end control on a first trip information page, displaying a trip end confirmation window including a second trip end control on the first trip information page when the first trip end control is triggered, and displaying trip end information on the first trip information page when the second trip end control is triggered. The present application can ensure that the trip ends only when both the first trip end control and the second trip end control are triggered, thereby ensuring the accuracy of the trip end and avoiding the inconvenience caused by the trip end due to a misoperation by the first user using the first user device. Moreover, the first user device in the present application is usually a user device used by a passenger user (first user). The present application solves the technical problem of insufficient flexibility caused by the prior art that a trip can usually only be ended by a driver user.
[0067] In the prior art, for example, when a passenger gets off the bus before reaching the destination, the driver has to continue driving to the original destination because the destination has not been modified. This usage is not conducive to the driver's user experience. According to the present application, when a passenger gets off the bus before reaching the destination, the trip can be ended through the first trip end control displayed on the first trip information page and the second trip end control included in the trip end confirmation window. After the trip is over, the driver cannot continue driving to the original destination, thereby improving the user experience of both the driver and the passenger. In addition, since the driver's unnecessary driving distance is reduced, the present application can help reduce the occupation of traffic resources, reduce environmental pollution, and reduce congestion.
[0068] Figure 2 It is a schematic diagram of the first trip information page in the method for ending a trip provided in an embodiment of the present application.
[0069] like Figure 2 As shown in (a) in the figure, the first user device provides an interactive function of the first trip information page, and the first trip information page includes a first trip end control 21, an electronic map 22, and a trip information prompt card 23. The text of the first trip end control 21 can be displayed as "Confirmed arrival" or "Confirmed arrival at the destination", etc. The electronic map 22 is used to display the trip route of the first user in the form of an electronic map. The text prompt of the trip information prompt card 23 can be, for example, "The owner is taking you", "The owner is picking up fellow passengers", "Please fasten your seat belts during the trip", etc. The first trip information page can also include multiple other cards, as shown in the figure.
[0070] When the first trip end control 21 is triggered, a trip end confirmation window 24 is displayed on the first trip information page, such as Figure 2 As shown in (b) of FIG. 1 , the trip end confirmation window 24 includes a second trip end control 241 and a prompt message 242. The text of the second trip end control 241 can be displayed as, for example, "Confirm arrival" or "Confirm that you have reached the destination", etc. The prompt message 242 can be displayed as, for example, "The trip will end after clicking", "Please confirm that you have reached the destination before ending the trip", etc.
[0071] When the second trip end control 241 is triggered, the trip end information is displayed on the first trip information page, such as Figure 2 As shown in (c) in the figure. When the second trip end control 241 is triggered, the trip end confirmation window 24 disappears. The trip information prompt card 23 of the first trip information page can display the trip end information, such as "You have arrived, please take your belongings with you", "Thank you for using shared travel to save energy and reduce emissions for the city".
[0072] In one embodiment, the method for ending a trip further includes:
[0073] If the distance between the geographic location of the first user equipment and the destination is greater than a first distance threshold, displaying distance prompt information in the trip end confirmation window;
[0074] If the distance between the geographic location of the first user equipment and the destination is less than a first distance threshold, a trip end prompt message is displayed in the trip end confirmation window.
[0075] Here, the first distance threshold can be set based on experience. The first distance threshold can be, for example, 100 meters to 2 kilometers. Preferably, the first distance threshold is, for example, 1 kilometer.
[0076] The first user device may obtain location information of the current geographical location by means of GPS (Global Positioning System). The first user device may send the current geographical location to the server so that the server can determine the distance between the geographical location of the first user device and the destination. If the distance between the geographical location of the first user device and the destination is greater than the first distance threshold, the server sends distance prompt information to the first user device. The first user device displays the distance prompt information in the trip end confirmation window. If the distance between the geographical location of the first user device and the destination is less than the first distance threshold, the server sends the trip end prompt information to the first user device. The first user device displays the trip end prompt information in the trip end confirmation window.
[0077] In another way, the first user device may also determine the distance between the geographical location of the first user device and the destination according to the current geographical location and the geographical location of the destination. If the distance between the geographical location of the first user device and the destination is greater than the first distance threshold, the first user device displays the distance prompt information in the trip end confirmation window. If the distance between the geographical location of the first user device and the destination is less than the first distance threshold, the first user device displays the trip end prompt information in the trip end confirmation window.
[0078] like Figure 2As shown in (b) in FIG. 2 , the first user device may display the distance prompt information or the trip end information through the prompt information 242 in the trip end confirmation window 24. If the distance between the geographical location of the first user device and the destination is greater than the first distance threshold, the first user device may display the distance prompt information in the prompt information 242 in the trip end confirmation window 24. The text of the distance prompt information may be displayed as, for example, “The distance to the destination is far, please confirm”, “The distance to the destination is far, are you sure to end the trip early?”, etc. If the distance between the geographical location of the first user device and the destination is less than the first distance threshold, the first user device may display the trip end prompt information in the prompt information 242 in the trip end confirmation window 24. The text of the trip end information may be displayed as, for example, “Please confirm that you have arrived. The trip will end after arrival”, “Click to confirm arrival, the trip will end”, etc.
[0079] Based on the relationship between the distance between the geographic location of the first user's device and the destination and the first distance threshold, the present application displays distance prompt information or trip end prompt information in the trip end confirmation window, respectively, so that the first user can more clearly understand whether his or her geographic location is geographically close to the destination when the trip ends, which is convenient for the first user to more accurately determine whether to end the trip, improves the accuracy of ending the trip, and ensures the travel experience and travel satisfaction of the first user.
[0080] In one embodiment, the method for ending a trip further includes:
[0081] If the distance between the first user equipment and the destination is greater than the first distance threshold, start a first countdown, wherein the second trip end control is in a state of being untriggerable before the first countdown ends;
[0082] When the first countdown ends, the state of the second end-of-trip control is adjusted to be triggerable.
[0083] The first countdown time can be, for example, 1 second to 10 seconds. Preferably, the first countdown time is 3 seconds.
[0084] If the distance between the first user device and the end point is greater than the first distance threshold, the first countdown is started. Before the first countdown ends, the state of the second end-of-trip control is not triggerable. For example, the second end-of-trip control may be displayed in gray and cannot be clicked by the first user. When the first countdown ends, the state of the second end-of-trip control is adjusted to be triggerable. For example, the state of the second end-of-trip control is adjusted to be clickable by the first user.
[0085] The present application starts a first countdown when the distance between the first user device and the destination is greater than a first distance threshold, and makes the state of the second trip end control untriggerable before the first countdown ends. This can make the first user more aware that his or her geographical location is far from the destination when the trip ends, avoid the first user's erroneous operation when the trip is far from the destination, thereby improving the accuracy of the trip end and ensuring the travel experience and travel satisfaction of the first user.
[0086] In one embodiment, the method for ending a trip further includes:
[0087] When the second trip end control is triggered, the first trip end notification information is sent to the server, and the server sends the second trip end notification information to the second user equipment when receiving the first trip end notification information, and the second user equipment and the first user equipment belong to the same trip.
[0088] The method for ending a trip provided in an embodiment of the present application is applied to a first user device. In the present application, the first user device is usually a user device used by a passenger user (first user), and the second user device is usually a user device used by a driver user (second user). Both the first user device and the second user device are electronic devices. The server stores the association relationship between the first user device and the second user device in the same trip.
[0089] The first trip end notification information refers to the notification information sent by the first user device to the server indicating the end of the trip. The second trip end notification information refers to the notification information sent by the server to the second user device indicating the end of the trip.
[0090] When the second trip end control is triggered, the first user device can send the first trip end notification information to the server through various communication methods such as wireless communication and wired communication. Since the server saves the association relationship between the first user device and the second user device in the same trip, when the server receives the first trip end notification information, it sends the second trip end notification information to the second user device belonging to the same trip as the first user device, so as to notify the second user device to end the trip.
[0091] In the present application, when the second trip end control is triggered, the first user device sends the first trip end notification information to the server, so that the server sends the second trip end notification information to the second user device when receiving the first trip end notification information. This allows the second user (driver) of the second user device to promptly learn that the first user (passenger) has ended the trip, so that the driver can promptly adjust his subsequent trip arrangements according to the information that the passenger has ended the trip, thereby reducing unnecessary trips, thereby reducing the use of social transportation resources, reducing congestion, and being able to reduce energy use and pollution.
[0092] Figure 3 It is a flowchart of a method for ending a trip provided in another embodiment of the present application.
[0093] S31, receiving first trip end notification information sent by a first user device.
[0094] Here, the server may receive the first trip end notification information sent by the first user device through various communication methods such as wireless communication, wired communication, etc. The first user device may be a user device used by the passenger.
[0095] S32: Send second trip end notification information to a second user equipment, where the second user equipment and the first user equipment belong to the same trip.
[0096] The server stores the association between the first user device and the second user device in the same itinerary. The server can send the second itinerary end notification information to the second user device in the same itinerary as the first user device through various communication methods such as wireless communication and wired communication.
[0097] The present application sends a second trip end notification message to a second user device after receiving the first trip end notification message sent by the first user device, so that the second user (driver) of the second user device can promptly learn that the first user (passenger) has ended the trip, so that the driver can promptly adjust his subsequent trip arrangements according to the information that the passenger has ended the trip, thereby reducing unnecessary trips, thereby reducing the use of social transportation resources, reducing congestion, and being able to reduce energy use and pollution.
[0098] Figure 4 It is a flowchart of a method for ending a trip provided in yet another embodiment of the present application.
[0099] The method for ending a trip provided in the embodiment of the present application is applied to a second user device. In the present application, the second user device is usually a user device used by a driver user (second user), and the first user device is usually a user device used by a passenger user (first user). Both the first user device and the second user device are electronic devices.
[0100] S41, when receiving the second trip end notification information sent by the server, start the trip end countdown and prompt the user, the server sends the second trip end notification information to the second user device when receiving the first trip end notification information sent by the first user device, and the second user device and the first user device belong to the same trip.
[0101] The server stores the association between the first user device and the second user device in the same trip. The server can send a second trip end notification message to the second user device that belongs to the same trip as the first user device through various communication methods such as wireless communication and wired communication. Correspondingly, the second user device receives the second trip end notification message through various communication methods such as wireless communication and wired communication. When receiving the second trip end notification message sent by the server, the second user device starts the trip end countdown. The trip end countdown time can be, for example, 5 minutes to 15 minutes. Preferably, the trip end countdown time is 10 minutes. The trip end countdown is used to indicate that the trip will end when the countdown is completed.
[0102] Regarding the operation of starting the countdown to the end of the trip, the second user device can prompt the user in various ways. For example, the second user device can prompt the user by voice, and the voice can be, for example, "The passenger has confirmed the delivery, and the trip will end in 10 minutes." For another example, the second user device can display a text prompt message on the second trip information page to prompt the user, and the text prompt message can be, for example, "The passenger has confirmed the delivery, and the trip will end in 10 minutes." The countdown to the end of the trip can be, for example, 30 seconds, 1 minute (or other optional time) as a granularity, and the user will be prompted again each time the countdown to the end of the trip is reduced by one granularity.
[0103] S42, when the trip end countdown ends, displaying the trip end information on the second trip information page.
[0104] The second trip information page refers to a page displayed on the first user device for presenting information related to the trip.
[0105] The trip end information includes, but is not limited to, various information for prompting that the trip has ended. The trip end information may be in text form, such as "Your trip has been confirmed to be delivered, I wish you a happy life." In addition, the second user device may also prompt the user of the trip end information by displaying a text message.
[0106] This application enables the second user device to start a trip end countdown and prompt the user when receiving the second trip end notification information sent by the server, and display the trip end information on the second trip information page when the trip end countdown ends. If the trip is ended directly when the second trip end notification information is received, it is usually easy to cause a poor user experience for the second user; by starting the trip end countdown and prompting the user, the second user can be informed of the event and specific time of the trip end in advance, thereby improving the travel experience of the second user. In addition, during the trip, the second user device usually provides navigation services. Before the trip end countdown ends, the second user device can continue to provide navigation services to the second user, avoiding the direct end of the trip and the direct end of the navigation service, which causes a poor user experience for the second user.
[0107] Figure 5 It is a schematic diagram of the second trip information page in the method for ending a trip provided in an embodiment of the present application.
[0108] like Figure 5 As shown in (a) in the figure, the second user device provides an interactive function of the second itinerary information page, and the second itinerary information page includes a text prompt card 51, and the text displayed on the text prompt card 51 may be, for example, the end of the itinerary information. The second itinerary information page may also include an itinerary card 52. The itinerary card 52 is used to display the current itinerary information. The itinerary card 52 may include, for example, text information such as the user's starting point and the user's destination. The itinerary card 52 may also include a send message control 521 and a call control 522. Among them, the send message control 521 is used to assist the second user to send a message to the first user. The call control 522 is used to assist the second user to call the first user.
[0109] In one embodiment, before the end of the trip countdown ends, the method for ending the trip further includes:
[0110] Displaying a third trip end control on the second trip information page;
[0111] When the third trip end control is triggered, trip end information is displayed on the second trip information page.
[0112] The third trip end control is a control for ending a trip. The second trip information page may also include a third trip end control 53, such as Figure 5 When the second user selects the third trip end control 53 displayed on the second trip information page, the third trip end control 53 is triggered. When the third trip end control 53 is triggered, the trip end information is displayed on the second trip information page, for example, the trip end information can be displayed in the text prompt card 51.
[0113] In this application, when receiving the second trip end notification information sent by the server, the second user device starts the trip end countdown and prompts the user. Before the end of the trip end countdown, when the third trip end control displayed on the second trip information page is triggered, the trip end information is displayed on the second trip information page. If the trip is ended directly when the second trip end notification information is received, it is usually easy to cause a poor user experience for the second user; by starting the trip end countdown and prompting the user, the second user can be informed of the event and specific time of the trip end in advance, thereby improving the travel experience of the second user. In addition, by displaying the third trip end control on the second trip information page of the second user device, the second user can end the trip by choosing to trigger the third trip end control, thereby increasing the second user's ability to actively end the trip, improving the flexibility of ending the trip and the travel experience of the second user.
[0114] In one embodiment, before receiving the second trip end notification information sent by the server, the method for ending the trip further includes:
[0115] displaying a fourth trip end control on the second trip information page;
[0116] When the fourth trip end control is triggered, if the second trip end notification information is received, the trip end information is displayed on the second trip information page.
[0117] The fourth trip end control is a control for ending a trip. The second trip information page may also include a fourth trip end control 54, such as Figure 5 As shown in (c) in FIG. Before receiving the second trip end notification information sent by the server, when the second user selects the fourth trip end control 54 displayed on the second trip information page, the fourth trip end control 54 is triggered. When the fourth trip end control 54 is triggered, if the second trip end notification information is received, the trip end information is displayed on the second trip information page, for example, the trip end information can be displayed in the text prompt card 51.
[0118] This application is to display the fourth trip end control on the second trip information page by the second user device before receiving the second trip end notification information sent by the server, and display the trip end information on the second trip information page if the second trip end notification information is received when the fourth trip end control is triggered. By displaying the fourth trip end control on the second trip information page, this application provides the ability for the second user to trigger the end of the trip first. After the second user device chooses to trigger the fourth trip end control, if the second trip end notification information is received, it is equivalent to receiving a notification that the first user also chooses to end the trip, and the trip end information is displayed on the second trip information page. This application further increases the ability of the second user to actively trigger the end of the trip, improving the flexibility of ending the trip and the travel experience of the second user.
[0119] Figure 6 It is a flowchart of a method for ending a trip provided in another embodiment of the present application.
[0120] S61, in progress.
[0121] S62, the second user ends the trip. For example, the second user selects to trigger the fourth trip end control.
[0122] S63, the first user ends the trip. When the second trip end control is triggered, the first user device sends a first trip end notification message to the server, and the server sends a second trip end notification message to the second user device upon receiving the first trip end notification message, and the second user device and the first user device belong to the same trip. Accordingly, the second user device receives the second trip end notification message.
[0123] S64, the second trip information page displays the trip end information. When the fourth trip end control is triggered, if the second trip end notification information is received, the second user device displays the trip end information on the second trip information page.
[0124] S65, if the first user has not ended the trip (that is, the second user device has not received the second trip end notification information), perform a security policy check. The security policy check method includes but is not limited to: determining whether the geographical location of the first user device has reached the destination. If the geographical location of the first user device has reached the destination, the security policy check passes, and the process goes to S64; if the geographical location of the first user device has not reached the destination, the security policy check fails, and the process goes to S66.
[0125] S66, order completion interception. The second user fails to end the trip. In this case, the second user can choose to trigger the fourth trip end control again to end the trip.
[0126] This application is provided by the second user device displaying the fourth trip end control on the second trip information page before receiving the second trip end notification information, and displaying the trip end information on the second trip information page if the second trip end notification information is received when the fourth trip end control is triggered. By displaying the fourth trip end control on the second trip information page, this application provides the ability for the second user to end the trip first. After the second user device chooses to trigger the fourth trip end control, if the second trip end notification information is received, it is equivalent to receiving a notification that the first user also chooses to end the trip, and the trip end information is displayed on the second trip information page. This application further increases the ability of the second user to actively end the trip, improves the flexibility of ending the trip and the travel experience of the second user. Moreover, when the fourth trip end control is triggered, if the second trip end notification information is not received, the trip is determined to be ended through security policy verification, which can ensure the accuracy of the trip end and improve the travel experience of both the driver and the passenger.
[0127] Figure 7 It is a structural schematic diagram of a device for ending a trip provided in one embodiment of the present application.
[0128] like Figure 7 As shown, the device 7 is applied to the first user equipment. The device 7 includes:
[0129] A first display module 71, used to display a first trip end control on a first trip information page;
[0130] A second display module 72, configured to display a trip end confirmation window on the first trip information page when the first trip end control is triggered, wherein the trip end confirmation window includes a second trip end control;
[0131] The third display module 73 is used to display the trip end information on the first trip information page when the second trip end control is triggered.
[0132] Another embodiment of the present invention discloses a device 7. In the above Figure 7 On the basis of the corresponding embodiment, the device 7 further includes:
[0133] A sixth display module, configured to display distance prompt information in the trip end confirmation window if the distance between the geographic location of the first user equipment and the destination is greater than a first distance threshold;
[0134] The seventh display module is used to display a trip end prompt message in the trip end confirmation window if the distance between the geographical location of the first user equipment and the destination is less than a first distance threshold.
[0135] Another embodiment of the present invention discloses a device 7. In the above Figure 7 On the basis of the corresponding embodiment, the device 7 further includes:
[0136] an eighth countdown module, configured to start a first countdown if the distance between the first user equipment and the destination is greater than the first distance threshold, wherein the second trip end control is in a state of being untriggerable before the first countdown ends;
[0137] A ninth adjustment module is used to adjust the state of the second stroke end control to be triggerable when the first countdown ends.
[0138] Another embodiment of the present invention discloses a device 7. In the above Figure 7 On the basis of the corresponding embodiment, the device 7 further includes:
[0139] a tenth sending module, configured to send first trip end notification information to a server when the second trip end control is triggered, wherein the server sends second trip end notification information to a second user device upon receiving the first trip end notification information, and the second user device and the first user device belong to the same trip.
[0140] Figure 8 It is a structural schematic diagram of a device for ending a trip provided in another embodiment of the present application.
[0141] like Figure 8 As shown, the device 8 is applied to the second user equipment. The device 8 includes:
[0142] The fourth prompting module 81 is used to start the trip end countdown and prompt the user when receiving the second trip end notification information sent by the server, wherein the server sends the second trip end notification information to the second user device when receiving the first trip end notification information sent by the first user device, and the second user device and the first user device belong to the same trip;
[0143] The fifth display module 82 is used to display the trip end information on the second trip information page when the trip end countdown ends.
[0144] Another embodiment of the present invention discloses a device 8. In the above Figure 8 On the basis of the corresponding embodiment, the device 8 further includes:
[0145] an eleventh display module, configured to display a third trip end control on the second trip information page;
[0146] A twelfth display module is used to display the trip end information on the second trip information page when the third trip end control is triggered.
[0147] Another embodiment of the present invention discloses a device 8. In the above Figure 8 On the basis of the corresponding embodiment, the device 8 further includes:
[0148] A thirteenth display module, used for displaying a fourth trip end control on the second trip information page;
[0149] A fourteenth display module is configured to display the trip end information on the second trip information page if the second trip end notification information is received when the fourth trip end control is triggered.
[0150] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0151] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0152] The present application also provides an electronic device, such as Fig. 9 As shown, the electronic device 9 includes: at least one processor 90, a memory 91, and a computer program 92 stored in the memory 91 and executable on the at least one processor 90, and when the processor 90 executes the computer program 92, the steps in any of the above-mentioned method embodiments are implemented.
[0153] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0154] An embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed, the steps in the above-mentioned method embodiments are executed.
[0155] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / electronic device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0156] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0157] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0158] In the embodiments provided in the present application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0159] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0160] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for ending a trip, characterized in that: The method is applied to a first user equipment, and the method includes: Displaying a first trip end control on the first trip information page; When the first trip end control is triggered, displaying a trip end confirmation window on the first trip information page, the trip end confirmation window including a second trip end control; When the second trip end control is triggered, the trip end information is displayed on the first trip information page.
2. The method for ending a trip according to claim 1, characterized in that: The method further comprises: If the distance between the geographic location of the first user equipment and the destination is greater than a first distance threshold, displaying distance prompt information in the trip end confirmation window; If the distance between the geographic location of the first user equipment and the destination is less than a first distance threshold, a trip end prompt message is displayed in the trip end confirmation window.
3. The method for ending a trip according to claim 2, characterized in that: The method further comprises: If the distance between the first user equipment and the destination is greater than the first distance threshold, start a first countdown, wherein the second trip end control is in a state of being untriggerable before the first countdown ends; When the first countdown ends, the state of the second end-of-trip control is adjusted to be triggerable.
4. The method for ending a trip according to any one of claims 1 to 3, characterized in that: The method further comprises: When the second trip end control is triggered, the first trip end notification information is sent to the server, and the server sends the second trip end notification information to the second user equipment when receiving the first trip end notification information, and the second user equipment and the first user equipment belong to the same trip.
5. A method for ending a trip, characterized in that: The method is applied to a second user equipment, and the method includes: When receiving the second trip end notification information sent by the server, starting the trip end countdown and prompting the user, the server sends the second trip end notification information to the second user device when receiving the first trip end notification information sent by the first user device, and the second user device and the first user device belong to the same trip; When the trip end countdown ends, the trip end information is displayed on the second trip information page.
6. The method for ending a trip according to claim 5, characterized in that: Before the end of the trip countdown ends, the method further includes: Displaying a third trip end control on the second trip information page; When the third trip end control is triggered, trip end information is displayed on the second trip information page.
7. The method for ending a trip according to claim 5, characterized in that: Before receiving the second trip end notification information sent by the server, the method further includes: displaying a fourth trip end control on the second trip information page; When the fourth trip end control is triggered, if the second trip end notification information is received, the trip end information is displayed on the second trip information page.
8. A device for ending a trip, characterized in that: The device is applied to a first user equipment, and the device includes: A first display module, configured to display a first trip end control on a first trip information page; a second display module, configured to display a trip end confirmation window on the first trip information page when the first trip end control is triggered, wherein the trip end confirmation window includes a second trip end control; The third display module is used to display the trip end information on the first trip information page when the second trip end control is triggered.
9. A device for ending a trip, characterized in that: The device is applied to a second user equipment, and the device includes: a fourth prompting module, configured to start a trip end countdown and prompt a user when receiving a second trip end notification message sent by the server, wherein the server sends the second trip end notification message to the second user device when receiving the first trip end notification message sent by the first user device, and the second user device and the first user device belong to the same trip; The fifth display module is used to display the trip end information on the second trip information page when the trip end countdown ends.
10. A computer program product, characterized in that The invention comprises a computer program, which, when being executed, enables the method as claimed in any one of claims 1 to 4 or 5 to 7 to be performed.