Road condition publishing method and device of electronic map and electronic equipment

By acquiring trajectory data from the electronic map production end to generate traffic data, and then mapping and processing it on the application end, the problem of resource waste on the electronic map production end is solved, and efficient traffic data release and cost reduction are achieved.

CN121456069APending Publication Date: 2026-02-03LINKTECH NAVI TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411039459.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2026-02-03

AI Technical Summary

Technical Problem

In existing technologies, the frequent release of new versions of road networks by electronic map producers leads to a waste of computing and storage resources, and the cost of releasing road conditions is too high. Meanwhile, electronic map applications update at a low frequency and are difficult to be compatible with multiple versions of road condition data.

Method used

The electronic map production end acquires trajectory data and generates traffic data. The application end performs traffic mapping processing based on the mapping relationship, realizing efficient release of traffic data and reducing the computing and storage requirements of the production end.

Benefits of technology

By delegating the initiative in traffic condition mapping to the application end, the electronic map production end only needs to produce one copy of traffic condition data, reducing the consumption of computing and storage resources, lowering costs, and providing high responsiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121456069A_ABST
    Figure CN121456069A_ABST
Patent Text Reader

Abstract

The invention provides a road condition publishing method and device for an electronic map, electronic equipment, a computer readable storage medium and a computer program product. The method comprises the steps of obtaining track data of an electronic map; performing road condition production processing according to the track data of the electronic map and the production version road network of the electronic map to obtain production road condition data; sending the production road condition data to an electronic map application end; wherein the electronic map application end uses an application version road network of the electronic map; the electronic map application end is used for performing road condition mapping processing on the production road condition data according to the target mapping relation to obtain application road condition data; the target mapping relation represents the mapping relation from the production version road network to the application version road network of the electronic map. According to the invention, the road condition publishing cost can be reduced while efficient road condition publishing is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to computer technology, and more particularly to a method, apparatus, electronic device, computer-readable storage medium, and computer program product for publishing traffic conditions on an electronic map. Background Technology

[0002] In the public transportation sector, electronic map production and application together form an upstream and downstream service ecosystem. Electronic map production is responsible for generating electronic map data, which forms the foundation for the electronic map applications running on the application side. Considering that real-world roads are constantly changing, electronic map production needs to continuously release new versions of the road network. However, electronic map applications often cannot keep up with the release pace of electronic map production. For example, electronic map production typically releases versions daily or half-day, while electronic map applications update monthly, quarterly, semi-annually, or even annually.

[0003] A single electronic map production platform often interfaces with multiple electronic map applications, resulting in various electronic map applications potentially using different versions of the road network. In solutions provided by related technologies, to ensure compatibility across different electronic map applications, the electronic map production platform typically generates traffic data corresponding to the road network versions used by each application. However, generating traffic data (for a specific road network version) requires high-performance algorithms and substantial machine resources. Following the solutions provided by these technologies would consume significant computing and storage resources, leading to excessively high costs for traffic data publishing. Summary of the Invention

[0004] This application provides a method, apparatus, electronic device, computer-readable storage medium, and computer program product for publishing traffic conditions on electronic maps, which can reduce the cost of publishing traffic conditions while achieving efficient traffic condition publishing.

[0005] The technical solution of this application is implemented as follows:

[0006] This application provides a method for publishing traffic conditions on electronic maps, applied to the electronic map production end; the method includes:

[0007] Obtain trajectory data from electronic maps;

[0008] Based on the trajectory data of the electronic map and the road network of the production version of the electronic map, traffic condition production processing is performed to obtain production traffic condition data;

[0009] The production road condition data is sent to the electronic map application.

[0010] The electronic map application uses the application version of the electronic map's road network; the electronic map application is used to perform road condition mapping processing on the production road condition data according to the target mapping relationship to obtain application road condition data; the target mapping relationship represents the mapping relationship from the production version of the electronic map's road network to the application version of the road network.

[0011] This application provides a method for publishing traffic conditions on an electronic map, applied to an electronic map application client, wherein the electronic map application client uses the application version of the electronic map's road network; the method includes:

[0012] Receive production traffic data from the electronic map production terminal; wherein, the production traffic data is obtained by processing traffic data based on the trajectory data of the electronic map and the road network of the production version of the electronic map.

[0013] The production road condition data is processed by road condition mapping according to the target mapping relationship to obtain application road condition data; wherein, the target mapping relationship represents the mapping relationship from the production version road network of the electronic map to the application version road network;

[0014] The electronic map application runs based on the traffic data provided.

[0015] This application provides a traffic information publishing device for electronic maps, applied to the electronic map production end; the device includes:

[0016] The acquisition module is used to acquire trajectory data from the electronic map;

[0017] The road condition production module is used to process road conditions based on the trajectory data of the electronic map and the road network of the production version of the electronic map to obtain production road condition data.

[0018] The traffic condition sending module is used to send the production traffic condition data to the electronic map application terminal;

[0019] The electronic map application uses the application version of the electronic map's road network; the electronic map application is used to perform road condition mapping processing on the production road condition data according to the target mapping relationship to obtain application road condition data; the target mapping relationship represents the mapping relationship from the production version of the electronic map's road network to the application version of the road network.

[0020] In the above scheme, the traffic information display device for the electronic map also includes:

[0021] The version determination module is used to determine the application version of the road network used by the electronic map application terminal from multiple versions of the road network of the electronic map;

[0022] The mapping relationship production module is used to generate target mapping relationships based on the production version road network and the application version road network of the electronic map.

[0023] The mapping relationship sending module is used to send the target mapping relationship to the electronic map application terminal.

[0024] In the above scheme, the version determination module is also used for:

[0025] Multiple versions of the electronic map are sent to the electronic map application terminal; wherein each version corresponds to a version of the road network;

[0026] In response to the road network download request initiated by the electronic map application based on the application version information, the road network corresponding to the application version information is determined as the application version road network used by the electronic map application; wherein, the application version information is one of the multiple version information;

[0027] The electronic map traffic information dissemination device also includes a road network transmission module, used for:

[0028] The application version of the electronic map is sent to the electronic map application terminal.

[0029] In the above scheme, the mapping relationship production module is further used for:

[0030] The correspondence between the electronic map application terminal and the road network of the electronic map application version is stored in a persistent database;

[0031] When the production version of the electronic map is released, the corresponding relationship in the persistent database is queried to generate the target mapping relationship based on the production version of the electronic map and the application version of the road network.

[0032] In the above scheme, the mapping relationship sending module is further configured to:

[0033] The target mapping relationship is stored in a distributed file system;

[0034] In response to the mapping relationship download request from the electronic map application, the target mapping relationship is queried in the distributed file system, and the queried target mapping relationship is sent to the electronic map application.

[0035] In the above scheme, the electronic map production terminal includes a traffic condition production service and a traffic condition download service, wherein the traffic condition production service is used for traffic condition production processing; the traffic condition sending module is further used for:

[0036] The production road condition data is stored in the cache database through the road condition production service;

[0037] The production road condition data is retrieved from the cache database through the road condition download service, and the production road condition data is stored in memory;

[0038] In response to a traffic download request from the electronic map application, the traffic download service queries the production traffic data in memory and sends the retrieved production traffic data to the electronic map application.

[0039] In the above scheme, the electronic map includes multiple areas; the road condition generation module is also used for:

[0040] Based on the trajectory data corresponding to the multiple regions and the road network of the production version of the electronic map, traffic condition production processing is performed to obtain the production traffic condition data corresponding to the multiple regions.

[0041] The traffic condition reporting module is also used for:

[0042] In response to a traffic condition download request initiated by the electronic map application based on a target area, the production traffic condition data corresponding to the target area is sent to the electronic map application; wherein, the target area includes at least a portion of the plurality of areas.

[0043] In the above scheme, the trajectory data of the electronic map includes the driving trajectories of multiple vehicles, and the road network of the production version of the electronic map includes multiple roads; the road condition production module is also used for:

