Method, apparatus, device, storage medium and program product for displaying a virtual vehicle

By determining the radius and number of virtual vehicles based on the block level, generating vehicle coordinates and simulating their movement, the issues of privacy infringement and realistic simulation in ride-hailing platforms are resolved, improving user experience and encouraging order placement.

CN113901344BActive Publication Date: 2025-12-23BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111165219.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-30
Publication Date
2025-12-23
Estimated Expiration
2041-09-30

AI Technical Summary

Technical Problem

When existing ride-hailing platforms display the location of non-operational vehicles, it may infringe on the privacy rights of others, and it is difficult to realistically simulate the behavior of vehicles near the starting point.

Method used

Based on the level of the area block to which the target starting point belongs, the target radius and the number of virtual vehicles are determined, vehicle coordinate points are generated, and the movement of vehicles is simulated on the display screen. By dynamically adjusting the radius and number, the behavior of real vehicles is realistically simulated.

Benefits of technology

This avoids privacy violations while improving user experience. By dynamically adjusting the display range and number of virtual vehicles, it realistically simulates vehicle behavior near the starting point, enhancing users' willingness to place orders and their patience while waiting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113901344B_ABST
    Figure CN113901344B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method, device, equipment, storage medium and program product for displaying virtual vehicles, relating to the technical fields of electronic map, intelligent transportation and big data. The specific implementation scheme comprises: determining a target radius and a target number of virtual vehicles to be generated according to a level of a region block to which a target starting point belongs; generating vehicle coordinate points corresponding to the target number according to the target starting point and the target radius; and displaying each virtual vehicle according to each vehicle coordinate point. The technical scheme of the present disclosure can avoid the invasion of others' privacy by displaying virtual vehicle data, and the display range and display number of the virtual vehicles are different according to different region block levels, so that the real vehicle behavior near the starting point can be more realistically simulated.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of data processing, and particularly relates to the technical field of electronic map, intelligent transportation and big data. BACKGROUND

[0002] A ride-hailing platform can provide convenient and fast ride-hailing services for users. Generally, the ride-hailing platform displays a map near a ride-hailing starting point, and displays a ride-hailing starting point identifier and nearby vehicle identifiers on the map. However, for non-operational vehicles, obtaining the real position of the vehicle may involve infringing privacy rights. SUMMARY

[0003] The present disclosure provides a method, an apparatus, an electronic device, a non-transitory computer-readable storage medium and a computer program product for displaying virtual vehicles.

[0004] According to a first aspect of the present disclosure, a method for displaying virtual vehicles is provided, comprising:

[0005] determining a target radius and a target number of virtual vehicles to be generated according to a level of a region block to which the target starting point belongs;

[0006] generating vehicle coordinate points corresponding to the target number according to the target starting point and the target radius;

[0007] displaying each virtual vehicle according to each vehicle coordinate point.

[0008] According to a second aspect of the present disclosure, an apparatus for displaying virtual vehicles is provided, comprising:

[0009] a radius and number determination module configured to determine a target radius and a target number of virtual vehicles to be generated according to a level of a region block to which the target starting point belongs;

[0010] a vehicle coordinate point generation module configured to generate vehicle coordinate points corresponding to the target number according to the target starting point and the target radius;

[0011] a display module configured to display each virtual vehicle according to each vehicle coordinate point.

[0012] According to a third aspect of the present disclosure, an electronic device is provided, comprising:

[0013] at least one processor; and

[0014] a memory connected with the at least one processor in communication; wherein

[0015] the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method provided by any of the embodiments of the present disclosure.

[0016] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, the computer instructions being used to cause a computer to execute the method provided by any of the embodiments of the present disclosure.

[0017] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the method provided by any of the embodiments of the present disclosure.

[0018] The technical solution of the embodiments of the present disclosure can avoid the invasion of privacy of others by displaying virtual vehicle data, and the display range and the display number of the virtual vehicle are different according to the different region block levels, so that the real vehicle behavior near the starting point can be more realistically simulated.

