Highway data processing method and device, electronic equipment and storage medium

By positioning the target position points in the map data and storing highway data in partition, the problem of slow highway data query speed is solved, and efficient data processing and query efficiency is achieved.

CN119089067APending Publication Date: 2024-12-06XINGYUNSHUJU (BEIJING) TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411138521.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The prior art processes highway-related data, the query speed is slow and cannot meet the users' efficient query needs, especially when the data volume is large and the number of visitors is large.

Method used

By positioning the target position points in the map data, expanding the circular geographic box into a square search box, determining the covered partition, extracting and cacheing highway data in the data cache system, partitioning storage and querying, and improving query efficiency.

Benefits of technology

It effectively improves the query efficiency and response speed of highway data, meets users' efficient processing needs for highway-related data, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119089067A_ABST
    Figure CN119089067A_ABST
Patent Text Reader

Abstract

The invention provides a highway data processing method and device, electronic equipment and a storage medium, and the method comprises the steps: positioning a target position point in map data according to the position information of a current target position point, determining a circular geographic frame with the target position point as a circle center, and expanding the circular geographic frame into a square search frame; based on the area range of each partition in the map data, determining the partition covered by the square search box in the map data as a current target partition; and searching a storage area corresponding to the target partition in a data caching system, calling the expressway data from the storage area, and sending the expressway data to the expressway service application program. According to the method and the device, the validity and the reliability of highway data processing can be effectively improved, the query efficiency of the highway data can be effectively improved, the application convenience and the validity of the high-speed service application program are further improved, and the user experience of using the high-speed service application program by a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a highway data processing method, device, electronic device and storage medium. Background Art

[0002] Applications usually use a cache system as a buffer for the database, loading the data required by the user into the cache, and replacing the slower database with the faster cache to improve performance. In public map services, users connect to the server through the client, and the server database stores longitude and latitude and other basic information. Users need to use their own geographic location as a parameter to query geographic, commercial and other information within a certain range nearby.

[0003] For the storage and query of geographic data, the existing method usually uses a database to store the longitude and latitude of all locations and unique codes. When a user queries, the server directly queries all longitude and latitude information from the database and calculates the geographic distance to the user through a geographic calculation formula. The data that meets the distance range is returned to the client. When there is less longitude and latitude information in the database and fewer people accessing the service at the same time, the server can meet user needs. As the service develops, the number of people accessing the service at the same time also increases, the amount of geographic information stored in the database increases, and the query speed will become slower and slower. When performance requirements cannot be met, it is usually dealt with by optimizing the database table interface and upgrading the server hardware configuration.

[0004] However, when users query geographic information within a certain range, they need to traverse all cached geographic data, calculate the distance in turn according to the input geographic location information, and store the locations that meet the criteria of being smaller than the range in a list. After all the location information is traversed, the list is returned. The query speed is slow, and as the number of stored location information increases, the query speed will further slow down. At the same time, the current way of reading or querying geographic data cannot meet the user's query needs specifically for highway-related data.

[0005] Based on this, there is an urgent need to design a highway data processing method that can meet users' query needs specifically for highway-related data and can improve the efficiency and response speed of processing processes such as reading and querying highway-related data. Summary of the invention

[0006] In view of this, embodiments of the present application provide a highway data processing method, device, electronic device, and storage medium to eliminate or improve one or more defects existing in the prior art.

[0007] One aspect of the present application provides a highway data processing method, comprising:

[0008] Locating the target location point in the preset map data according to the location information of the current target location point, and expanding the circular geographic frame with the target location point as the center into a square search frame;

[0009] Based on the area ranges of the preset partitions in the map data, determining the partition covered by the square search box in the map data as the current target partition;

[0010] The storage area corresponding to the target partition is determined in the storage area corresponding to each partition preset in the data cache system, the corresponding highway data is retrieved from the storage area, and the highway data is sent to the preset highway service application.

[0011] In some embodiments of the present application, before locating the target location point in the preset map data according to the location information of the current target location point, the method further includes:

[0012] Extracting highway data corresponding to each partition from the highway database, wherein the highway data includes: service area data, parking point data, rescue point data and charging facility data;

[0013] Setting a storage area corresponding to each of the partitions and a unique identifier for each of the partitions in the data cache system;

