Instant messaging method and device applied to taxi taking scene, terminal and storage medium

By displaying instant communication messages on the upper layer of the taxi interface, the problem that users cannot view driver dynamics synchronously is solved, the operation steps are simplified, and the instant communication dynamic synchronization between users and drivers is achieved.

CN118972362APending Publication Date: 2024-11-15TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310544397.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-15
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

In a taxi scenario, users cannot synchronize the latest updates of drivers in one interface, resulting in complex operations and need to frequently switch between two interfaces.

Method used

Instant communication messages are displayed on the upper layer of the map in the taxi-hailing interface to realize instant communication between users and drivers, avoiding jumping to the dialogue interface, thereby simplifying operation steps.

Benefits of technology

It realizes dynamic synchronous viewing when users and drivers communicate instantly in taxi scenarios, reducing operation complexity and simplifying user operation steps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118972362A_ABST
    Figure CN118972362A_ABST
Patent Text Reader

Abstract

The invention discloses an instant messaging method and device applied to a taxi taking scene, a terminal and a storage medium, and relates to the technical field of maps. The method is used for a first client and comprises the steps that a taxi taking interface is displayed, and the taxi taking interface comprises a map; under the condition that a first instant messaging message sent by a second client is received, a first message component is displayed on the upper layer of the map, and the first message component comprises the first instant messaging message; and in response to a message sending operation in the taxi taking interface, displaying a second message component on the upper layer of the map, the second message component including a second instant messaging message sent to the second client. By adopting the scheme provided by the embodiment of the invention, the first client can display the instant messaging message for communicating with the second client on the upper layer of the map in the taxi-taking interface in the taxi-taking scene, so that a user can check the map in the taxi-taking interface while communicating with a driver to obtain information such as the position of the opposite side and the driving state of the vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of map technology, and in particular to an instant messaging method, device, terminal and storage medium applied to a taxi-hailing scenario. Background Art

[0002] Nowadays, online taxi-hailing has gradually become an indispensable choice for users to take a taxi.

[0003] In the related art, a user posts a taxi order on a taxi platform. After receiving a message from a driver accepting the order, the user terminal can jump to a dialogue interface in response to the user triggering a dialogue control. The dialogue interface can display dialogue messages received from the driver terminal and can be used for the user to input and send messages. The user can view the messages sent by the driver through the dialogue interface and communicate with the driver.

[0004] However, in the related art, after jumping to the dialogue interface, the user cannot learn the latest dynamics of the driver. If the user needs to check the vehicle location, the user needs to switch between the two interfaces, which is a relatively complicated operation. Summary of the invention

[0005] The embodiment of the present application provides an instant messaging method, device, terminal and storage medium for a taxi-hailing scenario. The technical solution is as follows:

[0006] On the one hand, an embodiment of the present application provides an instant messaging method applied to a taxi-hailing scenario, the method being used for a first client, and the method comprising:

[0007] Displaying a taxi-hailing interface, wherein the taxi-hailing interface includes a map;

[0008] In the case of receiving a first instant communication message sent by a second client, displaying a first message component on an upper layer of the map, wherein the first message component includes the first instant communication message;

[0009] In response to a message sending operation in the taxi-hailing interface, a second message component is displayed on an upper layer of the map, wherein the second message component includes a second instant messaging message sent to the second client.

[0010] On the other hand, an embodiment of the present application provides an instant messaging device applied to a taxi-hailing scenario, the device comprising:

[0011] A first display module is used to display a taxi-hailing interface, wherein the taxi-hailing interface includes a map;

[0012] A second display module is used to display a first message component on an upper layer of the map when receiving a first instant communication message sent by a second client, wherein the first message component includes the first instant communication message;

[0013] The second display module is also used to display a second message component on the upper layer of the map in response to a message sending operation in the taxi-hailing interface, wherein the second message component includes a second instant messaging message sent to the second client.

[0014] On the other hand, an embodiment of the present application provides a terminal, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the instant communication method applied to the taxi-hailing scenario as described in the above aspects.

[0015] On the other hand, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a code set or an instruction set is stored. The at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the instant communication method applied to the taxi-hailing scenario as described in the above aspects.

[0016] On the other hand, an embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal executes the instant messaging method for a taxi-hailing scenario provided in the above aspect.

[0017] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0018] In the embodiment of the present application, when the first client needs to communicate with the second client in an instant messaging mode in a taxi-hailing scenario, the first instant messaging message sent by the second client and the second instant messaging message sent by the first client are displayed on the map layer of the taxi-hailing interface of the first client. Displaying the instant messaging message on the map layer can avoid the problem in the related art that the vehicle or user dynamics cannot be viewed synchronously due to jumping to the dialogue interface to communicate with the second client, and can also avoid the problem that the user or driver needs to switch between the two interfaces when they need to view the other party's current location while communicating, effectively simplifying the operation steps. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments 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 creative work.

[0020] Figure 1 A schematic diagram showing an instant messaging process provided by an exemplary embodiment of the present application is shown;

[0021] Figure 2 A schematic diagram showing an instant messaging display method in a taxi-hailing scenario;

[0022] Figure 3 A schematic diagram showing an implementation environment provided by an exemplary embodiment of the present application is shown;

[0023] Figure 4 A flowchart of an instant messaging method for a taxi-hailing scenario provided by an exemplary embodiment of the present application is shown;

[0024] Figure 5 A schematic diagram of a taxi-hailing interface provided by an exemplary embodiment of the present application is shown;

[0025] Figure 6 A schematic diagram of entering an instant messaging message provided by an exemplary embodiment of the present application is shown;

[0026] Figure 7 A schematic diagram showing a message component display method provided by another exemplary embodiment of the present application is shown;

[0027] Figure 8 A schematic diagram of a taxi-hailing interface provided by another exemplary embodiment of the present application is shown;

[0028] Fig. 9 A schematic diagram of a taxi-hailing interface provided by another exemplary embodiment of the present application is shown;

[0029] Fig.10 A schematic diagram of adjusting a message display area provided by an exemplary embodiment of the present application is shown;

[0030] Fig.11 A schematic diagram showing an adjustment element display area provided by an exemplary embodiment of the present application is shown;

[0031] Fig.12 A schematic diagram of a jump display dialogue interface provided by an exemplary embodiment of the present application is shown;

[0032] Fig.13 A schematic diagram of an outgoing message component provided by an exemplary embodiment of the present application is shown;

[0033] Fig.14 A structural block diagram of an instant messaging device applied to a taxi-hailing scenario provided by an exemplary embodiment of the present application is shown;

[0034] Fig.15 A schematic diagram of the structure of a terminal provided by an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION

[0035] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0036] Instant Messaging (IM) is a real-time communication system that allows two or more terminals to use the network to transmit text, files, voice and video in real time. It is usually involved in high-real-time scenarios such as live broadcasts and online chats. In some embodiments, the IM architecture includes a client, an access layer, a logic layer, and a storage layer, etc., where the client is a terminal for sending and receiving messages with the server. In the taxi scenario, both the user end and the driver end belong to the above-mentioned client.

