Off-line picture-based kilometer pile mapping method, device and system and medium

By processing offline pictures and storing them into the memory database, calculating the kilometer pile information of their batch, the problem of uploading offline pictures the next day in the existing technology cannot complete the kilometer pile mapping, and the arbitrary inspection and at any time inspection function of the detection system is realized.

CN119537621APending Publication Date: 2025-02-28SHANGHAI GANTU NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411550622.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

The existing road disease detection system cannot complete the kilometer pile mapping when the offline picture is uploaded the next day, affecting the road inspection results.

Method used

By processing offline pictures, they are stored in the memory database, and calculating the kilometer pile information of the batch where the offline pictures are located in the memory database, completing the kilometer pile mapping.

Benefits of technology

It realizes accurate and reliable kilometer pile mapping of offline pictures, solving the problem that the system cannot complete the kilometer pile mapping when the offline pictures are uploaded the next day, so that the detection system can be inspected at will and at any time, making it more convenient and flexible to use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119537621A_ABST
    Figure CN119537621A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a kilometer pile mapping method, device and system based on an off-line picture and a medium. According to the method, the off-line picture is processed, the off-line picture is stored in a memory database, kilometer pile information of the batch where the off-line picture is located in the memory database is calculated, and kilometer pile mapping of the off-line picture is accurately and reliably completed. The method effectively solves the problem that the existing road disease detection system cannot complete kilometer pile mapping when the off-line picture is uploaded every day, so that the road disease detection system can realize any detection and any-time detection, and is more convenient and flexible to use.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of intelligent transportation technology, and in particular to a kilometer pile mapping method, device, system and medium based on offline pictures. Background Art

[0002] As we all know, after a road is put into use, various damages, deformations and other defects will appear one after another, which we collectively call road diseases. In order to ensure road safety, road disease detection is crucial in road repair and maintenance. The road disease detection system came into being. The system can obtain the kilometer pile information corresponding to the inspection picture, realize the kilometer pile mapping of road disease detection, and obtain the location information of road diseases according to the kilometer pile mapping results. The detection efficiency is high, which is conducive to the centralized statistics and analysis of road diseases. Moreover, the normal traffic on the road will not be affected during the detection process. The road administration department will handle and maintain the road diseases in time according to the detection results. However, in the actual inspection process, the road disease detection system sometimes fails to upload the inspection pictures collected by the vehicle end to the central end. When these offline pictures are uploaded the next day, the kilometer pile mapping cannot be completed, which affects the road inspection results.

[0003] The above problems need to be solved urgently. Summary of the invention

[0004] In order to solve the related technical problems, the present invention provides a kilometer pile mapping method, device, system and medium based on offline pictures to solve the problems mentioned in the above background technology part.

[0005] To achieve the above objectives, the embodiments of the present invention adopt the following technical solutions:

[0006] In a first aspect, an embodiment of the present invention provides a kilometer pile mapping method based on offline pictures, the method comprising:

[0007] Processing the offline pictures so as to store the offline pictures in a memory database;

[0008] The kilometer post information of the batch of offline pictures in the memory database is calculated to complete the kilometer post mapping of the offline pictures.

[0009] As an optional implementation manner, the processing of the offline pictures to store the offline pictures in a memory database includes:

[0010] The offline pictures are processed through the picture upload interface so that the offline pictures are stored in the memory database.

[0011] As an optional implementation manner, the calculating the kilometer pile information of the batch of the offline pictures in the memory database to complete the kilometer pile mapping of the offline pictures includes:

[0012] Determine whether there is offline picture data in the memory database;

[0013] If the judgment result is yes, recalculate the batch of the offline pictures;

[0014] The kilometer pile mapping is performed on the recalculated batches to complete the kilometer pile mapping of the offline images.

[0015] As an optional implementation manner, the processing of offline pictures through the picture upload interface so that the offline pictures are stored in the memory database includes:

[0016] The picture upload interface determines whether the collection date of the picture to be uploaded is the current date;

