An information display method and device, a storage medium and an electronic device

By segmenting the trajectory and reducing the speed when the device model reaches a designated location without receiving data for the next time period, the problem of unsmooth image movement in ride-hailing vehicles is solved, thus improving the user experience.

CN115391693BActive Publication Date: 2026-03-24BEIJING SANKUAI ONLINE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-12
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

In existing technologies, due to data anomalies caused by network fluctuations, the images of ride-hailing vehicles do not move smoothly along the driving trajectory, which reduces the user experience.

Method used

When the device model reaches a designated position but does not receive driving data for the next time period, a split point is added to divide the trajectory segment into sub-trajectories, and the traveling speed of the device model within the sub-trajectories is reduced to ensure continuous movement of the device model in the untraced trajectory segments.

Benefits of technology

By slowing down the movement speed of the device model, continuous movement of the device model is ensured before the next period's driving data is acquired, thus improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115391693B_ABST
    Figure CN115391693B_ABST
Patent Text Reader

Abstract

The specification discloses an information display method and device, a storage medium and an electronic device. First, a first client obtains travel data of a second client in a current period, and displays a process in which a device model corresponding to a travel device travels along a travel trajectory corresponding to the travel data on an electronic map in the first client according to the obtained travel data, wherein the travel device carries a terminal device on which the second client is installed. If it is monitored that the device model reaches a specified position in the travel trajectory in the electronic map, and the first client has not received travel data of a next period sent by the second client, at least one segmentation point is added in a trajectory segment that has not been passed in the travel trajectory to divide the trajectory segment into at least two sub-trajectories, and the travel speed of the device model in the sub-trajectories is reduced to display the travel process of the device model in the trajectory segment that has not been passed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of computer technology, and in particular to an information display method, apparatus, storage medium, and electronic device. Background Technology

[0002] With the development of computer technology, platforms often use the acquired data to improve the user experience. For example, when a user is using a ride-hailing service, the ride-hailing software installed on the user's terminal device (such as a mobile phone or tablet) will use the acquired ride-hailing data to draw the ride-hailing vehicle's trajectory on a map and its current location, allowing the user to intuitively obtain the distance between the ride-hailing vehicle and the user, as well as the waiting time.

[0003] While this method can intuitively show users the ride-hailing vehicle's trajectory and location, the data may be abnormal due to network fluctuations. For example, if the ride-hailing vehicle has already reached the end of the acquired driving data but the data for the next time period has not yet been acquired, the image of the ride-hailing vehicle will stop at the end of the acquired driving data, making the displayed image of the ride-hailing vehicle not move smoothly and reducing the user experience.

[0004] Therefore, how to present users with a smooth image movement process based on the acquired data and improve the user experience is an urgent problem to be solved. Summary of the Invention

[0005] This specification provides a method and apparatus for displaying information, in order to partially solve the aforementioned problems existing in the prior art.

[0006] The following technical solution is adopted in this specification:

[0007] This manual provides a method for displaying information, including:

[0008] The first client obtains the driving data of the second client during the current time period;

[0009] According to the driving data, the process of the device model corresponding to the travel device traveling according to the driving trajectory corresponding to the driving data is displayed on the electronic map in the first client. The travel device carries a terminal device with the second client installed.

[0010] If the device model is detected to have reached a designated location on the driving trajectory in the electronic map, and the first client has not yet received the driving data for the next time period sent by the second client, then at least one dividing point is added to the unexplored trajectory segment within the driving trajectory to divide the trajectory segment into at least two sub-trajectories, and the speed of the device model within the sub-trajectories is reduced to demonstrate the device model's movement process in the unexplored trajectory segment.

[0011] Optionally, at least one dividing point is added to a trajectory segment that has not yet been traversed within the driving trajectory to divide the trajectory segment into at least two sub-trajectories, specifically including:

[0012] Based on the condition that the distance between the divided sub-trajectory and the end point of the driving trajectory is positively correlated with the length of the sub-trajectory, at least one dividing point is added to the untraversed trajectory segment within the driving trajectory to divide the trajectory segment into at least two sub-trajectories.

[0013] Optionally, reducing the travel speed of the device model within the sub-track specifically includes:

[0014] The speed of the device model in each sub-track is determined based on the following conditions: the speed of the device model in the untraversed track segment is less than the speed of the device model in the track segment that has already been traversed in the driving trajectory; and the time required for the device model to travel in each sub-track segment is the same.

[0015] Optionally, the first client obtains the driving data of the second client at the current moment, specifically including:

[0016] Determine whether the driving data obtained by the first client from the second client in the previous time period meets the abnormal transmission conditions;

[0017] If the abnormal transmission conditions are determined to be met, a data retrieval request is sent to the server to obtain the driving data sent by the second client from the server, wherein...