[0014] According to the unique identifiers of the partitions, the highway data corresponding to the partitions are cached in the storage areas corresponding to the partitions, and the unique identifiers of adjacent partitions are cached in the storage areas corresponding to each partition.

[0015] In some embodiments of the present application, the service area data includes: location information of a service area on a highway and service information of the service area;

[0016] The parking point data includes: location information of the parking point on the highway and service information of the parking point;

[0017] The rescue point data includes: location information of the rescue point on the highway and service information of the rescue point;

[0018] The charging facility data includes: location information of charging facilities on the highway and service information of charging facilities;

[0019] Correspondingly, the storage area is provided with a main table and a target sub-table associated with the main table, the target sub-table comprising: a service area sub-table, a parking point sub-table, a rescue point table and a charging facility sub-table;

[0020] The main table is used to store the corresponding relationship between the unique identifier of the partition, the unique identifiers of all the highways in the partition, the service information of each service area on each highway in the partition, the location information of each parking point, the location information of each rescue point, and the location information of each charging facility;

[0021] The service area sub-table is used to store the location information of each of the service areas in the main table and the corresponding relationship between the service information of each of the service areas;

[0022] The parking point sub-table is used to store the corresponding relationship between the location information of each parking point in the main table and the service information of each parking point;

[0023] The rescue point sub-table is used to store the corresponding relationship between the location information of each rescue point in the main table and the service information of each rescue point;

[0024] The charging facility sub-table is used to store the corresponding relationship between the location information of each of the charging facilities in the main table and the service information of each of the charging facilities.

[0025] In some embodiments of the present application, before locating the target location point in the preset map data according to the location information of the current target location point, the method further includes:

[0026] If it is detected that the map page in the high-speed service application is triggered, the client device corresponding to the high-speed service application is used as the current target location point and the location information of the target location point is obtained in real time;

[0027] The location information of the target location point obtained each time is displayed in real time on the map page.

[0028] In some embodiments of the present application, determining the storage area corresponding to the target partition from the storage areas corresponding to the respective partitions preset in the data cache system, retrieving the corresponding highway data from the storage area, and sending the highway data to the preset highway service application includes:

[0029] Determine the storage area corresponding to the target partition in the storage area corresponding to each of the partitions preset in the data cache system, and retrieve the location information of the service area, the location information of the parking spot, the location information of the rescue point, and the location information of the charging facility on each of the highways in the target partition from the main table in the storage area to form corresponding location query result data;

[0030] The location query result data is sent to the high-speed service application, so that the high-speed service application selects data within a preset display range of the target location point currently in the map page from the location query result data to display on the map page.

[0031] In some embodiments of the present application, after sending the highway data to a preset highway service application, the method further includes:

[0032] Receiving a service query request from a high-speed service application, wherein the service query condition includes a unique identifier of a query subject, wherein the query subject includes: a service area, a parking spot, a rescue point, and a charging facility;

[0033] According to the unique identifier of the query subject, searching the corresponding target sub-table in the storage area corresponding to the target partition, and extracting the service information of the query subject from the target sub-table;

[0034] The service information of the query subject is sent to the high-speed service application so that the high-speed service application displays or voice broadcasts the service information of the query subject.

[0035] In some embodiments of the present application, after sending the highway data to a preset highway service application, the method further includes:

[0036] If it is detected that the location information of the target location point reaches the preset service range of any query subject, the unique identification of the query subject is obtained, wherein the query subject includes: service areas, parking spots, rescue spots and charging facilities;

[0037] According to the unique identifier of the query subject, searching the corresponding target sub-table in the storage area corresponding to the target partition, and extracting the service information of the query subject from the target sub-table;

[0038] The service information of the query subject is sent to the high-speed service application so that the high-speed service application displays or voice broadcasts the service information of the query subject.

[0039] Another aspect of the present application provides a highway data processing device, comprising:

[0040] A search box positioning module, used to locate the target location point in the preset map data according to the location information of the current target location point, and expand the circular geographic box with the target location point as the center into a square search box;

[0041] A target partition determination module, configured to determine the partition covered by the square search box in the map data as the current target partition based on the area ranges of the preset partitions in the map data;

