CN115273519A - Road information display method, apparatus, device and medium - Google Patents

Road information display method, apparatus, device and medium Download PDF

Info

Publication number
CN115273519A
CN115273519A CN202210901212.1A CN202210901212A CN115273519A CN 115273519 A CN115273519 A CN 115273519A CN 202210901212 A CN202210901212 A CN 202210901212A CN 115273519 A CN115273519 A CN 115273519A
Authority
CN
China
Prior art keywords
road
target
original
roads
rendering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210901212.1A
Other languages
Chinese (zh)
Inventor
曾益
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202210901212.1A priority Critical patent/CN115273519A/en
Publication of CN115273519A publication Critical patent/CN115273519A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/0962Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
    • G08G1/0968Systems involving transmission of navigation instructions to the vehicle
    • G08G1/0969Systems involving transmission of navigation instructions to the vehicle having a display in the form of a map

Abstract

The disclosure provides a road information display method, a road information display device, road information display equipment and a road information display medium, and relates to the field of geographic information, in particular to the technical field of high-precision maps and the like. The road information display method includes: rendering a road network base map, wherein the road network base map comprises a plurality of target roads, and the rendering style of each target road in the plurality of target roads is a first rendering style corresponding to the target road and is provided with a road identifier corresponding to the target road; and in response to receiving the road condition information display request, aiming at each target road in the multiple target roads, based on the road condition data of the target road, adjusting the rendering pattern of the target road to be a second rendering pattern, wherein the road condition data is acquired from the server based on the road identifier of the corresponding target road, and the second rendering pattern represents the road condition information of the corresponding target road.

Description