[0044] The driving trajectories of the multiple vehicles are matched with the multiple roads;

[0045] The road conditions of each road are determined based on the driving trajectory that is successfully matched with each road.

[0046] The road conditions corresponding to the multiple roads are merged to obtain the production road condition data.

[0047] This application provides a traffic information publishing device for an electronic map, applied to an electronic map application terminal, wherein the electronic map application terminal uses the application version of the electronic map's road network; the device includes:

[0048] The traffic condition receiving module is used to receive traffic condition data produced by the electronic map production end; wherein, the produced traffic condition data is obtained by processing the traffic condition data based on the trajectory data of the electronic map and the road network of the production version of the electronic map.

[0049] The traffic mapping module is used to perform traffic mapping processing on the production traffic data according to the target mapping relationship to obtain application traffic data; wherein, the target mapping relationship represents the mapping relationship from the production version road network of the electronic map to the application version road network;

[0050] The traffic application module is used to run electronic map applications based on the traffic data provided in the application.

[0051] In the above scheme, the electronic map traffic information dissemination device also includes a mapping relationship receiving module, used for:

[0052] Receive the target mapping relationship sent by the electronic map production terminal;

[0053] The electronic map traffic information display device also includes a mapping relationship storage module, used for:

[0054] Store the target mapping relationship;

[0055] The stored target mapping relationship is used to perform road condition mapping processing on the production road condition data obtained subsequently based on the production road network of the electronic map, when the production version road network of the electronic map remains unchanged.

[0056] This application provides an electronic device, including:

[0057] Memory, used to store executable instructions;

[0058] The processor, when executing executable instructions stored in the memory, implements the traffic information publishing method for the electronic map provided in this application.

[0059] This application provides a computer-readable storage medium storing executable instructions for inducing a processor to execute and implement the traffic information publishing method for an electronic map provided in this application.

[0060] This application provides a computer program product including executable instructions for implementing the traffic information publishing method of the electronic map provided in this application when executed by a processor.

[0061] This application has the following beneficial effects:

[0062] This application is implemented collaboratively by the electronic map production end and the electronic map application end. For the electronic map production end, traffic condition production is performed based on the trajectory data and the road network of the production version of the electronic map to obtain production traffic condition data, which is then sent to the electronic map application end. For the electronic map application end, traffic condition mapping is performed on the production traffic condition data according to the target mapping relationship to obtain application traffic condition data, and the electronic map application is run based on the application traffic condition data. In this way, the initiative of traffic condition mapping processing is delegated to the electronic map application end, and the electronic map production end only needs to produce one set of production traffic condition data, which can reduce the consumption of computing and storage resources, reduce the cost of traffic condition publishing, and at the same time provide extremely high response performance. Attached Figure Description

[0063] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0064] Figure 1 This is a first architecture diagram of the electronic map traffic information publishing system provided in the embodiments of this application;

[0065] Figure 2 This is a first structural diagram of the server provided in an embodiment of this application;

[0066] Figure 3 This is a schematic diagram of the second structure of the server provided in an embodiment of this application;

[0067] Figure 4A This is a first flowchart illustrating the traffic information publishing method for electronic maps provided in this application embodiment;

[0068] Figure 4B This is a second flowchart illustrating the traffic information publishing method for electronic maps provided in this application embodiment;

[0069] Figure 4C This is a schematic diagram of the third process of the electronic map traffic information publishing method provided in the embodiments of this application;

[0070] Figure 4D This is a schematic diagram of the fourth process of the electronic map traffic information publishing method provided in the embodiments of this application;

[0071] Figure 4E This is a schematic diagram of the fifth process of the electronic map traffic information publishing method provided in the embodiments of this application;

[0072] Figure 5This is a schematic diagram of the second architecture of the electronic map traffic information publishing system provided in the embodiments of this application;

[0073] Figure 6 This is a schematic diagram illustrating an implementation process of the mapping relationship download service provided in an embodiment of this application;

[0074] Figure 7 This is a schematic diagram of the sixth process of the electronic map traffic information publishing method provided in the embodiments of this application. Detailed Implementation

[0075] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0076] In the following description, references to "some embodiments" describe a subset of all possible embodiments; however, it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict. In the following description, the term "a plurality of" means at least two.

[0077] In the following description, the terms "first, second, third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0078] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0079] In this application embodiment, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0080] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.

[0081] 1) Electronic map production end: also known as electronic map manufacturer or electronic map data provider, is responsible for producing electronic map data (referring to various data related to electronic maps), which is the foundation for running electronic map applications.

[0082] 2) Electronic map application end: also known as electronic map application / consumer manufacturer, is responsible for using the electronic map data provided by the electronic map production end to run the user-facing electronic map application. The functions provided by the electronic map application include, but are not limited to, navigation, location search, route planning and traffic condition query.

[0083] 3) Road Network: A road network is a network of interconnected roads used to represent roads on electronic maps. Roads in a road network can be referred to as links or segments. A link is a continuous road segment between two nodes; a segment is a section of road between two joints. Segments are usually shorter than links and may only contain a portion of a link.

[0084] 4) Road conditions: refers to the traffic status of each road in the road network. Different colors can be used to represent different road conditions, such as green for smooth traffic, yellow for slow traffic, red for congestion, and dark red for extreme congestion.

[0085] 5) Responding to: used to indicate the conditions or states on which the operation is performed depends. When the conditions or states on which it depends are met, one or more operations may be performed in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations are performed.

[0086] This application provides a method, apparatus, electronic device, computer-readable storage medium, and computer program product for publishing traffic conditions on electronic maps, which can reduce the cost of publishing traffic conditions while achieving efficient publication. The following describes exemplary applications of the electronic device provided in this application. The electronic device provided in this application can be implemented as various types of terminal devices or as a server.

[0087] See Figure 1 , Figure 1This is a schematic diagram of the architecture of the electronic map traffic information publishing system 100 provided in this application embodiment, showing terminal device 200, server 300, server 400 and terminal device 500. Among them, server 300 is the electronic map production end; server 400 is the electronic map application end, used as the backend server for electronic map applications; terminal device 200 and terminal device 500 both run electronic map application clients.

[0088] In some embodiments, server 300 first acquires trajectory data from an electronic map, which includes the driving trajectories of multiple vehicles. Server 300 can interact with multiple terminal devices. Figure 1 Taking terminal device 200 as an example, a communication connection is established to obtain the driving trajectory of the corresponding vehicle from each terminal device. It is worth noting that terminal device 200 runs a client application for an electronic map and this client is in vehicle navigation mode, ensuring that server 300 obtains the vehicle's driving trajectory from terminal device 200. Alternatively, server 300 can directly obtain electronic map trajectory data from a third party, which collects the driving trajectories of multiple vehicles and organizes them into electronic map trajectory data. Then, server 300 performs road condition processing based on the electronic map trajectory data and the production version of the electronic map's road network, obtaining production road condition data, and sends this production road condition data to server 400. Server 400 performs road condition mapping processing on the production road condition data according to the target mapping relationship, obtaining application road condition data, and runs the electronic map application based on the application road condition data. Running the electronic map application means that server 400 receives data requests from terminal device 500 and responds with data. In other words, server 400 acts as the backend server for the electronic map application, while terminal device 500 runs the client application for the electronic map application. Server 400 provides necessary data support to terminal device 500, enabling terminal device 500 to normally call the functions in the client application of the electronic map application, such as navigation, location search, route planning, and traffic condition query.