[0042] The cache partition search module is used to determine the storage area corresponding to the target partition in the storage areas corresponding to each partition preset in the data cache system, retrieve the corresponding highway data from the storage area, and send the highway data to the preset highway service application.

[0043] The third aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the highway data processing method when executing the computer program.

[0044] A fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the highway data processing method when executed by a processor.

[0045] The fifth aspect of the present application provides a computer program product, including a computer program, which implements the highway data processing method when executed by a processor.

[0046] The highway data processing method provided in the present application locates the target location point in the preset map data according to the location information of the current target location point, and expands the circular geographic box with the target location point as the center into a square search box; based on the area range of each preset partition in the map data, the partition covered by the square search box in the map data is determined as the current target partition; the storage area corresponding to the target partition is determined in the storage area corresponding to each partition preset in the data cache system, the corresponding highway data is retrieved from the storage area, and the highway data is sent to the preset highway service application, which can effectively improve the effectiveness and reliability of highway data processing, and can effectively improve the query efficiency of highway data, thereby improving the application convenience and effectiveness of the highway service application, so as to improve the user experience of users using the highway service application.

[0047] Additional advantages, purposes, and features of the present application will be partially described in the following description, and will become partially apparent to those skilled in the art after studying the following, or may be learned from the practice of the present application. The purposes and other advantages of the present application can be achieved and obtained by the structures specifically pointed out in the specification and the drawings.

[0048] Those skilled in the art will understand that the purposes and advantages that can be achieved by the present application are not limited to the above specific description, and the above and other purposes that can be achieved by the present application will be more clearly understood based on the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] The drawings described herein are used to provide a further understanding of the present application, constitute a part of the present application, and do not constitute a limitation of the present application. The components in the drawings are not drawn to scale, but are only for the purpose of illustrating the principles of the present application. In order to facilitate the illustration and description of some parts of the present application, the corresponding parts in the drawings may be enlarged, that is, they may become larger relative to other components in the exemplary device actually manufactured according to the present application. In the drawings:

[0050] Figure 1 This is a first flow chart of a highway data processing method in an embodiment of the present application.

[0051] Figure 2 Schematic diagram of a second flow chart of a highway data processing method in an embodiment of the present application.

[0052] Figure 3 This is a schematic diagram of a search range in an example of the present application.

[0053] Figure 4 This is another schematic diagram of a search range in an example of the present application.

[0054] Figure 5 This is a third flow chart of the highway data processing method in one embodiment of the present application.

[0055] Figure 6 This is a fourth flow chart of the highway data processing method in one embodiment of the present application.

[0056] Figure 7 This is a fifth flow chart of the highway data processing method in one embodiment of the present application.

[0057] Figure 8 Schematic diagram of the structure of a highway data processing device in one embodiment of the present application. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the implementation modes and the accompanying drawings. Here, the illustrative implementation modes and descriptions of the present application are used to explain the present application, but are not intended to limit the present application.

[0059] It should also be noted here that in order to avoid obscuring the present application due to unnecessary details, only the structures and / or processing steps closely related to the scheme according to the present application are shown in the accompanying drawings, while other details that are not very relevant to the present application are omitted.

[0060] It should be emphasized that the term “include / comprises” when used herein refers to the presence of features, elements, steps or components, but does not exclude the presence or addition of one or more other features, elements, steps or components.

[0061] It should also be noted that, unless otherwise specified, the term “connection” herein may refer not only to a direct connection but also to an indirect connection involving an intermediate.

[0062] Hereinafter, embodiments of the present application will be described with reference to the accompanying drawings. In the accompanying drawings, the same reference numerals represent the same or similar components, or the same or similar steps.

[0063] In view of the existing geographic data reading method, each time a user queries, it is necessary to traverse all location information, calculate the distance in sequence, and return the result after all traversals are completed, resulting in low query efficiency. As the number of location information gradually increases, the query efficiency is further reduced. In addition, the database reading efficiency is low, and all location information needs to be traversed. As the number of location information increases, the traversed location information continues to increase, and the response speed will be proportionally slower as the amount of data increases. The embodiments of the present application respectively provide a highway data processing method, a highway data processing device for executing the highway data processing method, an electronic device, a computer-readable storage medium, and a computer program product, which can meet the user's query needs specifically for highway-related data, and use a cache system as a database buffer. Through the design of a data cache algorithm, the database efficiency and response speed are improved.