[0018] The abnormal transmission conditions include at least one of the following: the first client times out of obtaining the driving data of the previous time period, and the cumulative number of times the driving data is obtained exceeds a first set number; the first client determines that the driving data of the previous time period obtained has a format error, and the cumulative number of times the driving data with the format error is obtained exceeds a second set number; the first client interrupts its connection with the server during the process of obtaining the driving data of the previous time period, and the cumulative number of times the connection between the first client and the server is interrupted exceeds a third set number; and the driving data of the previous time period obtained by the first client is expired data, and the cumulative number of times expired data is obtained exceeds a fourth set number.

[0019] Optionally, based on the driving data, the process of the device model corresponding to the travel device moving along the driving trajectory corresponding to the driving data is displayed on the electronic map in the first client, specifically including:

[0020] Determine the trajectory points contained in the driving trajectory corresponding to the driving data of the current time period;

[0021] For each trajectory point, if the time information corresponding to the trajectory point is earlier than the time information corresponding to the end point of the driving trajectory in the previous time period, the trajectory point is regarded as an overdue trajectory point.

[0022] The process of the device model traveling according to the trajectory after removing each timeout trajectory point is displayed on the electronic map in the first client.

[0023] Optionally, based on the driving data, the process of the device model corresponding to the travel device moving along the driving trajectory corresponding to the driving data is displayed on the electronic map in the first client, specifically including:

[0024] Determine whether the starting point of the driving trajectory corresponding to the driving data of the current time period and the ending point of the driving trajectory corresponding to the driving data of the previous time period meet the preset conditions.

[0025] If the preset conditions are met, the endpoint of the driving trajectory corresponding to the driving data of the previous time period is connected to the starting point of the driving trajectory corresponding to the driving data of the current time period, and the obtained trajectory line is added to the driving trajectory corresponding to the driving data of the current time period to obtain the target driving trajectory. The preset conditions include: the angle between the driving direction of the device model at the endpoint of the driving trajectory corresponding to the driving data of the previous time period and the driving direction of the device model at the starting point of the driving trajectory corresponding to the driving data of the current time period does not exceed a threshold, and / or the distance between the starting point of the driving trajectory corresponding to the driving data of the current time period and the endpoint of the driving trajectory corresponding to the driving data of the previous time period does not exceed a set threshold.

[0026] Based on the driving data, the process of the device model traveling along the target driving trajectory is displayed on the electronic map in the first client.

[0027] Optionally, the method further includes:

[0028] When the second client's driving data for the next time period is obtained by monitoring, and the device model has not yet reached the end of the driving trajectory corresponding to the driving data for the current time period, the position of the device model on the driving trajectory corresponding to the driving data for the current time period is determined.

[0029] The location of the device model on the driving trajectory corresponding to the driving data in the current time period is taken as the starting point of the driving trajectory corresponding to the driving data in the next time period, and the process of the device model traveling according to the driving trajectory corresponding to the driving data in the next time period from the starting point is displayed on the electronic map of the first client.

[0030] This specification provides an information display device, including:

[0031] The acquisition module is used by the first client to acquire the driving data of the second client in the current time period;

[0032] The display module is used to display the process of the device model corresponding to the travel device traveling according to the travel trajectory corresponding to the travel data on the electronic map in the first client, wherein the travel device carries a terminal device with the second client installed;

[0033] The monitoring module is configured to, if the device model reaches a designated position on the driving trajectory in the electronic map, and the first client has not yet received the driving data for the next time period sent by the second client, add at least one dividing point to the unexplored trajectory segment within the driving trajectory to divide the trajectory segment into at least two sub-trajectories, and reduce the traveling speed of the device model within the sub-trajectories to demonstrate the traveling process of the device model in the unexplored trajectory segment.

[0034] This specification provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described information display method.

[0035] This specification provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the above-described information display method.

[0036] The above-mentioned technical solutions adopted in this specification can achieve the following beneficial effects:

[0037] The information display method provided in this specification firstly involves the first client acquiring the driving data of the second client for the current time period. Based on this acquired driving data, the first client displays the process of the device model corresponding to the travel device moving along the corresponding driving trajectory on an electronic map. The travel device carries a terminal device on which the second client is installed. If the first client has not yet received the driving data for the next time period from the second client when the device model reaches a designated position on the driving trajectory on the electronic map, at least one dividing point is added to the unexplored segment of the driving trajectory to divide it into at least two sub-trajectories. The travel speed of the device model within these sub-trajectories is then reduced to demonstrate the device model's movement within the unexplored segment.

[0038] As can be seen from the above method, by using the above information display method, when the device model is detected to be moving to the end of the current period's driving trajectory, but before the driving data for the next period is received, the speed of the device model is slowed down in the screen displayed on the first client. In this way, the device model can be kept moving before the driving data for the next period is obtained, so as to smoothly display the animation process of the device model's movement and improve the user's business experience. Attached Figure Description