[0089] In some embodiments, the server involved (such as Figure 1 The servers 300 and 400 shown can be independent physical servers, server clusters or distributed systems composed of multiple physical servers, or cloud servers providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. The terminal devices involved (such as...) Figure 1The terminal devices 200 and 500 shown can be mobile phones, computers, smart voice interaction devices, smart home appliances, vehicle terminals, etc., but are not limited to these. Figure 1 The communication method shown can be wired or wireless, and no limitation is made in the embodiments of this application.

[0090] In some embodiments, electronic devices (such as Figure 1 The servers 300 and 400 shown can implement the electronic map traffic information publishing method provided in this application embodiment by running a computer program. For example, the computer program can be a native program or software module in an operating system; it can be a native application (APP), that is, a program that needs to be installed in the operating system to run; it can also be a mini-program, that is, a program that only needs to be downloaded to the browser environment to run; or it can be a mini-program that can be embedded in any APP, and the mini-program can be controlled by the user to run or close. In short, the above-mentioned computer program can be any form of application, module or plugin.

[0091] See Figure 2 , Figure 2 This is a schematic diagram of the structure of the server 300 provided in the embodiments of this application. Figure 2 The server 300 shown includes at least one processor 310, memory 350, and at least one network interface 320. The various components of server 300 are coupled together via a bus system 340. It is understood that the bus system 340 is used to implement communication between these components. In addition to a data bus, the bus system 340 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 2 The general labeled all buses as Bus System 340.

[0092] The processor 310 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.

[0093] The memory 350 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state storage, hard disk drives, optical disk drives, etc. The memory 350 may optionally include one or more storage devices physically located away from the processor 310.

[0094] The memory 350 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 350 described in this application embodiment is intended to include any suitable type of memory.

[0095] In some embodiments, memory 350 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or subsets or supersets thereof, as illustrated below.

[0096] Operating system 351 includes system programs for handling various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic business functions and handling hardware-based tasks;

[0097] The network communication module 352 is used to reach other computing devices via one or more (wired or wireless) network interfaces 320, exemplary network interfaces 320 including: Bluetooth, WiFi, and Universal Serial Bus (USB), etc.

[0098] In some embodiments, the traffic information display device for electronic maps provided in this application can be implemented in software. Figure 2 A traffic information publishing device 355, which displays an electronic map stored in memory 350, is shown. This device can be software in the form of programs and plug-ins, and includes the following software modules: an acquisition module 3551, a traffic information production module 3552, and a traffic information sending module 3553. These modules are logically integrated and can therefore be arbitrarily combined or further separated according to their implemented functions. The functions of each module will be described below.

[0099] See Figure 3 , Figure 3 This is a schematic diagram of the structure of the server 400 provided in this embodiment of the application. Figure 3 The server 400 shown includes at least one processor 410, memory 450, and at least one network interface 420. The various components in server 400 are coupled together via a bus system 440. It is understood that the bus system 440 is used to implement communication between these components. In addition to a data bus, the bus system 440 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 3 The general labeled all buses as Bus System 440.

[0100] The processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.

[0101] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state storage, hard disk drives, optical disk drives, etc. The memory 450 may optionally include one or more storage devices physically located away from the processor 410.

[0102] The memory 450 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 450 described in this application embodiment is intended to include any suitable type of memory.

[0103] In some embodiments, memory 450 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or subsets or supersets thereof, as illustrated below.

[0104] Operating system 451 includes system programs for handling various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic business functions and handling hardware-based tasks;

[0105] The network communication module 452 is used to reach other computing devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 including: Bluetooth, WiFi, and Universal Serial Bus (USB), etc.

[0106] In some embodiments, the traffic information display device for electronic maps provided in this application can be implemented in software. Figure 3 A traffic information publishing device 455 with an electronic map stored in memory 450 is shown. This device can be software in the form of programs and plug-ins, and includes the following software modules: a traffic information receiving module 4551, a traffic information mapping module 4552, and a traffic information application module 4553. These modules are logically connected and can therefore be arbitrarily combined or further separated according to the functions they implement. The functions of each module will be described below.

[0107] The method for publishing traffic information on electronic maps provided in this application will be described by referring to exemplary applications and implementations of the electronic devices provided in the embodiments of this application.

[0108] See Figure 4A , Figure 4A This is a flowchart illustrating a traffic information publishing method for electronic maps provided in this application embodiment. The traffic information publishing method for electronic maps provided in this application embodiment can be implemented by an electronic device, such as an electronic map production terminal. Figure 1 The server 300 shown can be an electronic map application client. Figure 1 The server 400 shown will be combined. Figure 4A The steps shown are explained.

[0109] In step 101, the electronic map production end acquires the trajectory data of the electronic map.

[0110] Here, the electronic map production end obtains the trajectory data of the electronic map, which includes the driving trajectories of multiple vehicles. The positioning method for the driving trajectory is not limited; for example, the Global Positioning System (GPS) can be used.

[0111] In some embodiments, the electronic map production terminal can establish communication connections with multiple terminal devices and obtain the driving trajectory of the vehicle corresponding to each terminal device. These terminal devices run a client application for an electronic map. For example, the terminal device could be a vehicle's infotainment system, which sends the vehicle's driving trajectory to the electronic map production terminal in real time via the electronic map application client; alternatively, the terminal device could be a mobile phone used by the driver, which sends the vehicle's driving trajectory to the electronic map production terminal in real time via the electronic map application client. This approach improves the real-time performance and accuracy of the obtained electronic map trajectory data. Of course, the above methods are merely examples and do not constitute a limitation on the embodiments of this application. For instance, the electronic map production terminal can directly obtain electronic map trajectory data from a third party.

[0112] In step 102, the electronic map production end performs road condition production processing based on the trajectory data of the electronic map and the road network of the production version of the electronic map to obtain production road condition data.

[0113] Here, the electronic map production end publishes multiple versions of the road network (i.e., multiple road network versions). Any one of these versions of the road network can be designated as the production version road network. For example, the latest version of the road network can be designated as the production version road network.

[0114] After obtaining the trajectory data of the electronic map, the electronic map production end performs traffic condition processing based on the trajectory data and the road network of the production version of the electronic map to obtain production traffic condition data, which includes the traffic conditions (road conditions) of multiple roads in the production version road network.

[0115] In some embodiments, the trajectory data of the electronic map includes the driving trajectories of multiple vehicles, and the road network of the production version of the electronic map includes multiple roads. The above-mentioned electronic map production end can be implemented by processing road conditions based on the trajectory data and the road network of the production version of the electronic map to obtain production road condition data: the electronic map production end matches the driving trajectories of multiple vehicles with multiple roads; determines the road condition of each road based on the driving trajectories successfully matched with each road; and merges the road conditions corresponding to multiple roads to obtain production road condition data.

[0116] Here, since the locations of multiple roads in the production version road network are already determined, the travel trajectories of multiple vehicles are matched with these roads. This means matching each vehicle's trajectory to a specific road in the production version road network. For example, if a vehicle's trajectory is located on a road in the production version road network, then the vehicle's trajectory is considered successfully matched with that road. Then, the road conditions for each road are determined based on the successfully matched trajectories. This involves observing the traffic flow on each road from a road perspective. For instance, the more successfully matched trajectories a road has, the more congested that road is. Finally, the road conditions corresponding to multiple roads in the production version road network are merged (or summarized) to obtain the production road condition data. This method calculates road conditions separately for each road in the production version road network, improving the refinement of the road condition processing and the accuracy of the final production road condition data.

[0117] In some embodiments, the electronic map production end includes a trajectory data access service, a trajectory road network matching service, and a traffic condition production service. The trajectory data access service acquires trajectory data from the electronic map; the trajectory road network matching service matches the driving trajectories of multiple vehicles with multiple roads; and the traffic condition production service determines the traffic conditions of each road based on the successfully matched driving trajectories, and merges the traffic conditions corresponding to multiple roads to obtain produced traffic condition data. By splitting the electronic map production end into multiple services, each service can be developed and maintained independently, reducing overall complexity and maintenance costs. Simultaneously, due to the low coupling between services, adding or modifying services has minimal impact on other parts, improving overall scalability. Different services can process data in parallel, optimizing overall performance and improving traffic condition production efficiency. For example, the trajectory data access service can continuously acquire new trajectory data, while the trajectory road network matching service and the traffic condition production service can continuously process the trajectory data to obtain produced traffic condition data.

[0118] In step 103, the electronic map production terminal sends the traffic data to the electronic map application terminal.

[0119] Here, the electronic map production end sends the traffic data to the electronic map application end.

[0120] In some embodiments, if the electronic map production terminal is connected to multiple electronic map application terminals, the electronic map production terminal can send the generated traffic data to the multiple electronic map application terminals respectively. That is, the electronic map production terminal only needs to generate one set of traffic data, without having to generate different traffic data for different electronic map application terminals. In this way, the traffic release cost of the electronic map production terminal can be greatly reduced.

[0121] In some embodiments, the electronic map includes multiple regions; the electronic map production end can perform traffic condition production processing based on the trajectory data and the road network of the production version of the electronic map to obtain production traffic condition data in the following manner: the electronic map production end performs traffic condition production processing based on the trajectory data corresponding to each of the multiple regions and the road network of the production version of the electronic map to obtain production traffic condition data corresponding to each of the multiple regions; the electronic map production end can send the production traffic condition data to the electronic map application end in the following manner: the electronic map production end responds to the traffic condition download request initiated by the electronic map application end based on the target region and sends the production traffic condition data corresponding to the target region to the electronic map application end; wherein, the target region includes at least some of the multiple regions.

[0122] Here, the electronic map can be divided into multiple regions, for example, according to administrative divisions, dividing the national electronic map into multiple cities. Based on this, the electronic map production end processes traffic data according to the trajectory data corresponding to each region and the production version of the electronic map's road network, obtaining production traffic data for each region. Taking a certain region in the electronic map as an example, the driving trajectories of multiple vehicles in that region are matched with multiple roads in the production version of the road network within that region. The traffic conditions of each road are determined based on the successfully matched driving trajectories. The traffic conditions corresponding to the multiple roads in the production version of the road network within that region are then merged to obtain the production traffic data for that region.

[0123] Then, when the electronic map production terminal receives a traffic condition download request initiated by the electronic map application terminal based on a target area, it sends the corresponding produced traffic condition data for that target area to the electronic map application terminal. The target area includes at least some areas from multiple regions, such as a city. This method ensures the necessity of the produced traffic condition data sent by the electronic map production terminal while reducing the data transmission pressure and latency between the two terminals.

[0124] In step 104, the electronic map application performs traffic condition mapping processing on the production traffic condition data according to the target mapping relationship to obtain the application traffic condition data; wherein, the target mapping relationship represents the mapping relationship from the production version road network of the electronic map to the application version road network.

[0125] Here, the road network used by the electronic map application is referred to as the application version road network. After receiving the production road condition data, the electronic map application performs road condition mapping processing on the production road condition data according to the target mapping relationship to obtain the application road condition data. The target mapping relationship represents the mapping relationship from the production version road network to the application version road network; that is, how to map multiple roads in the production version road network to multiple roads in the application version road network. Based on this, road condition mapping processing refers to mapping the road conditions corresponding to multiple roads in the production version road network to the road conditions corresponding to multiple roads in the application version road network. For example, according to the target mapping relationship, Link1 in the production version road network can be mapped to Link2 in the application version road network. Assuming that the road condition of Link1 is congested, after road condition mapping processing, the road condition of Link2 will also be congested.

[0126] In some embodiments, the target mapping relationship may be generated by the electronic map production end and sent to the electronic map application end.

[0127] In step 105, the electronic map application runs the electronic map application based on the application traffic data.

[0128] Here, the application traffic data corresponds to the road network version used by the electronic map application. That is, the application traffic data includes the traffic conditions of multiple roads within the application's road network. Therefore, the electronic map application runs based on the application traffic data, ensuring its stability and effectiveness. For example, the electronic map application can display the traffic conditions included in the application traffic data, allowing users to understand road traffic conditions and make more informed driving decisions. The electronic map application can also combine application traffic data for route planning, avoiding congested roads (e.g., roads with congested or extremely congested conditions) to obtain a driving route, ensuring users can quickly and safely reach their destination.

[0129] In some embodiments, if the application version road network is the same as the production version road network, the electronic map application runs the electronic map application based on the production road condition data, without the need to perform road condition mapping processing on the production road condition data.

[0130] In some embodiments, steps 101 to 105 described above can be executed periodically. The specific period depends on the frequency of traffic updates published by the electronic map producer; for example, the electronic map producer may publish traffic updates once per minute or every 30 seconds.

[0131] like Figure 4A As shown, this embodiment of the application is implemented collaboratively by an electronic map production end and an electronic map application end. For the electronic map production end, traffic condition production processing is performed based on the trajectory data and the road network of the production version of the electronic map to obtain production traffic condition data, which is then sent to the electronic map application end. For the electronic map application end, traffic condition mapping processing is performed on the production traffic condition data according to the target mapping relationship to obtain application traffic condition data, and the electronic map application is run based on the application traffic condition data. This embodiment of the application end delegates the initiative of traffic condition mapping processing to the electronic map application end. The electronic map production end only needs to produce one set of production traffic condition data, which can reduce the consumption of computing and storage resources, reduce the cost of traffic condition publishing, and at the same time provide extremely high response performance, achieving efficient traffic condition publishing.

[0132] In some embodiments, see Figure 4B , Figure 4B This is a flowchart illustrating a traffic information publishing method for electronic maps provided in this application embodiment, based on... Figure 4A Before step 104 ( Figure 4B (Taking step 101 as an example), steps 201 to 203 can also be executed.

[0133] In step 201, the electronic map production end determines the application version road network used by the electronic map application end from the multiple versions of the road network of the electronic map.

[0134] Here, the electronic map production end has released multiple versions of the road network. The road network used by the electronic map application end is provided by the electronic map production end. That is, the electronic map production end needs to send a certain version of the road network to the electronic map application end in advance. Therefore, the electronic map production end can determine the application version of the road network used by the electronic map application end from the multiple versions of the road network that have been released.

[0135] In some embodiments, the above-mentioned electronic map production terminal can determine the application version road network used by the electronic map application terminal from multiple versions of the road network of the electronic map in the following manner: the electronic map production terminal sends multiple version information of the electronic map to the electronic map application terminal; wherein, each version information corresponds to a version of the road network; in response to the road network download request initiated by the electronic map application terminal based on the application version information, the road network corresponding to the application version information is determined as the application version road network used by the electronic map application terminal; wherein, the application version information is one of multiple version information; the electronic map traffic condition publishing method further includes: the electronic map production terminal sends the application version road network of the electronic map to the electronic map application terminal.

[0136] For example, the electronic map producer first sends multiple versions of the electronic map to the electronic map application. Each version corresponds to a specific road network version, and the version information can include at least one of a version number and a version description (e.g., new features, bug fixes, user interface optimizations). The electronic map application can display these multiple version information and, in response to a trigger operation for any version (named application version information), initiate a road network download request to the electronic map producer based on that application version information. Upon receiving the road network download request from the electronic map application based on the application version information, the electronic map producer determines the road network corresponding to that version as the application version road network used by the electronic map application and simultaneously sends the application version road network to the electronic map application for its use. This method allows the electronic map application to select one of the multiple road network versions released by the electronic map producer, offering high flexibility and adaptability, and meeting the differentiated needs of different electronic map applications.

[0137] In addition to the above methods, the electronic map production end can also send the latest version of the road network to the electronic map application end by default so that the electronic map application end can use it. That is, the application version of the road network is the latest version of the road network. Of course, as the electronic map production end continues to release versions, the latest version here will also become a historical version.

[0138] In step 202, the electronic map production end generates target mapping relationships based on the production version road network and the application version road network of the electronic map.

[0139] Since both the production version road network and the application version road network are stored locally on the electronic map production terminal, and many roads in the production version road network and many roads in the application version road network have been determined, the electronic map production terminal generates a target mapping relationship from the production version road network to the application version road network.

[0140] In some embodiments, after the electronic map producer determines the application version road network used by the electronic map application from multiple versions of the road network of the electronic map, the electronic map traffic condition publishing method further includes: the electronic map producer storing the correspondence between the electronic map application and the application version road network of the electronic map in a persistent database; the above-mentioned electronic map producer generating a target mapping relationship based on the production version road network and the application version road network of the electronic map can be achieved in the following way: when the production version road network of the electronic map is published, the electronic map producer queries the correspondence in the persistent database to generate a target mapping relationship based on the production version road network and the application version road network of the electronic map.

[0141] Here, the electronic map production end stores the correspondence between the electronic map application end and the road network of the application version used by the electronic map application end in a persistent database. This achieves persistent storage of the correspondence, making it convenient for the electronic map production end to query the correspondence later. The type of persistent database is not limited; for example, it can be a MySQL database.

[0142] The correspondence stored in the persistent database is shown in Table 1.

[0143] Table 1 Correspondence Table

[0144] Electronic map application Application version road network Electronic map application terminal 1 V1.0 Road Network Electronic map application terminal 2 V2.0 Road Network

[0145] Then, when the production version of the electronic map is released, the electronic map production end queries the corresponding relationship in the persistent database to generate the target mapping relationship based on the production version of the electronic map and the application version of the road network.

[0146] Taking the V3.0 version road network as an example, and referring to Table 1 above, the following example is provided. For electronic map application 1, after querying the correspondence table, the electronic map production end finds that electronic map application 1 is using the V1.0 version road network. Therefore, the electronic map production end generates a target mapping relationship from the V3.0 version road network to the V1.0 version road network in order to send it to electronic map application 1. For electronic map application 2, after querying the correspondence table, the electronic map production end finds that electronic map application 2 is using the V2.0 version road network. Therefore, the electronic map production end generates a target mapping relationship from the V3.0 version road network to the V2.0 version road network in order to send it to electronic map application 2.

[0147] The above method stores the corresponding relationships, enabling the target mapping relationship to be quickly generated by querying the corresponding relationships when the production version is released. In addition, the persistent storage method can be used in situations where the production version road network is constantly changing (e.g., the production version road network is the latest version of the road network) and the corresponding relationships need to be queried repeatedly.

[0148] In step 203, the electronic map production terminal sends the target mapping relationship to the electronic map application terminal.

[0149] Here, the electronic map production end sends the generated target mapping relationship to the electronic map application end. In this way, the initiative of traffic condition mapping processing is delegated to the electronic map application end, which can significantly reduce the traffic condition release cost of the electronic map production end.

[0150] In some embodiments, after the electronic map production end generates the target mapping relationship based on the road network of the production version of the electronic map and the road network of the application version, the traffic condition publishing method of the electronic map further includes: the electronic map production end stores the target mapping relationship in a distributed file system; the above-mentioned electronic map production end sending the target mapping relationship to the electronic map application end can be achieved in the following way: the electronic map production end responds to the mapping relationship download request of the electronic map application end, queries the target mapping relationship in the distributed file system, and sends the queried target mapping relationship to the electronic map application end.

[0151] After generating target mapping relationships, the electronic map producer can store these relationships in a distributed file system. The type of distributed file system is not limited; for example, it can be the Hadoop Distributed File System (HDFS). When the electronic map producer receives a mapping relationship download request from the electronic map application, it queries the distributed file system for the target mapping relationships and sends the retrieved relationships to the application, thus responding to the download request. In some embodiments, the querying and sending of target mapping relationships can be implemented through a specific service (named the mapping relationship download service) within the electronic map application; that is, the application can download the target mapping relationships by calling the mapping relationship download service.

[0152] In the above approach, a distributed file system is used to store the target mapping relationship. Due to the data sharing feature of the distributed file system, it is convenient for multiple mapping relationship download services to query. Different mapping relationship download services are used for different electronic map application terminals to call. At the same time, the distributed file system provides data persistence and fault tolerance mechanisms, such as data redundancy and automatic recovery, which are very important for target mapping relationships that need to be stored for a long time and have high requirements for data reliability. In addition, the access concurrency of target mapping relationships is relatively small, which the distributed file system can effectively support.

[0153] like Figure 4B As shown, in this embodiment, the electronic map production end determines the application version road network used by the electronic map application end from the road networks of multiple versions of the electronic map. Based on the production version road network and the application version road network of the electronic map, a target mapping relationship is generated and sent to the electronic map application end. In this way, the initiative of road condition mapping is delegated to the electronic map application end, enabling the electronic map application end to have effective road condition mapping capabilities, thereby helping to reduce the road condition publishing cost of the electronic map production end.

[0154] In some embodiments, see Figure 4C , Figure 4C This is a flowchart illustrating a traffic information publishing method for electronic maps provided in this application embodiment. In cases where the electronic map production end includes traffic information production services and traffic information download services, Figure 4A The step 101 shown can be updated to step 301, in which the traffic production service acquires trajectory data from the electronic map.

[0155] exist Figure 4C middle, Figure 4AThe step 102 shown can be updated to step 302. In step 302, the traffic production service performs traffic production processing based on the trajectory data of the electronic map and the production version of the electronic map road network to obtain production traffic data.

[0156] exist Figure 4C middle, Figure 4A Before step 103 shown, steps 303 to 304 may also be performed.

[0157] In step 303, the road condition production service stores the produced road condition data in the cache database.

[0158] Here, the traffic condition production service stores the produced traffic condition data in a cache database for the traffic condition download service to query (read). The type of cache database is not limited; for example, it can be a Redis cache database. It's worth noting that the cache database is suitable for interaction between different services in the electronic map production process, enabling the traffic condition download service to quickly retrieve produced traffic condition data; it also accommodates the characteristic that produced traffic condition data does not require persistent storage.

[0159] In step 304, the traffic download service queries the production traffic data from the cache database and stores the production traffic data in memory.

[0160] Here, considering that the traffic download service may face many traffic download requests initiated by electronic map applications, resulting in high concurrency pressure, the traffic download service queries the production traffic data from the cache database and stores the production traffic data in memory. Subsequently, it responds to traffic download requests using the production traffic data in memory, avoiding the frequent querying of production traffic data from the cache database, which could overwhelm the cache database.

[0161] exist Figure 4C middle, Figure 4A The step 103 shown can be updated to step 305. In step 305, the traffic download service responds to the traffic download request from the electronic map application by querying the production traffic data in memory and sending the queried production traffic data to the electronic map application.

[0162] Here, when the traffic download service receives a traffic download request from the electronic map application, it queries the generated traffic data in memory and sends the retrieved data back to the application as a response to the request. Because the traffic download service directly queries the generated traffic data from memory, it achieves a fast response and improves download efficiency.

[0163] like Figure 4CAs shown, this embodiment of the application supports the interaction between the traffic condition production service and the traffic condition download service through a cache database, ensuring that the traffic condition download service can successfully retrieve the production traffic condition data. The traffic condition download service stores the production traffic condition data in memory to respond to the traffic condition download request initiated by the electronic map application, thereby improving the traffic condition download efficiency. At the same time, since only one copy of the production traffic condition data needs to be stored in memory, the memory resources and network bandwidth resources consumed are within an acceptable range and will not cause resource waste.

[0164] In some embodiments, see Figure 4D , Figure 4D This is a flowchart illustrating a traffic information publishing method for electronic maps provided in this application embodiment. The electronic map production end includes trajectory data access services, trajectory road network matching services, traffic information production services, and traffic information download services. Figure 4A The step 101 shown can be updated to step 401, in which the trajectory data access service obtains the driving trajectories of multiple vehicles.

[0165] Here, the trajectory data access service interfaces with multiple clients that have electronic map applications, allowing the clients to send (upload) vehicle driving trajectories to the trajectory data access service in real time. Alternatively, the trajectory data access service can also directly obtain the driving trajectories of multiple vehicles from a third party.

[0166] exist Figure 4D middle, Figure 4A Step 102 shown can be implemented through steps 402 to 406.

[0167] In step 402, the trajectory data access service sends the driving trajectories of multiple vehicles to the trajectory road network matching service.

[0168] In step 403, the trajectory road network matching service matches the driving trajectories of multiple vehicles with multiple roads in the production version road network to obtain the matching results.

[0169] The matching results here are used to indicate which road each vehicle's trajectory successfully matches.

[0170] In step 404, the trajectory network matching service sends the matching results to the traffic condition production service.

[0171] In step 405, the road condition production service determines the road condition of each road based on the driving trajectory that has been successfully matched with each road.

[0172] After receiving the matching results, the road condition production service can determine the road conditions of each road based on the driving trajectories that successfully matched each road in the matching results.

[0173] In step 406, the road condition production service merges the road conditions corresponding to multiple roads to obtain production road condition data.

[0174] exist Figure 4D middle, Figure 4A Before step 103 shown, steps 407 to 408 may also be performed.

[0175] In step 407, the road condition production service stores the produced road condition data in the cache database.

[0176] In step 408, the traffic download service queries the production traffic data from the cache database and stores the production traffic data in memory.

[0177] exist Figure 4D middle, Figure 4A The step 103 shown can be updated to step 409. In step 409, the traffic download service responds to the traffic download request from the electronic map application by querying the production traffic data in memory and sending the queried production traffic data to the electronic map application.

[0178] like Figure 4D As shown, this embodiment of the application meticulously divides the electronic map production end into multiple services, and realizes traffic condition publishing through the collaboration between multiple services. Each service can be developed and maintained independently, which can reduce the overall complexity and maintenance cost. Since the coupling between services is low, the impact of adding or modifying services on other parts is small, which can improve the overall scalability. Different services can process data in parallel, which can optimize the overall performance and improve the efficiency of traffic condition publishing.

[0179] In some embodiments, see Figure 4E , Figure 4E This is a flowchart illustrating a traffic information publishing method for electronic maps provided in this application embodiment, based on... Figure 4A Before step 104 ( Figure 4E (Taking step 101 as an example), in step 501, the electronic map production end can send the target mapping relationship to the electronic map application end.

[0180] exist Figure 4E middle, Figure 4A After step 104 shown ( Figure 4E Taking step 105 as an example, in step 502, the electronic map application terminal stores the target mapping relationship; wherein, the stored target mapping relationship is used to perform road condition mapping processing on the production road condition data obtained from the production version road network of the electronic map when the production version road network of the electronic map remains unchanged.

[0181] After the electronic map application performs traffic mapping processing on the production traffic data according to the target mapping relationship to obtain the application traffic data, it can store the target mapping relationship locally. In this way, if the electronic map application receives production traffic data sent by the electronic map production end later, it can directly use the stored target mapping relationship to perform traffic mapping processing without having to re-initiate a mapping relationship download request to the electronic map production end. This enables the reuse of target mapping relationships and avoids the communication overhead caused by repeatedly transmitting the same target mapping relationship between the electronic map application and the electronic map production end.

[0182] In some embodiments, the target mapping relationship includes version information of the production version road network of the electronic map; the production traffic data includes version information of the production version road network of the electronic map; after the electronic map application terminal stores the target mapping relationship, the traffic release method of the electronic map further includes: when the version information in the latest production traffic data received by the electronic map application terminal is different from the version information in the stored target mapping relationship, the electronic map application terminal determines that the production version road network of the electronic map has changed; when the version information in the latest production traffic data received by the electronic map application terminal is the same as the version information in the stored target mapping relationship, the electronic map application terminal determines that the production version road network of the electronic map remains unchanged.

[0183] Here, when generating target mapping relationships, the electronic map production end will add the version information of the production version road network to it, and when generating production traffic data, the electronic map production end will also add the version information of the production version road network to it. Based on this, after storing the target mapping relationship on the electronic map application, if the electronic map application receives production traffic data sent by the electronic map production end again, the electronic map application will compare the version information (referring to the version information of the production version road network, the same below) in the latest received production traffic data with the version information (referring to the version information of the production version road network, the same below) in the stored target mapping relationship. When the version information in the latest received production traffic data is different from the version information in the stored target mapping relationship, it proves that the production version road network has changed. At this time, the stored target mapping relationship can be deleted, and a new mapping relationship download request can be initiated to the electronic map production end. The latest received production traffic data can then be processed for traffic mapping based on the latest downloaded target mapping relationship. When the version information in the latest received production traffic data is the same as the version information in the stored target mapping relationship, it proves that the production version road network remains unchanged. At this time, the stored target mapping relationship is still usable, so the latest received production traffic data can be processed for traffic mapping based on the stored target mapping relationship. In the above method, the electronic map application terminal can conveniently and accurately determine whether the road network of the production version has changed by comparing version information. When the road network of the production version remains unchanged, the stored target mapping relationship is reused. When the road network of the production version changes, the target mapping relationship is downloaded again to ensure that the correct application traffic data can be obtained in the end.

[0184] like Figure 4E As shown, after the electronic map application performs road condition mapping using the target mapping relationship, it can store the target mapping relationship so that it can perform road condition mapping on the subsequently received production road condition data when the road network of the production version of the electronic map remains unchanged. In this way, the target mapping relationship can be reused, avoiding the communication overhead caused by the repeated transmission of the same target mapping relationship between the electronic map application and the electronic map production end.

[0185] The following will describe an exemplary application of the embodiments of this application in a practical application scenario. The embodiments of this application provide, as follows: Figure 5 The diagram shows an architecture of an electronic map traffic information publishing system, illustrating the electronic map production end and the electronic map application end. The electronic map production end includes a trajectory data access cluster, a trajectory road network matching cluster, a traffic information production system, and a traffic information download service, which will be combined with... Figure 5 Please provide an explanation.

[0186] 1) Track data access cluster: This cluster provides track data access services. The track data access service is responsible for accessing third-party or electronic map application clients to obtain real-time driving trajectories (GPS trajectories) uploaded by the third party or the client.

[0187] 2) Trajectory Network Matching Cluster: This cluster provides trajectory network matching services. The trajectory network matching service is responsible for matching each driving trajectory obtained from the trajectory data access service with multiple roads in the latest version of the road network.

[0188] 3) Road Condition Production System: This system provides road condition production services. It determines the road conditions (e.g., smooth traffic, slow traffic, congested, extremely congested) for each road based on the successfully matched driving trajectories. It then merges the road conditions from multiple roads into produced road condition data and stores this data in a Redis cache database. It's worth noting that electronic maps can be divided into multiple cities, allowing for the generation of produced road condition data for each city.

[0189] 4) Traffic Download Service: Responsible for subscribing to production traffic data in the Redis cache database and storing the production traffic data in the Redis cache database into memory; also responsible for responding to traffic download requests initiated by the electronic map application based on a specific city (e.g., the traffic download request includes the city code of the specific city), and sending the production traffic data corresponding to the specific city in memory to the electronic map application.

[0190] In the electronic map production process, a mapping relationship download service also needs to be implemented. This application provides, for example... Figure 6 The diagram shown illustrates the implementation process of the mapping relationship download service, which will be combined with... Figure 6 The explanation is presented step by step.

[0191] 1) The electronic map application calls the interface provided by the electronic map producer to set a baseline version road network (corresponding to the application version road network mentioned above) among the multiple versions of road networks provided by the electronic map producer. The electronic map producer stores the correspondence between the electronic map application and the baseline version road network in a MySQL database, i.e. Figure 6 The electronic map application shows the road network list in the baseline version.