[0064] The details are described in detail through the following examples.

[0065] Based on this, the embodiment of the present application provides a highway data processing method that can be implemented by a highway data processing device, see Figure 1 The highway data processing method specifically includes the following contents:

[0066] Step 100: Locate the target location point in the preset map data according to the location information of the current target location point, and expand the circular geographic frame with the target location point as the center into a square search frame.

[0067] Specifically, the location information of the current target location point can be input into the preset map navigation software, so that the map navigation software displays the target location point and the default circular geographic frame of the target location point in the map data, for example, a circle with the target location point as the center and a radius of 50 kilometers as the circular geographic frame. Then, in view of the extension characteristics of the highway itself, in order to further improve the user experience of users using the highway service application, this application expands the circular geographic frame into a square search frame, the center point of the square search frame is the target location point, and the square search frame can contain the circular geographic frame and can be tangent to the circular geographic frame.

[0068] Step 200: Based on the area ranges of the preset partitions in the map data, determine the partition covered by the square search box in the map data as the current target partition.

[0069] In step 200, each partition is pre-stored in the area range of the map data and displayed in the map data. In one or more embodiments of the present application, the partition can be set according to actual application requirements, for example, it can be divided into units such as provinces, cities, districts or counties; it can also be divided according to the characteristics of different areas in the target area, for example, a city can be divided into commercial areas, residential areas and entertainment areas; it can also be divided according to the city's high-speed ring line, so that vehicles traveling only in the city can further improve the efficiency of highway data reading.

[0070] Step 300: Determine the storage area corresponding to the target partition in the storage areas corresponding to the respective partitions preset in the data cache system, retrieve the corresponding highway data from the storage area, and send the highway data to a preset highway service application.

[0071] That is, the data cache system is used to store storage areas uniquely corresponding to each of the partitions, and the target area is one or more of the partitions.

[0072] From the above description, it can be seen that the highway data processing method provided in the embodiment of the present application can effectively improve the effectiveness and reliability of highway data processing, and can effectively improve the query efficiency of highway data, thereby improving the application convenience and effectiveness of highway service applications, so as to improve the user experience of users using highway service applications.

[0073] In order to further improve the reliability and effectiveness of highway data cache processing and to further improve the efficiency of highway data query, in a highway data processing method provided in an embodiment of the present application, see Figure 2The highway data processing method further includes the following contents before step 100:

[0074] Step 010: Extracting highway data corresponding to each partition from the highway database, wherein the highway data includes: service area data, parking point data, rescue point data and charging facility data.

[0075] Step 020: setting a storage area corresponding to each of the partitions and a unique identifier for each of the partitions in the data cache system.

[0076] It is understandable that each of the highway data has its own unique corresponding identifier, which can be specifically encoded using the codes of locations along the route, generally using highway-related information and geographical locations, such as routes, province, city, district, county codes, pile numbers and other basic information.

[0077] Step 030: According to the unique identifiers of the partitions, the highway data corresponding to the partitions are cached in the storage areas corresponding to the partitions, and the unique identifiers of adjacent partitions are cached in the storage areas corresponding to each partition.

[0078] In one or more embodiments of the present application, the highway data processing method provided by the present application can provide back-end services for the highway mini-program, generally displayed in terms of service areas, parking spots, rescue points, etc. along the highway.

[0079] In order to further illustrate the above embodiment, the present application also provides a specific application example of a highway data processing method. In this application example, the partitions are provinces of a certain country, the highway data processing device is implemented based on a server, and the highway data processing method specifically includes the following contents:

[0080] (1) A data cache area is set up in the server memory, and the cache data is used to store the location location information read from the database.

[0081] (2) Calculate the information of the country and province to which the location belongs, divide the data into different provinces according to the country and province to which it belongs, and establish a set of adjacent provinces. Each provincial data saves the location data within the province and the names or codes of the adjacent provinces.

[0082] (3) Based on the requested geographic location and query range, calculate the province (including municipalities) where the location is located and the boundaries of the location query range.