Road information display method, apparatus, device and medium
Technical Field
The present disclosure relates to the field of geographic information, and more particularly to the technical field of high-precision maps, and more particularly to a road information display method, a road information display apparatus, an electronic device, a computer-readable storage medium, and a computer program product.
Background
In the prior art, when rendering road information, a road network of a base graph is usually displayed first to present information such as geometric shape of the road network. In addition to the base map network, if it is necessary to display other road information (for example, road condition information and navigation earthworm lines), it is possible to render the shape data to be further distributed.
The approaches described in this section are not necessarily approaches that have been previously conceived or pursued. Unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section. Similarly, the problems mentioned in this section should not be considered as having been acknowledged in any prior art, unless otherwise indicated.
Disclosure of Invention
The present disclosure provides a road information display method, a road information display apparatus, an electronic device, a computer-readable storage medium, and a computer program product.
According to an aspect of the present disclosure, there is provided a road information display method including: rendering a road network base map, wherein the road network base map comprises a plurality of target roads, and the rendering style of each target road in the plurality of target roads is a first rendering style corresponding to the target road and is provided with a road identifier corresponding to the target road; and responding to the received road condition information display request, and aiming at each target road in the multiple target roads, based on the road condition data of the target road, adjusting the rendering pattern of the target road into a second rendering pattern, wherein the road condition data is obtained from the server based on the road identifier of the corresponding target road, and the second rendering pattern represents the road condition information of the corresponding target road.
According to another aspect of the present disclosure, there is provided a road information display device including: the rendering unit is configured to render a road network base map, wherein the road network base map comprises a plurality of target roads, and the rendering style of each target road in the plurality of target roads is a first rendering style corresponding to the target road and is provided with a road identifier corresponding to the target road; and an adjusting unit configured to adjust, for each of a plurality of target roads, a rendering pattern of the target road to a second rendering pattern based on road condition data of the target road in response to receiving the road condition information display request, wherein the road condition data is acquired from the server based on the road identifier of the corresponding target road, and the second rendering pattern represents road condition information of the corresponding target road.
According to another aspect of the present disclosure, there is provided an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method described above.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the above method.
According to another aspect of the disclosure, a computer program product is provided, comprising a computer program, wherein the computer program realizes the above method when executed by a processor.
According to one or more embodiments of the disclosure, road condition information can be displayed on the basis of a road network base map by rendering the road network base map, acquiring road condition data according to road identifications of a plurality of target roads in the road network base map and then adjusting rendering styles of the roads based on the road condition data. By the mode, when the road condition data of the road is obtained, only the information directly related to the road condition can be obtained without obtaining the shape information corresponding to the road condition data, the data size needing to be obtained is reduced, and the rendering style of the road is modified to present the road condition information, so that the consumption of computing resources caused by rendering and drawing work can be reduced.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments of the embodiments and, together with the description, serve to explain the exemplary implementations of the embodiments. The illustrated embodiments are for purposes of example only and do not limit the scope of the claims. Throughout the drawings, identical reference numbers designate similar, but not necessarily identical, elements.
FIG. 1 illustrates a schematic diagram of an exemplary system in which various methods described herein may be implemented, according to an embodiment of the present disclosure;
fig. 2 illustrates a flowchart of a road information display method according to an exemplary embodiment of the present disclosure;
fig. 3A shows a schematic view of a road cut according to an exemplary embodiment of the present disclosure;
FIG. 3B shows a schematic diagram of a road merge according to an example embodiment of the present disclosure;
FIG. 3C shows a schematic diagram of road merging according to an example embodiment of the present disclosure;
fig. 4 illustrates a flowchart of a road information display method according to an exemplary embodiment of the present disclosure;
fig. 5 is a block diagram illustrating a structure of a road information display apparatus according to an exemplary embodiment of the present disclosure; and
FIG. 6 sets forth a block diagram of exemplary electronic devices that can be used to implement embodiments of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of embodiments of the present disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, it will be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the present disclosure, unless otherwise specified, the use of the terms "first", "second", etc. to describe various elements is not intended to limit the positional relationship, the timing relationship, or the importance relationship of the elements, and such terms are used only to distinguish one element from another. In some examples, a first element and a second element may refer to the same instance of the element, while in some cases they may refer to different instances based on the context of the description.
The terminology used in the description of the various described examples in this disclosure is for the purpose of describing the particular examples only and is not intended to be limiting. Unless the context clearly indicates otherwise, if the number of elements is not specifically limited, the element may be one or a plurality of. Furthermore, the term "and/or" as used in this disclosure is intended to encompass any and all possible combinations of the listed items.
In the related art, when rendering road information, a road network of a base map is usually displayed first to present information such as a geometric shape of the road network. In addition to the base map network, if it is necessary to display other road information (for example, road condition information and navigation earthworm lines), it is necessary to further issue shape data corresponding to the road condition information and the navigation earthworm lines and render the shape data. In such a method, a large amount of data needs to be acquired from the server, and drawing needs to be performed a plurality of times, and the drawn shape and the road network base map have a poor degree of fitting and are unstable.
In order to solve the problem, the road network base map is rendered, the road condition data are obtained according to the road identifications of the target roads in the road network base map, and then rendering styles of the roads are adjusted based on the road condition data, so that the road condition information can be displayed on the basis of the road network base map. By the method, when the road condition data of the road is obtained, only the information directly related to the road condition can be obtained without obtaining the shape information corresponding to the road condition data, the data volume needing to be obtained is reduced, and the rendering style of the road is modified to present the road condition information, so that the consumption of computing resources caused by rendering and drawing work can be reduced.
Embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
Fig. 1 illustrates a schematic diagram of an example system 100 in which various methods and apparatus described herein may be implemented in accordance with embodiments of the present disclosure. Referring to fig. 1, the system 100 includes one or more client devices 101, 102, 103, 104, 105, and 106, a server 120, and one or more communication networks 110 coupling the one or more client devices to the server 120. Client devices 101, 102, 103, 104, 105, and 106 may be configured to execute one or more applications.
In an embodiment of the present disclosure, the server 120 may run one or more services or software applications that enable execution of the method for displaying road information.
In some embodiments, the server 120 may also provide other services or software applications that may include non-virtual environments and virtual environments. In certain embodiments, these services may be provided as web-based services or cloud services, such as provided to users of client devices 101, 102, 103, 104, 105, and/or 106 under a software as a service (SaaS) network.
In the configuration shown in fig. 1, server 120 may include one or more components that implement the functions performed by server 120. These components may include software components, hardware components, or a combination thereof, which may be executed by one or more processors. A user operating a client device 101, 102, 103, 104, 105, and/or 106 may, in turn, utilize one or more client applications to interact with the server 120 to take advantage of the services provided by these components. It should be understood that a variety of different system configurations are possible, which may differ from system 100. Accordingly, fig. 1 is one example of a system for implementing the various methods described herein and is not intended to be limiting.
A user may interact with the high-precision map using client devices 101, 102, 103, 104, 105, and/or 106. The client device may provide an interface that enables a user of the client device to interact with the client device, e.g., the client device may receive a road condition information display request of the user. The client device may also output information to the user via the interface, e.g., the client may output corresponding road condition information to the user. Although fig. 1 depicts only six client devices, those skilled in the art will appreciate that any number of client devices may be supported by the present disclosure.
Client devices 101, 102, 103, 104, 105, and/or 106 may include various types of computer devices, such as portable handheld devices, general purpose computers (such as personal computers and laptops), workstation computers, wearable devices, smart screen devices, self-service terminal devices, service robots, gaming systems, thin clients, various messaging devices, sensors or other sensing devices, and so forth. These computer devices may run various types and versions of software applications and operating systems, such as MICROSOFT Windows, APPLE iOS, UNIX-like operating systems, linux, or Linux-like operating systems (e.g., GOOGLE Chrome OS); or include various Mobile operating systems such as MICROSOFT Windows Mobile OS, iOS, windows Phone, android. Portable handheld devices may include cellular telephones, smart phones, tablet computers, personal Digital Assistants (PDAs), and the like. Wearable devices may include head-mounted displays (such as smart glasses) and other devices. The gaming system may include a variety of handheld gaming devices, internet-enabled gaming devices, and the like. The client device is capable of executing a variety of different applications, such as various Internet-related applications, communication applications (e.g., email applications), short Message Service (SMS) applications, and may use a variety of communication protocols.
Network 110 may be any type of network known to those skilled in the art that may support data communications using any of a variety of available protocols, including but not limited to TCP/IP, SNA, IPX, etc. By way of example only, one or more networks 110 may be a Local Area Network (LAN), an ethernet-based network, a token ring, a Wide Area Network (WAN), the internet, a virtual network, a Virtual Private Network (VPN), an intranet, an extranet, a Public Switched Telephone Network (PSTN), an infrared network, a wireless network (e.g., bluetooth, WIFI), and/or any combination of these and/or other networks.
The server 120 may include one or more general purpose computers, special purpose server computers (e.g., PC (personal computer) servers, UNIX servers, mid-end servers), blade servers, mainframe computers, server clusters, or any other suitable arrangement and/or combination. The server 120 may include one or more virtual machines running a virtual operating system, or other computing architecture involving virtualization (e.g., one or more flexible pools of logical storage that may be virtualized to maintain virtual storage for the server). In various embodiments, the server 120 may run one or more services or software applications that provide the functionality described below.
The computing units in server 120 may run one or more operating systems including any of the operating systems described above, as well as any commercially available server operating systems. The server 120 may also run any of a variety of additional server applications and/or middle tier applications, including HTTP servers, FTP servers, CGI servers, JAVA servers, database servers, and the like.
In some implementations, the server 120 may include one or more applications to analyze and consolidate data feeds and/or event updates received from users of the client devices 101, 102, 103, 104, 105, and 106. Server 120 may also include one or more applications to display data feeds and/or real-time events via one or more display devices of client devices 101, 102, 103, 104, 105, and 106.
In some embodiments, the server 120 may be a server of a distributed system, or a server incorporating a blockchain. The server 120 may also be a cloud server, or a smart cloud computing server or a smart cloud host with artificial intelligence technology. The cloud Server is a host product in a cloud computing service system, and is used for solving the defects of high management difficulty and weak service expansibility in the traditional physical host and Virtual Private Server (VPS) service.
The system 100 may also include one or more databases 130. In some embodiments, these databases may be used to store data and other information. For example, one or more of the databases 130 may be used to store information such as audio files and video files. The data store 130 may reside in various locations. For example, the data store used by the server 120 may be local to the server 120, or may be remote from the server 120 and may communicate with the server 120 via a network-based or dedicated connection. The data store 130 may be of different types. In certain embodiments, the data store used by the server 120 may be a database, such as a relational database. One or more of these databases may store, update, and retrieve data to and from the database in response to the command.
In some embodiments, one or more of the databases 130 may also be used by applications to store application data. The databases used by the application may be different types of databases, such as key-value stores, object stores, or regular stores supported by a file system.
The system 100 of fig. 1 may be configured and operated in various ways to enable application of the various methods and apparatus described in accordance with the present disclosure.
According to an aspect of the present disclosure, there is provided a road information display method. As shown in fig. 2, the method includes: step S201, rendering a road network base map, wherein the road network base map comprises a plurality of target roads, and the rendering style of each target road in the plurality of target roads is a first rendering style corresponding to the target road and is provided with a road identifier corresponding to the target road; and step S202, responding to the received road condition information display request, aiming at each target road in the multiple target roads, based on the road condition data of the target road, adjusting the rendering style of the target road to be a second rendering style, wherein the road condition data is obtained from the server based on the road identification of the corresponding target road, and the second rendering style represents the road condition information of the corresponding target road.
Therefore, the road condition information can be displayed on the basis of the road network base map by rendering the road network base map, acquiring the road condition data according to the road identifications of the target roads in the road network base map and then adjusting the rendering patterns of the roads based on the road condition data. By the method, when the road condition data of the road is obtained, only the information directly related to the road condition can be obtained without obtaining the shape information corresponding to the road condition data, the data volume needing to be obtained is reduced, and the rendering style of the road is modified to present the road condition information, so that the consumption of computing resources caused by rendering and drawing work can be reduced.
According to some embodiments, the method of the present disclosure may be used for various types of software or services related to electronic maps. In an electronic map, a road network base map (or a base map network) is the bottommost image in a plurality of map layers, and constitutes a basic framework of the map. Different objects, such as roads, intersections, bridges, buildings, etc., can be represented in different ways (e.g., different shapes, colors, etc.) in the road network base map.
The data of the road network base map can be periodically or aperiodically acquired from the server, or can be stored by the client. The data of the road network base map can be transmitted, stored and rendered in a grid unit. In an exemplary embodiment, a mesh with a size of 512 meters × 512 meters may be used as a basic constituent unit of the road network base graph. It is understood that the mesh in the road network base map may have other sizes. In the data corresponding to each mesh, data related to roads within the mesh, such as road Identification (ID), shape data, various style information, and the like, may be included. By rendering the mesh, elements such as roads within the mesh may be presented in the display area of the client.
The data of the road network base map can be different under different scales. In one exemplary embodiment, at the first resolution, the size of the grid in the road network subgraph graph is 512 meters by 512 meters; at a second resolution different from the first resolution, the size of the mesh in the road network roadmap is 1024 meters by 1024 meters. Thus, meshes at different scales may include different content, but it is noted that the same object (e.g., the same road) has the same identification in different meshes. That is, the same road, although possibly having different shapes in the meshes at different scales, has the same road sign in both of the meshes.
In some embodiments, the target road may span multiple adjacent meshes, and data related to the target road, such as an ID, a style, etc., may be stored in each mesh. If the rendering style of the target road is adjusted in one mesh, the adjustment needs to be performed simultaneously in all meshes.
The target road may be all the roads in the road network base map, or may be a part of the roads. In some embodiments, to save the amount of data retrieved from the server, each of the plurality of target roads is displayed at least partially in the display area of the client. That is, the target road is a road displayed in a display area (e.g., a map interface in an application) of the client. In some embodiments, after detecting the operation of swiping, zooming in, zooming out, etc. on the map, all roads in the display area after the operation may be used as target roads, and the road condition information may be displayed. It can be understood that, since the same road corresponds to the same ID at different scales, after the map is subjected to the above operations, part of the road condition information of the target road displayed in the display area of the client may be cached on the client, and at this time, only the road condition information of another part of the target road for which the road condition information has not been acquired may be acquired, so as to further reduce the amount of data to be acquired.
According to some embodiments, the road network base map is obtained by rendering shape data of each of a plurality of original roads in the original road network data. When the base graph road network is compiled and rendered, due to the existence of the up-down row and the road junction surface, or due to other reasons, part of the original road can be cut, merged or merged, so that the finally rendered road and the original road are not identical. In the process, the ID of part of the original road may be lost, and since the actually rendered road may not exist on the server, the traffic information of the road cannot be directly obtained from the server. Therefore, the IDs of the original roads can be recorded first during compiling and rendering, so that the IDs of the original roads corresponding to the actual rendered roads can be found when the road condition information of the actual rendered roads is obtained, and the corresponding road condition information can be successfully obtained. In some embodiments, each of the plurality of target roads may be obtained by performing at least one of retaining, cutting, merging, or merging on at least a portion of the plurality of original roads, the road identifier of the target road may include a road identifier of the corresponding at least a portion of the original roads, the road condition data of the target road may be obtained from the server based on the road identifier of the corresponding at least a portion of the original roads, and the second rendering style of the target road may characterize the road condition information of the corresponding at least a portion of the original roads.
In some embodiments, the rendering style of the road may include a variety of different settings, such as fill color, transparency, edge color, whether to fade, and so forth. The first rendering style, the second rendering style, and hereinafter, the third rendering style may be set by those skilled in the art as needed so that they can reflect various types of information related to a road. In one exemplary embodiment, congestion may be represented by red, clear by blue, and the earthworm line navigated by green.
According to some embodiments, the first target road and the second target road of the plurality of target roads may be obtained by cutting a first original road of the plurality of original roads, and each of the first target road and the second target road may be obtained by rendering based on shape data of the first original road. The road marking of the first target road and the road marking of the second target road may each comprise a road marking of the first original road.
In some embodiments, the first target road may correspond to a first portion of the first original road, and the second target road may correspond to a second portion of the first original road, so that the first target road may be rendered based on the shape data of the first portion of the first original road, and the second target road may be rendered based on the shape data of the second portion of the first original road, so that the finally rendered first target road and second original road may correctly embody the shape information of the first original road. It is understood that a junction node may be rendered at the junction between the first target road and the second target road to make the junction transition between the first target road and the second target road more natural and avoid gaps. The rendering style of the connection node may be the same as the first target road, the same as the second target road, or other configurations, which are not limited herein.
In some embodiments, as shown in fig. 3A, the original road L1 is cut into the target roads L11 and L12, and the IDs of the target roads L11 and L12 may be recorded as L11: L1 and L12: L1, respectively.
According to some embodiments, the second rendering style corresponding to the first target road and the second rendering style corresponding to the second target road may both represent road condition information of the first original road. Therefore, the first target road and the second target road can both reflect correct road condition information.
According to some embodiments, the third target road of the plurality of target roads may be obtained by merging a second original road and a third original road of the plurality of original roads, and the third target road may be obtained by rendering based on shape data of the second original road and shape data of the third original road. The link identification of the third target link may include a link identification of the second original link and a link identification of the third original link.
In some embodiments, as shown in fig. 3B, the original roads L1 and L2 are merged into the target road L12, then the target road L12 may include a first part corresponding to L1 and a second part corresponding to L2, and the ID of the first part of L12 may be recorded as L1: L12, and the ID of the second part of L12 may be recorded as L2: L12.
According to some embodiments, the third target road may include a first portion corresponding to the second original road and a second portion corresponding to the third original road. The second rendering pattern corresponding to the first portion of the third target road may represent traffic information of the second original road, and the second rendering pattern corresponding to the second portion of the third target road may represent traffic information of the third original road. Therefore, the third target road can embody the correct road condition information. It will be appreciated that, in rendering the third target road, a junction node may be rendered at the junction between the first and second portions of the third target road to make the junction transition between the first and second portions of the third target road more natural and avoid gaps. The rendering style of the connection node may be the same as that of the third target road, or may be set in other manners, which is not limited herein.
According to some embodiments, the fourth target road of the plurality of target roads may be obtained by merging the fourth original road of the plurality of original roads to the fifth original road, and the fourth target road may be obtained by rendering based on the shape data of the fifth original road. The road identification of the fourth target road may include a road identification of the fourth original road and a road identification of the fifth original road.
In some embodiments, as shown in fig. 3C, the original road L1 is merged into the original/target road L2, then the ID discarded by L1 may be attributed into L2, and the ID of L2 may be recorded as L1, L2.
According to some embodiments, the second rendering style corresponding to the fourth target road may represent road condition information of the fifth original road. Therefore, the fourth target road can embody the correct road condition information.
According to some embodiments, as shown in fig. 4, the road information display method may further include: step S403, in response to receiving the navigation request, determining respective road identifiers of a plurality of navigation roads and a plurality of navigation roads; step S404, determining at least one part of target roads consistent with a plurality of navigation roads in the plurality of target roads based on the road identification; and step S405, adjusting the rendering style of at least one part of the target road into a third rendering style, wherein the third rendering style represents the navigation information of the corresponding target road. It is understood that the operations of step S401 to step S402 in fig. 4 are similar to the operations of step S201 to step S202 in fig. 2, and are not described herein again. Therefore, the navigation earthworm line is displayed in a rendering style adjusting mode, so that the data volume required to be acquired is further reduced, and the navigation earthworm line can be perfectly attached to the base map.
When the navigation initiates planning, a list of road IDs that a user needs to pass through can be sent to an engine end responsible for rendering and drawing, and after the engine receives the IDs, the corresponding road network information is found in a map area range (for example, a display area of a client), and the navigation information can be displayed by directly changing the rendering style of the road, similar to the display mode of the road condition information. It is understood that a person skilled in the art may set the corresponding third rendering style by himself or herself to implement the presentation of the navigation information. In some embodiments, some connection nodes are further included between the navigation roads, for example, intersections, and the rendering styles of these connection nodes may be modified according to the actual conditions of the navigation roads connected thereto, so that the finally obtained rendering result can accurately embody the navigation information. In an exemplary embodiment, roads are connected to the intersection a in four directions, namely, east, west, south and north, wherein the road m on the west side and the road n on the south side of the intersection a belong to navigation roads, and the rendering style of the intersection a can be modified so that the road m and the road n are connected through earthworm lines.
According to some embodiments, as shown in fig. 4, the road information display method further includes: step S406, responding to the received query request, and determining a road to be queried corresponding to the query request in the plurality of target roads; and step S407, displaying a query result corresponding to the road to be queried, wherein the query result is obtained from the server based on the road identification of the road to be queried. Therefore, after receiving the query request, the corresponding road to be queried can be determined, and then the corresponding query result can be obtained based on the ID of the road to be queried, such as restaurants around the road, gas stations, hospitals, entertainment facilities and the like.
According to another aspect of the present disclosure, a road information display device is also disclosed. As shown in fig. 5, the apparatus 500 includes: a rendering unit 510 configured to render a road network base map, wherein the road network base map comprises a plurality of target roads, and a rendering style of each of the plurality of target roads is a first rendering style corresponding to the target road and has a road identifier corresponding to the target road; and a first adjusting unit 520 configured to adjust, for each of a plurality of target roads, the rendering pattern of the target road to a second rendering pattern based on the road condition data of the target road, in response to receiving the road condition information display request, wherein the road condition data is obtained from the server based on the road identifier of the corresponding target road, and the second rendering pattern represents the road condition information of the corresponding target road. It is understood that operations of the units 510 to 520 in the apparatus 500 are similar to those of the steps S201 to S202 in fig. 2, and are not repeated herein.
According to some embodiments, each target road of the plurality of target roads is at least partially displayed in a display area of the client.
According to some embodiments, the road network base map is rendered based on shape data of each of a plurality of original roads, wherein each of a plurality of target roads is obtained by performing at least one of retaining, cutting, merging, or merging on at least a part of the original roads in the plurality of original roads, road identifications of the target roads include road identifications of the corresponding at least a part of the original roads, the road condition data of the target roads is acquired from the server based on the road identifications of the corresponding at least a part of the original roads, and the second rendering pattern of the target roads characterizes the road condition information of the corresponding at least a part of the original roads.
According to some embodiments, the first target road and the second target road of the plurality of target roads are obtained by cutting a first original road of the plurality of original roads, and the first target road and the second target road are each obtained by rendering based on shape data of the first original road, wherein the road identifier of the first target road and the road identifier of the second target road each include the road identifier of the first original road.
According to some embodiments, the second rendering style corresponding to the first target road and the second rendering style corresponding to the second target road both represent road condition information of the first original road.
According to some embodiments, the third target road of the plurality of target roads is obtained by merging a second original road and a third original road of the plurality of original roads, and the third target road is obtained by rendering based on shape data of the second original road and shape data of the third original road, wherein the road identifier of the third target road includes a road identifier of the second original road and a road identifier of the third original road.
According to some embodiments, the third target road includes a first portion corresponding to the second original road and a second portion corresponding to the third original road, wherein the second rendering style corresponding to the first portion of the third target road represents the traffic information of the second original road, and the second rendering style corresponding to the second portion of the third target road represents the traffic information of the third original road.
According to some embodiments, the fourth target road of the plurality of target roads is obtained by merging a fourth original road of the plurality of original roads into a fifth original road, and the fourth target road is obtained by rendering based on shape data of the fifth original road, wherein the road identifier of the fourth target road includes a road identifier of the fourth original road and a road identifier of the fifth original road.
According to some embodiments, the second rendering style corresponding to the fourth target road represents road condition information of the fifth original road.
According to some embodiments, the apparatus 500 may further comprise: a first determination unit configured to determine, in response to receiving the navigation request, respective road identifications of a plurality of navigation roads and a plurality of navigation roads; a second determination unit configured to determine at least a part of the target road in accordance with the plurality of navigation roads, among the plurality of target roads, based on the road identification; and a second adjusting unit configured to adjust the rendering style of at least a part of the target road to a third rendering style, the third rendering style representing navigation information of the corresponding target road.
According to some embodiments, the apparatus 500 may further comprise: a third determination unit configured to determine a road to be queried corresponding to the query request among the plurality of target roads in response to receiving the query request; and a display unit configured to display a query result corresponding to the road to be queried, wherein the query result is acquired from the server based on the road identification of the road to be queried.
In the technical scheme of the disclosure, the collection, storage, use, processing, transmission, provision, disclosure and other processing of the personal information of the related user are all in accordance with the regulations of related laws and regulations and do not violate the good customs of the public order.
According to an embodiment of the present disclosure, there is also provided an electronic device, a readable storage medium, and a computer program product.
Referring to fig. 6, a block diagram of a structure of an electronic device 600, which may be a server or a client of the present disclosure, which is an example of a hardware device that may be applied to aspects of the present disclosure, will now be described. Electronic device is intended to represent various forms of digital electronic computer devices, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data required for the operation of the device 600 can also be stored. The calculation unit 601, the ROM 602, and the RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
A number of components in the device 600 are connected to the I/O interface 605, including: an input unit 606, an output unit 607, a storage unit 608, and a communication unit 609. The input unit 606 may be any type of device capable of inputting information to the device 600, and the input unit 606 may receive input numeric or character information and generate key signal inputs related to user settings and/or function controls of the electronic device, and may include, but is not limited to, a mouse, a keyboard, a touch screen, a track pad, a track ball, a joystick, a microphone, and/or a remote control. Output unit 607 may be any type of device capable of presenting information and may include, but is not limited to, a display, speakers, a video/audio output terminal, a vibrator, and/or a printer. The storage unit 608 may include, but is not limited to, a magnetic disk, an optical disk. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers, and/or chipsets, such as bluetooth (TM) devices, 802.11 devices, wiFi devices, wiMax devices, cellular communication devices, and/or the like.
Computing unit 601 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning network algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 601 performs the respective methods and processes described above, such as a road information display method. For example, in some embodiments, the road information display method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 608. In some embodiments, part or all of a computer program may be loaded onto and/or installed onto device 600 via ROM 602 and/or communications unit 609. When the computer program is loaded into the RAM603 and executed by the computing unit 601, one or more steps of the road information display method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the road information display method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may 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 a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
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 a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; 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.
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: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may 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, also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service ("Virtual Private Server", or simply "VPS"). The server may also be a server of a distributed system, or a server incorporating a blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be performed in parallel, sequentially or in different orders, and are not limited herein as long as the desired results of the technical aspects of the present disclosure can be achieved.
While embodiments or examples of the present disclosure have been described with reference to the accompanying drawings, it is to be understood that the above-described methods, systems and apparatus are merely illustrative embodiments or examples and that the scope of the invention is not to be limited by these embodiments or examples, but only by the claims as issued and their equivalents. Various elements in the embodiments or examples may be omitted or may be replaced with equivalents thereof. Further, the steps may be performed in an order different from that described in the present disclosure. Further, the various elements in the embodiments or examples may be combined in various ways. It is important that as technology evolves, many of the elements described herein may be replaced with equivalent elements that appear after the present disclosure.