[0037] In the embodiment of the present application, in the taxi-hailing scenario, the user side and the driver side conduct instant communication, which needs to be completed by the user side, the taxi service side, the transportation service side, the transportation IM middle platform and the driver side. Among them, the taxi service side is used to receive the taxi message sent by the user side and push the message to the transportation service side. In the actual scenario, the transportation service corresponds to different taxi platforms, and the transportation service side can directly establish a connection with the driver side and dispatch taxi orders to the driver side. The transportation IM middle platform is used to establish a connection with the transportation service side and the driver side, so as to push message notifications to the driver side and send user messages to the driver side, thereby realizing instant communication between the user terminal and the driver side.

[0038] Indicative, Figure 1 A schematic diagram of an instant messaging process provided by an exemplary embodiment of the present application is shown. After the client sends the order information on the taxi service side, the taxi service side pushes the order message to the capacity service side. The capacity side will generate a token between the capacity IM center and the capacity service side. The capacity service side uses the token to establish a dialogue with the capacity IM center and push the user's message to the capacity IM center. After receiving a new message, the capacity IM center will push a message notification to the driver side. After receiving the message notification, the driver side requests the user's message from the capacity IM center and renders the user's message and displays it on the driver side.

[0039] After the driver sends a message, it is first sent to the transport IM platform, which pushes the message to the transport service side, and then to the taxi service side. After the taxi service side receives the message notification, it will obtain the message sent by the driver from the transport IM platform through the return link.

[0040] After receiving the message sent by the driver, the taxi service may receive multiple messages from the driver. Therefore, the taxi service will sort the messages according to the timestamps and return the sorted messages to the user. The user will display them on the map in the order of the timestamps.

[0041] During this process, after the user and driver log in to the taxi application, the user will maintain a long connection with the taxi service side, and the driver will also maintain a long connection with the transportation IM middle platform.

[0042] In the related art, after the driver accepts the order, the user displays a taxi-hailing interface, which includes a taxi-hailing map. In addition, a jump control is displayed in the taxi-hailing interface. In response to the triggering operation of the jump control, the user jumps to display the communication interface, such as Figure 2 As shown, the taxi interface 201 displays a map, and there is a jump control 202 (i.e., a message sending control). When the user clicks the jump control 202, the instant messaging interface 203 is displayed. The interface includes a text input control 204, a send control 205, and a candidate dialogue list 206, which can be used by the user to input and send instant messaging messages and communicate with the driver. When the user clicks the candidate message in the candidate dialogue list, the dialogue interface displays the instant messaging message selected by the user. However, after jumping to the instant messaging interface, the instant messaging interface no longer displays the map, resulting in the user being unable to know the latest dynamics of the driver. If the user needs to view the vehicle location, it needs to switch between the two interfaces, which is a complicated operation. Similarly, after the driver accepts the order, the driver displays the taxi interface, which includes a taxi map and displays the route from the current location of the driver to the pickup point. In addition, when receiving the instant messaging message sent by the user, the driver responds to the message viewing operation and jumps to display the dialogue interface. If the driver needs to view the map, it also needs to switch between the two interfaces.

[0043] Therefore, the embodiment of the present application proposes an instant messaging system applied to a taxi-hailing scenario, which can display instant messaging messages on the upper layer of the map, solve the problem that the user cannot directly view the driver's dynamics when communicating with the driver in real time, and reduce the complexity of the operation.

[0044] Figure 3A schematic diagram of an implementation environment provided by an exemplary embodiment of the present application is shown, and the implementation environment includes: a first terminal 310 and a second terminal 320. The first terminal 310 is installed with a first client, and the second terminal 320 is installed with a second client.

[0045] The first terminal 310 may be a mobile terminal such as a smart phone, a tablet computer, a laptop computer, etc., which is not limited in the present embodiment. The figure takes the first terminal as a smart phone as an example for illustration. The second terminal 320 may be a vehicle-mounted terminal 3220 or a mobile terminal 3210 located in a vehicle.

[0046] In an embodiment of the present application, data communication can be performed between the first terminal 310 and the second terminal 320 through a communication network. Optionally, the communication network can be a wired network or a wireless network, and the communication network can be at least one of a local area network, a metropolitan area network, and a wide area network.

[0047] In some embodiments, a sensor is disposed in the first terminal 310. Based on the sensor parameters of the sensor, the first terminal 310 can obtain information such as its real-time position and real-time orientation, so as to provide a map service for the user based on the information.

[0048] The vehicle terminal 3220 is set in the vehicle and can be used to provide navigation functions, route display and instant communication services with the first client. Usually, the vehicle terminal 3220 is set in the front driving area of ​​the vehicle so that the driver can touch the display screen of the vehicle terminal to achieve the above functions.

[0049] Mobile terminal 3210 is a mobile communication device held by the driver, which can be used to provide positioning services, instant communication services, etc., and the mobile terminal 3210 is also provided with sensors. Based on the sensing parameters of the sensors, mobile terminal 3210 can obtain real-time positioning and real-time orientation. After the driver accepts the order, mobile terminal 3210 can show the user the driving route to the pick-up point based on the real-time positioning and real-time orientation.

[0050] Optionally, the vehicle terminal 3220 has the function of communicating data with the mobile terminal 3210, wherein a communication connection can be established between the mobile terminal 3210 and the vehicle terminal 3220 in a wired or wireless manner, and then data communication is performed through the connection, and the communication connection can be a Bluetooth connection, a Wireless Fidelity (WiFi) connection, a Universal Serial Bus (USB) connection, or a mobile data network connection, etc., which is not limited in the embodiments of the present application. Through the communication connection, the vehicle terminal 3220 can receive the map navigation data, instant communication data, etc. transmitted by the mobile terminal 3210, so that the taxi interface can be displayed to the driver through the screen of the vehicle terminal 3220, so that the driver can realize instant communication with the passenger through the vehicle terminal.

[0051] Indicatively, Figure 3 As shown, after the taxi order issued by the first client is accepted by the driver, the first terminal 310 displays the map contained in the taxi interface, and, in the case of receiving the first instant communication message sent by the second terminal 320 through the communication connection, the first instant communication message is displayed on the upper layer of the map. Similarly, the first terminal 310 sends a second instant communication message to the second terminal 320 through the communication connection, and after receiving the second instant communication message, the second terminal 320 displays the second instant communication message on the upper layer of the map displayed by the second terminal 320. In addition, in the taxi interfaces displayed by the first client and the second client, the first instant communication message or the second instant communication message sent by itself will be displayed on the upper layer of the map.

[0052] It should be noted that the solution provided in the embodiment of the present application is used for the first client, which may be a user end or a driver end. To facilitate the description of the implementation method of the present solution, the following embodiments are described with the first client as the user end and the second client as the driver end, which does not limit the application scope of the embodiment of the present application.