[0192] 2) When the electronic map production end releases a new version of the road network, it creates an offline mapping relationship from the latest version of the road network to the baseline version road network used by each electronic map application end based on the list of electronic map application end - baseline version road network in the MySQL database, and stores it in HDFS.

[0193] 3) When the electronic map application detects a road network version update in the downloaded production traffic data (which includes the version number of the latest road network), it sends a mapping relationship download request to the electronic map production terminal to download the mapping relationship from the latest version of the road network to the baseline version of the road network used by the electronic map application.

[0194] 4) The electronic map application terminal performs road condition mapping processing on the downloaded production road condition data according to the downloaded mapping relationship to obtain the application road condition data.

[0195] This application provides embodiments such as Figure 7 The diagram shown is a flowchart illustrating the traffic information dissemination method for electronic maps, which will combine... Figure 7 The explanation is presented step by step.

[0196] 1) The electronic map application calls the interface provided by the electronic map production end (such as the interface for downloading mapping relationships) to set the baseline version of the road network Ai in the multiple versions of road networks provided by the electronic map production end.

[0197] 2) When the electronic map production terminal detects that the electronic map application terminal has set a baseline version road network Ai, it stores the correspondence between the electronic map application terminal and the baseline version road network in the MySQL database.

[0198] 3) The electronic map production end generates the mapping relationships from the latest version of the road network B to A1, A2, ... An offline, based on the baseline version road network A1, A2, ... An set by each electronic map application in the MySQL database.