[0039] The accompanying drawings, which are included to provide a further understanding of this specification and form part of this specification, illustrate exemplary embodiments and are used to explain this specification, but do not constitute an undue limitation thereof. In the drawings:

[0040] Figure 1 This is a flowchart illustrating one method of information display provided in this specification;

[0041] Figure 2 This is a schematic diagram of a process for determining abnormal transmission conditions provided in this specification;

[0042] Figures 3A-3B This is a schematic diagram illustrating the angle between driving directions provided in this specification;

[0043] Figures 4A-4B This is a schematic diagram illustrating one method of rendering a driving trajectory provided in this specification;

[0044] Figure 5 This is a schematic diagram illustrating the division of a sub-trajectory as provided in this specification;

[0045] Figure 6 This is a schematic diagram of an information display device provided in this specification;

[0046] Figure 7 This specification provides a corresponding Figure 1 A schematic diagram of an electronic device. Detailed Implementation

[0047] To make the objectives, technical solutions, and advantages of this specification clearer, the technical solutions of this specification will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this specification, and not all of them. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this specification.

[0048] It should be noted that all actions involving the acquisition of signals, information, or data in this manual are performed in accordance with the relevant data protection laws and regulations of the country where the device is located, and with the authorization granted by the owner of the relevant device.

[0049] The technical solutions provided in the various embodiments of this specification are described in detail below with reference to the accompanying drawings.

[0050] Figure 1 This is a flowchart illustrating an information display method provided in this specification, including the following steps:

[0051] S101: The first client obtains the driving data of the second client in the current time period.

[0052] In this specification, the execution subject of the specific information display method can be a first client installed on a user's mobile phone, tablet, or other terminal device. For ease of description, the first client will be used as the execution subject to describe the information display method provided in this specification in detail.

[0053] Currently, when users perform services such as ride-hailing, map navigation, food delivery, and express delivery, in order to intuitively demonstrate the execution process to users, the platform often displays the execution process to users based on data returned by a second client used by the service personnel. The service personnel can be the people providing the service.

[0054] For example, when a user is using a ride-hailing service, the client software installed on the driver's (i.e., the person providing the ride-hailing service) mobile phone can send the driving data of the driver's car to the server set up on the platform. Then, the server can send the driving data of the driver's car to the client software installed on the user's mobile phone to show the user the process of the ride-hailing car traveling on the driving route.

[0055] For example, when a user is making a food delivery, the client software installed on the mobile phone of the delivery person (i.e., the person providing the food delivery service) can send the driving data of the electric vehicle driven by the delivery person to the client software installed on the user's mobile phone, so as to show the user the process of the delivery person traveling on the driving route.

[0056] As seen in the above application examples, the second client used by business personnel needs to send the driving data to the server first, and then the server sends the driving data to the first client used by the user. Therefore, the movement of the travel device displayed to the user is not the actual movement of the travel device. When data transmission is delayed, the first client may not receive the next segment of driving data even after displaying the entire movement of the travel device to the user. This causes the device model corresponding to the travel device to stop moving in the displayed screen, reducing the consistency between the displayed process and the actual business execution process (e.g., the travel device is actually moving without stopping, but if the device model stops moving due to data transmission delay, it differs from the actual movement of the travel device, thus reducing the consistency between the displayed process and the actual business execution process). Simultaneously, the pause in the displayed screen also degrades the user experience. The travel device can be the vehicle driven by the business personnel, such as a car driven by a ride-hailing driver or an electric vehicle driven by a delivery person. The travel device also carries the terminal device on which the second client is installed. The device model mentioned above refers to the graphic used to represent the travel equipment during the presentation to the user. It should be noted that the device model here can be a model of the travel equipment or a graphic of any shape. The device model only needs to be able to represent the travel equipment.

[0057] To address the aforementioned technical issues, this specification provides an information display method. First, the first client acquires the driving data of the second client for the current time period. The first client is the client installed on the user's terminal device, and the second client is the client installed on the terminal device used by the specific business personnel. For example, when a user is performing ride-hailing services, the first client could be the client used by the ride-hailing passenger, and the second client could be the client used by the ride-hailing driver.

[0058] It should be noted that when the first client obtains the second client's driving data for the current time period, the first client can first determine whether the first client's acquisition of the second client's driving data for the previous time period meets the abnormal transmission conditions. If the abnormal transmission conditions are met, the first client will actively send a data acquisition request to the server in order to obtain the second client's driving data from the server.

[0059] Abnormal transmission conditions can include the following:

[0060] The first approach is to determine if the first client times out of obtaining driving data from the previous time period, and if the cumulative number of times the driving data is timed out exceeds a predetermined number. For example, if the first client sets the time interval for obtaining driving data to 1 second, and if the first client obtains the driving data from the second client only after 1 second, then it is determined that the driving data has been timed out.

[0061] The second approach is for the first client to determine that the previously acquired driving data has a format error, and the cumulative number of times the client has acquired driving data with a format error exceeds a second set number. For example, driving data can consist of a set of trajectory point data containing latitude and longitude. Therefore, if the field representing the latitude and longitude of each trajectory point in the sent driving data is missing a valid value, the driving data is considered to be formatted incorrectly.

[0062] The third scenario is that the first client interrupts its connection with the server while acquiring driving data from the previous time period, and the cumulative number of times the first client interrupts its connection with the server exceeds a third set number.

[0063] The fourth scenario is that the driving data obtained by the first client from the previous time period is expired data, and the cumulative number of times expired data has been obtained exceeds the fourth preset number. Specifically, expired data can be defined as follows: if the end point of the driving trajectory corresponding to the driving data obtained by the first client at time t-1 is before the start point of the driving trajectory corresponding to the driving data obtained by the first client at time t-2, then the driving data obtained by the first client at time t-1 is considered expired. Alternatively, if the driving trajectory corresponding to the driving data obtained by the first client at time t-1 overlaps with the driving trajectory corresponding to the driving data obtained by the first client at time t-2, then the driving data obtained by the first client at time t-1 is considered expired.

[0064] Abnormal transmission conditions can include many other types, which will not be listed here.

[0065] In practical applications, the first client can determine that the driving data of the previous period meets the abnormal transmission conditions after judging that one or more of the abnormal transmission conditions are met, or it can determine that the driving data of the previous period meets the abnormal transmission conditions after judging that all the abnormal transmission conditions are met.

[0066] The following is combined Figure 2 This document provides a schematic diagram illustrating the process for determining abnormal transmission conditions.

[0067] First, the first client establishes a connection with the server. After obtaining the driving data sent by the server, it determines whether the timeout for obtaining the driving data has occurred. If the timeout is determined, it determines whether the cumulative number of timeouts for obtaining the driving data exceeds a first set number. If the cumulative number exceeds the first set number, it sends a data acquisition request to the server. If the cumulative number does not exceed the first set number, it re-acquires the driving data sent by the server.

[0068] If it is determined that the driving data acquisition has not timed out, then it is determined whether the driving data acquired by the first client has a format error. If it is determined that the driving data has a format error, then it is determined whether the cumulative number of times the driving data with a format error has been acquired has exceeded the second set number. If it is determined that the cumulative number has exceeded the second set number, then a data acquisition request is sent to the server. If it is determined that the cumulative number has not exceeded the second set number, then the driving data sent by the server is reacquired.

[0069] If it is determined that the driving data obtained by the first client is not in a format error, then it is determined whether the connection between the first client and the server was interrupted during the process of obtaining the driving data. If it is determined that the connection was interrupted, then it is determined whether the cumulative number of connection interruptions between the first client and the server exceeds a third set number. If it is determined that the cumulative number exceeds the third set number, then a data acquisition request is sent to the server. If it is determined that the cumulative number does not exceed the third set number, then the driving data sent by the server is re-acquired.

[0070] If it is determined that the connection between the first client and the server was not interrupted during the acquisition of driving data, then it is determined whether the acquired driving data is expired. If the driving data is expired, it is determined whether the cumulative number of times expired data has been acquired exceeds a fourth preset number. If the cumulative number exceeds the fourth preset number, a data acquisition request is sent to the server. If the cumulative number does not exceed the third preset number, the driving data sent by the server is reacquired. If the driving data is not expired, then the driving data is determined to be normal data.

[0071] S102: According to the driving data, the process of the device model corresponding to the travel device traveling according to the driving trajectory corresponding to the driving data is displayed on the electronic map in the first client, wherein the travel device carries a terminal device with the second client installed.

[0072] After the first client obtains the driving data of the second client in the current time period, it can display the process of the device model corresponding to the travel device moving along the driving trajectory corresponding to the driving data on the electronic map in the first client.

[0073] It should be noted that when showing the user the process of the device model traveling according to the driving trajectory corresponding to the driving data, the first client can determine the trajectory points contained in the driving trajectory corresponding to the driving data of the current time period based on the driving data of the current time period. For each trajectory point, if the time information corresponding to the trajectory point is earlier than the time information corresponding to the end point of the driving trajectory corresponding to the driving data of the previous time period, the trajectory point is regarded as the timeout trajectory point.