[0053] It should be noted that, for ease of description, the terminals described in the following embodiments are all first terminals installed with a first client, that is, user terminals.

[0054] Figure 4 A flowchart of an instant messaging method for a taxi-hailing scenario provided by an exemplary embodiment of the present application is shown, and the method includes:

[0055] Step 401, displaying a taxi-hailing interface, which includes a map.

[0056] After the user confirms the taxi order, the terminal will display the taxi interface. If the taxi order has not been accepted, the taxi order will display a map of the user's location. After the taxi order is accepted, the map contains information such as the user's current location, the driver's current location, the driver's route to the user's location, and the driver's current status. In addition, the taxi interface also includes information such as dispatching orders and canceling orders, which are not limited in this embodiment.

[0057] Step 402: upon receiving a first instant messaging message sent by a second client, displaying the first message component on an upper layer of the map.

[0058] The first message component includes a first instant messaging message. Optionally, the first message component also includes a message background, which is located in the lower layer of the first instant messaging message, and the message background is used to distinguish the first message component from the lower layer map, so that the user can clearly distinguish the instant messaging message from the lower layer map. Optionally, the first message component also includes a client identifier that sends the first instant messaging message, which may be a name identifier, an avatar identifier, etc., to distinguish whether the sending end of the instant messaging message is a driver end or a user end.

[0059] Furthermore, when applied to a taxi-hailing scenario, the first instant messaging message may be a voice message, a text message, a picture message, a video message, or the like.

[0060] Optionally, when a driver accepts an order, a communication connection will be established between the user side and the driver side, and the driver side will send a default instant messaging message to the user side, such as a greeting such as "Hello, it's a pleasure to serve you".

[0061] When receiving the first instant messaging message sent by the driver, the user terminal displays the first message component on the upper layer of the map, which can guide the user to send the message directly in the taxi-hailing interface to communicate with the driver.

[0062] Step 403, in response to the message sending operation in the taxi-hailing interface, display a second message component on the upper layer of the map.

[0063] The second message component includes a second instant messaging message sent to the driver. Optionally, the display form of the second message component is the same as the display form of the first message component, which will not be described in detail here.

[0064] Optionally, the second instant messaging message may be a voice message, a text message, a picture message or a video message.

[0065] When sending a message on the user side, the user can directly perform a message sending operation on the map layer of the taxi-hailing interface, without jumping to a specific dialogue interface to input and send the message. The taxi-hailing interface displays a text input control for the user to input the second instant messaging message and a send control for sending the second instant messaging message. For example, the user can send the second instant messaging message by clicking the send control.

[0066] In a possible implementation, after the driver accepts the order, the driver terminal (i.e., the second client) displays a taxi-hailing interface, which includes a map. When the driver terminal receives the second instant messaging message sent by the user terminal, the second message component is displayed on the upper layer of the map, and the second instant messaging message is displayed in the second message component. In response to the message sending operation in the taxi-hailing interface, the driver terminal displays the first message component on the upper layer of the map, and the first instant messaging message is displayed in the first message component.

[0067] Optionally, in response to the driver's order acceptance operation, the driver terminal sends a first instant messaging message to the user terminal, displays a taxi-hailing interface, and displays a first message component on the upper layer of the map in the taxi-hailing interface.

[0068] In a possible implementation, after the user side and the driver side send an instant messaging message, the first message component sent by the user side and the second message component sent by the driver side are displayed in the taxi-hailing interface, and after the message is successfully sent, a sent mark will be displayed in the first message component and the second message component displayed on the user side and the driver side to prompt the user or driver that the instant messaging message has been successfully sent.

[0069] In another possible implementation, after an instant messaging message is sent between the user and the driver, if the other party has viewed the messaging message, a read mark is displayed in the message component corresponding to the instant messaging message in the taxi-hailing interface displayed by the sender of the instant messaging message, to prompt the user or driver that the other party has viewed the instant messaging message.

[0070] In summary, in the embodiment of the present application, when the first client needs to communicate with the second client in an instant communication in a taxi-hailing scenario, the first instant communication message sent by the second client and the second instant communication message sent by the first client are displayed on the map layer of the taxi-hailing interface of the first client. Displaying instant communication messages on the map layer can avoid the problem in the related art that the vehicle or user dynamics cannot be viewed synchronously due to jumping to the dialogue interface to communicate with the second client, and can also avoid the problem that the user or driver needs to switch between the two interfaces when they need to view the other party's current location while communicating, effectively simplifying the operation steps.

[0071] After the user publishes a taxi order, if a driver accepts the order, the transportation service will send the driver's order acceptance information to the taxi service. A taxi service may connect to multiple transportation services. When any of the transportation services feeds back the order information to the taxi service, the taxi service will feed back the information that the driver has accepted the order to the user.

[0072] Optionally, when a driver accepts an order, a message sending control is displayed on the upper layer of the map, and in response to a message sending operation on the message sending control, a second message component is displayed on the upper layer of the map.

[0073] The message sending control is used for the user to input and send the second instant messaging message.

[0074] In a possible implementation, the user terminal displays a quick message list and an input control in response to a trigger operation on a message sending control, wherein the quick message list includes at least one quick message. The input control is used for the user to trigger the input of an instant messaging message.

[0075] Optionally, in response to a trigger operation on an input control, an input message is obtained. In addition, in response to a message sending operation, a second message component containing the input message is displayed on the upper layer of the map. The input control may be a text box control, and the user may call out a virtual keyboard by clicking the input control, and input text by touching the virtual keyboard; the input control may be a voice input control, and the user may input audio by long pressing the voice input control; the input control may also be a file input control, a video input control, and the like.

[0076] Indicative, Figure 5 A schematic diagram of a taxi-hailing interface provided by an exemplary embodiment of the present application is shown, wherein the taxi-hailing interface includes a first instant messaging message component 501 and a message sending control 502. In response to a user clicking on the message sending control 502, the user terminal displays a quick message list 503 and an input control 504. When the user terminal detects that the user has triggered the input control 504, the terminal calls out a virtual keyboard 505, and the user can enter text by touching the virtual keyboard. The user terminal obtains the input message and responds to the sending operation on the message sending control (corresponding to the sending operation on the virtual keyboard). Figure 5 In the example, a click operation is performed on the send control 506 in the map, and a second message component 507 is displayed on the upper layer of the map, and the second message component 507 includes a second instant messaging message.

[0077] It should be noted that in the taxi-hailing interface schematic diagram provided in the embodiment of the present application, the message sending control and the message component are displayed in the lower left corner of the map as an example to illustrate the instant messaging method applied to the taxi-hailing scenario. It can be understood that the message component and the message sending control can be displayed at other locations on the upper layer of the map in the taxi-hailing interface, and this embodiment does not limit this.