[0199] 4) The electronic map application downloads production traffic data (including the latest version of the road network, version number B) to the designated city through the traffic download service interface.

[0200] 5) The electronic map application checks if there is a mapping relationship from B to Ai in the local configuration. If there is, it means that the mapping relationship has already been downloaded and there is no need to download it again; otherwise, it calls the mapping relationship download service interface to download the mapping relationship from B to Ai and saves it to the local configuration.

[0201] 6) Based on the mapping relationship from B to Ai, the electronic map application terminal maps the production road condition data of applicable road network B to the application road condition data of applicable road network Ai.

[0202] 7) The electronic map application terminal applies the traffic data to the business system, for example, by running the electronic map application based on the traffic data.

[0203] The embodiments of this application can achieve at least the following technical effects:

[0204] 1) Separate traffic information from a large number of historical versions of the road network and only publish the latest version of the road network's traffic information. There is no need to publish traffic information from a large number of historical versions of the road network.

[0205] 2) The technical architecture of electronic map production is low in complexity, and can be easily modified based on the existing technical architecture, with low modification costs.

[0206] 3) Delegate the initiative of which version of road network traffic data to use to the electronic map application terminal to achieve on-demand mapping.

[0207] 4) Since there is no need to publish a large amount of historical road network traffic data, resource costs are greatly reduced, while also providing extremely high response performance and achieving efficient traffic data publishing.

[0208] 5) Since there is no need to publish a large amount of traffic data from historical versions of the road network, the electronic map production end will not experience performance and resource bottlenecks as the number of electronic map applications grows, and the stable operation of the service can still be guaranteed.

[0209] The following continues to describe the exemplary structure of the electronic map traffic information publishing device 355 provided in the embodiments of this application as a software module. In some embodiments, such as Figure 2 As shown, the software modules in the electronic map traffic condition publishing device 355 stored in the memory 350 may include: an acquisition module 3551, used to acquire trajectory data of the electronic map; a traffic condition production module 3552, used to perform traffic condition production processing based on the trajectory data of the electronic map and the production version road network of the electronic map to obtain production traffic condition data; and a traffic condition sending module 3553, used to send the production traffic condition data to the electronic map application terminal; wherein, the electronic map application terminal uses the application version road network of the electronic map; the electronic map application terminal is used to perform traffic condition mapping processing on the production traffic condition data according to the target mapping relationship to obtain application traffic condition data; the target mapping relationship represents the mapping relationship from the production version road network of the electronic map to the application version road network.

[0210] In some embodiments, the traffic information publishing device 355 for electronic maps further includes: a version determination module, used to determine the application version road network used by the electronic map application terminal from multiple versions of the road network of the electronic map; a mapping relationship production module, used to generate a target mapping relationship based on the production version road network and the application version road network of the electronic map; and a mapping relationship sending module, used to send the target mapping relationship to the electronic map application terminal.