[0074] That is, if the driving trajectory corresponding to the driving data in the current time period overlaps with the driving trajectory corresponding to the driving data in the previous time period, the overlapping part of the driving trajectory corresponding to the driving data in the current time period will be removed, and the process of the device model traveling according to the driving trajectory after removing the timeout trajectory points will be displayed on the electronic map in the first client.

[0075] Because the movement trajectory of the traveling device is continuous in actual operation, the first client, while demonstrating the device model's movement along the trajectory to the user, can also determine whether the starting point of the trajectory corresponding to the current time period's driving data and the ending point of the trajectory corresponding to the driving data of the previous time period meet preset conditions. If the preset conditions are met, the ending point of the trajectory corresponding to the driving data of the previous time period is connected to the starting point of the trajectory corresponding to the driving data of the current time period, and the resulting trajectory line is added to the trajectory corresponding to the driving data of the current time period to obtain the target driving trajectory. In this way, the first client can connect the driving trajectory corresponding to the driving data of the previous time period with the driving trajectory of the current time period, thereby ensuring the continuity of the device model's driving trajectory.

[0076] The preset conditions may include: the angle between the driving direction of the device model at the end of the driving trajectory corresponding to the driving data of the previous time period and the driving direction of the device model at the beginning of the driving trajectory corresponding to the driving data of the current time period does not exceed a threshold, and / or the distance between the beginning of the driving trajectory corresponding to the driving data of the current time period and the end of the driving trajectory corresponding to the driving data of the previous time period does not exceed a set threshold.

[0077] The reason for using this condition is that if the angle between the direction of travel at the end of the travel trajectory corresponding to the previous travel time period and the direction of travel at the beginning of the travel trajectory corresponding to the current travel time period is too large, connecting the end of the travel trajectory corresponding to the previous travel time period and the beginning of the travel trajectory corresponding to the current travel time period will result in an unsmooth travel trajectory.

[0078] Figures 3A-3B This is a schematic diagram illustrating the angle between driving directions provided in this specification.

[0079] existFigure 3A If the angle between the driving direction at the end of the driving trajectory corresponding to the driving data of the previous time period and the driving direction at the beginning of the driving trajectory corresponding to the driving data of the current time period is too large, then the end of the driving trajectory corresponding to the driving data of the previous time period and the beginning of the driving trajectory corresponding to the driving data of the current time period cannot be connected.

[0080] exist Figure 3B In this context, the angle between the direction of travel of the device model at the end of the travel trajectory corresponding to the travel data of the previous time period and the direction of travel of the device model at the beginning of the travel trajectory corresponding to the travel data of the current time period can be used to connect the end of the travel trajectory corresponding to the travel data of the previous time period and the beginning of the travel trajectory corresponding to the travel data of the current time period.

[0081] However, if the distance between the starting point of the driving trajectory corresponding to the driving data in the current time period and the ending point of the driving trajectory corresponding to the driving data in the previous time period is too large, connecting the ending point of the driving trajectory corresponding to the driving data in the previous time period and the starting point of the driving trajectory corresponding to the driving data in the current time period will result in the connecting part not clearly representing the driving trajectory, causing the driving trajectory to be distorted.

[0082] Meanwhile, to more clearly demonstrate the business execution process to users, the first client can use different rendering methods to display the trajectory segments traversed by the device model and the trajectory segments yet to be traversed. For example, the first client can use different colors to display the trajectory segments traversed by the device model and the trajectory segments yet to be traversed. Alternatively, the first client can remove the colors from the trajectory segments traversed by the device model. Or, the first client can pre-set a color table containing different colors, displaying the traversed and untraversed trajectory segments to the user based on the different colors used.

[0083] Of course, besides using color to distinguish rendering methods, other methods can also be used, such as... Figure 4A , 4B As shown.

[0084] Figures 4A-4B This is a schematic diagram illustrating one method of rendering a driving trajectory provided in this specification.

[0085] exist Figure 4A In this scenario, the first client can change the trajectory segments already traversed by the device model to dashed lines, and set untraversed trajectory segments to solid lines. Meanwhile... Figure 4B In the process, the first client can turn the trajectory segments that the device model has traveled into thin lines, and set the trajectory segments that have not yet been traveled into thick lines.

[0086] S103: If the device model is detected to have reached the designated position in the driving trajectory on the electronic map, and the first client has not yet received the driving data for the next time period sent by the second client, then at least one dividing point is added to the unexplored trajectory segment within the driving trajectory to divide the trajectory segment into at least two sub-trajectories, and the speed of the device model within the sub-trajectories is reduced to demonstrate the movement of the device model in the unexplored trajectory segment.

[0087] When the first client displays the device model's movement along the driving trajectory to the user, if the first client detects that the device model has reached the designated position on the driving trajectory in the electronic map, but the first client has not yet received the driving data for the next time period sent by the second client, then the first client reduces the device model's speed in the unexplored segments of the driving trajectory to display the device model's movement in the unexplored segments.