Claims (25)

1. A road information display method, comprising:
rendering a road network base map, wherein the road network base map comprises a plurality of target roads, the rendering style of each target road in the plurality of target roads is a first rendering style corresponding to the target road, and the rendering style of each target road is provided with a road identifier corresponding to the target road; and
and responding to a received road condition information display request, and aiming at each target road in the multiple target roads, adjusting the rendering style of the target road to be a second rendering style based on the road condition data of the target road, wherein the road condition data is obtained from the server based on the road identifier of the corresponding target road, and the second rendering style represents the road condition information of the corresponding target road.
2. The method of claim 1, wherein each of the plurality of target roads is displayed at least partially in a display area of a client.
3. The method according to claim 1 or 2, wherein the road map is rendered based on shape data of each of a plurality of original roads, wherein each of the plurality of target roads is obtained by performing at least one of retaining, cutting, merging or merging on at least a part of the original roads in the plurality of original roads, the road identifiers of the target roads include road identifiers of the corresponding at least a part of the original roads, the road condition data of the target roads is obtained from the server based on the road identifiers of the corresponding at least a part of the original roads, and the second rendering pattern of the target roads characterizes the road condition information of the corresponding at least a part of the original roads.
4. The method of claim 3, wherein a first target road and a second target road of the plurality of target roads are obtained by cutting a first original road of the plurality of original roads, and the first target road and the second target road are each obtained by rendering based on shape data of the first original road, wherein the road identifier of the first target road and the road identifier of the second target road each include the road identifier of the first original road.
5. The method of claim 4, wherein the second rendering style corresponding to the first target road and the second rendering style corresponding to the second target road both represent road condition information of the first original road.
6. The method of claim 3, wherein a third target road of the plurality of target roads is obtained by merging a second original road and a third original road of the plurality of original roads, and the third target road is obtained by rendering based on shape data of the second original road and shape data of the third original road, wherein the road identifier of the third target road comprises a road identifier of the second original road and a road identifier of the third original road.
7. The method of claim 6, wherein the third target road comprises a first portion corresponding to the second original road and a second portion corresponding to the third original road, wherein the second rendering style corresponding to the first portion of the third target road represents the traffic information of the second original road, and the second rendering style corresponding to the second portion of the third target road represents the traffic information of the third original road.
8. The method of claim 3, wherein a fourth target road of the plurality of target roads is obtained by merging the fourth original road of the plurality of original roads into a fifth original road, and the fourth target road is obtained by rendering based on shape data of the fifth original road, wherein the road identifier of the fourth target road comprises a road identifier of the fourth original road and a road identifier of the fifth original road.
9. The method of claim 8, wherein the second rendering style corresponding to the fourth target road characterizes traffic information of the fifth original road.
10. The method according to any one of claims 1-9, further comprising:
in response to receiving a navigation request, determining a plurality of navigation roads and respective road identifications of the plurality of navigation roads;
determining at least a portion of the target roads in the plurality of target roads that are consistent with the plurality of navigation roads based on the road identification; and
and adjusting the rendering style of at least one part of the target road into a third rendering style, wherein the third rendering style represents the navigation information of the corresponding target road.
11. The method according to any one of claims 1-10, further comprising:
in response to receiving an inquiry request, determining a road to be inquired corresponding to the inquiry request in the target roads; and
and displaying a query result corresponding to the road to be queried, wherein the query result is acquired from the server based on the road identification of the road to be queried.
12. A road information display device comprising:
the rendering unit is configured to render a road network base map, wherein the road network base map comprises a plurality of target roads, the rendering style of each target road in the plurality of target roads is a first rendering style corresponding to the target road, and the rendering style has a road identifier corresponding to the target road; and
a first adjusting unit configured to adjust, for each of the plurality of target roads, a rendering pattern of the target road to a second rendering pattern based on road condition data of the target road, in response to receiving the road condition information display request, where the road condition data is obtained from the server based on the road identifier of the corresponding target road, and the second rendering pattern represents road condition information of the corresponding target road.
13. The apparatus of claim 12, wherein each of the plurality of target roads is displayed at least partially in a display area of a client.
14. The apparatus according to claim 12 or 13, wherein the road map is rendered based on shape data of each of a plurality of original roads, wherein each of the plurality of target roads is obtained by performing at least one of retaining, cutting, merging, or merging on at least a part of the original roads in the plurality of original roads, the road identifiers of the target roads include road identifiers of the corresponding at least a part of the original roads, the road condition data of the target roads is obtained from the server based on the road identifiers of the corresponding at least a part of the original roads, and the second rendering pattern of the target roads characterizes the road condition information of the corresponding at least a part of the original roads.
15. The apparatus of claim 14, wherein a first target road and a second target road of the plurality of target roads are obtained by cutting a first original road of the plurality of original roads, and the first target road and the second target road are each obtained by rendering based on shape data of the first original road, wherein the road identifier of the first target road and the road identifier of the second target road each include the road identifier of the first original road.
16. The apparatus of claim 15, wherein the second rendering style corresponding to the first target road and the second rendering style corresponding to the second target road both represent road condition information of the first original road.
17. The apparatus of claim 14, wherein a third target road of the plurality of target roads is obtained by merging a second original road and a third original road of the plurality of original roads, and the third target road is obtained by rendering based on shape data of the second original road and shape data of the third original road, wherein the road identifier of the third target road comprises a road identifier of the second original road and a road identifier of the third original road.
18. The apparatus of claim 17, wherein the third target road comprises a first portion corresponding to the second original road and a second portion corresponding to the third original road, wherein the second rendering style corresponding to the first portion of the third target road represents the traffic information of the second original road, and the second rendering style corresponding to the second portion of the third target road represents the traffic information of the third original road.
19. The apparatus of claim 14, wherein a fourth target road of the plurality of target roads is obtained by merging the fourth original road of the plurality of original roads into a fifth original road, and the fourth target road is obtained by rendering based on shape data of the fifth original road, wherein the road identifier of the fourth target road comprises a road identifier of the fourth original road and a road identifier of the fifth original road.
20. The apparatus of claim 19, wherein the second rendering style corresponding to the fourth target road characterizes traffic information of the fifth original road.
21. The apparatus of any of claims 12-20, further comprising:
a first determination unit configured to determine a plurality of navigation roads and respective road identifications of the plurality of navigation roads in response to receiving a navigation request;
a second determination unit configured to determine at least a part of the target road in accordance with the plurality of navigation roads among the plurality of target roads based on the road identification; and
a second adjusting unit configured to adjust the rendering style of the at least a portion of the target road into a third rendering style, where the third rendering style represents navigation information of a corresponding target road.
22. The apparatus of any of claims 12-21, further comprising:
a third determination unit configured to determine a road to be queried corresponding to an inquiry request among the plurality of target roads in response to receiving the inquiry request; and
the display unit is configured to display an inquiry result corresponding to the road to be inquired, wherein the inquiry result is acquired from the server based on the road identification of the road to be inquired.
23. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-11.
24. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-11.
25. A computer program product comprising a computer program, wherein the computer program realizes the method of any one of claims 1-11 when executed by a processor.
CN202210901212.1A 2022-07-28 2022-07-28 Road information display method, apparatus, device and medium Pending CN115273519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210901212.1A CN115273519A (en) 2022-07-28 2022-07-28 Road information display method, apparatus, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210901212.1A CN115273519A (en) 2022-07-28 2022-07-28 Road information display method, apparatus, device and medium