[0211] In some embodiments, the version determination module is further configured to: send multiple version information of the electronic map to the electronic map application terminal; wherein each version information corresponds to a version of the road network; in response to a road network download request initiated by the electronic map application terminal based on the application version information, determine the road network corresponding to the application version information as the application version road network used by the electronic map application terminal; wherein the application version information is one of multiple version information; the traffic condition publishing device 355 of the electronic map also includes a road network sending module, configured to: send the application version road network of the electronic map to the electronic map application terminal.

[0212] In some embodiments, the mapping relationship production module is further configured to: store the correspondence between the electronic map application terminal and the application version road network of the electronic map in a persistent database; and when the production version road network of the electronic map is published, query the correspondence in the persistent database to generate a target mapping relationship based on the production version road network and the application version road network of the electronic map.

[0213] In some embodiments, the mapping relationship sending module is further configured to: store the target mapping relationship in a distributed file system; and, in response to a mapping relationship download request from the electronic map application, query the target mapping relationship in the distributed file system and send the queried target mapping relationship to the electronic map application.

[0214] In some embodiments, the electronic map production terminal includes a traffic condition production service and a traffic condition download service. The traffic condition production service is used to perform traffic condition production processing. The traffic condition sending module 3553 is further configured to: store the produced traffic condition data in a cache database through the traffic condition production service; query the produced traffic condition data from the cache database through the traffic condition download service and store the produced traffic condition data in memory; and respond to the traffic condition download request from the electronic map application terminal through the traffic condition download service, query the produced traffic condition data in memory, and send the queried produced traffic condition data to the electronic map application terminal.

[0215] In some embodiments, the electronic map includes multiple regions; the traffic condition production module 3552 is further configured to: perform traffic condition production processing based on the trajectory data corresponding to the multiple regions and the production version road network of the electronic map to obtain production traffic condition data corresponding to the multiple regions; the traffic condition sending module 3553 is further configured to: respond to a traffic condition download request initiated by the electronic map application based on a target region, and send the production traffic condition data corresponding to the target region to the electronic map application; wherein, the target region includes at least some of the multiple regions.

[0216] In some embodiments, the trajectory data of the electronic map includes the driving trajectories of multiple vehicles, and the production version of the electronic map includes multiple roads; the road condition production module 3552 is further configured to: match the driving trajectories of multiple vehicles with the multiple roads; determine the road condition of each road based on the driving trajectory successfully matched with each road; and merge the road conditions corresponding to the multiple roads to obtain production road condition data.

[0217] The following continues to describe an exemplary structure of the electronic map traffic information publishing device 455 provided in the embodiments of this application, implemented as a software module. In some embodiments, such as... Figure 3 As shown, the software modules in the electronic map traffic condition publishing device 455 stored in the memory 450 may include: a traffic condition receiving module 4551, used to receive production traffic condition data from the electronic map production end; wherein, the production traffic condition data is obtained by processing traffic condition data based on the trajectory data of the electronic map and the production version road network of the electronic map; a traffic condition mapping module 4552, used to perform traffic condition mapping processing on the production traffic condition data according to the target mapping relationship to obtain application traffic condition data; wherein, the target mapping relationship represents the mapping relationship from the production version road network of the electronic map to the application version road network; and a traffic condition application module 4553, used to run the electronic map application based on the application traffic condition data.

[0218] In some embodiments, the electronic map traffic condition publishing device 455 further includes a mapping relationship receiving module, used to: receive a target mapping relationship sent by the electronic map production end; the electronic map traffic condition publishing device 455 further includes a mapping relationship storage module, used to: store the target mapping relationship; wherein, the stored target mapping relationship is used to perform traffic condition mapping processing on the production traffic condition data obtained subsequently based on the production version road network of the electronic map when the production version road network of the electronic map remains unchanged.

[0219] This application provides a computer program product or computer program that includes executable instructions stored in a computer-readable storage medium. The processor of an electronic device reads the executable instructions from the computer-readable storage medium and executes the executable instructions, causing the electronic device to perform the electronic map traffic information publishing method described above in this application.