[0019] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0020] The accompanying drawings are used to better understand the present solution and do not limit the present disclosure. Among them:

[0021] Figure 1 is a schematic diagram of an application scenario according to an embodiment of the present disclosure;

[0022] Figure 2 is a flowchart of a method for displaying a virtual vehicle according to an embodiment of the present disclosure;

[0023] Figure 3 is a flowchart of an embodiment according to an embodiment of the present disclosure;

[0024] Figure 4 is a flowchart of another embodiment according to an embodiment of the present disclosure;

[0025] Figure 5 is an application example diagram according to an embodiment of the present disclosure;

[0026] Figure 6 is a block diagram of an apparatus for displaying a virtual vehicle according to an embodiment of the present disclosure;

[0027] Figure 7 is a block diagram of an electronic device for implementing the method of the embodiments of the present disclosure. DETAILED DESCRIPTION

[0028] Exemplary embodiments of the present disclosure are described herein with reference to the accompanying drawings, which are meant to be exemplary in nature, and include various details intended to facilitate understanding of the present disclosure. However, those skilled in the art will realize that the embodiments described herein are not the only embodiments that can be contemplated. Accordingly, various modifications and changes can be made to the embodiments described and illustrated herein without departing from the scope and spirit of the present disclosure. Also, for the purpose of clarity and the brevity of the description, the description below omits descriptions of well-known functions and structures.

[0029] Figure 1 An application scenario of the embodiments of the present disclosure is shown in FIG. 1. As shown in FIG. 1, the terminal device 101 can be hardware, such as a mobile phone, a tablet, a vehicle-mounted terminal, a portable computer, or a desktop computer, and the like, which is an electronic device with a display screen. The terminal device 101 can be software, which can be installed in the above-mentioned electronic device. The server 102 can provide various services, for example, providing support for an application program installed on the terminal device 101. The method provided by the embodiments of the present disclosure can be executed by the server 102, or can be executed by the terminal device 101. The corresponding device corresponding to the method can be arranged in the terminal device 101, or can be arranged in the server 102. Any number of terminal devices, networks, and servers can be configured as needed. Figure 1 Exemplarily, the method for displaying a virtual vehicle according to the embodiments of the present disclosure can be executed by the terminal device 101, and displayed directly on the terminal device 101. Alternatively, the method for displaying a virtual vehicle according to the embodiments of the present disclosure can be executed by the server 102, and the display data is sent to the terminal device 101, and then displayed by the terminal device 101.

[0030] The embodiments of the present disclosure provide a method for displaying a virtual vehicle, as shown in FIG. 2, the method can include the following steps.

[0031] Figure 2 Step S201: determining a target radius and a target number of virtual vehicles to be generated according to a level of a region block to which a target starting point belongs;

[0032] Step S202: generating vehicle coordinate points corresponding to the target number according to the target starting point and the target radius;

[0033] Step S202: generating vehicle coordinate points corresponding to the target number according to the target starting point and the target radius;

[0034] Step S203: displaying each virtual vehicle according to each vehicle coordinate point.

[0035] Exemplarily, a plurality of region blocks are divided in advance, and each region block has a corresponding level. The radius corresponding to the region block and the number of virtual vehicles to be generated are different when the level of the region block is different.

[0036] ​According to the level of the region block to which the target starting point belongs, the target radius and the target quantity can be determined. The target radius represents the display range of the virtual vehicle, and the target quantity represents the display density of the virtual vehicle. Therefore, different ranges and different quantities of virtual vehicles can be displayed according to different levels of region blocks, and when the target starting point changes, the display data can also be dynamically updated and adjusted, so that the behavior of real vehicles near the starting point can be more realistically simulated.

[0037] The method for displaying virtual vehicles in the embodiments of the present disclosure can be applied in scenarios such as taking a taxi or renting a car. In one application example, the target starting point can be the starting point of an order for taking a taxi. When a user takes a taxi, several virtual vehicles can be displayed near the starting point of the order, thereby improving the user experience. Since the display data is the information of virtual vehicles, the privacy of others can be protected. Further, when the level of the region block to which the starting point of the order belongs is different, the display range and the display quantity of the virtual vehicles are also different, so that the behavior of real vehicles near the starting point of the order for taking a taxi can be more realistically simulated, thereby improving the willingness of the user to place an order and the patience of the user in waiting.