Publications (1)

Publication Number Publication Date
CN115273519A true CN115273519A (en) 2022-11-01

Family

ID=83770211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210901212.1A Pending CN115273519A (en) 2022-07-28 2022-07-28 Road information display method, apparatus, device and medium

Country Status (1)

Country Link
CN (1) CN115273519A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101639850A (en) * 2009-06-01 2010-02-03 北京四维图新科技股份有限公司 Merging method of road network data and merging device
CN103177577A (en) * 2011-12-26 2013-06-26 北京掌城科技有限公司 Dynamic traffic information service providing method based on map layer overlapping
CN103208226A (en) * 2012-01-17 2013-07-17 深圳市腾讯计算机系统有限公司 Method and device for rendering interchange road in electronic map system
CN104077326A (en) * 2013-03-29 2014-10-01 北京图盟科技有限公司 Road data processing method and device
CN106599217A (en) * 2016-12-16 2017-04-26 广东威创视讯科技股份有限公司 Road condition display method and apparatus
CN107192393A (en) * 2017-07-20 2017-09-22 南京多伦科技股份有限公司 The maintenance system and method for a kind of road-map-data
CN110887499A (en) * 2018-09-11 2020-03-17 高德信息技术有限公司 Method and terminal for processing road data and interest point data in map
CN113758486A (en) * 2021-08-20 2021-12-07 阿里巴巴新加坡控股有限公司 Path display method, device and computer program product

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101639850A (en) * 2009-06-01 2010-02-03 北京四维图新科技股份有限公司 Merging method of road network data and merging device
CN103177577A (en) * 2011-12-26 2013-06-26 北京掌城科技有限公司 Dynamic traffic information service providing method based on map layer overlapping
CN103208226A (en) * 2012-01-17 2013-07-17 深圳市腾讯计算机系统有限公司 Method and device for rendering interchange road in electronic map system
CN104077326A (en) * 2013-03-29 2014-10-01 北京图盟科技有限公司 Road data processing method and device
CN106599217A (en) * 2016-12-16 2017-04-26 广东威创视讯科技股份有限公司 Road condition display method and apparatus
CN107192393A (en) * 2017-07-20 2017-09-22 南京多伦科技股份有限公司 The maintenance system and method for a kind of road-map-data
CN110887499A (en) * 2018-09-11 2020-03-17 高德信息技术有限公司 Method and terminal for processing road data and interest point data in map
CN113758486A (en) * 2021-08-20 2021-12-07 阿里巴巴新加坡控股有限公司 Path display method, device and computer program product