[0220] This application provides a computer-readable storage medium storing executable instructions, wherein the executable instructions are executed by a processor, causing the processor to execute the electronic map traffic information publishing method provided in this application.

[0221] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or it may be a variety of devices including one or any combination of the above-mentioned memories.

[0222] In some embodiments, executable instructions may take the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a standalone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.

[0223] As an example, executable instructions may, but do not necessarily, correspond to files in a file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a Hyper Text Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple collaborating files (e.g., a file that stores one or more modules, subroutines, or code sections).

[0224] As an example, executable instructions can be deployed to execute on a single electronic device, or on multiple electronic devices located in one location, or on multiple electronic devices distributed across multiple locations and interconnected via a communication network.

[0225] The above are merely embodiments of this application and are not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.

[0226] It is worth noting that the data processing in this application involves the implementation of the technical solution of electronic map data. When the embodiments of this application are applied to specific products or technologies, the collection, use and processing of electronic map data and related data should comply with the requirements of national laws and regulations, conform to the principles of legality, legitimacy and necessity, not involve obtaining data types prohibited or restricted by laws and regulations, and will not hinder the normal use of electronic maps, nor will it hinder the normal operation of products or web pages that provide electronic maps.

Claims

1. A method for publishing traffic conditions on an electronic map, characterized in that, Applied to the electronic map production end; the method includes: Obtain trajectory data from electronic maps; Based on the trajectory data of the electronic map and the road network of the production version of the electronic map, traffic condition production processing is performed to obtain production traffic condition data; The production road condition data is sent to the electronic map application. The electronic map application uses the application version of the electronic map's road network; the electronic map application is used to perform road condition mapping processing on the production road condition data according to the target mapping relationship to obtain application road condition data; the target mapping relationship represents the mapping relationship from the production version of the electronic map's road network to the application version of the road network.

2. The method according to claim 1, characterized in that, The method further includes: The application version of the road network used by the electronic map application is determined from the multiple versions of the road network of the electronic map; Target mapping relationships are generated based on the production version road network and the application version road network of the electronic map. The target mapping relationship is sent to the electronic map application.

3. The method according to claim 2, characterized in that, The step of determining the application version road network used by the electronic map application from multiple versions of the road network of the electronic map includes: Multiple versions of the electronic map are sent to the electronic map application terminal; wherein each version corresponds to a version of the road network; In response to the road network download request initiated by the electronic map application based on the application version information, the road network corresponding to the application version information is determined as the application version road network used by the electronic map application; wherein, the application version information is one of the multiple version information; The method further includes: The application version of the electronic map is sent to the electronic map application terminal.

4. The method according to claim 2, characterized in that, After determining the application version road network used by the electronic map application from multiple versions of the road network of the electronic map, the method further includes: The correspondence between the electronic map application terminal and the road network of the electronic map application version is stored in a persistent database; The step of generating target mapping relationships based on the production version road network and the application version road network of the electronic map includes: When the production version of the electronic map is released, the corresponding relationship in the persistent database is queried to generate the target mapping relationship based on the production version of the electronic map and the application version of the road network.

5. The method according to claim 2, characterized in that, After generating the target mapping relationship based on the production version road network and the application version road network of the electronic map, the method further includes: The target mapping relationship is stored in a distributed file system; Sending the target mapping relationship to the electronic map application includes: In response to the mapping relationship download request from the electronic map application, the target mapping relationship is queried in the distributed file system, and the queried target mapping relationship is sent to the electronic map application.

6. The method according to claim 1, characterized in that, The electronic map production terminal includes a traffic condition production service and a traffic condition download service. The traffic condition production service is used for traffic condition production processing. Before sending the produced traffic condition data to the electronic map application terminal, the method further includes: The production road condition data is stored in the cache database through the road condition production service; The production road condition data is retrieved from the cache database through the road condition download service, and the production road condition data is stored in memory; Sending the production road condition data to the electronic map application includes: In response to a traffic download request from the electronic map application, the traffic download service queries the production traffic data in memory and sends the retrieved production traffic data to the electronic map application.

7. The method according to claim 1, characterized in that, The electronic map includes multiple areas; the process of generating traffic data based on the trajectory data of the electronic map and the road network of the production version of the electronic map, including: Based on the trajectory data corresponding to the multiple regions and the road network of the production version of the electronic map, traffic condition production processing is performed to obtain the production traffic condition data corresponding to the multiple regions. Sending the production road condition data to the electronic map application includes: In response to a traffic condition download request initiated by the electronic map application based on a target area, the production traffic condition data corresponding to the target area is sent to the electronic map application; wherein, the target area includes at least a portion of the plurality of areas.

8. The method according to claim 1, characterized in that, The trajectory data of the electronic map includes the driving trajectories of multiple vehicles, and the production version road network of the electronic map includes multiple roads; the process of generating production road condition data based on the trajectory data of the electronic map and the production version road network of the electronic map includes: The driving trajectories of the multiple vehicles are matched with the multiple roads; The road conditions of each road are determined based on the driving trajectory that is successfully matched with each road. The road conditions corresponding to the multiple roads are merged to obtain the production road condition data.

9. A method for publishing traffic conditions on an electronic map, characterized in that, The method is applied to an electronic map application, wherein the electronic map application uses a road network application version of the electronic map; the method includes: Receive production traffic data from the electronic map production terminal; wherein, the production traffic data is obtained by processing traffic data based on the trajectory data of the electronic map and the road network of the production version of the electronic map. The production road condition data is processed by road condition mapping according to the target mapping relationship to obtain application road condition data; wherein, the target mapping relationship represents the mapping relationship from the production version road network of the electronic map to the application version road network; The electronic map application runs based on the traffic data provided.

10. The method according to claim 9, characterized in that, Before performing traffic condition mapping processing on the production traffic condition data according to the target mapping relationship, the method further includes: Receive the target mapping relationship sent by the electronic map production terminal; After performing road condition mapping processing on the production road condition data according to the target mapping relationship to obtain the application road condition data, the method further includes: Store the target mapping relationship; The stored target mapping relationship is used to perform road condition mapping processing on the production road condition data obtained subsequently based on the production road network of the electronic map, when the production version road network of the electronic map remains unchanged.

11. A traffic information display device for an electronic map, characterized in that, The device is used in electronic map production; it includes: The acquisition module is used to acquire trajectory data from the electronic map; The road condition production module is used to process road conditions based on the trajectory data of the electronic map and the road network of the production version of the electronic map to obtain production road condition data. The traffic condition sending module is used to send the production traffic condition data to the electronic map application terminal; The electronic map application uses the application version of the electronic map's road network; the electronic map application is used to perform road condition mapping processing on the production road condition data according to the target mapping relationship to obtain application road condition data; the target mapping relationship represents the mapping relationship from the production version of the electronic map's road network to the application version of the road network.

12. A traffic information display device for an electronic map, characterized in that, The device is used in an electronic map application, wherein the electronic map application uses a road network application version of the electronic map; the device includes: The traffic condition receiving module is used to receive traffic condition data produced by the electronic map production end; wherein, the produced traffic condition data is obtained by processing the traffic condition data based on the trajectory data of the electronic map and the road network of the production version of the electronic map. The traffic mapping module is used to perform traffic mapping processing on the production traffic data according to the target mapping relationship to obtain application traffic data; wherein, the target mapping relationship represents the mapping relationship from the production version road network of the electronic map to the application version road network; The traffic application module is used to run electronic map applications based on the traffic data provided in the application.

13. An electronic device, characterized in that, include: Memory, used to store executable instructions; A processor, when executing executable instructions stored in the memory, implements the method of any one of claims 1 to 8, or the method of any one of claims 9 to 10.

14. A computer-readable storage medium, characterized in that, It stores executable instructions for implementing the method of any one of claims 1 to 8, or the method of any one of claims 9 to 10, when executed by a processor.

15. A computer program product, characterized in that, Includes executable instructions, which, when executed by a processor, implement the method of any one of claims 1 to 8, or the method of any one of claims 9 to 10.