[0038] In one embodiment, as shown in FIG. 1, Figure 3 In step S102, the following operations can be included:

[0039] Step S301: generating target coordinate points corresponding to the target quantity, with the target starting point as the center and within the target radius;

[0040] Step S302: for any target coordinate point, obtaining road network data within a preset radius range with the target coordinate point as the center, and performing route filtering on the road network data according to a preset filtering condition to obtain a target route;

[0041] Step S303: randomly generating a vehicle coordinate point on each target route.

[0042] For example, in step S301, the target coordinate points are randomly generated. Preferably, within the target radius range, the target coordinate points are generated as much as possible in the four quadrants centered on the target starting point to meet the target quantity.

[0043] The preset radius is preset, for example, the preset radius is 400 meters. That is, when the road network data is obtained for the target coordinate point, the range of the obtained data is preset.

[0044] In addition, the route filtering on the road network data can obtain multiple routes, and one of the multiple routes can be randomly selected as the target route. Therefore, each target coordinate point has a corresponding target route, and a vehicle coordinate point is randomly generated on each target route, so that the target quantity of vehicle coordinate points can be obtained.

[0045] Based on this, according to the target radius and the target number, vehicle coordinate points are not directly generated, but target coordinate points are first generated, and then route filtering and screening are performed in sequence with the target coordinate points to obtain a better target route, and then vehicle coordinate points are randomly generated on the target route, so that the virtual vehicle can travel on a better route, thereby improving the realism of simulation.

[0046] Further, in step S302, the route filtering of the road network data according to the preset filtering condition can include: filtering non-motor routes in the road network data; and / or, filtering routes with a length less than a preset length in the road network data; and / or, filtering routes with a curvature greater than a preset curvature in the road network data.

[0047] According to the filtering of the road network data according to these preset filtering conditions, it can be ensured that the target route is a road that can be traveled by a motor vehicle, so that the virtual vehicle is on the correct road, thereby further improving the realism of simulation.

[0048] In an embodiment, in step S203, for any vehicle coordinate point, the vehicle head direction is determined according to the vehicle coordinate point and the adjacent coordinate point of the vehicle coordinate point, and the corresponding virtual vehicle is dynamically displayed on the target route of the vehicle coordinate point according to the preset speed and the vehicle head direction, wherein the adjacent coordinate point of the vehicle coordinate point is located on the target route of the vehicle coordinate point.

[0049] Taking vehicle coordinate point A as an example, the target route where it is located is SS, and the corresponding virtual vehicle to be displayed is X. On the target route SS, coordinate point B is the adjacent coordinate point of vehicle coordinate point A, and then the vehicle head direction of virtual vehicle X is determined as Y according to A and B. Thus, for vehicle coordinate point A, the display mode of the corresponding virtual vehicle X is that virtual vehicle X travels at a uniform speed on the target route SS with a preset speed and vehicle head direction Y. The preset speed can be set in advance, for example, 30 kilometers per hour.

[0050] Based on this, the virtual vehicle can travel at a uniform speed on the correct road according to the route direction, thereby more realistically simulating the real vehicle behavior near the target starting point. For example, when the user starts to take a taxi, according to the above method, the nearby vehicles can be simulated and generated based on the starting point, and the vehicles can be made to move smoothly and uniformly on the correct road according to the road direction.

[0051] In an embodiment, as shown in Figure 4 The method of the embodiment of the present disclosure can further include:

[0052] Step S401: determining a plurality of historical starting points according to historical order data;

[0053] Step S402: divide the plurality of historical starting points into a plurality of region blocks;

[0054] Step S403: determine the level of each region block according to the order quantity and / or the point of interest type of the historical starting points in the region block;