[0078] Optionally, in an embodiment of the present application, after the first message component, the second message component, and the message sending control are displayed in the taxi-hailing interface, a message hiding control may be displayed in the message sending control. When the terminal receives a trigger operation of the user on the message hiding control, the displayed first message component, the second message component, and the message sending control are hidden, and the instant messaging control is displayed. When the user has an instant messaging need again, the terminal redisplays the first message component, the second message component, and the message sending control when receiving a trigger operation of the user on the instant messaging control.

[0079] Optionally, in response to the selection operation of the target quick message in the quick message list, a second message component containing the target quick message is displayed on the upper layer of the map. The quick message list contains high-frequency messages for instant communication between the user and the driver, such as "Hello, the pick-up point is accurate, please follow the navigation to pick me up", "OK, I understand", etc. The quick message list allows the user to directly select the target quick message to send, so that the user does not need to manually enter text, and the operation is more convenient.

[0080] Optionally, upon receiving a user's trigger operation on a quick message in the quick message list, the quick message is entered into the entry control, and the quick message is sent in response to a trigger operation on the message sending control. This can prevent the user from accidentally touching the quick message, resulting in the wrong quick message being sent to the driver end, when the terminal directly sends the quick message in response to a selection operation on the quick message.

[0081] Optionally, a send control corresponding to each quick message is displayed in the quick message list. When a user triggers a send control corresponding to a quick message in the quick message list, the quick message selected by the user is sent to the driver.

[0082] Indicative, Figure 6A schematic diagram of entering an instant messaging message provided by an exemplary embodiment of the present application is shown, wherein the taxi-hailing interface includes a first instant messaging message component 601 and a message sending control 602. In response to a user clicking on the message sending control 602, the user terminal displays a quick message list 603 and an entry control 604. In response to a selection operation on a target quick message 605 in the quick message list 603, the user terminal displays a second message component 606 containing the target quick message 605 on the upper layer of the map.

[0083] In a possible implementation, after displaying the quick message list and the entry control in response to a trigger operation on the message sending control, the terminal stops displaying the quick message list and the entry control in response to a click operation on the first message component or the second message component.

[0084] Optionally, there may be multiple quick messages in the quick message list, but since the size of the quick message list is limited, the terminal hides some quick messages, and displays the hidden quick messages in response to a sliding operation on a quick message in the quick message list.

[0085] It is understandable that the trigger operation may be a touch operation such as clicking, sliding, dragging, double-clicking, etc., and the embodiments of the present application are not limited to this.

[0086] In one possible implementation, the quick messages in the quick message list have a display priority, and the terminal needs to first determine the display priority of the quick messages, and then display the quick message list based on the display priority. Displaying quick messages with high display priorities in a more prominent position in the quick message list is beneficial for users to preferentially capture high-priority quick messages, while quick messages with low display priorities are most likely messages that users will not choose to send in the current scenario. Therefore, quick messages with low display priorities are displayed below the quick message list, or hidden. Displaying the quick message list according to different display priorities can enable quick messages that meet the current scenario and the user's sending intention to be displayed first, reducing the complexity of user operations.

[0087] The display priority of quick messages can be determined by at least one of the following methods:

[0088] 1. When there is a first instant messaging message, a display priority of the quick message is determined based on a first correlation between the first instant messaging message and the quick message.

[0089] Among them, the display priority is positively correlated with the first correlation, that is, the higher the first correlation between the first instant messaging message and the quick message, the higher the display priority of the quick message, and the lower the first correlation between the first instant messaging message and the quick message, the lower the display priority of the quick message.

[0090] After receiving the first instant messaging message, the terminal determines that the first degree of association can be achieved through semantic matching. The basic logic of the semantic matching is to determine the first instant messaging message and the quick message, and find a quick message that can match the first instant messaging message from the quick messages. Optionally, an LSTM (Long Short Term Memory) model or a CNN (Convolutional Neural Network) model can be combined with a textmatching model to construct a message matching model. The message matching model is trained with a large number of instant messaging messages and quick messages before leaving the factory to obtain a trained message matching model, and the model is configured in the terminal. After receiving the first instant messaging message, the quick message is matched with the first instant messaging message to obtain the first degree of association.

[0091] For example, if a driver sends a first instant messaging message, the terminal determines that the first quick message has the highest correlation with the first instant messaging message, and the first quick message has the highest display priority. For example, if the first instant messaging message sent by the driver is "Is the positioning accurate?", the terminal determines that the quick message with the content "The positioning is accurate, please follow the navigation" has the highest display priority.

[0092] 2. Determine the location distance between the current location and the boarding point location, and determine the display priority of the quick message based on the location distance and the second correlation degree of the quick message.

[0093] The display priority is positively correlated with the second correlation degree, that is, the greater the second correlation degree is, the higher the display priority of the quick message is, and the smaller the second correlation degree is, the lower the display priority of the quick message is.

[0094] In actual applications, the location of the pickup point set by the user may not be the same as the user's current location. Therefore, when the user is at different distances from the pickup point, the content of the conversation with the driver may also be different. For example, if the current location is far from the pickup point, the driver may be sent an instant messaging message with the content "Sorry, I may be late", and the priority of this quick message is higher, and it has a higher display priority; if the current location is close to the pickup point, the driver may be sent "I'll be there soon, wait a moment", and the priority of this quick message is higher, and it has a higher display priority.

[0095] Optionally, the terminal can determine the location distance between the current location of the driver and the location of the pick-up point, and determine the display priority of the quick message based on the location distance and the third relevance of the quick message. For example, if the distance between the current location of the driver and the location of the pick-up point is far, the user may send "The pick-up point is accurate, please follow the navigation to pick me up", then the third relevance of the quick message is high and has a higher display priority; and if the distance between the current location of the driver and the location of the pick-up point is close, the user may send "I'll be there soon, please wait", then the third relevance of the quick message is high and has a higher display priority.

[0096] In the embodiment of the present application, the first client and the second client display instant messaging messages on the map layer in the taxi-hailing interface, and by triggering the message sending control in the taxi-hailing interface, a quick message list and an input control can be displayed for users or drivers to input instant messaging messages. Among them, the input control enables users or drivers to input instant messaging messages according to their own needs; and the quick message list can directly provide users or drivers with candidate quick messages for direct selection, reducing the complexity of the operation, and displaying quick messages based on display priority can enable the terminal to spontaneously display the instant messaging messages that users or drivers may need according to the current scene, improving the user's selection efficiency, with higher intelligence and stronger applicability.

[0097] In one possible implementation, due to the limited size of the current taxi-hailing interface, and in order to minimize the message component from blocking a large area of ​​the map and affecting the user's direct access to driver dynamics, the total number of message components and message sending controls in the upper layer of the map has an upper limit.

[0098] Before displaying the first message component on the upper layer of the map, or before displaying the second message component on the upper layer of the map, the terminal will hide the message component based on the message timestamp of the instant messaging message when the total number of message components and message sending controls in the upper layer of the map reaches the upper limit.

[0099] The message timestamp of the instant communication message can indicate the time when the instant communication message is sent, and the first instant communication message and the second instant communication message displayed on the upper layer of the map are also displayed in the order of the timestamps.