[0088] Specifically, the first client can use the condition that the distance between the divided sub-track and the end point of the driving track is positively correlated with the length of the sub-track, add at least one dividing point in the unexplored track segment within the driving track to divide the track segment into at least two sub-tracks. The distance between the sub-track and the end point of the driving track can be the distance from any point in the sub-track to the end point of the driving track, or it can be the distance from the start or end point of the sub-track to the end point of the driving track. Since each sub-track segment is non-overlapping, it is sufficient to ensure that the sub-track farther from the end point of the driving track is longer.

[0089] like Figure 5 The diagram provided in this specification illustrates the division of a sub-track, where each point represents a dividing point, and the line segments between each dividing point represent the sub-tracks. As can be seen from the diagram, the sub-tracks that are farther from the end point of the driving track are longer.

[0090] After dividing the sub-trajectories, the first client can determine the device model's speed in each sub-trajectory based on the following conditions: the device model's speed in unexplored trajectory segments is less than its speed in already traversed trajectory segments within the main driving trajectory, and the time required to travel in each sub-trajectory segment is the same. In other words, the device model's speed is lower on sub-trajectories closer to the end of the main driving trajectory.

[0091] To ensure the continuity of the device model's movement along the trajectory, when the first client detects that the device model has not yet reached the end of the trajectory corresponding to the current time period's driving data when it obtains the second client's driving data for the next time period, it determines the current position of the device model in the trajectory corresponding to the current time period's driving data. This position is then used as the starting point for the trajectory corresponding to the next time period's driving data, and the process of the device model moving along the trajectory corresponding to the next time period's driving data from this starting point is displayed on the first client's electronic map.

[0092] As can be seen from the information display method provided in this specification, when the first client detects that the device model is about to reach the end of the current time period's travel trajectory, but has not yet received the travel data for the next time period, the first client will slow down the travel speed of the device model in the screen displayed on the first client. In this way, the device model can be kept moving until the travel data for the next time period is obtained, thereby smoothly displaying the animation process of the device model's movement and improving the user's business experience.

[0093] Figure 6 A schematic diagram of an information display device provided in this specification includes:

[0094] The acquisition module 601 is used by the first client to acquire the driving data of the second client in the current time period;

[0095] The display module 602 is used to display the process of the device model corresponding to the travel device traveling according to the travel trajectory corresponding to the travel data on the electronic map in the first client, wherein the travel device carries a terminal device with the second client installed;

[0096] The monitoring module 603 is used to add at least one dividing point to the unexplored segment of the driving trajectory if the first client has not yet received the driving data for the next time period sent by the second client when the monitoring module detects that the device model has reached the designated position in the driving trajectory on the electronic map. This divides the trajectory segment into at least two sub-trajectories, and reduces the speed of the device model in the sub-trajectories to demonstrate the movement of the device model in the unexplored trajectory segment.

[0097] Optionally, the monitoring module 603 is specifically used to add at least one dividing point to a trajectory segment that has not yet been traversed within the driving trajectory, based on the condition that the distance between the divided sub-trajectory and the end point of the driving trajectory is positively correlated with the length of the sub-trajectory, so as to divide the trajectory segment into at least two sub-trajectories.

[0098] Optionally, the monitoring module 603 is specifically used to determine the speed of the device model in each sub-track based on the conditions that the speed of the device model in the untraveled track segment is less than the speed of the device model in the track segment that has been traversed in the driving trajectory, and that the time required for the device model to travel in each sub-track segment is the same.

[0099] Optionally, the acquisition module 601 is specifically used to determine whether the driving data of the second client in the previous period obtained by the first client meets the abnormal transmission conditions.

[0100] If the abnormal transmission conditions are determined to be met, a data retrieval request is sent to the server to obtain the driving data sent by the second client from the server, wherein...

[0101] The abnormal transmission conditions include at least one of the following: the first client times out of obtaining the driving data of the previous time period, and the cumulative number of times the driving data is obtained exceeds a first set number; the first client determines that the driving data of the previous time period obtained has a format error, and the cumulative number of times the driving data with the format error is obtained exceeds a second set number; the first client interrupts its connection with the server during the process of obtaining the driving data of the previous time period, and the cumulative number of times the connection between the first client and the server is interrupted exceeds a third set number; and the driving data of the previous time period obtained by the first client is expired data, and the cumulative number of times expired data is obtained exceeds a fourth set number.

[0102] Optionally, the display module 602 is specifically used to: determine each trajectory point contained in the driving trajectory corresponding to the driving data of the current time period; for each trajectory point, if the time information corresponding to the trajectory point is earlier than the time information corresponding to the end point of the driving trajectory corresponding to the driving data of the previous time period, the trajectory point is regarded as an overdue trajectory point; and display the process of the device model traveling according to the driving trajectory after removing each overdue trajectory point on the electronic map in the first client.