[0055] Step S404: set the radius and the number of virtual vehicles to be generated for each region block according to the level of the region block, wherein the set radius and the set number are different for region blocks of different levels.

[0056] Thus, in step S201, according to the level of the region block to which the target starting point belongs, the corresponding preset radius and preset number, i.e., the target radius and target number, can be obtained.

[0057] The order quantity can reflect the heat of the region block, and the level division according to the heat can make the starting points in the region block with high heat have a wider display range and more virtual vehicles, thereby more realistically simulating the behavior of real vehicles near the road. The point of interest (POI) type can reflect the POI attribute of the region block, and the level division according to the POI attribute can make the display of virtual vehicles more consistent with the POI attribute of the real region.

[0058] In one example, the level of a region block can be determined according to the total order quantity of all historical starting points in the region block. For example, as shown in Figure 5 the order quantity <1, the level is 1; the order quantity <5, the level is 2; the order quantity <10, the level is 3; the order quantity <20, the level is 4; the order quantity <30, the level is 5; the order quantity >=40, the level is 6. Thus, different radii and different numbers are preset for region blocks of different levels. As shown in the following table. As can be seen from the table, the higher the level, the smaller the radius, the more the number, i.e., the greater the density of the displayed virtual vehicles, thereby more realistically simulating the real traffic conditions.

[0059] Zone block level Set radius (m) Set number (pcs) 1 3000 3 2 2000 4 3 1500 6 4 1200 8 5 800 12 6 500 15

[0060] In yet another example, the level of a region block can be determined according to the order quantity and the POI type of all historical starting points in the region block. For example, the total sum of the order quantity of each historical starting point can be determined and assigned a corresponding weight, and the POI type of each historical starting point can be assigned a corresponding weight, thereby calculating a total value, and determining the level of the region block according to the range in which the total value falls and the corresponding level. The level corresponding to each range can be preset.

[0061] In one implementation, step S402 may include: dividing multiple historical starting points into multiple regional blocks based on a geohash algorithm.

[0062] Based on the geohash algorithm, the two-dimensional latitude and longitude of each historical starting point can be converted into a string, which can both protect privacy and make it easier to cache.

[0063] For example, steps S401 to S404 can be completed offline, that is, the level of each region block and its corresponding preset radius and preset quantity can be pre-divided; steps S201 to S203 can be completed online, that is, the target radius and target quantity can be dynamically adjusted according to the different levels of the region block to which the target starting point belongs.

[0064] In one application example, such as Figure 5 As shown, the offline part completes the division of area blocks and the determination of levels. The online part may include: dynamically determining the corresponding radius (target radius) and number (target quantity) based on the starting point level (the level of the area block to which the starting point belongs); randomly generating points (target coordinate points) centered on the starting point until the number of points reaches the level number (target quantity); polling the above points, that is, performing the following operations on each point: filtering internal roads centered on this point to retain motor vehicle lanes and obtain multiple routes; randomly selecting one route from the multiple routes, i.e., the target route; obtaining random points on this route, i.e., vehicle coordinate points; then obtaining an adjacent point, i.e., the vehicle coordinate point and the adjacent coordinate point, calculating the road direction as the vehicle's heading.

[0065] This disclosure also provides an apparatus for displaying virtual vehicles, such as... Figure 6 As shown, the device may include:

[0066] The radius and quantity determination module 601 determines the target radius and the target number of virtual vehicles to be generated based on the level of the area block to which the target starting point belongs;

[0067] The vehicle coordinate point generation module 602 is used to generate vehicle coordinate points corresponding to the target number based on the target starting point and target radius;

[0068] Display module 603 is used to display each virtual vehicle based on the coordinates of each vehicle.

[0069] In one embodiment, the vehicle coordinate point generation module 602 may include:

[0070] The target coordinate point generation submodule is used to generate target coordinate points corresponding to the number of targets within the target radius, centered on the target starting point.

[0071] The target route determining sub-module is configured to, for any target coordinate point, obtain road network data within a preset radius range centered on the target coordinate point, and perform route filtering on the road network data according to a preset filtering standard, to obtain a target route.