[0100] Since the communication between the user end and the driver end is real-time, the message components corresponding to the historical instant messaging messages with earlier message timestamps can be hidden when a new first instant messaging message is received or the user end sends a new second instant messaging message. Therefore, in the process of hiding the message components based on the message timestamps of the instant messaging messages, the message components corresponding to the instant messaging messages with earlier message timestamps are hidden first.

[0101] In response to the sliding operation on the message component, the hidden message component is displayed. If the user intends to view the historical instant messaging messages, the terminal will display the hidden message component when receiving the sliding operation on the message component. At the same time, in order to make the total number of message components and message sending controls on the current map layer not exceed the upper limit, while displaying the hidden message components, the message components corresponding to the instant messaging message with the latest message timestamp displayed in the current taxi-hailing interface are sequentially hidden.

[0102] Indicative, Figure 7 A schematic diagram of a message component display method provided by another exemplary embodiment of the present application is shown, wherein the upper limit of the total number of message components and message sending controls in the upper layer of the map set by the terminal is 3. In the first taxi-hailing interface 701, a first message component 702, a second message component 703 and a message sending control 704 are displayed. The total number of current message components and message sending controls has reached the upper limit. In this case, before displaying the first message component or the second message component corresponding to two new instant messaging messages, the terminal will hide the first message component 702 and the second message component 703 with the earliest message timestamps, and then display the third message component 705 corresponding to the new third instant messaging message and the fourth message component 706 corresponding to the fourth instant messaging message. The display effect is as follows: Figure 7 As shown in the second taxi-hailing interface 707.

[0103] As shown in the second taxi-hailing interface 707, the user terminal responds to the sliding operation on any message component (the figure takes the downward sliding operation on the third message component 705 as an example), displays the hidden second message component 703 and synchronizes the fourth message component 706 corresponding to the fourth instant messaging message with the latest hidden message timestamp. The display effect is shown in the third taxi-hailing interface 708.

[0104] In an embodiment of the present application, the terminal sets an upper limit on the number of conversation messages displayed in the current interface, which can avoid the message component from covering a large area of ​​the map while meeting the communication needs of the user or driver, and can respond to the sliding operation of the message component to display historical instant communication messages for the user or driver to review.

[0105] In some embodiments, the user does not have the need to communicate again after communicating. To avoid the display of the message component affecting the user's map viewing when the user has no communication needs, the terminal can reduce the transparency of the message component so that the user can view the map normally.

[0106] When the display time of the message component reaches a time threshold and no triggering operation on the message component or the message sending control is received, the transparency of the message component and the message sending control is improved.

[0107] The duration threshold can be a factory preset duration or a user-set duration threshold. When the duration of displaying the message component reaches the duration threshold and no trigger operation is received on the message control or the message sending control, the user does not have the need to communicate to a great extent. The transparency of the message component and the message sending control can be improved to avoid obstruction of the map.

[0108] In addition, if the user has the need to communicate with the driver, or has the need to view historical instant messaging messages, the user can reduce the transparency of the message component and the message sending control by triggering the message control or the message sending control.

[0109] When receiving a trigger operation on a message component or a message sending control, the terminal reduces the transparency of the message component and the message sending control.

[0110] For example, when the display time of the message component does not reach the time threshold, the transparency of the message component and the message sending control is 20%. When the display time of the message component reaches the time threshold and no trigger operation is received on the message component or the message sending control, the transparency of the message component and the message sending control is increased to 80%. At this time, the message component and the message sending control will basically not block the map. When the user triggers the message component or the message sending control, the transparency of the message component and the message sending control is reduced to 20%.

[0111] Indicative, Figure 8 A schematic diagram of a taxi-hailing interface provided by another exemplary embodiment of the present application is shown. In the figure, a map 804, a first message component 802, and a message sending control 803 are displayed in the first taxi-hailing interface 801. When the display time of the first message component 802 reaches the time threshold, the user may not have the need to continue the communication, and then in the second taxi-hailing interface 805, the transparency of the first message component 802 and the message sending control 803 is increased. When the user triggers the first message component 802, the transparency of the message component 802 and the message sending control 803 is reduced, and the display effect is shown in the third taxi-hailing interface 806 in the figure.

[0112] Optionally, when the display time of the message component reaches a time threshold and no trigger operation is received on the message sending control of the message component, the transparency of the message component and the message sending control is increased based on the display time, and the transparency of the message component and the message sending control is positively correlated with the display time.

[0113] In an embodiment of the present application, when the terminal detects that the user or driver has not operated the message component or the message sending control for a period of time, the terminal adjusts the transparency of the message component and the message sending control, thereby avoiding the situation where the message component and the message sending control are still displayed and block the map when the user or driver has no instant communication needs, thereby affecting the user or driver's normal viewing of the map.

[0114] In a possible implementation, there is a message display area on the upper layer of the map in the taxi-hailing interface. The message display area is invisible and can be used to limit the display area of ​​the message component and the message sending control.

[0115] When displaying the first message component and the second message component, the terminal displays the first message component in the message display area on the upper layer of the map and displays the second message component in the message display area on the upper layer of the map respectively.

[0116] In the taxi-hailing scenario, some users may need to obtain important map elements in the map interface, such as the location of the vehicle in the map, the location of the user terminal, the location of the boarding point, the driving status of the vehicle, and the route between the real-time location of the vehicle and the boarding point, etc. In order to prevent the message component displayed on the upper layer of the map in the taxi-hailing interface from obscuring the target map element in the map, there is no intersection between the message display area and the element display area corresponding to the target map element in the map.

[0117] Indicative, Fig. 9 A schematic diagram of a taxi-hailing interface provided by another exemplary embodiment of the present application is shown, wherein the taxi-hailing interface has a message display area 901, and the message display area includes a first message component and a message sending control. The boarding point location 902, the current location 903, the vehicle's driving status 904, and the route 905 from the current location of the vehicle to the boarding point displayed in the map are all target map elements. In the figure, there is no intersection between the message display area 901 and the element display area of ​​the target map element.

[0118] The message display area may be a variable area or a fixed area. To ensure that there is no intersection between the display area of ​​the target map element and the message display area, the terminal controls the display of the taxi-hailing interface in different ways for different message display areas.

[0119] 1. The message display area is a variable area

[0120] In the case where the message display area is a variable area, the message display area on the upper layer of the map is determined based on the element display area corresponding to the target map element in the map.

[0121] The size, position and shape of the message display area can be changed according to the element display area corresponding to the target map element in the current map. The terminal determines the size and position of the message display area based on the element display area so that there is no intersection between the message display area and the element display area.

[0122] Optionally, the terminal adjusts the size of the message display area based on the first message component and the second message component. If the size of the new first message component or the second message component is larger than the size of the current message display area, the terminal controls the message display area to increase; if the size of the current first message component or the second message component is smaller than the size of the current message display area, the terminal controls the message display area to decrease.