[0017] If the result of the judgment is no, the picture to be uploaded is determined to be an offline picture, and the data including the picture table name and the batch number are used to form a memory database key value;

[0018] Determine whether the memory database key value exists, if so, store the offline picture in the memory database; if not, create a new memory database key value for the offline picture, and then store the offline picture in the memory database.

[0019] As an optional implementation manner, the determining whether there is offline picture data in the memory database further includes:

[0020] Determine whether the current kilometer pile mapping time is a specific processing time; wherein the specific processing time includes but is not limited to the collection time of the offline image one day before and the image collection time of the second day when the inspection spans two days.

[0021] As an optional implementation manner, the determining whether there is offline picture data in the memory database includes:

[0022] When the current kilometer pile mapping time is a specific processing time, reset all batches of the current date;

[0023] Determine whether there is a memory database key value in the memory database that is not the current date.

[0024] As an optional implementation manner, if the judgment result is yes, recalculating the batch to which the offline image belongs includes:

[0025] The batch information to be calculated is queried, and the batch to which the offline image belongs is recalculated according to the query result.

[0026] In a second aspect, an embodiment of the present invention provides a kilometer pile mapping device based on offline pictures, which adopts the kilometer pile mapping method based on offline pictures provided in the embodiment of the first aspect, including:

[0027] An offline image processing module is used to process offline images and store the offline images in a memory database;

[0028] The offline picture kilometer post mapping module is used to calculate the kilometer post information of the batch of offline pictures in the memory database and complete the kilometer post mapping of the offline pictures.

[0029] In a third aspect, an embodiment of the present invention provides a road defect detection system, which adopts the offline picture-based kilometer pile mapping device provided in the second aspect embodiment, and completes the offline picture-based kilometer pile mapping through the offline picture-based kilometer pile mapping device.

[0030] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which computer execution instructions are stored. When the computer execution instructions are executed by a processor, they are used to implement the kilometer pile mapping method based on offline pictures as in the embodiment of the first aspect mentioned above.

[0031] The technical solution proposed in the embodiment of the present invention processes offline images, stores the offline images in a memory database, calculates the kilometer pile information of the batch of offline images in the memory database, and accurately and reliably completes the kilometer pile mapping of offline images. The technical solution proposed in the embodiment of the present invention effectively solves the problem that the existing road disease detection system cannot complete the kilometer pile mapping when the offline images are uploaded every other day, so that the road disease detection system can perform arbitrary inspection and inspection at any time, and is more convenient and flexible to use. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate and understand the technical solutions in the embodiments of the present invention, the following briefly introduces the background technology of the present invention and the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the contents of the embodiments of the present invention and these drawings without paying any creative work.

[0033] Figure 1 A schematic diagram of a kilometer pile mapping method based on offline images provided in the first embodiment of the present invention;

[0034] Figure 2 A schematic diagram of the structure of a kilometer pile mapping device based on offline images provided in the second embodiment of the present invention;

[0035] Figure 3This is a schematic diagram of the structure of a road damage detection system provided in Example 2 of the present invention. DETAILED DESCRIPTION

[0036] In order to make the technical problems solved by the present invention, the technical solutions adopted and the technical effects achieved clearer, the technical solutions of the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0037] Embodiment 1

[0038] Please refer to Figure 1 As stated, Figure 1 The schematic diagram of the process flow of the kilometer pile mapping method based on offline pictures provided in the first embodiment of the present invention. As shown in the figure, the kilometer pile mapping method 100 based on offline pictures in this embodiment includes the following steps:

[0039] S101. Processing offline images to store the offline images in a memory database;

[0040] S102. Calculate the kilometer post information of the batch of offline pictures in the memory database, and complete the kilometer post mapping of the offline pictures.

[0041] Exemplarily, the step S101 of processing the offline image so as to store the offline image in a memory database includes:

[0042] The offline pictures are processed through the picture upload interface so that the offline pictures are stored in the memory database.

[0043] Exemplarily, the processing of offline pictures through the picture upload interface so as to store the offline pictures in a memory database includes:

[0044] S1011. The picture upload interface determines whether the acquisition date of the picture to be uploaded is the current date;

[0045] S1012. If the result of the judgment is no, the image to be uploaded is determined to be an offline image, and the data including the image table name and batch number are composed of a memory database key value;

[0046] S1013. Determine whether the memory database key value exists. If so, store the offline picture in the memory database. If not, create a new memory database key value for the offline picture, and then store the offline picture in the memory database.

[0047] Exemplarily, the step S102 calculates the kilometer pile information of the batch of offline pictures in the memory database to complete the kilometer pile mapping of the offline pictures, including:

[0048] S1021. Determine whether there is offline picture data in the memory database;

[0049] S1022. If the judgment result is yes, recalculate the batch of the offline pictures;

[0050] S1023. Perform kilometer post mapping on the recalculated batches to complete the kilometer post mapping of the offline images.

[0051] Exemplarily, the step S1021 of determining whether there is offline picture data in the memory database may also include:

[0052] Determine whether the current kilometer pile mapping time is a specific processing time; wherein the specific processing time includes but is not limited to the collection time of the offline image one day before and the image collection time of the second day when the inspection spans two days.

[0053] Exemplarily, the step S1021 of determining whether there is offline picture data in the memory database includes:

[0054] When the current kilometer pile mapping time is a specific processing time, reset all batches of the current date;

[0055] Determine whether there is a memory database key value in the memory database that is not the current date.

[0056] Exemplarily, if the judgment result in step S1022 is yes, recalculating the batch to which the offline image belongs includes:

[0057] The batch information to be calculated is queried, and the batch to which the offline image belongs is recalculated according to the query result.

[0058] In this embodiment, the memory database is preferably but not limited to a Redis database, and the Redis key is the memory database key value. In this embodiment, an example description of the situation where the inspection spans two days is as follows: When the staff conducts a road disease inspection on Road A through the road disease detection system on August 1st, due to the late start time of the inspection or the large inspection workload, the inspection task of Road A is often not completed at 12 o'clock in the evening, resulting in the need to continue the inspection task on the uninspected part of Road A after 12 o'clock (August 2nd). The final result is that the inspection process of Road A spans two days, and the inspection pictures collected by the on-board collection terminal are the pictures on August 1st and August 2nd. However, in the traditional road defect detection system, the central end will generate the inspection batch number of Road A only after the user selects the inspection road and fills in the starting pile number through the intelligent terminal. No new inspection task was initiated for Road A on August 2, so the pictures on August 2 will not be matched to the batch information, and the inspection batch information of Road A cannot be stored in the memory database, and the subsequent kilometer pile mapping logic cannot be executed. At this time, even if the pictures on August 2 are uploaded on August 2, because they should be uploaded to the batch on August 1, they are actually uploaded the next day as offline pictures.

[0059] The kilometer pile mapping method 100 based on offline pictures proposed in this embodiment processes offline pictures, stores offline pictures in a memory database, calculates kilometer pile information of the batch of offline pictures in the memory database, and accurately and reliably completes the kilometer pile mapping of offline pictures. The kilometer pile mapping method 100 based on offline pictures proposed in this embodiment effectively solves the problem that the existing road disease detection system cannot complete the kilometer pile mapping when the offline pictures are uploaded every other day, so that the road disease detection system can perform arbitrary inspection and inspection at any time, and is more convenient and flexible to use.

[0060] Embodiment 2

[0061] Please refer to Figure 2 As stated, Figure 2 This is a schematic diagram of the structure of the kilometer pile mapping device based on offline pictures provided in the second embodiment of the present invention. As shown in the figure, the kilometer pile mapping device based on offline pictures 200 in this embodiment adopts the kilometer pile mapping method based on offline pictures 100 provided in the first embodiment above, including:

[0062] The offline picture processing module 201 is used to process the offline pictures and store the offline pictures into the memory database;

