Synchronization method, device and electronic equipment for real-time traffic information
A technology of real-time traffic information and electronic equipment, applied in the field of navigation, can solve the problems of large data load and delay of user-side data update, and achieve the effect of balancing load, reducing data processing load, and improving update efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] figure 1 It is a schematic flowchart of a method for synchronizing real-time traffic information shown in the embodiment of the present application.
[0045] see figure 1 , the method for synchronizing the real-time traffic information, including:
[0046] Step S110, storing at least part of the map road data in at least one auxiliary database, wherein all map road data are additionally stored in the main database.
[0047] In one of the embodiments, the primary database and multiple secondary databases can be set on the same server, or they can be set on different servers respectively. That is, the primary database and each secondary database can be set on different servers. In one specific implementation manner, when there are multiple auxiliary databases, all map road data are distributed and stored in different auxiliary databases. The map road data stored cooperatively by multiple auxiliary databases is the same as all the map road data stored in the main datab...
Embodiment 2
[0056] In order to further introduce the synchronization method of the real-time traffic information of the present application, see figure 2 , the method for synchronizing the real-time traffic information, including:
[0057] Step S210, pre-store all map road data in the main database, and divide all map road data according to map regions, and store map road data in each map region in corresponding auxiliary databases.
[0058] In one embodiment, the primary database is set on the primary server, and each secondary database is set on the corresponding secondary server. The master server communicates with each slave server respectively. By assigning each secondary database to a secondary server, decentralized management improves operating efficiency. In one of the embodiments, both the primary database and the secondary database are Redis databases. Specifically, Redis (Remote Dictionary Server, remote data service) is an in-memory cache database written in C language wit...
Embodiment 3
[0074] image 3 It is a schematic structural diagram of a device for synchronizing real-time traffic information shown in the embodiment of the present application.
[0075] see image 3 , this embodiment provides a device for synchronizing real-time traffic information. The device includes a storage module 310 , a query module 320 , an update module 330 and a sending module 340 . in:
[0076] The storage module 310 is configured to store at least part of the map road data in at least one auxiliary database, wherein all the map road data are additionally stored in the main database.
[0077] The inquiry module 320 is used to inquire whether the corresponding map road data in each auxiliary database is the same as the corresponding map road data in the main database according to a preset period.
[0078] An update module 330, configured to, if the map road data in the auxiliary database is different from the corresponding map road data in the main database, then the auxilia...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


