Image processing method and apparatus, electronic device, and medium

By caching and managing index information on the local client, the problem of duplicate index information being sent to the server is solved, which reduces the amount of data and improves the quality of updates during map updates, ensuring the accuracy of map data and rich reference image support.

CN114201565BActive Publication Date: 2025-12-30BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the current map update process, the server needs to repeatedly send the index information of the target trajectory points, which increases the amount of data, consumes bandwidth and machine resources, and in situations such as complex intersections, there is too little image information for operators to refer to, which affects the quality of map updates.

Method used

By caching index information on the local client, the cache status of the index information is determined based on map update information. If it is already cached, it is retrieved from the local machine; otherwise, it is retrieved from the server and cached. This reduces the amount of data sent by the server and displays image information of other trajectory points at complex intersections to enrich the reference image.

Benefits of technology

This reduces the pressure on the server, decreases the amount of data transmitted, improves the accuracy and quality of map updates, and avoids update omissions caused by insufficient image information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114201565B_ABST
    Figure CN114201565B_ABST
Patent Text Reader

Abstract

The present disclosure provides an image processing method and device, electronic equipment and medium, relates to the technical field of computers, and particularly relates to the technical field of electronic maps, cloud computing and cloud services. The specific implementation scheme is as follows: obtaining map update information of a target trajectory point from a server; the map update information comprises a target trajectory point identifier of the target trajectory point; determining a cache state of target index information in a local client according to the map update information; the target index information comprises the target trajectory point identifier; according to the cache state of the target index information, the target index information is obtained, and a target trajectory image of the target trajectory point is determined according to the obtained target index information. The present disclosure realizes the effect of reducing the data amount of data issued by the server under the premise that the target trajectory image can be determined, reduces the pressure of the server, and avoids the occupation of additional bandwidth of the server.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of computers, in particular to the technical field of electronic maps, cloud computing and cloud services, and specifically to an image processing method and device, electronic equipment and a medium. BACKGROUND

[0002] An electronic map, also known as a digital map, is a map stored and consulted in a digital manner using computer technology. Due to its fast access and three-dimensional and dynamic display, the electronic map has gradually replaced paper maps and become the preferred tool for path planning.

[0003] The map data of the electronic map is updated based on changes in map elements in the physical world. SUMMARY

[0004] The present disclosure provides a method, device, electronic equipment and medium for reducing server pressure in a map update process.

[0005] According to an aspect of the present disclosure, an image processing method is provided, comprising:

[0006] obtaining map update information of a target trajectory point from a server; the map update information comprising a target trajectory point identifier of the target trajectory point;

[0007] determining a cache state of target index information in a local client according to the map update information; the target index information comprising the target trajectory point identifier;

[0008] obtaining the target index information according to the cache state of the target index information, and determining a target trajectory image of the target trajectory point according to the obtained target index information.

[0009] According to another aspect of the present disclosure, an image processing device is provided, comprising:

[0010] an information obtaining module configured to obtain map update information of a target trajectory point from a server; the map update information comprising a target trajectory point identifier of the target trajectory point;

[0011] a cache state determining module configured to determine a cache state of target index information in a local client according to the map update information; the target index information comprising the target trajectory point identifier;

[0012] an image determining module configured to obtain the target index information according to the cache state of the target index information, and determine a target trajectory image of the target trajectory point according to the obtained target index information.

[0013] According to another aspect of the present disclosure, an electronic device is provided, comprising:

[0014] at least one processor; and

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

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

[0017] According to another aspect of the present disclosure, a non-transitory computer readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to perform the method of any one of the present disclosure.

[0018] According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program for performing the method of any one of the present disclosure when executed by a processor.

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

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

[0021] Figure 1 is a flowchart of some image processing methods disclosed according to embodiments of the present disclosure;

[0022] Figure 2A is a flowchart of another image processing method disclosed according to embodiments of the present disclosure;

[0023] Figure 2B is a schematic diagram of some target trajectory images disclosed according to embodiments of the present disclosure;

[0024] Figure 3A is a flowchart of another image processing method disclosed according to embodiments of the present disclosure;

[0025] Figure 3B is a schematic diagram of some target regions disclosed according to embodiments of the present disclosure;

[0026] Figure 3C is a schematic diagram of some auxiliary regions disclosed according to embodiments of the present disclosure;

[0027] Figure 4is a structural schematic diagram of some image processing apparatus disclosed according to an embodiment of the present disclosure

[0028] Figure 5 is a block diagram of an electronic device for implementing the image processing method disclosed in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0029] Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, which include various details of the embodiments of the present disclosure to assist in understanding, which should be considered in a descriptive sense only. Thus, it will be apparent to one of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Also, for the sake of brevity and clarity, descriptions of well-known functions and constructions are omitted from the following description.

[0030] Applicants found in the development process that the current mainstream map update operation mode is: the server sends the map update information of the target trajectory point and the index information of the target trajectory point to the local client, and the binding relationship between the map update information and the index information is recorded in the sent file. When the operation personnel select the map update information, the target trajectory image of the target trajectory point is automatically opened based on the corresponding index information. The operation personnel performs map update based on the target trajectory image.

[0031] However, the disadvantage of this operation mode is that if the operation personnel operates the same target trajectory point multiple times, the server will repeatedly send the index information of the target trajectory point, resulting in redundant sending of the index information, increasing the data volume of the server sending data, and increasing the pressure on the server. In addition, the server also occupies additional bandwidth and machine resources.

[0032] Figure 1 is a flowchart of some image processing method disclosed according to an embodiment of the present disclosure. The present embodiment can be applied to the case of determining the target trajectory image of the target trajectory point in the map update process. The present embodiment method can be executed by the image processing apparatus disclosed in an embodiment of the present disclosure. The apparatus can be implemented by software and / or hardware, and can be integrated on any electronic device with computing capability.

[0033] As shown in Figure 1 the image processing method disclosed in the present embodiment can include:

[0034] S101, obtaining map update information of a target trajectory point from a server; the map update information includes a target trajectory point identifier of the target trajectory point.

[0035] The service end represents a service server of map updating. The target track point represents a track point associated with the present map updating, and the track point is a collection point of image collection performed once outside the map, and corresponds to at least one collection image and one collection position, that is, a track point image and a track point position. The map updating information represents data for guiding a work personnel to update map data based on a specific map element, and is generated in a program recognition or manual recording manner. In the embodiment, the map updating information includes a map element to be updated and a target track point identifier of the associated target track point. The target track point identifier represents identification information capable of uniquely representing the target track point.

[0036] In an implementation, when the target track point needs to be updated, the service end determines the map element to be updated by the target track point in a program recognition or manual recording manner, for example, recognizes the map element included in the target track point corresponding target track image by a target detection method, for example, frames the map element included in the target track image by a manual framing manner, and the like. The service end further generates the map updating information of the target track point according to the map element to be updated by the target track point and the target track point identifier of the target track point. The service end sends the map updating information to the local client based on a preset communication protocol and address information. The information format of the map updating information includes but is not limited to an exto format.

[0037] The local client obtains the map updating information of the target track point from the service end, and displays the map updating information in a list manner, where the number of target track points can be one or multiple. The work personnel selects any map updating information to work, that is, when the number of target track points is one, the work personnel selects the map updating information of the target track point to work, and when the number of target track points is multiple, the work personnel selects the map updating information of one target track point from the target track points to work.

[0038] Obtaining the map updating information of the target track point from the service end lays a foundation for subsequently determining the cache state of the target index information in the local client.

[0039] S102, determining a cache state of target index information in a local client according to the map updating information; the target index information includes the target track point identifier.

[0040] The target index information indicates index information of a target trajectory image corresponding to the target trajectory point, and the target trajectory image can be obtained through a URL (Uniform Resource Locator) address in the target index information. In addition to the URL address of the target trajectory image, the target index information also includes a target trajectory point identifier of the target trajectory point. The information format of the index information includes, but is not limited to, an exto format.

[0041] In this embodiment, the local client locally caches the index information after obtaining the index information of any trajectory image from the server, so as to realize reuse of the index information, and the server does not need to issue the index information together with the map update information each time.

[0042] In an implementation, the local client parses the map update information to obtain a target trajectory point identifier of a target trajectory point included in the map update information. The target trajectory point identifier is matched with the cached index information in the local client to determine whether the local client has cached target index information corresponding to the target trajectory point.

[0043] If any cached index information of the local client includes the target trajectory point identifier, it is determined that the cache state of the target index information in the local client is a cached state. That is, the target index information of the target trajectory point has been cached in the local client.

[0044] If all cached index information of the local client does not include the target trajectory point identifier, it is determined that the cache state of the target index information in the local client is an uncached state. That is, the target index information of the target trajectory point has not been cached in the local client.

[0045] By determining the cache state of the target index information in the local client according to the map update information, the effect of determining whether the local client has cached the target index information is realized, which lays a foundation for subsequently obtaining the target index information according to the cache state.

[0046] S103, obtaining the target index information according to the cache state of the target index information, and determining a target trajectory image of the target trajectory point according to the obtained target index information.

[0047] The target trajectory image is a collection image corresponding to the target trajectory point.

[0048] In an implementation, if the local client determines that the cache state of the target index information is a cached state, the local client obtains the target index information from the local client, obtains a URL address of the target trajectory image of the target trajectory point from the target index information, and then determines the target trajectory image of the target trajectory point from the Internet based on the URL address.

[0049] In another implementation, the local client determines that the cache state of the target index information is the uncached state, obtains the target index information from the server, and caches the target index information in the local client. The URL address of the target trajectory image of the target trajectory point is obtained from the target index information, and then the target trajectory image of the target trajectory point is determined from the Internet based on the URL address.

[0050] After the target trajectory image of the target trajectory point is determined, the local client renders the target trajectory image to display the target trajectory image, and the worker performs map data updating based on the displayed target trajectory image.

[0051] The disclosure obtains the map updating information of the target trajectory point from the server, determines the cache state of the target index information in the local client according to the map updating information, and then obtains the target index information according to the cache state of the target index information, and determines the target trajectory image of the target trajectory point according to the obtained target index information. Due to the cache operation of the local client on the index information, the effect of local reuse of cached information is achieved, the server only needs to issue map updating information, and does not need to bind and issue index information and map updating information every time, thereby reducing the data amount of data issued by the server, reducing the pressure of the server, and avoiding the occupation of additional bandwidth of the server.

[0052] Figure 2A The flowchart of another image processing method disclosed according to an embodiment of the disclosure is disclosed, which is further optimized and expanded based on the above technical solution, and can be combined with each of the above optional embodiments.

[0053] As shown in Figure 2A The image processing method disclosed in the embodiment can include:

[0054] S201, obtaining map updating information of a target trajectory point from a server; the map updating information includes a target trajectory point identifier of the target trajectory point.

[0055] S2021, in the case that the index information cached in the local client includes the target trajectory point identifier, determining that the cache state of the target index information in the local client is the cached state, and performing S2031.

[0056] In an implementation, the local client matches the target trajectory point identifier with each cached index information, determines whether any cached index information includes the target trajectory point identifier, and if yes, determines that the cache state of the target index information in the local client is the cached state.

[0057] Optionally, the target track point identifier includes position information and number information of the target track point. Correspondingly, the index information cached by the local client includes the position information and the number information of the track point.

[0058] For example, assuming that the position information of the target track point is (X, Y, Z), the position information (X, Y, Z) is matched with the position information of the track point in each of the cached index information. If any of the cached index information includes the position information (X, Y, Z), it is determined that the cache state of the target index information in the local client is the cached state.

[0059] By setting the target track point identifier to include the position information and the number information of the target track point, the richness of the target track point identifier is ensured, and the diversity of the subsequent target track point identifier matching means is increased.

[0060] S2022, in the case where the index information cached by the local client does not include the target track point identifier, it is determined that the cache state of the target index information in the local client is the uncached state, and S2032 is executed.

[0061] In an embodiment, the local client matches the target track point identifier with each of the cached index information, and determines whether any of the cached index information includes the target track point identifier. If not, it is determined that the cache state of the target index information in the local client is the uncached state.

[0062] For example, assuming that the position information of the target track point is (X, Y, Z), the position information (X, Y, Z) is matched with the position information of the track point in each of the cached index information. If all of the cached index information does not include the position information (X, Y, Z), it is determined that the cache state of the target index information in the local client is the uncached state.

[0063] S2031, in the case where the cache state is the cached state, the index information matched with the target track point identifier is obtained from the local client as the target index information.

[0064] In an embodiment, the local client caches the index information matched with the target track point identifier as the target index information.

[0065] For example, assuming that the position information of the target track point is (X, Y, Z), the position information (X, Y, Z) is matched with the position information of the track point in each of the cached index information. If the index information A includes the position information (X, Y, Z), the index information A is taken as the target index information.

[0066] S2032, in the case that the cache state is the uncached state, obtaining, from the server, index information matching the target trajectory point identifier as target index information, and caching the target index information in the local client.

[0067] In an embodiment, the local client generates an index information request according to the target trajectory point identifier, and sends the index information request carrying the target trajectory point identifier to the server, so that the server feeds back target index information matching the target trajectory point identifier to the local client.

[0068] Illustratively, assuming that the position information of the target trajectory point is (X, Y, Z), the position information (X, Y, Z) is matched with the position information of the trajectory point in each cached index information, if all cached index information does not include the position information (X, Y, Z), the index information request carrying the position information (X, Y, Z) is sent to the server, and the server feeds back index information matching the position information (X, Y, Z) as target index information to the local client.

[0069] S204, determining a target trajectory image of the target trajectory point according to the obtained target index information, and displaying the target trajectory image of the target trajectory point as map update guide information of the target trajectory point.

[0070] In an embodiment, the local client obtains a URL address of the target trajectory image of the target trajectory point from the target index information, and then determines the target trajectory image of the target trajectory point from the Internet based on the URL address. The local client renders the target trajectory image to display the target trajectory image, and the operator takes the target trajectory image as map update guide information, and then updates the map data associated with the target trajectory point.

[0071] This disclosure determines the cached state of the target index information on the local client as cached when the cached index information includes the target trajectory point identifier, and as uncached when the cached index information does not include the target trajectory point identifier. This achieves the effect of determining the cached state of the target index information on the local client based on the target trajectory point identifier, laying the foundation for subsequently using different technical means to obtain the target index information based on different cached states. Furthermore, by retrieving the index information matching the target trajectory point identifier from the local client when the cached state is cached, it serves as the target index information. The system identifies and indexes information, enabling local reuse of cached information and reducing the amount of data sent from the server. When the cache is not cached, it retrieves index information matching the target trajectory point identifier from the server as the target index information and caches it on the local client. This achieves the effect of retrieving and caching target index information from the server, laying the foundation for subsequent reuse of the target index information on the local client. By displaying the target trajectory image of the target trajectory point as map update guidance information, it assists operators in updating map data through the target trajectory image, ensuring the accuracy of map data updates.

[0072] Figure 2B These are schematic diagrams illustrating target trajectory images disclosed in embodiments of this disclosure, such as... Figure 2B As shown, 20 represents the target trajectory point. After the target trajectory image 21 of the target trajectory point 20 is determined, the target trajectory image 21 is displayed and used as map update guidance information for the target trajectory point 20.

[0073] During the research and development process, the applicant also discovered that in the current mainstream map update operation mode, since the server only distributes the index information of the target trajectory point and the map update information in a unified manner, the trajectory point images that the operators can refer to are fixed and limited in number. That is, there are only target trajectory images corresponding to the target trajectory points. This results in too little image information for operators to refer to in road situations such as complex intersections, which may lead to the omission of some special map elements, resulting in low quality of map update results, or even the inability to update the map.

[0074] Figure 3A This is a flowchart of some other image processing methods disclosed in the embodiments of this disclosure, which are further optimized and extended based on the above technical solutions, and can be combined with the above optional implementation methods.

[0075] like Figure 3A As shown, the image processing method disclosed in this embodiment may include:

[0076] S301. Obtain map update information of the target trajectory point from the server; the map update information includes the target trajectory point identifier of the target trajectory point.

[0077] S302. In response to the selection operation of other trajectory points in the target area where the target trajectory point is located, other trajectory point identifiers are determined.

[0078] In one implementation, the local client displays a target area centered on the target trajectory point based on the target trajectory point identifier in the map update information. Within this target area, there are other trajectory points besides the target trajectory point. Operators can select other trajectory points within the target area according to their actual needs, and the local client responds to the selection operation by identifying the identifiers of these other trajectory points.

[0079] Optionally, other trajectory point identifiers include the location information and number information of other trajectory points.

[0080] By setting other trajectory point identifiers, including their location and number information, the richness of other trajectory point identifiers is ensured, and the diversity of subsequent methods for matching other trajectory point identifiers is increased.

[0081] S303. Determine the cache status of other index information in the local client; the other index information includes the identifiers of the other trajectory points.

[0082] The "Other Index Information" section represents the index information of other trajectory points corresponding to other trajectory images. These other trajectory images can be obtained through the URL addresses in the Other Index Information. Besides the URL addresses of the other trajectory images, the Other Index Information also includes the identifiers of the other trajectory points. The information format of the index information includes, but is not limited to, the exto format.

[0083] In one implementation, if the index information cached on the local client includes other trajectory point identifiers, the cached state of the other index information on the local client is determined to be cached.

[0084] In another implementation, if the index information cached on the local client does not include other trajectory point identifiers, the cached state of other index information on the local client is determined to be uncached.

[0085] S304. Based on the cache status of the other index information, obtain the other index information, and based on the obtained other index information, determine the other trajectory images of the other trajectory points.

[0086] In one implementation, if the cached state of other index information in the local client is cached, the index information that matches the identifier of other trajectory points is obtained from the local client as other index information, and the URL address of other trajectory images of other trajectory points is obtained from the other index information, and then other trajectory images of other trajectory points are determined from the Internet based on the URL address.

[0087] In another implementation, if the cached state of other index information in the local client is not cached, the index information that matches the identifier of other trajectory points is obtained from the server as other index information, and the other index information is cached in the local client. The URL address of other trajectory images of other trajectory points is obtained from the other index information, and then other trajectory images of other trajectory points are determined from the Internet based on the URL address.

[0088] S305. Display other trajectory images of the other trajectory points as map update guidance information for the target trajectory point.

[0089] In one implementation, the local client renders other trajectory images to display other trajectory images, and the operators use these other trajectory images as map update guidance information to update the map data associated with the target trajectory point.

[0090] For example, if the target trajectory point is a certain intersection, and the other trajectory points are another intersection adjacent to that intersection, the local client will display the target trajectory image of the target trajectory point, as well as the other trajectory images of the other trajectory points, to assist the operators in updating the map data associated with the target trajectory point.

[0091] This disclosure obtains map update information of the target trajectory point from the server, responds to the selection operation of other trajectory points in the target area where the target trajectory point is located, determines the other trajectory point identifiers of other trajectory points, determines the cache status of other index information in the local client, obtains other index information based on the cache status of other index information, and determines other trajectory images of other trajectory points based on the obtained other index information, and displays other trajectory images of other trajectory points as map update guidance information for the target trajectory point. This achieves the effect of enriching the image information that operators can refer to, enabling operators to update the map data associated with the target trajectory point based on the target trajectory image and other trajectory images simultaneously, improving the quality of map data update results, and avoiding the problem that map data updates may not be possible based solely on the target trajectory image.

[0092] Based on the above embodiments, it also includes:

[0093] Based on the number of indexes and the number threshold of index information cached in the local client, the index information is deleted according to the caching time.

[0094] In one implementation, when the number of indexes cached in the local client exceeds a threshold, the local client initiates an eviction mechanism to evict the last indexes. That is, the number of indexes to be deleted is determined based on the number of indexes and the threshold, and the indexes with earlier cache times are deleted according to the number of indexes to be deleted.

[0095] For example, assuming the quantity threshold is 100 and the number of indexes is 105, the number of indexes to be deleted is determined to be 5. Then, the index information is sorted according to the cache time, and the 5 index information with the earliest cache time is deleted.

[0096] By deleting index information based on the number of indexes and the number threshold in the local client's cached index information according to the cache time, the problem of excessive disk space usage on the local client is avoided, thus ensuring the system performance of the local client.

[0097] Optionally, this embodiment also provides another implementation method for displaying other trajectory images of other trajectory points, including:

[0098] 1) Obtain map update information of the target trajectory point from the server; the map update information includes the target trajectory point identifier.

[0099] 2) Identify the other trajectory points in the target area where the target trajectory point is located, excluding the target trajectory point.

[0100] In one implementation, the local client displays the target area centered on the target trajectory point based on the target trajectory point identifier in the map update information. The local client also determines the other trajectory point identifiers for each trajectory point other than the target trajectory point.

[0101] Figure 3B This is a schematic diagram of some target areas disclosed in the embodiments of this disclosure, such as... Figure 3B As shown, 30 represents the area to be worked on, i.e., the entire map area, and 31 represents the target area where the target trajectory point is located. Then, the other trajectory point identifiers of other trajectory points in the target area 31, excluding the target trajectory point, are determined.

[0102] 3) Determine the cache status of other index information in the local client; other index information includes other trajectory point identifiers.

[0103] In one implementation, the identifiers of other trajectory points are matched with the index information cached in the local client to determine the cache status of the other index information of other trajectory points in the local client.

[0104] 4) Based on the cache status of other index information, obtain other index information, and based on the obtained other index information, determine other trajectory images of other trajectory points.

[0105] In one implementation, if the cached state of other index information of any other trajectory point is cached, the index information matching the other trajectory point identifier of the other trajectory point is obtained from the local client as the other index information of the other trajectory point, and then the other trajectory image of the other trajectory point is determined from the Internet based on the URL address in the other index information.

[0106] In one implementation, if the cached state of other index information of any other trajectory point is uncached, the index information matching the other trajectory point identifier of the other trajectory point is obtained from the server as the other index information of the other trajectory point, and the other index information is cached in the local client, and then the other trajectory images of the other trajectory point are determined from the Internet based on the URL address in the other index information.

[0107] 5) In response to the selection operation of any other trajectory point, display other trajectory images of other trajectory points, which are used as map update guidance information for the target trajectory point.

[0108] In one implementation, the local client deserializes the other index information of each other trajectory point and renders and displays each other trajectory point in the target area. The user selects any other trajectory point according to actual needs, and the local client accordingly renders the other trajectory images of that other trajectory point to display as map update guidance information for the target trajectory point.

[0109] This implementation obtains other index information of all other trajectory points in the target area by default, and then determines other trajectory images of each other trajectory point. This allows the local client to directly render and display the image when the operator selects any other trajectory point, reducing user waiting time and improving map update efficiency.

[0110] Optionally, users can also drag the target area to change the current display area of ​​the local client, that is, change the current display area from the target area to the auxiliary area.

[0111] Further, the auxiliary trajectory point identifiers of the auxiliary trajectory points included in the auxiliary area are determined. The cache state of the auxiliary index information in the local client is determined; the auxiliary index information includes the auxiliary trajectory point identifiers. Based on the cache state of the auxiliary index information, the auxiliary index information is obtained, and based on the obtained auxiliary index information, the auxiliary trajectory image of the auxiliary trajectory point is determined. In response to the selection operation of any auxiliary trajectory point, the auxiliary trajectory image of the auxiliary trajectory point is displayed, which is used as map update guidance information for the target trajectory point.

[0112] Figure 3C This is a schematic diagram of some auxiliary areas disclosed in the embodiments of this disclosure, such as... Figure 3C As shown, 30 represents the area to be worked on, i.e., the entire map area, and 31 represents the target area where the target trajectory point is located. When the operator drags the target area 31 to change it to the auxiliary area 32, the auxiliary trajectory image of the auxiliary trajectory point selected by the user in the auxiliary area 32 is determined and displayed.

[0113] By displaying auxiliary trajectory images of auxiliary trajectory points in the auxiliary area, the image information available to operators is greatly enriched. This allows operators to update the map data associated with the target trajectory points simultaneously based on the target trajectory image, other trajectory images, and auxiliary trajectory images, further improving the quality of map data update results and avoiding the problem that map data updates may not be possible based solely on the target trajectory image.

[0114] Figure 4 This is a schematic diagram of the structure of some image processing apparatuses disclosed in embodiments of this disclosure, which can be applied to the situation of determining the target trajectory image of target trajectory points during map updating. The apparatus of this embodiment can be implemented in software and / or hardware and can be integrated into any electronic device with computing capabilities.

[0115] like Figure 4 As shown, the image processing apparatus 40 disclosed in this embodiment may include an information acquisition module 41, a cache state determination module 42, and an image determination module 43, wherein:

[0116] Information acquisition module 41 is used to acquire map update information of target trajectory points from the server; the map update information includes the target trajectory point identifier of the target trajectory point;

[0117] The cache status determination module 42 is used to determine the cache status of the target index information in the local client based on the map update information; the target index information includes the target trajectory point identifier.

[0118] The image determination module 43 is used to obtain the target index information according to the cache state of the target index information, and determine the target trajectory image of the target trajectory point according to the obtained target index information.

[0119] Optionally, the cache state determination module 42 is specifically used for:

[0120] If the index information cached on the local client includes the target trajectory point identifier, the cached state is determined to be cached.

[0121] If the index information cached on the local client does not include the target trajectory point identifier, the cache status is determined to be an uncached state.

[0122] Optionally, the image determination module 43 is specifically used for:

[0123] If the cached state is cached, the index information matching the target trajectory point identifier is obtained from the local client and used as the target index information.

[0124] Optionally, the image determination module 43 is specifically used for:

[0125] If the cached state is uncached, obtain the index information that matches the target trajectory point identifier from the server and use it as the target index information;

[0126] The target index information is cached in the local client.

[0127] Optionally, the device further includes an image display module, specifically used for:

[0128] The target trajectory image of the target trajectory point is displayed and used as map update guidance information for the target trajectory point.

[0129] Optionally, the device further includes other trajectory image processing modules, specifically used for:

[0130] In response to a selection operation of other trajectory points in the target region where the target trajectory point is located, other trajectory point identifiers are determined;

[0131] Determine the cache status of other index information in the local client; the other index information includes the identifiers of the other trajectory points.

[0132] Based on the cache status of the other index information, obtain the other index information, and based on the obtained other index information, determine the other trajectory images of the other trajectory points.

[0133] Optionally, the target trajectory point identifier includes the location information and number information of the target trajectory point, and the other trajectory point identifier includes the location information and number information of the other trajectory points.

[0134] Optionally, the device further includes an index information deletion module, specifically used for:

[0135] Based on the number of indexes and the number threshold of index information cached in the local client, the index information is deleted according to the caching time.

[0136] The image processing apparatus 40 disclosed in this embodiment can execute the image processing method disclosed in this embodiment, and has the corresponding functional modules and beneficial effects for executing the method. Contents not described in detail in this embodiment can be referred to the descriptions in the method embodiments of this disclosure.

[0137] The acquisition, storage, and application of user personal information involved in the technical solution disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

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

[0139] Figure 5 A schematic block diagram of an example electronic device 500 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0140] like Figure 5 As shown, device 500 includes a computing unit 501, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 502 or a computer program loaded from storage unit 508 into random access memory (RAM) 503. RAM 503 may also store various programs and data required for the operation of device 500. The computing unit 501, ROM 502, and RAM 503 are interconnected via bus 504. Input / output (I / O) interface 505 is also connected to bus 504.

[0141] Multiple components in device 500 are connected to I / O interface 505, including: input unit 506, such as keyboard, mouse, etc.; output unit 507, such as various types of monitors, speakers, etc.; storage unit 508, such as disk, optical disk, etc.; and communication unit 509, such as network card, modem, wireless transceiver, etc. Communication unit 509 allows device 500 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0142] The computing unit 501 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 501 performs the various methods and processes described above, such as image processing methods. For example, in some embodiments, the image processing method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on device 500 via ROM 502 and / or communication unit 509. When the computer program is loaded into RAM 503 and executed by the computing unit 501, one or more steps of the image processing method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform image processing methods by any other suitable means (e.g., by means of firmware).

[0143] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0144] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

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

[0146] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0147] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0148] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0149] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.

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

Claims

1. An image processing method, comprising: obtaining, from a server, map update information of a target track point; the map update information comprising a target track point identifier of the target track point; determining, according to the map update information, a cache state of target index information in a local client; the target index information comprising the target track point identifier; obtaining, according to the cache state of the target index information, the target index information, and determining a target track image of the target track point according to the obtained target index information; wherein the target track image is a collection image corresponding to the target track point; rendering the target track image to display the target track image, so that an operator performs map data update based on the displayed target track image; wherein, after obtaining, from the server, the map update information of the target track point, the method further comprises: displaying a target area centered on the target track point according to the target track point identifier in the map update information, and determining other track point identifiers of each other track point in the target area except the target track point; matching each of the other track point identifiers with index information cached in the local client to determine a cache state of each of the other index information in the local client; obtaining each of the other index information according to the cache state of each of the other index information, and determining other track images of each of the other track points according to the obtained other index information; de-serializing each of the other index information to render and display each of the other track points in the target area; rendering the other track image of any of the other track points selected by a user to display the other track image as map update guide information of the target track point; wherein, the obtaining, according to the cache state of the target index information, the target index information comprises: in a case where the cache state is a cached state, obtaining index information matched with the target track point identifier from the local client as the target index information.

2. The method of claim 1, wherein, the determining, according to the map update information, the cache state of the target index information in the local client comprises: in a case where the index information cached in the local client comprises the target track point identifier, determining that the cache state is a cached state; in a case where the index information cached in the local client does not comprise the target track point identifier, determining that the cache state is an uncached state.

3. The method of claim 1, wherein, the obtaining, according to the cache state of the target index information, the target index information comprises: in a case where the cache state is an uncached state, obtaining index information matched with the target track point identifier from the server as the target index information; caching the target index information in the local client.

4. The method of claim 1, after the determining the target track image of the target track point, further comprising: displaying the target track image of the target track point as map update guide information of the target track point.

5. The method of claim 1, after the obtaining of the map update information of the target track point from the server, further comprising: in response to a selection operation on a track point other than the target track point in a target area centered on the target track point, determining an other track point identifier of the other track point; determining a cache state of other index information in the local client; the other index information comprising the other track point identifier; according to the cache state of the other index information, obtaining the other index information, and determining an other track image of the other track point according to the obtained other index information.

6. The method of claim 5, wherein, The target track point identifier comprises position information and number information of the target track point, and the other track point identifier comprises position information and number information of the other track point.

7. The method of any one of claims 1-6, further comprising: according to an index quantity of the index information cached in the local client and a quantity threshold, deleting the index information according to cache time.

8. An image processing apparatus, comprising: an information obtaining module configured to obtain map update information of a target track point from a server; the map update information comprising a target track point identifier of the target track point; a cache state determining module configured to determine a cache state of target index information in a local client according to the map update information; the target index information comprising the target track point identifier; an image determining module configured to, according to the cache state of the target index information, obtain the target index information, and determine a target track image of the target track point according to the obtained target index information; wherein the target track image is a collection image corresponding to the target track point; rendering the target track image to display the target track image, so that a work personnel performs map data update based on the displayed target track image; wherein the cache state determining module is further configured to: according to the target track point identifier in the map update information, display a target area centered on the target track point, and determine other track point identifiers of each other track point in the target area other than the target track point; matching each of the other track point identifiers with index information cached in the local client to determine a cache state of each other index information in the local client; according to the cache state of each of the other index information, obtaining each of the other index information, and determining other track images of each of the other track points according to the obtained other index information; de-serializing each of the other index information to render and display each of the other track points in the target area; rendering the other track image of any of the other track points selected by a user to display the other track image as map update guide information for the target track point; wherein the image determining module is specifically configured to: in a case where the cache state is a cached state, obtaining index information matching the target track point identifier from the local client as target index information.

9. The apparatus of claim 8, wherein, The cache state determining module is specifically configured to: determine the cache state as a cached state in a case where the index information cached in the local client includes the target trajectory point identifier; determine the cache state as an uncached state in a case where the index information cached in the local client does not include the target trajectory point identifier.

10. The apparatus of claim 8, wherein, The image determining module is specifically configured to: in a case where the cache state is the uncached state, acquire index information matching the target trajectory point identifier from the server as target index information; cache the target index information in the local client.

11. The apparatus of claim 8, further comprising an image presenting module, which is specifically configured to: present a target trajectory image of the target trajectory point as map update guide information of the target trajectory point.

12. The apparatus of claim 8, further comprising an other trajectory image processing module, which is specifically configured to: in response to a selection operation on an other trajectory point in a target area where the target trajectory point is located, determine an other trajectory point identifier of the other trajectory point; determine a cache state of other index information in the local client; the other index information includes the other trajectory point identifier; acquire the other index information according to the cache state of the other index information, and determine an other trajectory image of the other trajectory point according to the acquired other index information.

13. The apparatus of claim 12, wherein, The target trajectory point identifier includes position information and number information of the target trajectory point, and the other trajectory point identifier includes position information and number information of the other trajectory point.

14. The apparatus of any one of claims 8-13, further comprising an index information deleting module, which is specifically configured to: delete the index information according to a number of index information cached in the local client and a number threshold, and according to cache time.

15. An electronic device, comprising: at least one processor; and a memory connected in communication with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.

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

17. A computer program product comprising a computer program which, when executed by a processor, implements the method of any one of claims 1-7.

Citation Information

Patent Citations

  • Method and apparatus for updating data of map

    CN105953804A

  • Picture updating method, picture updating apparatus, server, terminal, and storage medium

    CN109063067A