[0063] The offline picture kilometer post mapping module 202 is used to calculate the kilometer post information of the batch of offline pictures in the memory database, and complete the kilometer post mapping of the offline pictures.

[0064] In this embodiment, the offline image processing module 201 is specifically used to process offline images through the image upload interface so that the offline images are stored in the memory database. Specifically, the offline images are processed through the image upload interface so that the offline images are stored in the memory database, including: the image upload interface determines whether the acquisition date of the image to be uploaded is the current date; if the result of the determination is no, the image to be uploaded is determined to be an offline image, and the data including the image table name and batch number are composed into a memory database key value; it is determined whether the memory database key value exists, if it exists, the offline image is stored in the memory database; if it does not exist, a new memory database key value is created for the offline image, and then the offline image is stored in the memory database.

[0065] In this embodiment, the offline picture kilometer post mapping module 202 is specifically used to determine whether there is offline picture data in the memory database; if the judgment result is yes, recalculate the batch of the offline pictures; perform kilometer post mapping on the recalculated batch to complete the kilometer post mapping of the offline pictures.

[0066] In this embodiment, the offline picture kilometer pile mapping module 202 is also used to: before determining whether there is offline picture data in the memory database, determine whether the current kilometer pile mapping time is a specific processing time; when the current kilometer pile mapping time is a specific processing time, reset all batches of the current date; determine whether there is a memory database key value of a non-current date in the memory database, and if the judgment result is yes, recalculate the batch where the offline picture is located. The recalculation of the batch where the offline picture is located includes: querying the batch information to be calculated, and recalculating the batch where the offline picture is located according to the query result. Among them, the specific processing time includes but is not limited to the collection time of the offline picture the day before, and the picture collection time on the second day when the inspection spans two days.

[0067] In this embodiment, the memory database is preferably but not limited to a Redis database, and the Redis key is the memory database key value. In this embodiment, an example description of the situation where the inspection spans two days is as follows: When the staff conducts a road disease inspection on Road A through the road disease detection system on August 1st, due to the late start time of the inspection or the large inspection workload, the inspection task of Road A is often not completed at 12 o'clock in the evening, resulting in the need to continue the inspection task on the uninspected part of Road A after 12 o'clock (August 2nd). The final result is that the inspection process of Road A spans two days, and the inspection pictures collected by the on-board collection terminal are the pictures on August 1st and August 2nd. However, in the traditional road defect detection system, the central end will generate the inspection batch number of Road A only after the user selects the inspection road and fills in the starting pile number through the intelligent terminal. No new inspection task was initiated for Road A on August 2, so the pictures on August 2 will not be matched to the batch information, and the inspection batch information of Road A cannot be stored in the memory database, and the subsequent kilometer pile mapping logic cannot be executed. At this time, even if the pictures on August 2 are uploaded on August 2, because they should be uploaded to the batch on August 1, they are actually uploaded the next day as offline pictures.

[0068] The kilometer pile mapping device 200 based on offline pictures proposed in this embodiment processes offline pictures through the offline picture processing module 201, so that the offline pictures are stored in the memory database; the kilometer pile information of the batch of offline pictures in the memory database is calculated through the offline picture kilometer pile mapping module 202, and the kilometer pile mapping of offline pictures is completed accurately and reliably. The kilometer pile mapping device 200 based on offline pictures proposed in this embodiment effectively solves the problem that the existing road disease detection system cannot complete the kilometer pile mapping when the offline pictures are uploaded every other day, so that the road disease detection system can perform arbitrary inspection and inspection at any time, and is more convenient and flexible to use.

[0069] Embodiment 3

[0070] Please refer to Figure 3 As stated, Figure 3 A schematic diagram of the structure of a road damage detection system provided in Embodiment 3 of the present invention. As shown in the figure, the embodiment of the present invention provides a road damage detection system 300, which adopts the kilometer pile mapping device 200 based on offline pictures proposed in Embodiment 2 above, and completes the kilometer pile mapping based on offline pictures through the kilometer pile mapping device 200 based on offline pictures.

