CN114201565A - Image processing method, image processing apparatus, electronic device, and medium - Google Patents

Image processing method, image processing apparatus, electronic device, and medium Download PDF

Info

Publication number
CN114201565A
CN114201565A CN202111498664.1A CN202111498664A CN114201565A CN 114201565 A CN114201565 A CN 114201565A CN 202111498664 A CN202111498664 A CN 202111498664A CN 114201565 A CN114201565 A CN 114201565A
Authority
CN
China
Prior art keywords
target
index information
track point
target track
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111498664.1A
Other languages
Chinese (zh)
Inventor
田利
李�根
孟张伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202111498664.1A priority Critical patent/CN114201565A/en
Publication of CN114201565A publication Critical patent/CN114201565A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Remote Sensing (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure provides an image processing method, an image processing apparatus, an electronic device, and a medium, which relate to the technical field of computers, and in particular to the technical field of electronic maps, cloud computing, and cloud services. The specific implementation scheme is as follows: obtaining map updating information of the target track point from the server; the map updating information comprises target track point identification of the target track point; determining the cache state of the target index information in the local client according to the map updating information; the target index information comprises the target track point identification; and acquiring the target index information according to the cache state of the target index information, and determining a target track image of the target track point according to the acquired target index information. The method and the device have the advantages that on the premise that the target track image can be determined, the data volume of the data issued by the server is reduced, the pressure of the server is relieved, and the occupation of extra bandwidth of the server is avoided.

Description

Image processing method, image processing apparatus, electronic device, and medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to the field of electronic maps, cloud computing, and cloud service technologies, and in particular, to an image processing method, an image processing apparatus, an electronic device, and a medium.
Background
An electronic map, namely a digital map, is a map stored and consulted in a digital mode by utilizing a computer technology, and the electronic map has gradually replaced a paper map to become a preferred tool for people to carry out route planning due to the characteristics of quick access, three-dimensional display, dynamic display and the like.
The map data of the electronic map is updated accordingly based on the change of the map elements in the physical world.
Disclosure of Invention
The present disclosure provides a method, an apparatus, an electronic device, and a medium for reducing server pressure in a map update process.
According to an aspect of the present disclosure, there is provided an image processing method including:
obtaining map updating information of the target track point from the server; the map updating information comprises target track point identification of the target track point;
determining the cache state of the target index information in the local client according to the map updating information; the target index information comprises the target track point identification;
and acquiring the target index information according to the cache state of the target index information, and determining a target track image of the target track point according to the acquired target index information.
According to another aspect of the present disclosure, there is provided an image processing apparatus including:
the information acquisition module is used for acquiring the map updating information of the target track point from the server; the map updating information comprises target track point identification of the target track point;
the cache state determining module is used for determining the cache state of the target index information in the local client according to the map updating information; the target index information comprises the target track point identification;
and the image determining module is used for acquiring the target index information according to the cache state of the target index information and determining a target track image of the target track point according to the acquired target index information.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any of the present disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of the present disclosure.
According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, performs the method of any one of the present disclosure.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a flow chart of some image processing methods disclosed in accordance with embodiments of the present disclosure;
FIG. 2A is a flow chart of further image processing methods disclosed in accordance with embodiments of the present disclosure;
FIG. 2B is a schematic diagram showing some target trajectory images disclosed in accordance with an embodiment of the present disclosure;
FIG. 3A is a flow chart of further image processing methods disclosed in accordance with embodiments of the present disclosure;
FIG. 3B is a schematic illustration of some target areas disclosed in accordance with an embodiment of the present disclosure;
FIG. 3C is a schematic illustration of some auxiliary areas disclosed in accordance with an embodiment of the present disclosure;
FIG. 4 is a schematic structural diagram of some image processing devices disclosed according to an embodiment of the disclosure
Fig. 5 is a block diagram of an electronic device for implementing the image processing method disclosed in the embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The applicant finds that the current mainstream map updating operation mode is as follows in the research and development process: the server side uniformly issues the map updating information of the target track point and the index information of the target track point to the local client side, the binding relationship between the map updating information and the index information is also recorded in a download file, and when an operator selects the map updating information, the target track image of the target track point is automatically opened based on the corresponding index information. And the operator updates the map based on the target track image.
However, the disadvantage of this operation mode is that if the operator operates the same target trace point for multiple times, the problem that the server repeatedly issues the index information of the target trace point is caused, which results in redundant issuing of the index information, increases the data volume of the data issued by the server, increases the pressure of the server, and the server also occupies extra bandwidth and machine resources.
Fig. 1 is a flowchart of some image processing methods disclosed according to an embodiment of the present disclosure, which may be applied to a case of determining a target track image of a target track point in a map updating process. The method of the present embodiment may be executed by the image processing apparatus disclosed in the embodiments of the present disclosure, and the apparatus may be implemented by software and/or hardware, and may be integrated on any electronic device with computing capability.
As shown in fig. 1, the image processing method disclosed in this embodiment may include:
s101, obtaining map updating information of a target track point from a server; the map update information includes a target track point identification of the target track point.
The server represents a service server for map updating. The target track point represents the track point related to the map updating, the track point is an acquisition point for acquiring an image once in the field of the map, and the acquisition point corresponds to at least one acquisition image and one acquisition position, namely the track point image and the track point position. The map update information represents material for instructing an operator to update the map data based on a specific map element, and is generated by means of program recognition or manual recording, and in this embodiment, the map update information includes a map element to be updated and a target track point identification of an associated target track point. The target track point identification represents identification information capable of uniquely representing the target track point.
In an embodiment, when a target track point needs to be updated, a server determines a map element of the target track point that needs to be updated through a program identification or manual recording mode, for example, a map element included in a target track image corresponding to the target track point is identified through a target detection method, and for example, a map element included in the target track image is framed through a manual framing mode. And the server side further generates map updating information of the target track point according to the map elements needing to be updated of the target track point and the target track point identification of the target track point. And the server sends the map updating information to the local client based on a preset communication protocol and the address information. The information format of the map update information includes, but is not limited to, the exto format.
The local client acquires the map updating information of the target track points from the server and displays the map updating information in a list mode, wherein the number of the target track points can be one or more. The method comprises the following steps that an operator selects any map updating information to operate, namely when the number of target track points is one, the operator selects the map updating information of the target track points to operate; and when the number of the target track points is multiple, the operator selects the map updating information of one target track point from the multiple target track points to operate.
The map updating information of the target track point is obtained from the server, so that a foundation is laid for subsequently determining the cache state of the target index information in the local client.
S102, determining the cache state of the target index information in the local client according to the map updating information; the target index information includes the target track point identification.
The target index information indicates index information of a target track point corresponding to the target track image, and the target track image can be obtained through a Uniform Resource Locator (URL) address in the target index information. The target index information includes target track point identifiers of target track points, and the like, in addition to the URL addresses of the target track images. The information format of the index information includes, but is not limited to, the exto format.
In this embodiment, after the local client obtains the index information of any track image from the server, the local client locally caches the index information, so that the index information is multiplexed, and the server does not need to issue the index information together with the map update information each time.
In one implementation, the local client analyzes the map update information, and obtains a target track point identifier of a target track point included in the map update information. And matching the target track point identification with the index information cached in the local client, and determining whether the local client caches the target index information corresponding to the target track point.
And if any cached index information of the local client comprises the target track point identification, determining that the caching state of the target index information in the local client is a cached state. Namely, the target index information of the target track point is cached in the local client.
And if all cached index information of the local client does not comprise the target track point identification, determining that the caching state of the target index information in the local client is an uncached state. That is, the target index information of the target track point is not cached in the local client.
The caching state of the target index information in the local client is determined according to the map updating information, so that the effect of determining whether the local client caches the target index information is achieved, and a foundation is laid for obtaining the target index information according to the caching state subsequently.
S103, acquiring the target index information according to the cache state of the target index information, and determining a target track image of the target track point according to the acquired target index information.
The target track image is an acquired image corresponding to the target track point.
In one embodiment, if the local client determines that the cache state of the target index information is the cached state, the local client acquires the target index information from the local client, acquires the URL address of the target track image of the target track point from the target index information, and further determines the target track image of the target track point from the internet based on the URL address.
In another embodiment, if the local client determines that the cache state of the target index information is an uncached state, the local client obtains the target index information from the server and caches the target index information in the local client. And acquiring the URL address of the target track image of the target track point from the target index information, and further determining the target track image of the target track point from the Internet based on the URL address.
After determining the target track image of the target track point, the local client renders the target track image to display the target track image, and the operator updates the map data based on the displayed target track image.
The method and the device have the advantages that the map updating information of the target track point is obtained from the server, the cache state of the target index information in the local client is determined according to the map updating information, the target index information is further obtained according to the cache state of the target index information, and the target track image of the target track point is determined according to the obtained target index information.
Fig. 2A is a flowchart of other image processing methods disclosed according to the embodiments of the present disclosure, which are further optimized and expanded based on the above technical solutions, and can be combined with the above various alternative embodiments.
As shown in fig. 2A, the image processing method disclosed in this embodiment may include:
s201, obtaining map updating information of a target track point from a server; the map update information includes a target track point identification of the target track point.
S2021, determining that the cached state of the target index information in the local client is the cached state when the index information cached in the local client includes the target track point identifier, and executing S2031.
In one embodiment, the local client matches the target track point identifier with each cached index information, determines whether any cached index information includes the target track point identifier, and determines that the caching state of the target index information in the local client is the cached state if the target track point identifier is included in any cached index information.
Optionally, the target track point identifier includes position information and number information of the target track point. Correspondingly, the cached index information includes the position information and the number information of the track point.
For example, assuming that the position information of the target track point is (X, Y, Z), matching the position information (X, Y, Z) with the position information of the track point in each cached index information, and if any cached index information includes the position information (X, Y, Z), determining that the caching state of the target index information in the local client is the cached state.
By setting the position information and the number information of the target track point mark including the target track point, the richness of the target track point mark is ensured, and the diversity of means for matching the subsequent target track point marks is increased.
S2022, determining that the cached state of the target index information in the local client is an uncached state when the index information cached by the local client does not include the target track point identifier, and executing S2032.
In one embodiment, the local client matches the target track point identifier with each piece of cached index information, determines whether any piece of cached index information includes the target track point identifier, and if not, determines that the caching state of the target index information in the local client is an uncached state.
For example, assuming that the position information of the target track point is (X, Y, Z), matching the position information (X, Y, Z) with the position information of the track point in each cached index information, and if all cached index information does not include the position information (X, Y, Z), determining that the caching state of the target index information in the local client is an uncached state.
S2031, under the condition that the cache state is the cached state, acquiring index information matched with the target track point identifier from the local client as target index information.
In one embodiment, the local client uses the cached index information matched with the target track point identifier as the target index information.
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 piece of cached index information, and if the index information a includes the position information (X, Y, Z), the index information a is used as the target index information.
S2032, under the condition that the cache state is not the cache state, obtaining the index information matched with the target track point identification from the server side as the target index information, and caching the target index information in the local client side.
In one implementation, the local client generates an index information request according to the target track point identifier, and sends the index information request carrying the target track point identifier to the server, so that the server feeds back target index information matched with the target track point identifier to the local client.
For example, assuming that the position information of the target track point is (X, Y, Z), matching the position information (X, Y, Z) with the position information of the track point in each cached index information, if all cached index information does not include the position information (X, Y, Z), sending an index information request carrying the position information (X, Y, Z) to the server, and feeding back the index information matched with the position information (X, Y, Z) as the target index information to the local client by the server.
And S204, determining a target track image of the target track point according to the acquired target index information, and displaying the target track image of the target track point to be used as map updating guide information of the target track point.
In one implementation, the local client acquires the URL address of the target track image of the target track point from the target index information, and then determines the target track image of the target track point from the internet based on the URL address. The local client renders the target track image to display the target track image, and the operator uses the target track image as map updating guide information to update the map data associated with the target track point.
According to the method and the device, the cache state of the target index information in the local client is determined to be the cached state under the condition that the index information cached by the local client comprises the target track point identification, and the cache state of the target index information in the local client is determined to be the uncached state under the condition that the index information cached by the local client does not comprise the target track point identification, so that the effect of determining the cache state of the target index information in the local client based on the target track point identification is realized, and a foundation is laid for acquiring the target index information by adopting different technical means based on different cache states subsequently; by acquiring index information matched with the target track point identifier from the local client side as target index information under the condition that the cache state is the cached state, the effect of local multiplexing of the cache information is realized, and the data volume of data issued by the server side is reduced; by acquiring the index information matched with the target track point identifier from the server side as the target index information and caching the target index information in the local client side under the condition that the cache state is the uncached state, the effect of acquiring and caching the target index information from the server side is realized, and a foundation is laid for multiplexing the target index information at the local client side subsequently; the target track image of the target track point is displayed and used as map updating guide information of the target track point, so that the effect of assisting operators to update map data through the target track image is achieved, and the accuracy of map data updating is guaranteed.
Fig. 2B is a schematic diagram showing some target track images according to the embodiment of the present disclosure, as shown in fig. 2B, 20 indicates target track points, and after the target track image 21 of the target track point 20 is determined, the target track image 21 is shown to be used as map update guide information of the target track point 20.
The applicant also finds that, in the currently mainstream map updating operation mode, because the server only issues the index information of the target track point and the map updating information in a unified manner, a limited number of track point images that can be referred to by the operator are fixed, that is, only the target track image corresponding to the target track point exists, so that under the road conditions such as a complex intersection and the like, the image information that the operator can refer to is too little, some special map elements may be omitted, the quality of the map updating result is low, and even the map updating cannot be performed.
Fig. 3A is a flowchart of other image processing methods disclosed according to the embodiments of the present disclosure, which are further optimized and expanded based on the above technical solutions, and can be combined with the above various alternative embodiments.
As shown in fig. 3A, the image processing method disclosed in this embodiment may include:
s301, obtaining map updating information of the target track point from the server; the map update information includes a target track point identification of the target track point.
S302, responding to the selection operation of other track points except the target track point in the target area where the target track point is located, and determining other track point identifications of the other track points.
In one implementation, the local client displays a target area with the target track point as the center according to the target track point identifier of the target track point in the map update information, and other track points are available in the target area besides the target track point. The operating personnel can select other track points except the target track point in the target area according to actual requirements, and the local client side responds to the selection operation to determine other track point identifications of the other track points.
Optionally, the other trace point identifier includes position information and number information of the other trace point.
Through setting up position information and the serial number information that other orbit point signs include other orbit points, guaranteed the richness of other orbit point signs, increased the means variety that follow-up other orbit point signs match.
S303, determining the cache state of other index information in the local client; and the other index information comprises the other track point identification.
And the other index information represents index information of other track points corresponding to other track images, and other track images can be obtained through URL addresses in the other index information. The other index information includes, in addition to the URL addresses of the other track images, other track point identifiers of other track points, and the like. The information format of the index information includes, but is not limited to, the exto format.
In one embodiment, in the case that the index information cached by the local client includes other track point identifiers, the caching state of the other index information in the local client is determined to be a cached state.
In another embodiment, in the case that the index information cached by the local client does not include other track point identifiers, it is determined that the caching state of other index information in the local client is an uncached state.
S304, obtaining the other index information according to the cache state of the other index information, and determining other track images of the other track points according to the obtained other index information.
In one embodiment, when the cache state of the other index information in the local client is the cached state, the index information matched with the other track point identifier is obtained from the local client as the other index information, the URL address of the other track image of the other track point is obtained from the other index information, and the other track image of the other track point is determined from the internet based on the URL address.
In another embodiment, when the cache state of other index information in the local client is an uncached state, the index information matched with the other track point identifiers is obtained from the server as other index information, the other index information is cached in the local client, the URL addresses of other track images of other track points are obtained from the other index information, and then the other track images of the other track points are determined from the internet based on the URL addresses.
And S305, displaying other track images of the other track points, and using the other track images as map updating guide information of the target track points.
In one implementation, the local client renders other track images to show the other track images, and the operator uses the other track images as map update guide information to update the map data associated with the target track point.
For example, if the target track point is a certain intersection and other track points are another intersection adjacent to the intersection, the local client may also display other track images of the other track points on the basis of displaying the target track image of the target track point, so as to assist the operator in updating the map data associated with the target track point.
The method comprises the steps of obtaining map updating information of a target track point from a server, responding to selection operation of other track points except the target track point in a target area where the target track point is located, determining other track point identifications of the other track points, determining the cache state of other index information in a local client, obtaining other index information according to the cache state of the other index information, determining other track images of the other track points according to the obtained other index information, displaying the other track images of the other track points, and using the other track images as map updating guide information of the target track point, so that the effect of enriching image information which can be referred by an operator is realized, the operator can update map data related to the target track point based on the target track image and the other track images at the same time, and the quality of a map data updating result is improved, the problem that map data updating may not be performed based on only the target track image is avoided.
On the basis of the above embodiment, the method further includes:
and deleting the index information according to the caching time according to the index number and the number threshold of the index information cached in the local client.
In an embodiment, when the number of indexes of index information cached in the local client exceeds a number threshold, the local client starts a culling mechanism to cull the tail of the index information, that is, the number to be deleted is determined according to the number of indexes and the number threshold, and the index information with an earlier caching time is deleted according to the number to be deleted.
For example, assuming that the number threshold is 100 and the number of indexes is 105, determining that the number to be deleted is 5, sorting the index information according to the caching time, and deleting the 5 index information with the earliest caching time.
According to the index number and the number threshold of the index information cached in the local client, the index information is deleted according to the caching time, so that the problem that the disk capacity of the local client occupies too much is avoided, and the system performance of the local client is ensured.
Optionally, this embodiment further provides another implementation manner of displaying other track images of other track points, including:
1) obtaining map updating information of the target track point from the server; the map update information includes target track point identifications of the target track points.
2) And determining other track point identifications of other track points except the target track point in the target area where the target track point is located.
In one implementation, the local client displays a target area with the target track point as the center according to the target track point identifier of the target track point in the map update information. And the local client determines other track point identifications of other track points except the target track point.
Fig. 3B is a schematic diagram of some target areas disclosed according to the embodiment of the present disclosure, as shown in fig. 3B, 30 indicates an area to be operated, that is, an entire map area, 31 indicates a target area where a target track point is located, and then other track point identifiers of other track points in the target area 31 except the target track point are determined.
3) Determining the cache state of other index information in the local client; other index information includes other track point identifications.
In one embodiment, the other track point identifiers of the other track points are matched with the index information cached by the local client, and the caching state of the other index information of the other track points in the local client is determined.
4) And acquiring other index information according to the cache state of the other index information, and determining other track images of other track points according to the acquired other index information.
In one embodiment, if the cache state of the other index information of any other track point is the cached state, the index information matched with the other track point identifier of the other track point is obtained from the local client and is used as the other index information of the other track point, and then the other track image of the other track point is determined from the internet based on the URL address in the other index information.
In one embodiment, if the cache state of the other index information of any other track point is an uncached state, the index information matched with the other track point identifier of the other track point is obtained from the server side and serves as the other index information of the other track point, the other index information is cached in the local client side, and then the other track image of the other track point is determined from the internet based on the URL address in the other index information.
5) And responding to the selection operation of any other track point, and displaying other track images of other track points for serving as the map updating guide information of the target track point.
In one embodiment, the local client deserializes other index information of each other track point, and renders and displays each other track point in the target area. And the user selects any other track point according to actual requirements, and the local client correspondingly renders other track images of the other track points so as to display the other track images for being used as map updating guide information of the target track point.
According to the implementation mode, other index information of all other track points in the target area is acquired by default, and then other track images of all other track points are determined, so that when an operator selects any other track point, a local client can directly render a display, the waiting time of a user is shortened, and the map updating efficiency is improved.
Optionally, the user may also drag the target area to change the current display area of the local client, i.e., change the current display area from the target area to the auxiliary area.
Further, an auxiliary track point identification of the auxiliary track points comprised by the auxiliary area is determined. Determining the cache state of the auxiliary index information in the local client; the auxiliary index information includes auxiliary track point identification. And acquiring auxiliary index information according to the cache state of the auxiliary index information, and determining an auxiliary track image of the auxiliary track point according to the acquired auxiliary index information. And responding to the selection operation of any auxiliary track point, and displaying an auxiliary track image of the auxiliary track point for serving as the map updating guide information of the target track point.
Fig. 3C is a schematic diagram of some auxiliary areas disclosed according to the embodiment of the present disclosure, as shown in fig. 3C, 30 indicates an area to be operated, that is, an entire map area, 31 indicates a target area where a target track point is located, and when an operator drags the target area 31 to change the auxiliary area 32, an auxiliary track image of an auxiliary track point selected by a user in the auxiliary area 32 is determined and displayed.
By displaying the auxiliary track image of the auxiliary track point in the auxiliary area, the image information which can be referred by an operator is enriched to a greater extent, so that the operator can update the map data associated with the target track point based on the target track image, other track images and the auxiliary track image, the quality of a map data updating result is further improved, and the problem that the map data cannot be updated only based on the target track image is solved.
Fig. 4 is a schematic structural diagram of some image processing apparatuses disclosed in the embodiment of the present disclosure, which can be applied to a case of determining a target track image of a target track point in a map updating process. The device of the embodiment can be implemented by software and/or hardware, and can be integrated on any electronic equipment with computing capability.
As shown in fig. 4, the image processing apparatus 40 disclosed in the present embodiment may include an information acquisition module 41, a buffer status determination module 42, and an image determination module 43, wherein:
the information acquisition module 41 is configured to acquire map update information of the target track point from the server; the map updating information comprises target track point identification of the target track point;
a cache state determining module 42, configured to determine a cache state of the target index information in the local client according to the map update information; the target index information comprises the target track point identification;
and an image determining module 43, configured to obtain the target index information according to the cache state of the target index information, and determine a target track image of the target track point according to the obtained target index information.
Optionally, the cache state determining module 42 is specifically configured to:
determining that the cache state is a cached state under the condition that the index information cached by the local client comprises the target track point identifier;
and under the condition that the index information cached by the local client does not comprise the target track point identifier, determining that the caching state is an uncached state.
Optionally, the image determining module 43 is specifically configured to:
and under the condition that the cache state is the cached state, acquiring index information matched with the target track point identifier from the local client as target index information.
Optionally, the image determining module 43 is specifically configured to:
under the condition that the cache state is an uncached state, acquiring index information matched with the target track point identifier from a server side as target index information;
and caching the target index information in the local client.
Optionally, the apparatus further includes an image display module, specifically configured to:
and displaying a target track image of the target track point, wherein the target track image is used as map updating guide information of the target track point.
Optionally, the apparatus further includes another trajectory image processing module, specifically configured to:
responding to the selection operation of other track points except the target track point in the target area where the target track point is located, and determining other track point identifications of the other track points;
determining the cache state of other index information in the local client; the other index information comprises the other track point identification;
and acquiring the other index information according to the cache state of the other index information, and determining other track images of the other track points according to the acquired other index information.
Optionally, the target track point identifier includes position information and number information of the target track point, and the other track point identifiers include position information and number information of the other track points.
Optionally, the apparatus further includes an index information deleting module, which is specifically configured to:
and deleting the index information according to the caching time according to the index number and the number threshold of the index information cached in the local client.
The image processing apparatus 40 disclosed in the embodiment of the present disclosure can execute the image processing method disclosed in the embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the execution method. Reference may be made to the description in the method embodiments of the present disclosure for details that are not explicitly described in this embodiment.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, and do not violate the good customs of the public order.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 5 illustrates a schematic block diagram of an example electronic device 500 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 5, the apparatus 500 comprises a computing unit 501 which may perform various appropriate actions and processes in accordance with a computer program stored in a Read Only Memory (ROM)502 or a computer program loaded from a storage unit 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The calculation unit 501, the ROM 502, and the RAM 503 are connected to each other by a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
A number of components in the device 500 are connected to the I/O interface 505, including: an input unit 506 such as a keyboard, a mouse, or the like; an output unit 507 such as various types of displays, speakers, and the like; a storage unit 508, such as a magnetic disk, optical disk, or the like; and a communication unit 509 such as a network card, modem, wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The computing unit 501 may be a variety of general-purpose and/or special-purpose processing components having 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 dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 501 executes the respective methods and processes described above, such as the image processing method. For example, in some embodiments, the image processing method may be implemented as a computer software program tangibly embodied 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 onto the device 500 via the ROM 502 and/or the communication unit 509. When the computer program is loaded into the 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 the image processing method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), blockchain networks, and the internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (19)

1. An image processing method comprising:
obtaining map updating information of the target track point from the server; the map updating information comprises target track point identification of the target track point;
determining the cache state of the target index information in the local client according to the map updating information; the target index information comprises the target track point identification;
and acquiring the target index information according to the cache state of the target index information, and determining a target track image of the target track point according to the acquired target index information.
2. The method of claim 1, wherein the determining a caching status of target index information in a local client according to the map update information comprises:
determining that the cache state is a cached state under the condition that the index information cached by the local client comprises the target track point identifier;
and under the condition that the index information cached by the local client does not comprise the target track point identifier, determining that the caching state is an uncached state.
3. The method of claim 1, wherein the obtaining the target index information according to the cache state of the target index information comprises:
and under the condition that the cache state is the cached state, acquiring index information matched with the target track point identifier from the local client as target index information.
4. The method of claim 1, wherein the obtaining the target index information according to the cache state of the target index information comprises:
under the condition that the cache state is an uncached state, acquiring index information matched with the target track point identifier from a server side as target index information;
and caching the target index information in the local client.
5. The method of claim 1, after determining the target trajectory image of the target trajectory point, further comprising:
and displaying a target track image of the target track point, wherein the target track image is used as map updating guide information of the target track point.
6. The method according to claim 1, further comprising, after obtaining the map update information of the target track point from the server side:
responding to the selection operation of other track points except the target track point in the target area where the target track point is located, and determining other track point identifications of the other track points;
determining the cache state of other index information in the local client; the other index information comprises the other track point identification;
and acquiring the other index information according to the cache state of the other index information, and determining other track images of the other track points according to the acquired other index information.
7. The method of claim 6, wherein the target track point identifier includes position information and number information of the target track point, and the other track point identifiers include position information and number information of the other track points.
8. The method according to any one of claims 1-7, further comprising:
and deleting the index information according to the caching time according to the index number and the number threshold of the index information cached in the local client.
9. An image processing apparatus comprising:
the information acquisition module is used for acquiring the map updating information of the target track point from the server; the map updating information comprises target track point identification of the target track point;
the cache state determining module is used for determining the cache state of the target index information in the local client according to the map updating information; the target index information comprises the target track point identification;
and the image determining module is used for acquiring the target index information according to the cache state of the target index information and determining a target track image of the target track point according to the acquired target index information.
10. The apparatus of claim 9, wherein the cache state determination module is specifically configured to:
determining that the cache state is a cached state under the condition that the index information cached by the local client comprises the target track point identifier;
and under the condition that the index information cached by the local client does not comprise the target track point identifier, determining that the caching state is an uncached state.
11. The apparatus of claim 9, wherein the image determination module is specifically configured to:
and under the condition that the cache state is the cached state, acquiring index information matched with the target track point identifier from the local client as target index information.
12. The apparatus of claim 9, wherein the image determination module is specifically configured to:
under the condition that the cache state is an uncached state, acquiring index information matched with the target track point identifier from a server side as target index information;
and caching the target index information in the local client.
13. The apparatus of claim 9, further comprising an image presentation module, specifically configured to:
and displaying a target track image of the target track point, wherein the target track image is used as map updating guide information of the target track point.
14. The apparatus according to claim 9, further comprising another trajectory image processing module, specifically configured to:
responding to the selection operation of other track points except the target track point in the target area where the target track point is located, and determining other track point identifications of the other track points;
determining the cache state of other index information in the local client; the other index information comprises the other track point identification;
and acquiring the other index information according to the cache state of the other index information, and determining other track images of the other track points according to the acquired other index information.
15. The apparatus according to claim 14, wherein the target track point identification includes position information and number information of the target track point, and the other track point identification includes position information and number information of the other track point.
16. The apparatus according to any one of claims 9 to 15, further comprising an index information deletion module, specifically configured to:
and deleting the index information according to the caching time according to the index number and the number threshold of the index information cached in the local client.
17. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.
18. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-8.
19. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-8.
CN202111498664.1A 2021-12-09 2021-12-09 Image processing method, image processing apparatus, electronic device, and medium Pending CN114201565A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111498664.1A CN114201565A (en) 2021-12-09 2021-12-09 Image processing method, image processing apparatus, electronic device, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111498664.1A CN114201565A (en) 2021-12-09 2021-12-09 Image processing method, image processing apparatus, electronic device, and medium

Publications (1)

Publication Number Publication Date
CN114201565A true CN114201565A (en) 2022-03-18

Family

ID=80651644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111498664.1A Pending CN114201565A (en) 2021-12-09 2021-12-09 Image processing method, image processing apparatus, electronic device, and medium

Country Status (1)

Country Link
CN (1) CN114201565A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116089560A (en) * 2023-03-02 2023-05-09 智道网联科技(北京)有限公司 Trace point assignment method, device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116089560A (en) * 2023-03-02 2023-05-09 智道网联科技(北京)有限公司 Trace point assignment method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112764916B (en) Data acquisition method and device
CN110472095B (en) Voice guidance method, device, equipment and medium
CN112559631B (en) Data processing method and device of distributed graph database and electronic equipment
CN113377809A (en) Data processing method and apparatus, computing device, and medium
CN113656533A (en) Tree control processing method and device and electronic equipment
CN114201565A (en) Image processing method, image processing apparatus, electronic device, and medium
CN112527943B (en) Map rendering method, device, equipment and storage medium
CN114445682A (en) Method, device, electronic equipment, storage medium and product for training model
CN113836462A (en) Page description file generation method, device, equipment and storage medium
CN112527235A (en) Voice playing method, device, equipment and storage medium
CN112560936A (en) Model parallel training method, device, equipment, storage medium and program product
CN113971200A (en) Map service flow recording system and method of cloud native platform
CN114443197A (en) Interface processing method and device, electronic equipment and storage medium
CN112148279A (en) Log information processing method and device, electronic equipment and storage medium
CN113569144B (en) Method, device, equipment, storage medium and program product for searching promotion content
CN114398130B (en) Page display method, device, equipment and storage medium
EP4174682A1 (en) Map data updating method and apparatus, and electronic device
CN114185908B (en) Map data processing method and device, electronic equipment and storage medium
CN114860405B (en) Parameter updating method and device of multitask model and storage medium
CN116634102B (en) Front-end command equipment and data processing method based on same
CN114721895B (en) Verification method, platform, equipment and medium for design to be tested
US20230267117A1 (en) Driving data processing method, apparatus, device, automatic driving vehicle, medium and product
CN113220472A (en) Application program communication method, device and storage medium
CN117407495A (en) Broadcasting method and device of generated content, electronic equipment and storage medium
CN113254614A (en) Intelligent question answering method, device, equipment and computer readable storage medium

Legal Events

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