[0083] See also Figure 3, for example, if the target location point is located in a certain partition, if the requested search range is 50 kilometers, the geographic range (i.e., circular geographic frame) is a circle with a radius of 50 kilometers and the requested location (i.e., the target location point) as the center. If the search range is appropriately expanded, based on the requested location and the 50-kilometer radius, a location search range (i.e., square search frame) with a side length of 50 (kilometers) × 2 = 100 (kilometers) centered on the requested location can be obtained, and the four corner positions of the square (A, B, C, D) can be calculated.

[0084] Then, based on the province to which the location belongs, you can search for the province data and neighboring provinces, and calculate whether the neighboring provinces are involved based on the range boundary. If so, search for information within the province and search for information involving neighboring provinces; if not, search for information within the province.

[0085] In another example, see Figure 4 If the partitions covered by the location search range (i.e., the square search box) include partition E1 and partition E2, it is determined that the target area includes partition E1 and partition E2, and then searches are performed simultaneously in the storage areas corresponding to the two partitions E1 and partition E2, respectively. After the searches are completed, the search results of the two partitions are merged.

[0086] That is to say, the highway data processing method provided by the above application example of this application reduces the search scope by storing data query by province, and solves the cross-provincial problem by storing information of adjacent provinces to ensure the accuracy of search. Specifically, it can reduce the data query scope and improve efficiency by saving and storing related provincial information by province, while ensuring the cross-provincial search capability. And through caching technology, it improves service capabilities while reducing hardware costs caused by insufficient database capabilities and increased hardware configuration.

[0087] To sum up, the highway data processing method provided in the application example of this application stores geographic data by province and establishes association management with adjacent provinces, so that the query scope is narrowed from the whole country to the province and related provinces, thereby narrowing the query scope and improving efficiency.

[0088] For the scenario of only querying the location, in order to further improve the query efficiency of the highway related location data and at the same time meet the scenario of wanting to query the service, a highway data processing method provided in an embodiment of the present application further specifically includes the following contents:

[0089] (1) The service area data includes: location information of the service area on the expressway and service information of the service area;

[0090] (2) The parking point data includes: location information of the parking point on the highway and service information of the parking point;

[0091] (3) The rescue point data includes: location information of the rescue point on the highway and service information of the rescue point;

[0092] (4) The charging facility data includes: location information of charging facilities on the highway and service information of charging facilities;

[0093] Correspondingly, the storage area is provided with a main table and a target sub-table associated with the main table, the target sub-table comprising: a service area sub-table, a parking point sub-table, a rescue point table and a charging facility sub-table;

[0094] (1) The master table is used to store the corresponding relationship between the unique identifier of the partition, the unique identifiers of all the highways in the partition, the service information of each service area on each highway in the partition, the location information of each parking point, the location information of each rescue point, and the location information of each charging facility;

[0095] (2) The service area sub-table is used to store the location information of each service area in the main table and the corresponding relationship between the service information of each service area;

[0096] (3) The parking point sub-table is used to store the corresponding relationship between the location information of each parking point in the main table and the service information of each parking point;

[0097] (4) The rescue point sub-table is used to store the corresponding relationship between the location information of each rescue point in the main table and the service information of each rescue point;

[0098] (5) The charging facility sub-table is used to store the correspondence between the location information of each of the charging facilities in the main table and the service information of each of the charging facilities.

[0099] In order to realize that the user does not need to issue an instruction or request, as long as it is detected that the map page is opened, the user's location is displayed and the aforementioned steps 100 to 300 are directly triggered to display the highway data, thereby improving the convenience of user use. In a highway data processing method provided in an embodiment of the present application, see Figure 5 The highway data processing method further includes the following contents before step 100:

[0100] Step 030: If it is detected that the map page in the high-speed service application is triggered, the client device corresponding to the high-speed service application is used as the current target location point and the location information of the target location point is obtained in real time;

[0101] Step 040: Display the location information of the target location point obtained each time in real time on the map page.

[0102] In order to read only the location information of each service area in the main table for display when the service is automatically triggered, so as to improve the query efficiency, in a highway data processing method provided in an embodiment of the present application, see Figure 5 , step 300 in the highway data processing method specifically includes the following contents:

[0103] Step 310: Determine the storage area corresponding to the target partition in the storage areas corresponding to the respective partitions preset in the data cache system, and retrieve the location information of the service areas on each of the highways in the target partition, the location information of the parking spots, the location information of the rescue spots, and the location information of the charging facilities from the main table in the storage area to form corresponding location query result data.

[0104] Step 320: Send the location query result data to the high-speed service application so that the high-speed service application selects data within a preset display range of the target location point currently in the map page from the location query result data to display on the map page.

[0105] In order to query the subtable when a service request is received passively, meet the user's demand for obtaining high-speed service data, and improve user experience, in a highway data processing method provided in an embodiment of the present application, see Figure 6 , the highway data processing method may further specifically include the following contents after step 300:

[0106] Step 410: receiving a service query request from a high-speed service application, wherein the service query condition includes a unique identifier of a query subject, wherein the query subject includes: a service area, a parking spot, a rescue point, and a charging facility;

[0107] Step 420: according to the unique identifier of the query subject, searching the corresponding target sub-table in the storage area corresponding to the target partition, and extracting the service information of the query subject from the target sub-table;

[0108] Step 430: Send the service information of the query subject to the high-speed service application so that the high-speed service application displays or voice broadcasts the service information of the query subject.

[0109] In order to actively monitor whether the user has a service request and query the sub-table, meet the user's demand for obtaining high-speed service data, and improve the user experience, in a highway data processing method provided in an embodiment of the present application, see Figure 7, the highway data processing method may further specifically include the following contents after step 300:

[0110] Step 510: If it is detected that the location information of the target location point reaches the preset service range of any query subject, the unique identifier of the query subject is obtained, wherein the query subject includes: service areas, parking spots, rescue spots and charging facilities.

[0111] Step 520: According to the unique identifier of the query subject, search for the corresponding target sub-table in the storage area corresponding to the target partition, and extract the service information of the query subject from the target sub-table.

[0112] Step 530: Send the service information of the query subject to the high-speed service application so that the high-speed service application displays or voice broadcasts the service information of the query subject.

[0113] The service information of the server may include catering information and toilet information of the service area;

[0114] The service information of the parking spot may include parking requirement information, surrounding environment information, safety precautions information, service telephone information, etc. of the parking spot;

[0115] The service information of the rescue point may include the information telephone information and safety precautions information of the rescue point, etc.;

[0116] The service information of the charging pile may include brand information, price information, model information, etc. of the charging pile.

[0117] From the software level, the present application also provides a highway data processing device for executing all or part of the highway data processing method, see Figure 8 The highway data processing device specifically includes the following contents:

[0118] The search box positioning module 10 is used to locate the target location point in the preset map data according to the location information of the current target location point, determine the corresponding circular geographic frame with the target location point as the center, and expand the circular geographic frame into a square search box.

[0119] The target partition determination module 20 is used to determine the partition covered by the square search box in the map data as the current target partition based on the area ranges of the preset partitions in the map data.

[0120] The cache partition search module 30 is used to determine the storage area corresponding to the target partition in the storage areas corresponding to the respective partitions preset in the data cache system, retrieve the corresponding highway data from the storage area, and send the highway data to the preset highway service application.

[0121] The embodiment of the highway data processing device provided in the present application can be specifically used to execute the processing flow of the embodiment of the highway data processing method in the above-mentioned embodiment. Its functions are not repeated here, and reference can be made to the detailed description of the above-mentioned highway data processing method embodiment.

[0122] The highway data processing device may perform highway data processing in a server or in a client device. The selection may be made based on the processing capability of the client device and the limitations of the user's usage scenario. This application does not limit this. If all operations are completed in the client device, the client device may further include a processor for specific processing of highway data processing.

[0123] The client device may have a communication module (i.e., a communication unit) that can communicate with a remote server to achieve data transmission with the server. The server may include a server on the task scheduling center side, and other implementation scenarios may also include a server on an intermediate platform, such as a server on a third-party server platform that has a communication link with the task scheduling center server. The server may include a single computer device, or a server cluster consisting of multiple servers, or a server structure of a distributed device.

[0124] The server and the client device may communicate with each other using any suitable network protocol, including network protocols that have not yet been developed on the date of filing this application. The network protocols may include, for example, TCP / IP, UDP / IP, HTTP, HTTPS, etc. Of course, the network protocols may also include, for example, RPC (Remote Procedure Call Protocol) and REST (Representational State Transfer) protocols used on top of the above protocols.

[0125] From the above description, it can be seen that the highway data processing device provided in the embodiment of the present application can effectively improve the effectiveness and reliability of highway data processing, and can effectively improve the query efficiency of highway data, thereby improving the application convenience and effectiveness of highway service applications, so as to improve the user experience of users using highway service applications.

[0126] The embodiment of the present application also provides an electronic device, which may include a processor, a memory, a receiver and a transmitter, wherein the processor is used to execute the highway data processing method mentioned in the above embodiment, wherein the processor and the memory may be connected via a bus or other means, such as by bus connection. The receiver may be connected to the processor and the memory via wired or wireless means.

[0127] The processor may be a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.

[0128] The memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions / modules corresponding to the highway data processing method in the embodiment of the present application. The processor executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory, that is, the highway data processing method in the above method embodiment is implemented.

[0129] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the processor, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0130] The one or more modules are stored in the memory, and when executed by the processor, the highway data processing method in the embodiment is executed.

[0131] In some embodiments of the present application, the user equipment may include a processor, a memory, and a transceiver unit, which may include a receiver and a transmitter. The processor, memory, receiver, and transmitter may be connected through a bus system. The memory is used to store computer instructions, and the processor is used to execute the computer instructions stored in the memory to control the transceiver unit to send and receive signals.

[0132] As an implementation method, the functions of the receiver and the transmitter in the present application can be considered to be implemented through a transceiver circuit or a dedicated chip for transceiver, and the processor can be considered to be implemented through a dedicated processing chip, a processing circuit or a general chip.

[0133] As another implementation method, it is possible to use a general-purpose computer to implement the server provided in the embodiment of the present application, that is, to store the program code for implementing the functions of the processor, receiver, and transmitter in a memory, and the general-purpose processor implements the functions of the processor, receiver, and transmitter by executing the code in the memory.

[0134] The embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the aforementioned highway data processing method are implemented. The computer-readable storage medium can be a tangible storage medium, such as a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a floppy disk, a hard disk, a removable storage disk, a CD-ROM, or any other form of storage medium known in the technical field.

[0135] An embodiment of the present application also provides a computer program product, including a computer program, which implements the steps of the aforementioned highway data processing method when executed by a processor.

[0136] It should be understood by those skilled in the art that the exemplary components, systems and methods described in conjunction with the embodiments disclosed herein can be implemented in hardware, software or a combination of the two. Whether it is specifically performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link via a data signal carried in a carrier.

[0137] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0138] In the present application, features described and / or illustrated for one embodiment may be used in the same manner or in a similar manner in one or more other embodiments, and / or combined with features of other embodiments or replace features of other embodiments.

[0139] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the embodiments of the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A highway data processing method, It is characterized in that include: Locating the target location point in the preset map data according to the location information of the current target location point, and expanding the circular geographic frame with the target location point as the center into a square search frame; Based on the area ranges of the preset partitions in the map data, determining the partition covered by the square search box in the map data as the current target partition; The storage area corresponding to the target partition is determined in the storage area corresponding to each partition preset in the data cache system, the corresponding highway data is retrieved from the storage area, and the highway data is sent to the preset highway service application.

2. The highway data processing method according to claim 1, It is characterized in that Before locating the target location point in the preset map data according to the location information of the current target location point, the method further includes: Extracting highway data corresponding to each partition from the highway database, wherein the highway data includes: service area data, parking point data, rescue point data and charging facility data; Setting a storage area corresponding to each of the partitions and a unique identifier for each of the partitions in the data cache system; According to the unique identifiers of the partitions, the highway data corresponding to the partitions are cached in the storage areas corresponding to the partitions, and the unique identifiers of adjacent partitions are cached in the storage areas corresponding to each partition.

3. The highway data processing method according to claim 2, It is characterized in that The service area data includes: location information of the service area on the expressway and service information of the service area; The parking point data includes: location information of the parking point on the highway and service information of the parking point; The rescue point data includes: location information of the rescue point on the highway and service information of the rescue point; The charging facility data includes: location information of charging facilities on the highway and service information of charging facilities; Correspondingly, the storage area is provided with a main table and a target sub-table associated with the main table, the target sub-table comprising: a service area sub-table, a parking point sub-table, a rescue point table and a charging facility sub-table; The main table is used to store the corresponding relationship between the unique identifier of the partition, the unique identifiers of all the highways in the partition, the service information of each service area on each highway in the partition, the location information of each parking point, the location information of each rescue point, and the location information of each charging facility; The service area sub-table is used to store the location information of each of the service areas in the main table and the corresponding relationship between the service information of each of the service areas; The parking point sub-table is used to store the corresponding relationship between the location information of each parking point in the main table and the service information of each parking point; The rescue point sub-table is used to store the corresponding relationship between the location information of each rescue point in the main table and the service information of each rescue point; The charging facility sub-table is used to store the corresponding relationship between the location information of each of the charging facilities in the main table and the service information of each of the charging facilities.

4. The highway data processing method according to claim 3, It is characterized in that Before locating the target location point in the preset map data according to the location information of the current target location point, the method further includes: If it is detected that the map page in the high-speed service application is triggered, the client device corresponding to the high-speed service application is used as the current target location point and the location information of the target location point is obtained in real time; The location information of the target location point obtained each time is displayed in real time on the map page.

5. The highway data processing method according to claim 4, It is characterized in that The method includes determining a storage area corresponding to the target partition from storage areas corresponding to respective partitions preset in the data cache system, retrieving corresponding highway data from the storage area, and sending the highway data to a preset highway service application, including: Determine the storage area corresponding to the target partition in the storage area corresponding to each of the partitions preset in the data cache system, and retrieve the location information of the service area, the location information of the parking spot, the location information of the rescue point, and the location information of the charging facility on each of the highways in the target partition from the main table in the storage area to form corresponding location query result data; The location query result data is sent to the high-speed service application, so that the high-speed service application selects data within a preset display range of the target location point currently in the map page from the location query result data to display on the map page.

6. The highway data processing method according to claim 4, It is characterized in that After sending the highway data to a preset highway service application, the method further includes: Receiving a service query request from a high-speed service application, wherein the service query condition includes a unique identifier of a query subject, wherein the query subject includes: a service area, a parking spot, a rescue point, and a charging facility; According to the unique identifier of the query subject, searching the corresponding target sub-table in the storage area corresponding to the target partition, and extracting the service information of the query subject from the target sub-table; The service information of the query subject is sent to the high-speed service application so that the high-speed service application displays or voice broadcasts the service information of the query subject.

7. The highway data processing method according to claim 4, It is characterized in that After sending the highway data to a preset highway service application, the method further includes: If it is detected that the location information of the target location point reaches the preset service range of any query subject, the unique identification of the query subject is obtained, wherein the query subject includes: service areas, parking spots, rescue spots and charging facilities; According to the unique identifier of the query subject, searching the corresponding target sub-table in the storage area corresponding to the target partition, and extracting the service information of the query subject from the target sub-table; The service information of the query subject is sent to the high-speed service application so that the high-speed service application displays or voice broadcasts the service information of the query subject.

8. A highway data processing device, It is characterized in that include: A search box positioning module, used to locate the target location point in the preset map data according to the location information of the current target location point, and expand the circular geographic box with the target location point as the center into a square search box; A target partition determination module, configured to determine the partition covered by the square search box in the map data as the current target partition based on the area ranges of the preset partitions in the map data; The cache partition search module is used to determine the storage area corresponding to the target partition in the storage areas corresponding to each partition preset in the data cache system, retrieve the corresponding highway data from the storage area, and send the highway data to the preset highway service application.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the highway data processing method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the highway data processing method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method for searching for stores by means of database indexes

    CN104462263A

  • Geographical location based service method, server and geographical location based service system

    CN106126575A

  • POI (Point of Interest) determination method and device, storage medium and electronic equipment

    CN115934875A

  • High-precision map data acquisition method, device and equipment and storage medium

    CN115952372A

  • Method and device for presenting information associated to geographical data

    US20090177384A1