[0123] Optionally, after the terminal adjusts the size of the message display area based on the first message component and the second message component, if it is detected that the message display area will intersect with the element display area, the terminal adjusts the message display area on the upper layer of the map based on the element display area corresponding to the target map element in the map.

[0124] Indicative, Fig.10 A schematic diagram of adjusting the message display area provided by an exemplary embodiment of the present application is shown. In the first taxi-hailing interface 1001, there is a message display area 1002, in which a second message component and a message sending control are displayed. The first taxi-hailing interface also displays an element display area 1003 of the target map element. At this time, the terminal receives a new first instant messaging message. To display the first instant messaging message in the message display area, the size of the message display area needs to be increased. If the message display area 1002 is directly increased, the message display area will intersect with the element display area 1003. At this time, the terminal can move the message display area displaying the first message component 1004 to the top of the taxi-hailing interface for display, as shown in the second taxi-hailing interface 1004, so as to avoid the intersection of the message display area 1002 and the element display area 1003 and avoid blocking the target map element.

[0125] 2. The message display area is a fixed area

[0126] In the case where the message display area is a fixed area, the element display area corresponding to the target map element in the map is determined based on the display parameters of the message display area.

[0127] The display parameters may include the size and position of the message display area, and the size and number of message components displayed therein.

[0128] In this case, the message display area is a fixed area, and the size, position and other parameters of the element display area can be adjusted to avoid the intersection of the message display area and the element display area. If the element display area is to be adjusted, the map needs to be adjusted accordingly, for example, the map needs to be zoomed, rotated, and panned.

[0129] Indicative, Fig.11 A schematic diagram of adjusting the element display area provided by an exemplary embodiment of the present application is shown. In the first taxi-hailing interface 1101, there is a message display area 1102, in which a second message component and a message sending control are displayed. The first taxi-hailing interface also displays an element display area 1103 of the target map element. At this time, there is an intersection between the element display area and the message display area, but there is no intersection between the message component and the element display area, which will not affect the user's viewing of the target map element. If the terminal receives a new first instant messaging message at this time, displaying the first instant messaging message in the message display area will cover the target map element in the map. Optionally, the terminal translates the map based on the display parameters of the message display area to adjust the element display area. The adjusted taxi-hailing interface is shown in the second taxi-hailing interface 1104 in the figure, in which the map is translated to the upper right corner, and the translated element display area 1103 does not intersect with the message display area 1102.

[0130] It should be noted that the above Fig.11 The method of determining the element display area corresponding to the target map element in the map based on the display parameters of the display area is only described by taking the adjustment of the position of the element display area as an example, and does not limit the application scope of the embodiments of the present application.

[0131] Optionally, when there is an intersection between the element display area and the message display area, the terminal adjusts the element display area in response to a touch operation on the map. The touch operation may be a drag operation, a two-finger zoom operation, a double-click operation, or other gesture operation for adjusting the size, position or display form of the element display area. This embodiment does not limit this.

[0132] Optionally, when there is an intersection between the element display area and the message display area, the terminal controls the message display area in response to a touch operation on the message display area. The touch operation may be a drag operation, a two-finger zoom operation, a double-click operation, or other gesture operations for adjusting the size, position or display form of the message display area. This embodiment does not limit this.

[0133] In an embodiment of the present application, the terminal adjusts the message display area or the element display area in the map to avoid the intersection of the message display area and the element display area in the map, that is, to avoid the message component blocking the target map element in the map, so as to facilitate the user or driver to view the target map element in the map while conducting instant communication.

[0134] In a taxi-hailing scenario, communication between the user and the driver usually occurs when the driver has not arrived at the pick-up location or the user has not arrived at the pick-up location. After the user gets on the vehicle, there is usually no need for instant communication with the driver.

[0135] It is understandable that in the embodiment of the present application, the terminal displays the first message component on the upper layer of the map when the trip has not started, and displays the second message component on the upper layer of the map when the trip has not started, so that the user can obtain the driver's dynamic information while carrying out instant communication. And, when the trip starts, the first message component and the second message component are stopped from being displayed on the upper layer of the map to simplify the taxi interface and avoid blocking the target route to the destination in the map.

[0136] In a possible implementation, after the trip begins, the terminal stops displaying the first message component and the second message component on the upper layer of the map, and stops displaying the historical message viewing entrance in the map interface. In response to the triggering operation on the historical message viewing entrance, the terminal jumps to display the conversation interface, which includes the first instant messaging message and the second instant messaging message.

[0137] The triggering operation for viewing the historical message entrance may be a click operation, a slide operation, a drag operation, etc., which is not limited in this embodiment. In addition, the embodiment of the present application does not limit the display form and display position of the historical message viewing entrance.

[0138] Optionally, the conversation interface also includes a message sending control for allowing the user to send instant messaging messages to the driver.

[0139] Indicative, Fig.12 A schematic diagram of a jump display dialogue interface provided by an exemplary embodiment of the present application is shown. After the trip starts, the message component and the message sending control stop displaying in the first taxi-hailing interface 1201, and a historical message viewing entrance 1202 is displayed in the first taxi-hailing interface. In response to a click operation on the historical message viewing entrance, the dialogue interface 1205 is jumped to display. The dialogue display interface 1205 displays historical messages, including a first instant communication message 1203 and a second instant communication message 1204. In addition, the dialogue display interface 1205 also displays a message sending control 1206 for the user to send an instant communication message.

[0140] In another possible implementation, the terminal responds to the triggering operation of the historical message viewing portal by redisplaying the first message component and the second message component on the map upper layer of the taxi-hailing interface. Optionally, the terminal responds to the triggering operation of the historical message viewing portal by redisplaying the message sending control.

[0141] Optionally, the message component can be stopped from being displayed by hiding the message component in a sidebar of the screen, and when a trigger operation for viewing a historical message entrance is received, the message component and a message sending control are called out from the sidebar.

[0142] Indicative, Fig.13 A schematic diagram of calling out a message component provided by an exemplary embodiment of the present application is shown. After the trip starts, the message component and the message sending control are stopped from being displayed in the first taxi-hailing interface 1301, and a history message viewing portal 1302 is displayed in the first taxi-hailing interface. In response to a triggering operation on the history message viewing portal (the user slides the history message viewing portal 1302 in the figure), the first message component 1304 and the message sending control 1305 are called out from the sidebar, as shown in the second taxi-hailing interface 1303 in the figure.

[0143] In the embodiment of the present application, the first message component and the second message component are stopped from being displayed after the trip begins, so as to avoid the message components affecting the user or driver's viewing of the route to the destination and the current driving status of the vehicle. In addition, in response to the triggering operation of the historical message viewing portal, the dialogue interface is jumped to display, and the first instant communication message and the second instant communication message can be displayed to the user or the driver when the user has the need to view the historical communication messages, and the message sending control for communication is provided to the user and the driver. The terminal can flexibly adjust the display content of the taxi-hailing interface according to different scenarios, which is more practical.