[0072] The vehicle coordinate point generating sub-module is configured to randomly generate a vehicle coordinate point on each target route.

[0073] In an implementation, the target route determining sub-module is further configured to:

[0074] filtering a non-motorized route in the road network data; and / or,

[0075] filtering a route with a length less than a preset length in the road network data; and / or,

[0076] filtering a route with a curvature greater than a preset curvature in the road network data.

[0077] In an implementation, the display module is further configured to:

[0078] for any vehicle coordinate point, determining a vehicle head direction according to the vehicle coordinate point and a neighboring coordinate point of the vehicle coordinate point, and dynamically displaying a corresponding virtual vehicle on a target route of the vehicle coordinate point according to a preset speed and the vehicle head direction, wherein the neighboring coordinate point of the vehicle coordinate point is located on the target route of the vehicle coordinate point.

[0079] In an implementation, the apparatus can further include:

[0080] The order quantity type determining module is configured to determine a plurality of historical starting points according to historical order data.

[0081] The division module is configured to divide the plurality of historical starting points into a plurality of region blocks.

[0082] The level determining module is configured to determine a level of each region block according to an order quantity of the historical starting points in the region block and / or a point of interest type.

[0083] The radius and quantity setting module is configured to set a radius and a quantity of virtual vehicles to be generated for each region block according to the level of the region block, wherein the set radius and the set quantity are different for region blocks with different levels.

[0084] In an implementation, the division module is further configured to:

[0085] divide the plurality of historical starting points into the plurality of region blocks based on a geographic hash algorithm.

[0086] The functions of each module in each apparatus of the embodiments of the present disclosure can be referred to the corresponding description in the above method, which will not be repeated here.

[0087] According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0088] Figure 7 A schematic block diagram of an example electronic device that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present disclosure described and / or claimed in this document.

[0089] As shown in Figure 7 The electronic device includes a computing unit 701 that can perform various appropriate actions and processes in accordance with a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. Various programs and data required for operation of the electronic device can also be stored in the RAM 703. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0090] Various components in the electronic device are connected to the I / O interface 705, including an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; the storage unit 708, such as a magnetic disk, an optical disk, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows the electronic device to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0091] The computing unit 701 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, and the like. The computing unit 701 performs various methods and processes described above. For example, in some embodiments, the various methods described above can be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 708. In some embodiments, portions or all of the computer program can be loaded and / or installed onto the electronic device via the ROM 702 and / or the communication unit 709. When the computer program is loaded onto the RAM 703 and executed by the computing unit 701, one or more steps of the various methods described above can be performed. Alternatively, in other embodiments, the computing unit 701 can be configured to perform the various methods described above by other any suitable means, such as by means of firmware.

[0092] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (PLD), a computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0093] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor or controller, produces the functions / operations specified in the flowcharts and / or the block diagrams. The program code can be executed entirely on a machine, partially on a machine, partially on a machine and partially on a remote machine or entirely on a remote machine or server.

[0094] In the context of this disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0095] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0096] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.

[0097] The computer system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0098] It should be understood that the various forms of flow shown above can be used to reorder, add, or remove steps. For example, the steps described in the present disclosure can be performed in parallel, in series, or in a different order, as long as the desired results of the technology disclosed in the present disclosure are achieved, which is not limited herein.

[0099] The specific implementation described above does not constitute a limitation on the protection scope of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for displaying virtual vehicles, comprising: determining a target radius and a target number of virtual vehicles to be generated according to a level of a region block to which a target origin belongs, the target number representing a display density of the virtual vehicles; generating vehicle coordinate points corresponding to the target number according to the target origin and the target radius; displaying each virtual vehicle according to each vehicle coordinate point; the generating of the vehicle coordinate points corresponding to the target number according to the target origin and the target radius comprises: generating target coordinate points corresponding to the target number within a range of the target radius with the target origin as a center; for any target coordinate point, obtaining road network data within a preset radius range with the target coordinate point as a center, performing route filtering on the road network data according to a preset filtering criterion to obtain target routes; and randomly generating one vehicle coordinate point on each target route.

