CN-122023096-A - Service request processing method, device, electronic equipment, computer readable storage medium and computer program product
Abstract
The application provides a processing method, a device, electronic equipment, a computer readable storage medium and a computer program product of a service request, wherein the method comprises the steps of displaying a first relative position relation between a response object of the service request and a target object in a map when the service request of the target object is in a responded state, wherein the response object is a first type object, the first type object is contained in the service request, displaying an additional control for the second type object in response to the existence of at least one second type object meeting an object switching condition based on the first relative position relation between the response object and the target object, the second type object is not contained in the service request, and controlling the response object of the service request to be switched from the first type object to the second type object in response to a triggering operation for the additional control. The application can improve the efficiency of switching the response object.
Inventors
- DU WENQIAN
- Suo Yuzhu
Assignees
- 腾讯科技(深圳)有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20241112
Claims (20)
- 1. A method for processing a service request, the method comprising: When a service request of a target object is in a responded state, displaying a first relative position relation between a response object of the service request and the target object in a map; The response object is an object of a first type, and the first type is contained in the service request; Based on a first relative position relation between the response object and the target object, responding to the condition that at least one object of a second type meets object switching conditions, and displaying an additional control aiming at the object of the second type; Wherein the second type is not included in the service request; and responding to the triggering operation of the additional control, and controlling the response object of the service request to be switched from the object of the first type to the object of the second type.
- 2. The method of claim 1, wherein prior to the displaying of the append control for the second type of object in response to the presence of at least one second type of object satisfying an object switch condition, the method further comprises: Determining that at least one object of a second type satisfies an object switching condition in response to a first distance between the object of the first type and the target object being greater than a first distance threshold and a second distance between the object of the second type and the target object being present being less than the first distance threshold, or And determining that at least one object of a second type meets an object switching condition in response to the first time period when the object of the first type moves to the target object being greater than a first time period threshold and the second time period when the object of the second type moves to the target object being less than the first time period threshold.
- 3. The method of claim 1, wherein the displaying an additional control for the second type of object in response to the presence of at least one second type of object satisfying an object switch condition comprises: Responsive to the presence of at least one object of a second type satisfying an object switching condition, displaying a selection control corresponding to the at least one object of the second type; Based on the selection control, in response to a selection operation for the at least one object of the second type, displaying an additional control for the selected object; The response to the triggering operation for the additional control, the response object of the service request is controlled to be switched from the object of the first type to the object of the second type, and the response object comprises: and responding to the triggering operation of the additional control, and controlling the response object of the service request to be switched into the selected object by the object of the first type.
- 4. The method of claim 3, wherein the displaying, based on the selection control, an append control for the selected object in response to a selection operation for the at least one object of the second type comprises: controlling the at least one object of the second type to be in a candidate state in response to a triggering operation for the selection control; and responding to the selection operation of the object of the second type in the candidate state, controlling the selected object to be in the selected state, and displaying an additional control for the object in the selected state in an association area of the object in the selected state.
- 5. A method according to claim 3, wherein the service requested by the service request is a transport service, the method further comprising: Displaying description information of each second type object in response to the existence of at least one second type object satisfying an object switching condition; The description information comprises at least one of the capacity of the second type of object for the transportation service, the information that the second type of object is different from the first type of object, and the cost corresponding to the second type of object completing the service request.
- 6. The method of claim 1, wherein the displaying an additional control for the second type of object in response to the presence of at least one second type of object satisfying an object switch condition comprises: And displaying an additional control corresponding to the object of the second type in the object range in response to the existence of a plurality of objects of the second type meeting the object switching condition, wherein the object range is determined based on the historical service request of the target object.
- 7. The method of claim 6, wherein there are objects that are not within the object scope among a plurality of objects of the second type that satisfy the object switching condition, the method further comprising: displaying reason information which does not belong to the object range aiming at the object of the second type which does not belong to the object range, and displaying an inquiry control, wherein the inquiry control is used for inquiring whether to add the object of the second type which does not belong to the object range; based on the cause information, in response to a determination instruction triggered based on the query control, an additional control of an object of a second type not belonging to the object range is displayed.
- 8. The method of claim 1, wherein controlling the response object of the service request to be switched from the first type of object to the second type of object in response to the triggering operation for the append control comprises: responding to the triggering operation of the additional control, displaying additional prompt information, wherein the additional prompt information is used for prompting that the service request is being sent to the object of the second type; and responding to the second type of object to answer the service request, and controlling the answer object of the service request to be switched from the first type of object to the second type of object.
- 9. The method of claim 8, wherein the method further comprises: Switching the additional control to cancel the additional control in response to a trigger operation for the additional control; And in the process of sending the service request to the object of the second type, responding to the triggering operation of the cancel adding control, and keeping the response object of the service request to be the object of the first type.
- 10. The method of claim 8, wherein after the displaying the supplemental prompt message, the method further comprises: in response to the first distance between the response object and the target object being less than a second distance threshold, canceling the display of the additional prompt message and maintaining the response object of the service request as the first type object, or And in response to the response object moving to the target object, the first time length is smaller than a second time length threshold, the display of the additional prompt information is canceled, and the response object of the service request is kept to be the object of the first type.
- 11. The method of claim 1, wherein controlling the response object of the service request to be switched from the first type of object to the second type of object in response to the triggering operation for the append control comprises: Responsive to a trigger operation for the append control, displaying a second relative positional relationship of the second type of object and the target object in the map; and controlling a response object of the service request to be switched from the object of the first type to the object of the second type in response to a determination instruction for the object of the second type based on the second relative position relation.
- 12. The method of claim 11, wherein a first relative positional relationship of the response object of the first type and the target object is displayed in a first display style; The displaying in the map a second relative positional relationship of the second type of object and the target object, comprising: In the map, a second relative positional relationship of the object of the second type and the target object is displayed using a second display style different from the first display style.
- 13. The method of claim 11, wherein the second relative positional relationship includes a path having a position of the second type of object as an initial position and a position of the target object as an end position; after the displaying the second relative positional relationship of the second type of object and the target object in the map, the method further comprises: and in response to the change in the position of the target object, updating the path in the map based on the changed position of the target object.
- 14. The method of claim 1, wherein the service requested by the service request is a transport service, and wherein the method further comprises: Based on the first relative position relation between the response object and the target object, in response to the fact that the second type object meeting the object switching condition does not exist, displaying capacity prompt information for the transportation service, wherein the capacity prompt information is used for prompting that the distance between the response object of the first type and the target object is nearest or the duration for prompting that the response object of the first type moves to the target object is shortest.
- 15. The method of claim 1, wherein controlling the response object of the service request to be switched from the first type of object to the second type of object in response to the triggering operation for the append control comprises: Responding to a triggering operation for the additional control, and displaying first comparison information of a second type of object corresponding to the triggering operation and the first type of object; and controlling a response object of the service request to be switched from the object of the first type to the object of the second type in response to a selection instruction for the object of the second type in the first comparison information.
- 16. The method of claim 1, wherein the objects that satisfy the object switching condition further comprise other objects of a first type; the method further comprises the steps of: responding to the triggering operation for the additional control, and displaying second contrast information of other objects of the first type and objects of the second type; And responding to a selection instruction for other objects of the first type in the second comparison information, and controlling the response object of the service request to be switched from the object of the first type to the other object of the first type.
- 17. The method of claim 1, wherein controlling the response object of the service request to be switched from the first type of object to the second type of object in response to the triggering operation for the append control comprises: And responding to the triggering operation of the additional control, controlling the response object of the service request to be switched from the object of the first type to the object of the second type, and displaying at least one of time information and distance information saved by the object of the second type compared with the object of the first type.
- 18. A device for processing a service request, the device comprising: The display module is used for displaying a first relative position relation between a response object of the service request and the target object in a map when the service request of the target object is in a responded state; The response object is an object of a first type, and the first type is contained in the service request; The response module is used for responding to the condition that at least one object of a second type meets object switching conditions based on the first relative position relation between the response object and the target object, and displaying an additional control for the object of the second type; Wherein the second type is not included in the service request; and the response module is also used for controlling the response object of the service request to be switched from the object of the first type to the object of the second type in response to the triggering operation of the additional control.
- 19. An electronic device, the electronic device comprising: A memory for storing computer executable instructions or computer programs; a processor for implementing the method of processing a service request according to any one of claims 1 to 17 when executing computer executable instructions or computer programs stored in said memory.
- 20. A computer-readable storage medium storing computer-executable instructions or a computer program, which when executed by a processor, implements the method of processing a service request according to any one of claims 1 to 17.
Description
Service request processing method, device, electronic equipment, computer readable storage medium and computer program product Technical Field The present application relates to the field of data processing technologies, and in particular, to a method and apparatus for processing a service request, an electronic device, a computer readable storage medium, and a computer program product. Background In the related art, a user may send a service request to a terminal of another user through the terminal, so that the other user may provide a service corresponding to the service request to the user, for example, the service request may be a service request for a network about vehicle, the other user may be a driver of a network about vehicle, in the case that the user wants to take the network about vehicle to reach a destination, the user may send the service request for the network about vehicle to the terminal of the driver of the network about vehicle through the terminal, and after the service request is responded, the driver of the network about vehicle may send the user to the destination, that is, provide the network about vehicle service to the user. However, if the user wants to change the response, the user needs to cancel the service request and resend another service request, and the efficiency of switching the response object is low. Disclosure of Invention The embodiment of the application provides a service request processing method, a device, electronic equipment, a computer readable storage medium and a computer program product, which can improve the efficiency of switching response objects. The technical scheme of the embodiment of the application is realized as follows: the embodiment of the application provides a method for processing a service request, which comprises the following steps: When a service request of a target object is in a responded state, displaying a first relative position relation between a response object of the service request and the target object in a map; The response object is an object of a first type, and the first type is contained in the service request; Based on a first relative position relation between the response object and the target object, responding to the condition that at least one object of a second type meets object switching conditions, and displaying an additional control aiming at the object of the second type; Wherein the second type is not included in the service request; and responding to the triggering operation of the additional control, and controlling the response object of the service request to be switched from the object of the first type to the object of the second type. The embodiment of the application provides a processing device for a service request, which comprises the following components: The display module is used for displaying a first relative position relation between a response object of the service request and the target object in a map when the service request of the target object is in a responded state; The response object is an object of a first type, and the first type is contained in the service request; The response module is used for responding to the condition that at least one object of a second type meets object switching conditions based on the first relative position relation between the response object and the target object, and displaying an additional control for the object of the second type; Wherein the second type is not included in the service request; and the response module is also used for controlling the response object of the service request to be switched from the object of the first type to the object of the second type in response to the triggering operation of the additional control. In the above scheme, the response module is further configured to determine that at least one object of the second type meets an object switching condition, or determine that at least one object of the second type meets an object switching condition, in response to a first distance between the first type object and the target object being greater than a first distance threshold and a second distance between the at least one object of the second type and the target object being less than the first distance threshold, or in response to a first time period when the first type object moves to the target object being greater than a first time period threshold and a second time period when the at least one object of the second type moves to the target object being less than the first time period threshold, before displaying an additional control for the object of the second type. In the scheme, the response module is further used for displaying a selection control corresponding to at least one second-type object in response to the fact that the at least one second-type object meets an object switching condition, displaying an additional control for the selected object in response to a selection operation for the at leas