[0144] Fig.14 is a structural block diagram of an instant messaging device for a taxi-hailing scenario provided by an exemplary embodiment of the present application. Fig.14 As shown, the device comprises:

[0145] The first display module 1401 is used to display a taxi-hailing interface, wherein the taxi-hailing interface includes a map;

[0146] The second display module 1402 is used to display a first message component on the upper layer of the map when receiving the first instant communication message sent by the driver end, wherein the first message component includes the first instant communication message;

[0147] The second display module 1402 is also used to display a second message component on the upper layer of the map in response to a message sending operation in the taxi-hailing interface, wherein the second message component includes a second instant messaging message sent to the driver end.

[0148] Optionally, the second display module 1402 is used to:

[0149] In the case where a driver accepts an order, a message sending control is displayed on the upper layer of the map;

[0150] In response to the message sending operation on the message sending control, the second message component is displayed on an upper layer of the map.

[0151] Optionally, the second display module 1402 is used to:

[0152] In response to a triggering operation on the message sending control, a quick message list and an input control are displayed, wherein the quick message list includes at least one quick message;

[0153] In response to a selection operation on a target quick message in the quick message list, displaying the second message component including the target quick message on an upper layer of the map;

[0154] In response to a triggering operation on the entry control, an entry message is obtained; and the second message component including the entry message is displayed on an upper layer of the map.

[0155] Optionally, the quick message list supports sliding to switch the currently displayed quick messages;

[0156] The second display module 1402 is used for:

[0157] Determining the display priority of the quick message;

[0158] The quick message list is displayed based on the display priority.

[0159] Optionally, the second display module 1402 is used to:

[0160] In the case where the first instant communication message exists, based on a first correlation between the first instant communication message and the quick message, determining the display priority of the quick message, the display priority being positively correlated with the first correlation; or,

[0161] Determine the location distance between the current location and the boarding point location; determine the display priority of the quick message based on the location distance and the second correlation degree of the quick message, and the display priority is positively correlated with the second correlation degree.

[0162] Optionally, the total number of message components and message sending controls in the map upper layer has an upper limit;

[0163] The second display module 1402 is further used for:

[0164] When the total number of message components and message sending controls in the upper layer of the map reaches the upper limit, hiding the message components based on the message timestamp of the instant messaging message;

[0165] In response to a sliding operation on the message component, a hidden message component is displayed.

[0166] Optionally, the second display module 1402 is further used for:

[0167] When the display time of the message component reaches a time threshold and no triggering operation on the message component or the message sending control is received, increasing the transparency of the message component and the message sending control;

[0168] When a trigger operation on the message component or the message sending control is received, the transparency of the message component and the message sending control is reduced.

[0169] Optionally, the second display module 1402 is used to:

[0170] Displaying the first message component in the message display area on the upper layer of the map;

[0171] Displaying the second message component in the message display area on the upper layer of the map;

[0172] There is no intersection between the message display area and the element display area corresponding to the target map element in the map.

[0173] Optionally, the device further comprises:

[0174] A determination module, configured to determine the message display area on the upper layer of the map based on the element display area corresponding to the target map element in the map when the message display area is a variable area;

[0175] or,

[0176] In the case where the message display area is a fixed area, the element display area corresponding to the target map element in the map is determined based on the display parameters of the message display area.

[0177] Optionally, the second display module 1402 is used to:

[0178] When the trip has not started, displaying the first message component on the upper layer of the map;

[0179] When the trip has not started, the second message component is displayed on an upper layer of the map.

[0180] Optionally, the second display module 1402 is further configured to stop displaying the first message component and the second message component on the upper layer of the map when a journey begins.

[0181] Optionally, the second display module 1402 is further configured to display a historical message viewing entrance in the map interface;

[0182] The device also includes:

[0183] The third display module is used to jump to display a dialogue interface in response to a trigger operation on the historical message viewing entrance, and the dialogue interface includes the first instant communication message and the second instant communication message.

[0184] In the embodiment of the present application, when the first client needs to communicate with the second client in an instant messaging mode in a taxi-hailing scenario, the first instant messaging message sent by the second client and the second instant messaging message sent by the first client are displayed on the map layer of the taxi-hailing interface of the first client. Displaying the instant messaging message on the map layer can avoid the problem in the related art that the vehicle or user dynamics cannot be viewed synchronously due to jumping to the dialogue interface to communicate with the second client, and can also avoid the problem that the user or driver needs to switch between the two interfaces when they need to view the other party's current location while communicating, effectively simplifying the user operation steps.

[0185] It should be noted that: the device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.

[0186] Please refer to Fig.15, which shows a schematic diagram of the structure of a terminal provided by an exemplary embodiment of the present application. Specifically, the terminal 1500 includes a central processing unit (CPU) 1501, a system memory 1504 including a random access memory 1502 and a read-only memory 1503, and a system bus 1505 connecting the system memory 1504 and the central processing unit 1501. The terminal 1500 also includes a basic input / output system (I / O system) 1506 that helps transmit information between various devices in the computer, and a large-capacity storage device 1507 for storing an operating system 1513, an application program 1514 and other program modules 1515.

[0187] In some embodiments, the basic input / output system 1506 includes a display 1508 for displaying information and an input device 1509 such as a mouse and a keyboard for user inputting information. The display 1508 and the input device 1509 are connected to the central processing unit 1501 through an input / output controller 1510 connected to the system bus 1505. The basic input / output system 1506 may also include an input / output controller 1510 for receiving and processing inputs from a plurality of other devices such as a keyboard, a mouse, or an electronic stylus. Similarly, the input / output controller 1510 also provides output to a display screen, a printer, or other types of output devices.

[0188] The mass storage device 1507 is connected to the central processing unit 1501 through a mass storage controller (not shown) connected to the system bus 1505. The mass storage device 1507 and its associated computer-readable medium provide non-volatile storage for the terminal 1500. That is, the mass storage device 1507 may include a computer-readable medium (not shown) such as a hard disk or drive.

[0189] Without loss of generality, the computer readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer readable instructions, data structures, program modules or other data. Computer storage media include random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), flash memory or other solid-state storage technology, compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), digital versatile disc (Digital Versatile Disc, DVD) or other optical storage, cassettes, magnetic tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will know that the computer storage medium is not limited to the above. The above-mentioned system memory 1504 and mass storage device 1507 can be collectively referred to as memory.

[0190] The memory stores one or more programs, and the one or more programs are configured to be executed by one or more central processing units 1501. The one or more programs contain instructions for implementing the above-mentioned methods. The central processing unit 1501 executes the one or more programs to implement the methods provided by the above-mentioned various method embodiments.

[0191] According to various embodiments of the present application, the terminal 1500 can also be connected to a remote computer on the network through a network such as the Internet. That is, the terminal 1500 can be connected to the network 1512 through the network interface unit 1511 connected to the system bus 1505, or the network interface unit 1511 can be used to connect to other types of networks or remote computer systems (not shown).