[0103] Optionally, the display module 602 is specifically used to determine whether the starting point of the driving trajectory corresponding to the driving data of the current time period and the ending point of the driving trajectory corresponding to the driving data of the previous time period meet a preset condition; if it is determined that the preset condition is met, then the ending point of the driving trajectory corresponding to the driving data of the previous time period is connected to the starting point of the driving trajectory corresponding to the driving data of the current time period, and the connected trajectory line is added to the driving trajectory corresponding to the driving data of the current time period to obtain the target driving trajectory. The preset conditions include: the angle between the driving direction of the device model at the ending point of the driving trajectory corresponding to the driving data of the previous time period and the driving direction of the device model at the starting point of the driving trajectory corresponding to the driving data of the current time period does not exceed a threshold, and / or the distance between the starting point of the driving trajectory corresponding to the driving data of the current time period and the ending point of the driving trajectory corresponding to the driving data of the previous time period does not exceed a set threshold; according to the driving data, the process of the device model traveling according to the target driving trajectory is displayed on the electronic map in the first client.

[0104] Optionally, the display module 602 is further configured to, when monitoring and acquiring the driving data of the second client in the next time period, and when the device model has not yet reached the end point of the driving trajectory corresponding to the driving data of the current time period, determine the position of the device model on the driving trajectory corresponding to the driving data of the current time period; replace the position of the device model on the driving trajectory corresponding to the driving data of the current time period with the starting point of the driving trajectory corresponding to the driving data of the next time period, and display the process of the device model traveling according to the driving trajectory corresponding to the driving data of the next time period with the changed starting point on the electronic map of the first client.

[0105] This specification also provides a computer-readable storage medium storing a computer program that can be used to execute the above-described... Figure 1 This provides a method for displaying information.

[0106] This instruction manual also provides Figure 7 The one shown corresponds to Figure 1 A schematic diagram of the structure of an electronic device. (e.g.) Figure 7 At the hardware level, the electronic device includes a processor, internal bus, network interface, memory, and non-volatile memory, and may also include other hardware required for the business operations. The processor reads the corresponding computer program from the non-volatile memory into memory and then runs it to achieve the above-mentioned functions. Figure 1 The information display method described herein. Of course, in addition to software implementation, this specification does not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. In other words, the execution subject of the following processing flow is not limited to individual logic units, but can also be hardware or logic devices.

[0107] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program and "integrate" a digital system onto a PLD themselves, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must be written in a specific programming language, called a Hardware Description Language (HDL). There are many HDLs, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should understand that by simply performing some logic programming on the method flow using one of these hardware description languages ​​and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.

[0108] The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.

[0109] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.

[0110] For ease of description, the above devices are described in terms of function, divided into various units. Of course, in implementing this specification, the functions of each unit can be implemented in one or more software and / or hardware components.

[0111] Those skilled in the art will understand that embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this specification may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0112] This specification is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this specification. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0113] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0114] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes ​ The steps of the function specified in one or more boxes.

[0115] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0116] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0117] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0118] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0119] Those skilled in the art will understand that the embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this specification may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0120] This specification can be described in the general context of computer-executable instructions that are executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This specification can also be practiced in distributed computing environments, where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.

[0121] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0122] The above description is merely an embodiment of this specification and is not intended to limit this specification. Various modifications and variations can be made to this specification by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of the claims of this specification.

Claims

1. An information display method, characterized in that, include: The first client obtains the driving data of the second client during the current time period; According to the driving data, the process of the device model corresponding to the travel device traveling according to the driving trajectory corresponding to the driving data is displayed on the electronic map in the first client, wherein the travel device carries a terminal device with the second client installed; If the device model is detected to have reached a designated position in the driving trajectory on the electronic map, and the first client has not yet received the driving data for the next time period sent by the second client, then at least one dividing point is added to the unexplored trajectory segment within the driving trajectory to divide the trajectory segment into at least two sub-trajectories, and the speed of the device model within the sub-trajectories is reduced to demonstrate the movement of the device model in the unexplored trajectory segment. The method further includes: When the second client's driving data for the next time period is obtained by monitoring, and the device model has not yet reached the end of the driving trajectory corresponding to the driving data for the current time period, the position of the device model on the driving trajectory corresponding to the driving data for the current time period is determined. The location of the device model on the driving trajectory corresponding to the driving data in the current time period is taken as the starting point of the driving trajectory corresponding to the driving data in the next time period, and the process of the device model traveling according to the driving trajectory corresponding to the driving data in the next time period from the starting point is displayed on the electronic map of the first client.