2. The method of claim 1, wherein, the performing of the route filtering on the road network data according to the preset filtering criterion comprises: filtering non-motorized routes in the road network data; and / or filtering routes in the road network data with a length less than a preset length; and / or filtering routes in the road network data with a curvature greater than a preset curvature.

3. The method of claim 1 or 2, wherein, the displaying of each virtual vehicle according to each vehicle coordinate point comprises: for any vehicle coordinate point, determining a vehicle head orientation according to the vehicle coordinate point and adjacent coordinate points of the vehicle coordinate point, and dynamically displaying a corresponding virtual vehicle on a target route of the vehicle coordinate point according to a preset speed and the vehicle head orientation, wherein the adjacent coordinate points of the vehicle coordinate point are located on the target route of the vehicle coordinate point. 4.The method of claim 1, further comprising: determining a plurality of historical origins according to historical order data; dividing the plurality of historical origins into a plurality of region blocks; determining a level of each region block according to an order number and / or a point of interest type of the historical origins in the region block; setting a radius and a number of virtual vehicles to be generated for each region block according to the level of the region block, wherein the set radius and the set number are different for region blocks with different levels. 5.The method of claim 4, the dividing of the plurality of historical origins into the plurality of region blocks comprises: dividing the plurality of historical origins into the plurality of region blocks based on a geographic hash algorithm. 6.An apparatus for displaying virtual vehicles, comprising: a radius and number determination module configured to determine a target radius and a target number of virtual vehicles to be generated according to a level of a region block to which a target origin belongs, the target number representing a display density of the virtual vehicles; a vehicle coordinate point generation module configured to generate vehicle coordinate points corresponding to the target number according to the target origin and the target radius; a display module configured to display each virtual vehicle according to each vehicle coordinate point; the vehicle coordinate point generation module comprises: a target coordinate point generation submodule configured to generate target coordinate points corresponding to the target number within a range of the target radius with the target origin as a center; and The target route determining submodule is configured to, for any target coordinate point, obtain road network data within a preset radius range centered on the target coordinate point, and perform route filtering on the road network data according to a preset filtering standard, to obtain a target route. The vehicle coordinate point generating submodule is configured to randomly generate a vehicle coordinate point on each target route.

7. The apparatus of claim 6, wherein, The target route determining submodule is further configured to: filter non-motorized routes in the road network data; and / or, filter routes with a length less than a preset length in the road network data; and / or, filter routes with a curvature greater than a preset curvature in the road network data.

8. The apparatus of claim 6 or 7, wherein, The display module is further configured to: for any vehicle coordinate point, determine a vehicle head orientation according to the vehicle coordinate point and adjacent coordinate points of the vehicle coordinate point, and dynamically display a corresponding virtual vehicle on a target route of the vehicle coordinate point according to a preset speed and the vehicle head orientation, wherein the adjacent coordinate points of the vehicle coordinate point are located on the target route of the vehicle coordinate point.

9. The apparatus of claim 6, further comprising: An order quantity type determining module configured to determine a plurality of historical starting points according to historical order data. A division module configured to divide the plurality of historical starting points into a plurality of region blocks. A level determining module configured to determine a level of each region block according to an order quantity and / or a point of interest type of the historical starting points in the region block. A radius and quantity setting module configured to set a radius and a quantity of virtual vehicles to be generated for each region block according to the level of the region block, wherein the set radius and the set quantity are different for region blocks with different levels.

10. The apparatus of claim 9, wherein the division module is further configured to: divide the plurality of historical starting points into the plurality of region blocks based on a geographic hash algorithm.

11. An electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 5.

12. A non-transitory computer readable storage medium having stored thereon computer instructions, wherein, The computer instructions are configured to enable the computer to perform the method of any one of claims 1 to 5.

13. A computer program product comprising a computer program which, when executed by a processor, implements the method of any one of claims 1 to 5.

Citation Information

Patent Citations

  • Vehicle information display method and device, electronic equipment and storage medium

    CN111339230A