[0192] The memory also includes one or more programs, which are stored in the memory and include steps executed by the terminal in the method provided in the embodiment of the present application.

[0193] An embodiment of the present application also provides a computer-readable storage medium, which stores at least one instruction, at least one program, code set or instruction set. The at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor to implement the instant communication method applied to the taxi-hailing scenario described in any of the above embodiments.

[0194] The embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal executes the instant messaging method for the taxi-hailing scenario provided in the above aspect.

[0195] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, which can be a computer-readable storage medium contained in the memory in the above embodiments; or it can be a computer-readable storage medium that exists independently and is not assembled in the terminal. The computer-readable storage medium stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, the at least one program, the code set or instruction set is loaded and executed by the processor to implement the instant messaging method for taxi-hailing scenarios described in any of the above method embodiments.

[0196] Optionally, the computer readable storage medium may include: ROM, RAM, solid state drives (SSD) or optical disks, etc. Among them, RAM may include resistance random access memory (ReRAM) and dynamic random access memory (DRAM). The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0197] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0198] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0199] Moreover, before collecting relevant data of the user and during the process of collecting relevant data of the user, the present application may display a prompt interface, pop-up window or output voice prompt information, and the prompt interface, pop-up window or voice prompt information is used to prompt the user that its relevant data is currently being collected, so that the present application starts executing the relevant steps of obtaining relevant data of the user only after obtaining the confirmation operation issued by the user to the prompt interface or pop-up window, otherwise (that is, when the confirmation operation issued by the user to the prompt interface or pop-up window is not obtained), the relevant steps of obtaining relevant data of the user are terminated, that is, the relevant data of the user is not obtained.

[0200] It should be understood that the "multiple" mentioned in this article refers to two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated with each other are in an "or" relationship. And the "first", "second", etc. mentioned in this article are used to distinguish similar objects, and are not used to limit a specific order or sequence. In addition, the step numbers described in this article only exemplify a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application do not limit this.

[0201] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. An instant messaging method applied to a taxi-hailing scenario, characterized in that: The method is used for a first client, and the method includes: Displaying a taxi-hailing interface, wherein the taxi-hailing interface includes a map; In the case of receiving a first instant communication message sent by a second client, displaying a first message component on an upper layer of the map, wherein the first message component includes the first instant communication message; In response to a message sending operation in the taxi-hailing interface, a second message component is displayed on an upper layer of the map, wherein the second message component includes a second instant messaging message sent to the second client.

2. The method according to claim 1, characterized in that The method comprises: In the case where a driver accepts an order, a message sending control is displayed on the upper layer of the map; In response to the message sending operation in the taxi-hailing interface, displaying a second message component on the upper layer of the map includes: In response to the message sending operation on the message sending control, the second message component is displayed on an upper layer of the map.

3. The method according to claim 2, characterized in that The step of displaying the second message component on an upper layer of the map in response to the message sending operation on the message sending control comprises: In response to a triggering operation on the message sending control, a quick message list and an input control are displayed, wherein the quick message list includes at least one quick message; In response to a selection operation on a target quick message in the quick message list, displaying the second message component including the target quick message on an upper layer of the map; In response to a triggering operation on the entry control, an entry message is obtained; and the second message component including the entry message is displayed on an upper layer of the map.

4. The method according to claim 3, characterized in that: The quick message list supports sliding to switch the currently displayed quick message; The displaying of the quick message list includes: Determining the display priority of the quick message; The quick message list is displayed based on the display priority.

5. The method according to claim 4, characterized in that The determining of the display priority of the quick message includes at least one of the following methods: In the case where the first instant communication message exists, based on a first correlation between the first instant communication message and the quick message, determining the display priority of the quick message, the display priority being positively correlated with the first correlation; or, Determine the location distance between the current location and the boarding point location; determine the display priority of the quick message based on the location distance and the second correlation degree of the quick message, and the display priority is positively correlated with the second correlation degree.

6. The method according to claim 2, characterized in that The total number of message components and message sending controls in the upper layer of the map has an upper limit; Before displaying the first message component on the upper layer of the map, or displaying the second message component on the upper layer of the map, the method further comprises: When the total number of message components and message sending controls in the upper layer of the map reaches the upper limit, hiding the message components based on the message timestamp of the instant messaging message; In response to a sliding operation on the message component, a hidden message component is displayed.

7. The method according to claim 2, characterized in that The method further comprises: When the display time of the message component reaches a time threshold and no triggering operation on the message component or the message sending control is received, increasing the transparency of the message component and the message sending control; When a trigger operation on the message component or the message sending control is received, the transparency of the message component and the message sending control is reduced.

8. The method according to claim 1, characterized in that The displaying of the first message component on the upper layer of the map includes: Displaying the first message component in the message display area on the upper layer of the map; The displaying of the second message component on the upper layer of the map includes: Displaying the second message component in the message display area on the upper layer of the map; There is no intersection between the message display area and the element display area corresponding to the target map element in the map.

9. The method according to claim 8, characterized in that The method further comprises: In the case where the message display area is a variable area, determining the message display area on the upper layer of the map based on the element display area corresponding to the target map element in the map; or, In the case where the message display area is a fixed area, the element display area corresponding to the target map element in the map is determined based on the display parameters of the message display area.

10. The method according to claim 1, characterized in that The displaying of the first message component on the upper layer of the map includes: When the trip has not started, displaying the first message component on the upper layer of the map; The displaying of the second message component on the upper layer of the map includes: When the trip has not started, the second message component is displayed on an upper layer of the map.

11. The method according to claim 10, characterized in that The method further comprises: When the trip starts, the first message component and the second message component are stopped from being displayed on the upper layer of the map.

12. The method according to claim 11, characterized in that The method further comprises: Displaying a historical message viewing entrance in the map interface; In response to a triggering operation on the historical message viewing portal, a dialog interface is displayed, wherein the dialog interface includes the first instant communication message and the second instant communication message.

13. An instant messaging device used in taxi-hailing scenarios, characterized in that: The device comprises: A first display module is used to display a taxi-hailing interface, wherein the taxi-hailing interface includes a map; A second display module is used to display a first message component on an upper layer of the map when receiving a first instant communication message sent by a second client, wherein the first message component includes the first instant communication message; The second display module is also used to display a second message component on the upper layer of the map in response to a message sending operation in the taxi-hailing interface, wherein the second message component includes a second instant messaging message sent to the second client.

14. A terminal, characterized in that: The terminal includes a processor and a memory, wherein at least one program is stored in the memory, and the at least one program is loaded and executed by the processor to implement the instant communication method applied to a taxi-hailing scenario as described in any one of claims 1 to 12.

15. A computer-readable storage medium, characterized in that: At least one program is stored in the readable storage medium, and the at least one program is loaded and executed by the processor to implement the instant messaging method applied to the taxi-hailing scenario as described in any one of claims 1 to 12.

16. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. The processor of the terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to implement the instant communication method applied to the taxi-hailing scenario as described in any one of claims 1 to 12.