CN-121996111-A - Method, apparatus, device and storage medium for interaction
Abstract
Embodiments of the present disclosure relate to a method, apparatus, device, and storage medium for interaction. The method includes receiving a travel service request at a first interface, the travel service request including a request in natural language, presenting a recommended card for at least one travel service of the travel service request in the first interface in response to obtaining travel information corresponding to the travel service request and the travel information satisfying a predetermined recommendation condition, the recommended card indicating at least first traffic service information between a departure place associated with the travel service request and at least one destination and accommodation service information during stay at the destination, and presenting payment information for the at least one travel service on the first interface in response to receiving a confirmation for the recommended card via the first interface, and completing a reservation operation for the at least one travel service for an originator of the travel service request in response to determining that the payment is successful.
Inventors
- ZHANG TONG
- ZHENG TAO
Assignees
- 北京嘀嘀无限科技发展有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241101
Claims (15)
- 1. A method for interaction, comprising: Receiving a travel service request at a first interface, wherein the travel service request comprises a request in a natural language form; In response to obtaining travel information corresponding to the travel service request and the travel information satisfying a predetermined recommendation condition, presenting in the first interface a recommendation card for at least one travel service of the travel service request, the recommendation card indicating at least first traffic service information between a departure place associated with the travel service request and at least one destination and accommodation service information during stay at the destination, and Presenting payment information regarding the at least one travel service on the first interface in response to receiving a confirmation for the recommended card via the first interface, and And in response to determining that the payment is successful, completing the booking operation of the at least one travel service for the initiator of the travel service request.
- 2. The method of claim 1, further comprising: Presenting a plurality of candidate travel tasks on a second interface, and The first interface is presented in response to receiving a selection of one of a plurality of candidate travel tasks.
- 3. The method of claim 2, wherein the trip information is obtained from at least one of: the selected candidate travel task is selected to be a candidate travel task, The travel service request, or Historical trip information associated with an originating object of the travel service request.
- 4. The method of claim 1, further comprising: in response to not obtaining the trip information and/or the obtained trip information not meeting a predetermined recommendation condition, at least one of the following is presented in the first interface: A prompt indicating supplemental additional travel information, or A prompt indicating modification of the trip information, and In response to receiving input for the prompt at the first interface, presenting a recommendation card for the at least one travel service of the travel service request in the first interface.
- 5. The method of claim 2, wherein the trip information does not satisfy a predetermined recommended condition comprises at least one of: The travel information does not match the selected candidate travel task, The acquired travel information contains travel parameters which do not include the preset travel parameters, or And the acquired travel parameters contained in the travel information do not meet the preset service standard corresponding to the travel service request.
- 6. The method of claim 1, further comprising: Receiving an update request for the recommended card at the first interface, wherein the update request is used for requesting to update at least part of the travel services in the at least one travel service, and And based on the update request, presenting another recommended card for the at least one travel service of the travel service request on the first interface.
- 7. The method of claim 1, further comprising: Presenting a first portal for the recommended card in the first interface; Presenting a second portal for the at least one travel service at the first interface in response to receiving the confirmation for the recommended card via the first portal, and In response to receiving a predetermined input via the second portal, a payment request for the at least one travel service is initiated.
- 8. The method of claim 7, wherein initiating a payment request for the at least one travel service in response to receiving a predetermined input via the second portal comprises: In response to receiving the predetermined input via the second portal, a payment interface for the at least one travel service is presented to initiate a payment request for the at least one travel service.
- 9. The method of claim 7, further comprising: in response to determining that the payment was successful, an indication of payment success is presented at the first interface.
- 10. The method of claim 1, wherein the trip information includes at least one of: a departure location associated with the travel service request, At least one destination associated with the travel service request, A start time and an end time associated with the travel service request, One or more desired traffic service types to and from the origin and the at least one destination, or One or more desired accommodation service types during the at least one destination stay.
- 11. The method of claim 10, wherein the recommendation card further indicates at least one of: Second traffic service information at the departure point associated with the travel service request, or Third traffic service information at the destination associated with the travel service request.
- 12. An apparatus for interaction, comprising: the device comprises a receiving module, a first interface and a second interface, wherein the receiving module is configured to receive a travel service request at the first interface, and the travel service request comprises a request in a natural language form; A recommended card presentation module configured to present, in response to acquiring travel information corresponding to the travel service request and the travel information satisfying a predetermined recommended condition, a recommended card for at least one travel service of the travel service request in the first interface, the recommended card indicating at least first traffic service information between a departure place and at least one destination associated with the travel service request and accommodation service information during stay at the destination; a payment information presentation module configured to present payment information regarding the at least one travel service on the first interface in response to receiving a confirmation for the recommended card via the first interface, and And the booking module is configured to complete booking operation of the at least one travel service for an initiator of the travel service request in response to determining that payment is successful.
- 13. An electronic device, comprising: At least one processing unit, and At least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, which when executed by the at least one processing unit, cause the electronic device to perform the method of any one of claims 1 to 11.
- 14. A computer readable storage medium having stored thereon a computer program executable by a processor to implement the method of any of claims 1 to 11.
- 15. A computer program product comprising computer executable instructions which when executed by a processor implement the method of any one of claims 1 to 11.
Description
Method, apparatus, device and storage medium for interaction Technical Field Example embodiments of the present disclosure relate generally to the field of computer technology and, more particularly, relate to a method, apparatus, device, and storage medium for interaction. Background At present, travel services (such as air tickets, hotels and train tickets) realize real-time release and inquiry of information through an internet technology, so that a user can easily acquire latest flight, hotel and train time information. By utilizing the mobile communication technology, a user can complete preset operation through mobile equipment such as a smart phone and the like at any time and any place, but the operation is complicated, and the user experience is poor. Disclosure of Invention In a first aspect of the present disclosure, a method for interaction is provided. The method includes receiving a travel service request at a first interface, the travel service request including a request in a natural language form, presenting a recommendation card for at least one travel service of the travel service request in the first interface in response to obtaining travel information corresponding to the travel service request and the travel information meeting a predetermined recommendation condition, the recommendation card indicating at least first traffic service information between a departure place associated with the travel service request and at least one destination and accommodation service information during stay at the destination, and presenting payment information for the at least one travel service on the first interface in response to receiving a confirmation for the recommendation card via the first interface, and completing a reservation operation for the at least one travel service for an originator of the travel service request in response to determining that the payment is successful. In a second aspect of the present disclosure, an apparatus for interaction is provided. The device comprises a receiving module, a recommendation card presenting module, a payment information presenting module and a reservation module, wherein the receiving module is configured to receive a travel service request at a first interface, the travel service request comprises a request in a natural language form, the recommendation card presenting module is configured to present a recommendation card of at least one travel service for the travel service request in the first interface in response to acquiring travel information corresponding to the travel service request and the travel information meets preset recommendation conditions, the recommendation card at least indicates first traffic service information between a departure place and at least one destination associated with the travel service request and accommodation service information during stay at the destination, the payment information presenting module is configured to present payment information about the at least one travel service on the first interface in response to receiving confirmation of the recommendation card through the first interface, and the reservation module is configured to complete reservation operation of the at least one travel service for an initiator of the travel service request in response to determining that payment is successful. In a third aspect of the present disclosure, an electronic device is provided. The apparatus includes at least one processing unit, and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. The instructions, when executed by at least one processing unit, cause the apparatus to perform the method of the first aspect. In a fourth aspect of the present disclosure, a computer-readable storage medium is provided. The computer readable storage medium has stored thereon a computer program executable by a processor to implement the method of the first aspect. In a fifth aspect of the present disclosure, a computer program product is provided. The computer program product comprises computer executable instructions which, when executed by a processor, implement a method according to the first aspect of the present disclosure. It should be understood that what is described in this section of the disclosure is not intended to limit key features or essential features of the embodiments of the disclosure, nor is it intended to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following description. Drawings The above and other features, advantages and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, wherein like or similar reference numerals designate like or similar elements, and wherein: FIG. 1 illustrates a schematic diagram of