2. The method as described in claim 1, characterized in that, Add at least one dividing point to a previously unexplored segment of the driving trajectory to divide the segment into at least two sub-trajectories, specifically including: Based on the condition that the distance between the divided sub-trajectory and the end point of the driving trajectory is positively correlated with the length of the sub-trajectory, at least one dividing point is added to the untraversed trajectory segment within the driving trajectory to divide the trajectory segment into at least two sub-trajectories.

3. The method as described in claim 2, characterized in that, Reducing the travel speed of the device model within the sub-track specifically includes: The speed of the device model in each sub-track is determined based on the following conditions: the speed of the device model in the untraversed track segment is less than the speed of the device model in the track segment that has already been traversed in the driving trajectory; and the time required for the device model to travel in each sub-track segment is the same.

4. The method as described in claim 1, characterized in that, The first client obtains the driving data of the second client at the current moment, specifically including: Determine whether the driving data obtained by the first client from the second client in the previous time period meets the abnormal transmission conditions; If the abnormal transmission conditions are determined to be met, a data acquisition request is sent to the server to obtain the driving data sent by the second client from the server. The abnormal transmission conditions include: the first client timeouts in acquiring the driving data of the previous period, and the cumulative number of times the driving data is timed out exceeds a first set number; the first client determines that the driving data of the previous period has a format error, and the cumulative number of times the erroneous driving data is acquired exceeds a second set number; the first client's connection with the server is interrupted during the acquisition of the driving data of the previous period, and the cumulative number of times the connection between the first client and the server is interrupted exceeds a third set number; and the driving data of the previous period acquired by the first client is expired data, and the cumulative number of times expired data is acquired exceeds a fourth set number.

5. The method as described in claim 1, characterized in that, Based on the driving data, the process of the device model corresponding to the travel device moving along the driving trajectory corresponding to the driving data is displayed on the electronic map in the first client, specifically including: Determine the trajectory points contained in the driving trajectory corresponding to the driving data of the current time period; For each trajectory point, if the time information corresponding to the trajectory point is earlier than the time information corresponding to the end point of the driving trajectory in the previous time period, the trajectory point is regarded as an overdue trajectory point. The process of the device model traveling according to the trajectory after removing each timeout trajectory point is displayed on the electronic map in the first client.

6. The method as described in claim 1, characterized in that, Based on the driving data, the process of the device model corresponding to the travel device moving along the driving trajectory corresponding to the driving data is displayed on the electronic map in the first client, specifically including: Determine whether the starting point of the driving trajectory corresponding to the driving data of the current time period and the ending point of the driving trajectory corresponding to the driving data of the previous time period meet the preset conditions. If the preset conditions are met, the endpoint of the driving trajectory corresponding to the driving data of the previous time period is connected to the starting point of the driving trajectory corresponding to the driving data of the current time period, and the obtained trajectory line is added to the driving trajectory corresponding to the driving data of the current time period to obtain the target driving trajectory. The preset conditions include: the angle between the driving direction of the device model at the endpoint of the driving trajectory corresponding to the driving data of the previous time period and the driving direction of the device model at the starting point of the driving trajectory corresponding to the driving data of the current time period does not exceed a threshold, and / or the distance between the starting point of the driving trajectory corresponding to the driving data of the current time period and the endpoint of the driving trajectory corresponding to the driving data of the previous time period does not exceed a set threshold. Based on the driving data, the process of the device model traveling along the target driving trajectory is displayed on the electronic map in the first client.

7. An information display device, characterized in that, include: The acquisition module is used by the first client to acquire the driving data of the second client in the current time period; The display module is used to display the process of the device model corresponding to the travel device traveling according to the travel trajectory corresponding to the travel data on the electronic map in the first client, wherein the travel device carries a terminal device with the second client installed; The monitoring module is used to add at least one dividing point to the unexplored segment of the driving trajectory if the first client has not yet received the driving data for the next time period sent by the second client when the device model reaches the designated position in the driving trajectory on the electronic map. This divides the trajectory segment into at least two sub-trajectories, and reduces the speed of the device model in the sub-trajectories to demonstrate the movement of the device model in the unexplored trajectory segment. Also includes: When the second client's driving data for the next time period is obtained by monitoring, and the device model has not yet reached the end of the driving trajectory corresponding to the driving data for the current time period, the position of the device model on the driving trajectory corresponding to the driving data for the current time period is determined. The location of the device model on the driving trajectory corresponding to the driving data in the current time period is taken as the starting point of the driving trajectory corresponding to the driving data in the next time period, and the process of the device model traveling according to the driving trajectory corresponding to the driving data in the next time period from the starting point is displayed on the electronic map of the first client.

8. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the method described in any one of claims 1 to 6.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method and device for displaying dynamic driving images

    CN106323325A

  • Information display method and device

    CN111324680A