Similar Documents

Publication Publication Date Title
CN113986788A (en) Data processing method and device, chip, electronic device and medium
CN115578433A (en) Image processing method, image processing device, electronic equipment and storage medium
CN113656423A (en) Method and device for updating data, electronic equipment and storage medium
CN113377809A (en) Data processing method and apparatus, computing device, and medium
CN114723949A (en) Three-dimensional scene segmentation method and method for training segmentation model
CN115265559A (en) Map automatic generation method, device, equipment and medium
CN114924862A (en) Task processing method, device and medium implemented by integer programming solver
CN113326403A (en) Flowchart rendering method and device, electronic equipment and medium
CN114913549B (en) Image processing method, device, equipment and medium
CN115273519A (en) Road information display method, apparatus, device and medium
CN116306396A (en) Chip verification method and device, equipment and medium
CN115797660A (en) Image detection method, image detection device, electronic equipment and storage medium
CN114299192B (en) Method, device, equipment and medium for positioning and mapping
CN114742935A (en) Method, apparatus, electronic device, and medium for processing map data
CN115601555A (en) Image processing method and apparatus, device and medium
CN114923498A (en) Navigation route planning method and device, equipment and medium
CN114491269A (en) Recommendation method, device, equipment and medium for travel service
CN114676062A (en) Method and device for testing difference data of interface, electronic equipment and medium
CN115060250A (en) Method, apparatus, electronic device, and medium for updating map data
CN115345981B (en) Image processing method, image processing device, electronic equipment and storage medium
CN113704304B (en) Intersection data processing method, intersection retrieval method and device
CN116793336A (en) Road data processing method and device, electronic equipment and storage medium
CN114238792A (en) Method and device for track point data mining, electronic equipment and medium
CN117523027A (en) Map drawing method, map drawing device, electronic equipment and storage medium
CN114037778A (en) Method and device for producing map in high-precision map

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination