CN112818276B - Point-of-interest picture processing method and device, electronic equipment and storage medium - Google Patents

Point-of-interest picture processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112818276B
CN112818276B CN201911128370.2A CN201911128370A CN112818276B CN 112818276 B CN112818276 B CN 112818276B CN 201911128370 A CN201911128370 A CN 201911128370A CN 112818276 B CN112818276 B CN 112818276B
Authority
CN
China
Prior art keywords
link
picture
data slice
interest
data
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.)
Active
Application number
CN201911128370.2A
Other languages
Chinese (zh)
Other versions
CN112818276A (en
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 CN201911128370.2A priority Critical patent/CN112818276B/en
Publication of CN112818276A publication Critical patent/CN112818276A/en
Application granted granted Critical
Publication of CN112818276B publication Critical patent/CN112818276B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • 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]
    • G06F16/9558Details of hyperlinks; Management of linked annotations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application discloses a method and a device for processing a point of interest picture, electronic equipment and a storage medium, and relates to the technical field of data processing. The specific implementation scheme is as follows: firstly, receiving an acquisition request of interest point data, wherein the acquisition request comprises identification information of interest points, then, acquiring a target picture file according to the acquisition request, wherein the target picture file comprises interest point pictures and associated information of the interest point pictures, and finally, displaying the interest point pictures and the associated information. According to the interest point picture processing method, the target picture file carries the associated information, so that the problem that the interest point picture is inconsistent with the picture associated information during display due to the change of external information is avoided during information display.

Description

Point-of-interest picture processing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method and an apparatus for processing an interest point image, an electronic device, and a storage medium.
Background
With the continuous development of mobile communication technology and mobile intelligent terminals, map-type applications have become an important portal for the mobile internet.
In the prior art, the storage mode of the picture information corresponding to the point of interest (Point of Interest, abbreviated as POI) in the map is as follows: the picture data of the picture itself is stored in the cloud storage, and the picture related information (POI type information, POI related relationship, POI description information, and the like) is stored in the database. Therefore, the storage mode of the POI pictures in the current map is to be related to the POI, only relevant picture labels are added to store the POI pictures in the cloud, and then the cloud performs consistency check by using picture encryption check codes.
However, in the above manner of storing POI pictures, when the picture related information stored in the database is changed, the picture data in the cloud server needs to be updated synchronously, and if the picture data in the cloud server is not updated timely, the problem that the picture corresponding to the POI is inconsistent with the picture related information occurs.
Disclosure of Invention
The application provides a method, a device, electronic equipment and a storage medium for processing a picture of an interest point, which are used for solving the problem that if picture related information stored in a database is changed, if picture data in a cloud server are not updated timely, pictures corresponding to POIs are inconsistent with the picture related information.
In a first aspect, the present application provides a method for processing a point of interest picture, including:
receiving an acquisition request of interest point data, wherein the acquisition request comprises identification information of interest points;
acquiring a target picture file according to the acquisition request, wherein the target picture file comprises an interest point picture and associated information of the interest point picture;
and displaying the interest point picture and the associated information.
In this embodiment, by receiving an acquisition request of the point of interest data, and then acquiring a corresponding target picture file according to the identification information of the point of interest in the acquisition request, where the target picture file includes the point of interest picture and the associated information of the point of interest picture, when the acquired point of interest picture and the associated information of the point of interest picture are displayed, since the target picture file itself carries the associated information, the problem that the point of interest picture does not coincide with the associated information of the picture when the information is displayed due to the change of external information is avoided.
In one possible design, the method for processing an interest point image further includes:
receiving an update request of interest point data, wherein the update request comprises an interest point update picture and update association information of the interest point update picture;
And updating the picture according to the interest points and generating an updated picture file according to the updated associated information.
In this embodiment, by receiving an update request of the point of interest data and generating an update picture file according to the point of interest update picture and update association information in the update request, the data of the same point of interest can be updated in a stepwise manner, so that the map user can obtain the latest picture information.
In one possible design, after the generating an updated picture file according to the point of interest updated picture and the update association information, the method further includes:
generating a forward link, wherein the forward link is used for connecting the current updated picture file to a picture file updated last time, and the updated picture file comprises the forward link;
and generating a backward link, wherein the backward link is used for connecting the last updated picture file to the current updated picture file, and the last updated picture file comprises the backward link.
In this embodiment, by generating the forward link and the backward link, a chain structure between the picture files is established according to the time sequence, and since the picture files record the front and rear picture files, the picture files themselves have a time sequence relationship, and according to the time sequence relationship, the time information of the attached picture of the POI can be effectively displayed, and when all the picture files of one POI can be stored in this way, the history change of one POI can be effectively and reasonably displayed.
In one possible design, after the generating the updated picture file, the method further includes:
slicing the updated picture file to form a data slice set, wherein the data slice set comprises a plurality of orderly arranged data slices;
a first link is generated for a first data slice for connecting the first data slice to a previous data slice and a second link is generated for connecting the first data slice to a second data slice, wherein the second data slice is a next data slice of the first data slice in the set of data slices.
In this embodiment, the image file is sliced to form a data slice set, and the chained connection relationship of each data slice is established by storing the linked form of the last data slice and the next data slice in each data slice, so that each data slice can be sequentially acquired to generate the image of the interest point and display the image.
In one possible design, after the generating the first link and the second link for the first data slice, the method further includes:
generating a first link hash value according to the first link and a preset hash algorithm, and generating a second link hash value according to the second link and the preset hash algorithm, wherein the first link hash value and the second link hash value are included in the first data slice, and the second link hash value is included in the second data slice.
In the embodiment, the link hash value is generated by encrypting the link, and the picture can be generated again according to all slice data only after the slice data hash values of the pictures corresponding to the interest points are all collected, so that the picture of the interest points is ensured not to be tampered maliciously.
In one possible design, after the generating the first link hash value according to the first link and the preset hash algorithm, the method further includes:
storing each data slice in the data slice set into a plurality of different link addresses, storing a mapping relation between the link address of each data slice and a corresponding link hash value into an encryption database, and storing the first link hash value into a universal database, wherein the first data slice is the first data slice in the data slice set, and the first link is the backward link.
In this embodiment, by storing each data slice in the set of data slices into a plurality of different link addresses, distributed multi-storage of all the data slices is achieved, and the actual link address of the data slice corresponding to the link hash value is also recorded into the distributed encrypted database. However, because the related information storage records only one mapping relationship, there is no other meaning, and if there is no correct decryption mode and data slice integration mode, the corresponding interest point picture cannot be restored and processed.
In one possible design, the obtaining the target picture file according to the obtaining request includes:
acquiring the first link hash value according to the identification information of the interest point;
acquiring a first link address of the first data slice according to the first link hash value, and acquiring the first data slice according to the first link address;
acquiring a second link address of the second data slice according to a second link hash value in the first data slice, and acquiring the second data slice according to the second link address;
and generating the target picture file according to the acquired data slice set.
In a second aspect, the present application further provides a device for processing a point of interest picture, including:
the receiving module is used for receiving an acquisition request of the interest point data, wherein the acquisition request comprises identification information of the interest point;
the processing module is used for acquiring a target picture file according to the acquisition request, wherein the target picture file comprises an interest point picture and associated information of the interest point picture;
and the display module is used for displaying the interest point picture and the associated information.
In one possible design, the receiving module is further configured to receive an update request of the point of interest data, where the update request includes a point of interest update picture and update association information of the point of interest update picture;
The processing module is further configured to generate an updated picture file according to the point of interest updated picture and the update association information.
In one possible design, the processing module is further configured to generate a forward link, where the forward link is configured to connect the current updated picture file to a last updated picture file, and the updated picture file includes the forward link;
the processing module is further configured to generate a backward link, where the backward link is used to connect the last updated picture file to the current updated picture file, and the last updated picture file includes the backward link.
In one possible design, the processing module is further configured to slice the updated picture file to form a set of data slices, where the set of data slices includes a plurality of data slices arranged in an order;
the processing module is further configured to generate a first link for a first data slice and a second link for connecting the first data slice to a previous data slice, wherein the second data slice is a next data slice of the first data slice in the set of data slices.
In one possible design, the processing module is further configured to generate a first link hash value according to the first link and a preset hash algorithm, and generate a second link hash value according to the second link and a preset hash algorithm, where the first data slice includes the first link hash value and the second link hash value, and the second data slice includes the second link hash value.
In one possible design, the processing module is further configured to store each data slice in the set of data slices into a plurality of different link addresses, store a mapping relationship between the link address of each data slice and a corresponding link hash value into an encrypted database, and store the first link hash value into a general database, where the first data slice is a first data slice in the set of data slices, and the first link is the backward link.
In one possible design, the processing module is specifically configured to:
acquiring the first link hash value according to the identification information of the interest point;
acquiring a first link address of the first data slice according to the first link hash value, and acquiring the first data slice according to the first link address;
Acquiring a second link address of the second data slice according to a second link hash value in the first data slice, and acquiring the second data slice according to the second link address;
and generating the target picture file according to the acquired data slice set.
In a third aspect, the present application also provides an electronic device, including:
a processor; and
a memory for storing a computer program of the processor;
wherein the processor is configured to implement any one of the possible methods of the first aspect by executing the computer program.
In a fourth aspect, the application also provides a non-transitory computer readable storage medium having stored thereon computer instructions, the computer program implementing any one of the possible methods of the first aspect when executed by a processor.
One embodiment of the above application has the following advantages or benefits:
the method comprises the steps of receiving an acquisition request of interest point data, and acquiring a corresponding target picture file according to identification information of interest points in the acquisition request, wherein the target picture file comprises interest point pictures and associated information of the interest point pictures, and displaying the acquired interest point pictures and the associated information of the interest point pictures.
Other effects of the above alternative will be described below in connection with specific embodiments.
Drawings
The drawings are included to provide a better understanding of the present application and are not to be construed as limiting the application. Wherein:
fig. 1 is an application scenario schematic diagram of a method for processing a picture of an interest point according to a first embodiment of the present application;
fig. 2 is a flowchart of a method for processing a picture of a point of interest according to a second embodiment of the present application;
fig. 3 is a flowchart illustrating a method for processing a picture of a point of interest according to a third embodiment of the present application;
fig. 4 is a flowchart of a method for processing a picture of a point of interest according to a fourth embodiment of the present application;
fig. 5 is a schematic diagram of a picture file data link structure according to a fifth embodiment of the present application;
FIG. 6 is a schematic diagram of the data storage structure of the encryption database of the embodiment shown in FIG. 5;
FIG. 7 is a schematic view of the display of the point of interest picture and associated information in the embodiment shown in FIG. 5;
fig. 8 is a schematic structural diagram of a point-of-interest picture processing device according to a sixth embodiment of the present application;
fig. 9 is a block diagram of an electronic device for implementing a point of interest picture processing method according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present application are included to facilitate understanding, and are to be considered 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 application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the prior art, the storage mode of the picture information corresponding to the POI in the map is as follows: the picture data of the picture itself is stored in the cloud storage, and the picture related information (POI type information, POI related relationship, POI description information, and the like) is stored in the database. Therefore, the storage mode of the POI pictures in the current map is to be related to the POI, only relevant picture labels are added to store the POI pictures in the cloud, and then the cloud performs consistency check by using picture encryption check codes.
When a user views POI pictures, the user can only select all the pictures or view all the pictures according to labels, and the time of picture formation, the time situation and the change of picture formation can only be presumed according to the picture album.
The above scheme can complete the storage of POI associated pictures, but has the following disadvantages:
(1) The related information of the picture is stored in a database mode, the picture is not added with related information, and once the database information is changed, the picture is possibly inaccurate in description, and the information and the picture are inconsistent;
(2) The pictures are stored into the cloud storage, and once someone maliciously modifies or deletes data in the cloud storage, the information associated with the database is even still present, and the pictures are lost, so that the pictures are empty;
(3) When the information in the database is deleted, the related data in the cloud storage needs to be synchronously deleted. However, the scheme is easy to cause the condition that the picture in the cloud storage is not deleted, so that a large amount of redundant data is generated in the cloud storage.
Aiming at the problems, the embodiment of the application provides a method for processing the interest point picture, which can be used for solving the problems. The method of interest point image processing is described in detail below in several specific implementations.
Fig. 1 is an application scenario schematic diagram of a method for processing a picture of an interest point according to a first embodiment of the present application. As shown in fig. 1, the method for processing the point of interest picture provided in this embodiment is applied to a distributed storage system, where after generating a picture file according to the point of interest picture and the point of interest picture, slicing the picture file, and performing distributed storage on sliced data. When different interesting pictures are updated in different time periods aiming at the same interest point, the link address of the front picture can be added in each picture file, so that the time sequence chain of the interest point pictures can be established while the safety of the picture data is ensured.
In addition, the distributed database can be accessed through different terminal devices (such as a notebook computer, a personal computer and a smart phone), for example, the link address of the first slice data stored in the general database of the target picture file can be obtained by inputting identification information (such as the name of the interest point, the number of the interest point and other attribute information of the interest point) of the interest point, then the next slice data is sequentially obtained through a chain connection relation among the slice data until all the slice data are obtained, and then the complete interest point picture is displayed, so that the interest point picture can be effectively prevented from being tampered maliciously.
Fig. 2 is a flowchart of a method for processing a picture of a point of interest according to a second embodiment of the present application. As shown in fig. 2, the method for processing a picture of a point of interest provided in this embodiment includes:
step 101, receiving an acquisition request of the point of interest data.
Specifically, when the point of interest picture needs to be displayed, for example: the user may initiate a request for obtaining the point of interest data on the map when searching for a hotspot location such as a mall, a hospital, a parking lot, etc., where the request for obtaining may include identification information of the point of interest (for example, a name of the point of interest, a number of the point of interest, and other attribute information of the point of interest, etc.).
In one possible scenario, when the user needs to navigate to the parking lot a, the face map of the parking lot entrance may be displayed when the user is about to navigate to the parking lot entrance, and at this time, the identification information of the interest point in the acquisition request may be the name of the parking lot a.
In another possible scenario, when the user needs to find the B restaurant, the name of the B restaurant may be entered in the map, and an acquisition request for the point of interest data may be initiated to acquire a face map of the B restaurant.
Step 102, acquiring a target picture file according to the acquisition request.
In this step, a target picture file may be acquired according to the acquisition request, where the target picture file includes the point of interest picture and association information of the point of interest picture. It is to be appreciated that the point of interest picture may be a face view of the point of interest, and the associated information of the point of interest picture may be a capturing time of the face view of the point of interest.
It should be noted that, the related information of the point of interest picture may be stored in the point of interest picture to form the target picture file, and in addition, the related information of the point of interest picture may be stored in an additional database. And optionally, the related information of the interest point picture is encrypted and then stored in the interest point picture to form the target picture file.
And step 103, displaying the interest point picture and the associated information.
In this step, after the target picture file is acquired according to the acquisition request, the point-of-interest picture and the associated information may be displayed. Specifically, the face map corresponding to the point of interest and the time taken by the face map may be displayed at a designated position on the map, for example, the face map of the parking lot a and the time taken by the face map are displayed below the map, or the face map of the restaurant B and the time taken by the face map are displayed below the map.
In this embodiment, by receiving an acquisition request of the point of interest data, and then acquiring a corresponding target picture file according to the identification information of the point of interest in the acquisition request, where the target picture file includes the point of interest picture and the associated information of the point of interest picture, when the acquired point of interest picture and the associated information of the point of interest picture are displayed, since the target picture file itself carries the associated information, the problem that the point of interest picture does not coincide with the associated information of the picture when the information is displayed due to the change of external information is avoided.
On the basis of the above embodiment, fig. 3 is a schematic flow chart of a method for processing a point of interest picture according to a third embodiment of the present application. As shown in fig. 3, the method for processing a picture of an interest point provided in this embodiment may further include:
step 201, receiving an update request of the point of interest data.
Specifically, an update request of the point of interest data is received, wherein the update request includes the point of interest update picture and update association information of the point of interest update picture.
For example, for the face map currently stored in restaurant B, which is photographed in month 2017, 6, the face may change significantly due to the longer time the restaurant B may be refitted. At this time, the server may accept and receive an update request for the B restaurant, and the update request includes the B restaurant update picture and update related information of the B restaurant update picture, which may be, for example, a face image taken in 3 months in 2019.
The updating request of the interest point data is received, and the updating picture file is generated according to the interest point updating picture and the updating association information in the updating request, so that the data of the same interest point can be updated in a staged mode, and the map user can acquire the latest picture information.
And 202, updating the picture according to the interest points and generating an updated picture file according to the updated associated information.
Optionally, after generating the updated picture file according to the point of interest updated picture and the update association information, a forward link and a backward link may also be generated. Specifically, the backward link is used for connecting the current updated picture file to the picture file updated last time, and the updated picture file includes the backward link. For example, the B-restaurant picture file corresponding to month 2019 and 3 includes a forward link for linking the B-restaurant picture file corresponding to month 2019 and 3 to the B-restaurant picture file corresponding to month 2017 and 6, and the B-restaurant picture file corresponding to month 2017 and 6 includes a backward link for linking the B-restaurant picture file corresponding to month 2017 and 6 to the B-restaurant picture file corresponding to month 2019 and 3.
Fig. 5 is a schematic diagram of a picture file data link structure according to a fifth embodiment of the present application, and fig. 7 is a schematic diagram of displaying a point of interest picture and associated information according to the embodiment shown in fig. 5. As shown in fig. 5 and 7, 3 picture files (e.g., face view 1, face view 2, and face view 3) are corresponding to one interest point, wherein the face view 1, the face view 2, and the face view 3 may be arranged according to the generated time sequence. The back link SH11 is included in the face figure 1, and the back link SH11 is used to link the face figure 1 to the face figure 2. The front link SH01 and the back link SH21 are included in the face fig. 2, wherein the front link SH01 is used to link the face fig. 2 to the face fig. 1, and the back link SH21 is used to link the face fig. 2 to the face fig. 3. Further, the front link SH11 and the rear link SH31 are included in the face map 3, wherein the front link SH11 is used to link the face map 3 to the face map 2, and the rear link SH31 is used to link the face map 2 to the next face map.
By generating the forward link and the backward link, a chain structure between the picture files is established according to the time sequence, and the picture files have time sequence relations because the picture files record the front picture file and the rear picture file, the time information of the attached picture of the POI can be effectively displayed according to the time sequence relations, and when all the picture files of one POI can be stored in the mode, the historical change of one POI can be effectively and reasonably displayed.
In addition, after generating the updated picture file, the updated picture file may be further subjected to slicing processing to form a data slice set, wherein a plurality of data slices are sequentially arranged in the data slice set, and a first link for connecting the first data slice to a previous data slice and a second link for connecting the first data slice to a second data slice are generated for the first data slice, wherein the second data slice is a next data slice of the first data slice in the data slice set.
With continued reference to fig. 5, for the face fig. 1, the data slicing operation may be performed on the face fig. 1, for example, may be divided into 5 data slices (data slice 1, data slice 2, data slice 3, data slice 4, and data slice 5), while a first link SH01 and a second link SH02 are generated for the data slice 1, and SH02 and SH03 are allocated for the data slice 2, where SH02 is used to link the data slice 1 and the data slice 2. SH03 and SH04 are assigned to data slice 3, wherein SH03 is used to link data slice 2 with data slice 3. SH04 and SH05 are assigned to the data slice 4, wherein SH04 is used to link the data slice 3 with the data slice 4. Whereas if the data slice 5 is the last data slice, it need only be allocated SH05 for linking forward to the data slice 4.
And, the backward link of the face fig. 1 may be set to SH11 of the first data fragment in the face fig. 2, so that the face fig. 2 may be acquired through the face fig. 1 and SH11, while the forward link set in the face fig. 2 may be SH01 of the first data fragment in the face fig. 1, so that the face fig. 1 may be acquired through the face fig. 2 and SH01, and the forward link set in the face fig. 2 may be SH21 of the first data fragment in the face fig. 3, so that the face fig. 3 may be acquired through the face fig. 2 and SH 21.
And the image file is subjected to slicing processing to form a data slice set, and the chained connection relation of each data slice is established by storing the linked form of the last data slice and the next data slice in each data slice, so that each data slice can be sequentially acquired to generate the image of the interest point and display the image.
In addition, after the first link and the second link are generated for the first data slice, a first link hash value may be generated according to the first link and a preset hash algorithm, and a second link hash value may be generated according to the second link and the preset hash algorithm, where the first data slice includes the first link hash value and the second link hash value, and the second data slice includes the second link hash value.
That is, for the face fig. 1, a first link hash value SH01 and a second link hash value SH02 are generated for the data slice 1, and SH02 and SH03 are allocated to the data slice 2, wherein SH02 is used to link the data slice 1 and the data slice 2. SH03 and SH04 are assigned to data slice 3, wherein SH03 is used to link data slice 2 with data slice 3. SH04 and SH05 are assigned to the data slice 4, wherein SH04 is used to link the data slice 3 with the data slice 4. Whereas if the data slice 5 is the last data slice, it need only be allocated SH05 for linking forward to the data slice 4.
By encrypting the links to generate link hash values, the pictures can be generated again according to all slice data only after all the slice data hash values of the pictures corresponding to the interest points are collected, so that the pictures of the interest points are prevented from being tampered maliciously.
Further, FIG. 6 is a schematic diagram of the encrypted database data storage structure of the embodiment shown in FIG. 5. As shown in fig. 5-6, each data slice in the set of data slices may also be stored in a plurality of different link addresses, and the mapping relationship between the link address and the corresponding link hash value for each data slice may be stored in the encrypted database, and the first link hash value may be stored in the general database, where the first data slice is the first data slice in the set of data slices and the first link is the backward link.
By storing each data slice in the set of data slices into a plurality of different link addresses, a distributed multi-storage of all data slices is achieved, and the actual link address of the data slice corresponding to the link hash value is also recorded into the distributed encrypted database. However, because the related information storage records only one mapping relationship, there is no other meaning, and if there is no correct decryption mode and data slice integration mode, the corresponding interest point picture cannot be restored and processed.
In addition, the picture link address in the universal database is only the link hash value of the first slice data corresponding to the picture slice data, and the interest point picture can be generated again according to the full slice data only after the slice hash values of the corresponding pictures are completely collected, so that the interest point picture is ensured not to be tampered maliciously.
Moreover, as the picture files record the front and back picture files, the picture files have a time sequence relationship, and according to the time sequence relationship, the time information of the attached picture of the POI can be effectively displayed, and when all the picture files of one POI can be stored in the mode, the historical change of one POI can be effectively and reasonably displayed.
And if the data of the picture corresponding to the interest point of the POI is modified, but if the hash information corresponding to the picture is not modified, the historical condition of the picture can be restored according to the time sequence information contained in the picture file, because the related associated information is already stored in the picture file and is not strongly dependent on other databases.
In other words, because the POI picture itself can encrypt and record relevant important associated information of a picture part, the picture can be prevented from being damaged to the greatest extent under the condition that the database is abnormal, in addition, if network attack occurs, a user can not restore the picture by only using part of the picture slices, meanwhile, because the slices are stored in a distributed mode, only one place has data fluctuation, the picture can be restored by other regional storage, and the situation of losing the POI picture can not occur. In addition, because the POI picture has a chain structure, when redundancy occurs in the data, the whole data can be pulled out for processing through chain change of the picture, and the redundancy of the picture is effectively reduced.
Fig. 4 is a flowchart of a method for processing a picture of a point of interest according to a fourth embodiment of the present application. As shown in fig. 4, the method for processing a picture of an interest point provided in this embodiment includes:
Step 301, receiving a request for acquiring the point of interest data.
Specifically, when the point of interest picture needs to be displayed, for example: the user may initiate a request for obtaining the point of interest data on the map when searching for a hotspot location such as a mall, a hospital, a parking lot, etc., where the request for obtaining may include identification information of the point of interest (for example, a name of the point of interest, a number of the point of interest, and other attribute information of the point of interest, etc.).
In one possible scenario, when the user needs to navigate to the parking lot a, the face map of the parking lot entrance may be displayed when the user is about to navigate to the parking lot entrance, and at this time, the identification information of the interest point in the acquisition request may be the name of the parking lot a.
In another possible scenario, when the user needs to find the B restaurant, the name of the B restaurant may be entered in the map, and an acquisition request for the point of interest data may be initiated to acquire a face map of the B restaurant.
Step 302, obtaining a first link hash value according to the identification information of the interest point.
Step 303, obtaining a first link address of the first data slice according to the first link hash value.
Step 304, a first data slice is acquired according to the first link address.
Step 305, obtaining a second link address of the second data slice according to the second link hash value in the first data slice.
Step 306, obtaining a second data slice according to the second link address.
Step 307, generating a target picture file according to the acquired data slice set.
Step 308, displaying the point of interest picture and the associated information.
The picture link address existing in the general database is only the link hash value of the first slice data corresponding to the picture slice data, and after the acquisition request of the interest point data is acquired, the first link hash value can be acquired according to the identification information of the interest point, that is, the link hash value of the first slice data of the slice data is acquired first. Then, since the POI pictures and each slice data in the same POI picture have a chain structure, the subsequent data slices can be obtained at one time according to the link hash value of the first slice data, and the point-of-interest picture is generated according to the whole slice data after the slice hash values of the corresponding pictures are all collected.
Fig. 8 is a schematic structural diagram of a point-of-interest picture processing device according to a sixth embodiment of the present application. As shown in fig. 8, a point of interest picture processing apparatus 400 provided in an embodiment includes:
A receiving module 401, configured to receive an acquisition request of interest point data, where the acquisition request includes identification information of an interest point;
a processing module 402, configured to obtain a target picture file according to the obtaining request, where the target picture file includes a point of interest picture and associated information of the point of interest picture;
and the display module 403 is configured to display the point of interest picture and the association information.
In one possible design, the receiving module 401 is further configured to receive an update request of the point of interest data, where the update request includes a point of interest update picture and update association information of the point of interest update picture;
the processing module 402 is further configured to generate an updated picture file according to the point of interest updated picture and the update association information.
In one possible design, the processing module 402 is further configured to generate a forward link, where the forward link is configured to connect the current updated picture file to a last updated picture file, and the updated picture file includes the forward link;
the processing module 402 is further configured to generate a backward link, where the backward link is used to connect the last updated picture file to the current updated picture file, and the last updated picture file includes the backward link.
In one possible design, the processing module 402 is further configured to slice the updated picture file to form a set of data slices, where the set of data slices includes a plurality of data slices arranged in an order;
the processing module 402 is further configured to generate a first link for a first data slice and a second link for connecting the first data slice to a previous data slice, wherein the second data slice is a next data slice of the first data slice in the set of data slices.
In one possible design, the processing module 402 is further configured to generate a first link hash value according to the first link and a preset hash algorithm, and generate a second link hash value according to the second link and a preset hash algorithm, where the first data slice includes the first link hash value and the second link hash value, and the second data slice includes the second link hash value.
In one possible design, the processing module 402 is further configured to store each data slice in the set of data slices into a plurality of different link addresses, store a mapping relationship between the link address and a corresponding link hash value of each data slice into an encrypted database, and store the first link hash value into a general database, where the first data slice is a first data slice in the set of data slices, and the first link is the backward link.
In one possible design, the processing module 402 is specifically configured to:
acquiring the first link hash value according to the identification information of the interest point;
acquiring a first link address of the first data slice according to the first link hash value, and acquiring the first data slice according to the first link address;
acquiring a second link address of the second data slice according to a second link hash value in the first data slice, and acquiring the second data slice according to the second link address;
and generating the target picture file according to the acquired data slice set.
It should be noted that, the point-of-interest image processing apparatus provided in the embodiment 8 may be used to execute the method provided in any of the foregoing embodiments, and the specific implementation manner and technical effects are similar, and are not repeated here.
According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.
Fig. 9 is a block diagram of an electronic device for implementing a point of interest picture processing method according to an embodiment of the present application. As shown in FIG. 9, the electronic device is 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 telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the applications described and/or claimed herein.
As shown in fig. 9, the electronic device includes: one or more processors 501, memory 502, and interfaces for connecting components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the electronic device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In other embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple electronic devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 501 is illustrated in fig. 9.
Memory 502 is a non-transitory computer readable storage medium provided by the present application. The memory stores instructions executable by the at least one processor to cause the at least one processor to perform the point of interest picture processing method provided by the application. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to execute the point-of-interest picture processing method provided by the present application.
The memory 502 is used as a non-transitory computer readable storage medium, and may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules (e.g., the receiving module 401, the processing module 402, and the display module 403 shown in fig. 8) corresponding to the point of interest picture processing method according to the embodiment of the present application. The processor 501 executes various functional applications of the server and data processing, that is, implements the point-of-interest picture processing method in the above-described method embodiment, by running non-transitory software programs, instructions, and modules stored in the memory 502.
Memory 502 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created by use of the electronic device provided according to the embodiment of the present application, and the like. In addition, memory 502 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory 502 may optionally include memory located remotely from processor 501, which may be connected to the electronic device provided by embodiments of the present application via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device provided by the embodiment of the application can further comprise: an input device 503 and an output device 504. The processor 501, memory 502, input devices 503 and output devices 504 may be connected by a bus or otherwise, for example in fig. 9.
The input device 503 may receive input numeric or character information and generate key signal inputs related to providing user settings and function control of the electronic device according to embodiments of the present application, such as a touch screen, keypad, mouse, trackpad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, etc. The output devices 504 may include a display device, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibration motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device may be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASIC (application specific integrated circuit), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
These computing programs (also referred to as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
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 pointing device (e.g., a mouse or 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 may 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 input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background 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 background, 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), and the internet.
The computer system may include a client and a server. The client and server are typically 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.
According to the technical scheme of the embodiment of the application, the corresponding target picture file is obtained by receiving the request for obtaining the interest point data and then according to the identification information of the interest point in the request for obtaining, wherein the target picture file comprises the interest point picture and the associated information of the interest point picture, and the obtained interest point picture and the associated information of the interest point picture are displayed.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially, or in a different order, provided that the desired results of the disclosed embodiments are achieved, and are not limited herein.
The above embodiments do not limit the scope of the present application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the scope of the present application.

Claims (10)

1. The interest point picture processing method is characterized by comprising the following steps of:
receiving an acquisition request of interest point data, wherein the acquisition request comprises identification information of interest points;
acquiring a target picture file according to the acquisition request, wherein the target picture file comprises an interest point picture and associated information of the interest point picture;
displaying the interest point picture and the associated information;
the obtaining the target picture file according to the obtaining request includes:
Acquiring a link address of a first data slice of the target picture file stored in a general database according to the identification information of the interest point, and sequentially acquiring a next data slice through a chain connection relation among all the data slices until all the data slices are acquired; and generating the target picture file according to the acquired all data slices.
2. The method of processing a point of interest picture according to claim 1, further comprising:
receiving an update request of interest point data, wherein the update request comprises an interest point update picture and update association information of the interest point update picture;
and updating the picture according to the interest points and generating an updated picture file according to the updated associated information.
3. The method according to claim 2, further comprising, after the generating an update picture file according to the point-of-interest update picture and the update-related information:
generating a forward link, wherein the forward link is used for connecting the current updated picture file to a picture file updated last time, and the updated picture file comprises the forward link;
And generating a backward link, wherein the backward link is used for connecting the last updated picture file to the current updated picture file, and the last updated picture file comprises the backward link.
4. The method of claim 3, further comprising, after the generating the updated picture file:
slicing the updated picture file to form a data slice set, wherein the data slice set comprises a plurality of orderly arranged data slices;
a first link is generated for a first data slice for connecting the first data slice to a previous data slice and a second link is generated for connecting the first data slice to a second data slice, wherein the second data slice is a next data slice of the first data slice in the set of data slices.
5. The method of claim 4, further comprising, after said generating a first link and a second link for the first data slice:
generating a first link hash value according to the first link and a preset hash algorithm, and generating a second link hash value according to the second link and the preset hash algorithm, wherein the first link hash value and the second link hash value are included in the first data slice, and the second link hash value is included in the second data slice.
6. The method for processing a picture of interest according to claim 5, further comprising, after the generating a first link hash value according to the first link and a preset hash algorithm:
storing each data slice in the data slice set into a plurality of different link addresses, storing a mapping relation between the link address of each data slice and a corresponding link hash value into an encrypted database, and storing the first link hash value into a general database, wherein the first data slice is the first data slice in the data slice set.
7. The method for processing a picture of an interest point according to claim 5 or 6, wherein the link address of the first data slice of the target picture file stored in the general database is obtained according to the identification information of the interest point, and then the next data slice is sequentially obtained through the chain connection relationship between the data slices until all the data slices are obtained; generating the target picture file according to the acquired all data slices, including:
acquiring the first link hash value according to the identification information of the interest point;
Acquiring a first link address of the first data slice according to the first link hash value, and acquiring the first data slice according to the first link address;
acquiring a second link address of the second data slice according to a second link hash value in the first data slice, and acquiring the second data slice according to the second link address;
and generating the target picture file according to the acquired data slice set.
8. A point of interest picture processing apparatus, comprising:
the receiving module is used for receiving an acquisition request of the interest point data, wherein the acquisition request comprises identification information of the interest point;
the processing module is used for acquiring a target picture file according to the acquisition request, wherein the target picture file comprises an interest point picture and associated information of the interest point picture;
the display module is used for displaying the interest point picture and the associated information;
the processing module is specifically configured to obtain, according to the identification information of the interest point, a link address of a first data slice of the target picture file stored in the general database, and sequentially obtain a next data slice through a chain connection relationship between the data slices until all the data slices are obtained; and generating the target picture file according to the acquired all data slices.
9. 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.
10. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-8.
CN201911128370.2A 2019-11-18 2019-11-18 Point-of-interest picture processing method and device, electronic equipment and storage medium Active CN112818276B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911128370.2A CN112818276B (en) 2019-11-18 2019-11-18 Point-of-interest picture processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911128370.2A CN112818276B (en) 2019-11-18 2019-11-18 Point-of-interest picture processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112818276A CN112818276A (en) 2021-05-18
CN112818276B true CN112818276B (en) 2023-12-15

Family

ID=75852527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911128370.2A Active CN112818276B (en) 2019-11-18 2019-11-18 Point-of-interest picture processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112818276B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150064485A (en) * 2013-12-03 2015-06-11 주식회사 케이티 Method for providing video regarding poi, method for playing video regarding poi, computing device and computer-readable medium
CN106802929A (en) * 2016-12-27 2017-06-06 华南师范大学 The graphical analysis method and system of a kind of big data threedimensional model
CN108829848A (en) * 2018-06-20 2018-11-16 华中科技大学 A kind of image search method and system
CN108880725A (en) * 2018-04-26 2018-11-23 陈飞 Interest content acquisition method and equipment is obtained in a kind of event based on time point
CN109684426A (en) * 2018-12-04 2019-04-26 北京世纪高通科技有限公司 A kind of map dicing method and device
CN109710705A (en) * 2018-12-04 2019-05-03 百度在线网络技术(北京)有限公司 Map point of interest treating method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9459105B2 (en) * 2008-11-24 2016-10-04 Here Global B.V. Method, apparatus and computer program product for community based user involvement in map updating

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150064485A (en) * 2013-12-03 2015-06-11 주식회사 케이티 Method for providing video regarding poi, method for playing video regarding poi, computing device and computer-readable medium
CN106802929A (en) * 2016-12-27 2017-06-06 华南师范大学 The graphical analysis method and system of a kind of big data threedimensional model
CN108880725A (en) * 2018-04-26 2018-11-23 陈飞 Interest content acquisition method and equipment is obtained in a kind of event based on time point
CN108829848A (en) * 2018-06-20 2018-11-16 华中科技大学 A kind of image search method and system
CN109684426A (en) * 2018-12-04 2019-04-26 北京世纪高通科技有限公司 A kind of map dicing method and device
CN109710705A (en) * 2018-12-04 2019-05-03 百度在线网络技术(北京)有限公司 Map point of interest treating method and apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种基于切片技术度量Java耦合性的框架;魏勇钢;信息技术与信息化;全文 *

Also Published As

Publication number Publication date
CN112818276A (en) 2021-05-18

Similar Documents

Publication Publication Date Title
JP6865219B2 (en) Event batch processing, output sequencing, and log-based state storage in continuous query processing
KR102257826B1 (en) Contextual local image recognition dataset
CN111258609A (en) Upgrading method and device of Kubernetes cluster, electronic equipment and medium
CN111045985B (en) File storage processing method, server, electronic device and storage medium
US20130173655A1 (en) Selective fetching of search results
US11238632B2 (en) Interface to index and display geospatial data
US11762822B2 (en) Determining when a change set was delivered to a workspace or stream and by whom
CN111752960B (en) Data processing method and device
CN110765075A (en) Storage method and equipment of automatic driving data
CN111966925B (en) Building interest point weight judging method and device, electronic equipment and storage medium
CN111767321A (en) Node relation network determining method and device, electronic equipment and storage medium
CN112818276B (en) Point-of-interest picture processing method and device, electronic equipment and storage medium
US20220303351A1 (en) ENHANCED PROCESSING OF USER PROFILES USING DATA STRUCTURES SPECIALIZED FOR GRAPHICAL PROCESSING UNITS (GPUs)
CN112052347B (en) Image storage method and device and electronic equipment
CN111581049B (en) Distributed system running state monitoring method, device, equipment and storage medium
CN112541934B (en) Image processing method and device
CN108196979B (en) Data backup method and device
CN111506787A (en) Webpage updating method and device, electronic equipment and computer-readable storage medium
CN113010811A (en) Webpage acquisition method and device, electronic equipment and computer readable storage medium
CN113779080B (en) Method and device for transmitting data
US11488384B2 (en) Method and device for recognizing product
CN112925482B (en) Data processing method, device, system, electronic equipment and computer storage medium
CN112183041A (en) Report form adjusting method, device, equipment and storage medium based on indexes
CN114238169A (en) Data caching method and device
CN113918567A (en) Method and device for realizing batch retrieval and path display of data blood margin based on deep search technology

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
GR01 Patent grant
GR01 Patent grant