[0071] In this embodiment, the road damage detection system 300 includes but is not limited to a tablet computer 301, a vehicle-mounted collection terminal 302, and a central terminal 303; wherein, in actual application, the road damage detection system 300 is not limited to using the tablet computer 301, but may also be its intelligent terminal device. The tablet computer 301 is installed with a road damage detection program. In this embodiment, the working principle and process of the kilometer pile mapping device 200 based on offline images have been specifically described in the above-mentioned embodiment 2, and will not be repeated here.

[0072] The road damage detection system 300 proposed in this embodiment effectively solves the problem that the existing road damage detection system cannot complete the kilometer pile mapping when the offline pictures are uploaded every other day, so that the road damage detection system 300 can be inspected arbitrarily and at any time, which is more convenient and flexible to use and suitable for promotion and application.

[0073] Embodiment 4

[0074] An embodiment of the present invention provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the kilometer pile mapping method 100 based on offline images as proposed in the above-mentioned embodiment 1.

[0075] It should be noted that the above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0076] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A kilometer pile mapping method based on offline pictures, characterized in that: include: Processing the offline pictures so as to store the offline pictures in a memory database; The kilometer post information of the batch of offline pictures in the memory database is calculated to complete the kilometer post mapping of the offline pictures.

2. The kilometer pile mapping method based on offline pictures according to claim 1 is characterized in that: The processing of the offline pictures so as to store the offline pictures in the memory database includes: The offline pictures are processed through the picture upload interface so that the offline pictures are stored in the memory database.

3. The kilometer pile mapping method based on offline pictures according to claim 2 is characterized in that: The calculating of the kilometer pile information of the batch of the offline pictures in the memory database to complete the kilometer pile mapping of the offline pictures includes: Determine whether there is offline picture data in the memory database; If the judgment result is yes, recalculate the batch of the offline pictures; The kilometer pile mapping is performed on the recalculated batches to complete the kilometer pile mapping of the offline images.

4. The kilometer pile mapping method based on offline pictures according to claim 3 is characterized in that: The processing of the offline pictures through the picture upload interface so that the offline pictures are stored in the memory database includes: The picture upload interface determines whether the collection date of the picture to be uploaded is the current date; If the result of the judgment is no, the picture to be uploaded is determined to be an offline picture, and the data including the picture table name and the batch number are used to form a memory database key value; Determine whether the memory database key value exists, if so, store the offline picture in the memory database; if not, create a new memory database key value for the offline picture, and then store the offline picture in the memory database.

5. The offline picture-based kilometer pile mapping method according to claim 4, characterized in that: The determining whether there is offline picture data in the memory database further includes: Determine whether the current kilometer pile mapping time is a specific processing time; wherein the specific processing time includes but is not limited to the collection time of the offline image one day before and the image collection time of the second day when the inspection spans two days.

6. The offline picture-based kilometer pile mapping method according to claim 5, characterized in that: The determining whether there is offline picture data in the memory database includes: When the current kilometer pile mapping time is a specific processing time, reset all batches of the current date; Determine whether there is a memory database key value in the memory database that is not the current date.

7. The offline picture-based kilometer pile mapping method according to claim 6, characterized in that: If the judgment result is yes, recalculating the batch of the offline pictures includes: The batch information to be calculated is queried, and the batch to which the offline image belongs is recalculated according to the query result.

8. A kilometer pile mapping device based on offline pictures, characterized in that: The device adopts the offline picture-based kilometer pile mapping method according to any one of claims 1 to 7, comprising: An offline image processing module is used to process offline images and store the offline images in a memory database; The offline picture kilometer post mapping module is used to calculate the kilometer post information of the batch of offline pictures in the memory database and complete the kilometer post mapping of the offline pictures.

9. A road disease detection system, characterized in that: The system adopts the kilometer pile mapping device based on offline pictures as described in claim 8, and completes the kilometer pile mapping based on offline pictures through the kilometer pile mapping device based on offline pictures.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the kilometer pile mapping method based on offline images as described in any one of claims 1 to 7.