Concrete block anti-swapping method, controller, device and medium

By embedding anti-counterfeiting labels inside concrete test blocks and verifying them through comparison of dynamic QR codes and identification codes, the problem of easy counterfeiting of anti-counterfeiting items in existing technologies has been solved, thus achieving reliable anti-tampering protection for concrete test blocks.

CN122472786BActive Publication Date: 2026-11-06ZHUHAI XINHUATONG SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202610943929.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-06-29
Publication Date
2026-11-06
Estimated Expiration
2046-06-29

AI Technical Summary

Technical Problem

Existing anti-counterfeiting measures for concrete specimens are easily counterfeited, resulting in low reliability and difficulty in effectively preventing specimens from being switched.

Method used

Anti-counterfeiting labels, including anti-counterfeiting chips and anti-counterfeiting marks, are embedded in concrete test blocks. Dynamic identification codes are generated and scanned by generating and scanning dynamic QR codes and taking photos, and are compared and verified at each stage to ensure the authenticity of the test blocks.

Benefits of technology

Through multiple and multi-faceted verifications, the reliability of concrete test blocks was improved, effectively preventing test blocks from being switched.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122472786B_ABST
    Figure CN122472786B_ABST
Patent Text Reader

Abstract

This application discloses a method, controller, equipment, and medium for preventing the substitution of concrete test blocks. The method includes: obtaining a concrete sample to prepare a concrete test block; embedding an anti-counterfeiting label inside the concrete test block; displaying a first dynamic QR code on a display screen; scanning the first dynamic QR code to generate a first dynamic identification code; photographing the concrete test block to obtain a first image; displaying a second dynamic QR code on a display screen; scanning the second dynamic QR code to generate a second dynamic identification code; photographing the concrete test block to obtain a second image; displaying a third dynamic QR code on a display screen; scanning the third dynamic QR code to generate a third dynamic identification code; photographing the concrete test block to obtain a third image; and determining whether the concrete test block has been substituted based on the first image, second image, third image, first dynamic identification code, second dynamic identification code, and third dynamic identification code. This method can effectively prevent the substitution of concrete test blocks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to, but is not limited to, the field of concrete testing technology, and in particular to a method, controller, equipment, and medium for preventing the substitution of concrete test blocks. Background Technology

[0002] To monitor the quality of concrete materials during construction, concrete specimens are typically made during the pouring of the concrete structure and sent to testing departments for analysis. To prevent the specimens from being tampered with or counterfeited, anti-counterfeiting devices are usually embedded in them. Before submission, the specimens are photographed for documentation, and upon receiving the specimens, the testing department photographs them again and compares the two images for verification. However, existing anti-counterfeiting devices are easily counterfeited and lack reliability. Summary of the Invention

[0003] This application provides a method, controller, device, and medium for preventing the substitution of concrete test blocks, which can effectively prevent the substitution of concrete test blocks.

[0004] In a first aspect, embodiments of this application provide a method for preventing the substitution of concrete test blocks, including: Obtain concrete samples and prepare concrete test blocks; An anti-counterfeiting label is embedded in the concrete test block; the anti-counterfeiting label includes an anti-counterfeiting chip and an anti-counterfeiting mark, and the anti-counterfeiting chip is equipped with a display screen. A first dynamic QR code is displayed on the screen; Scan the first dynamic QR code to generate a first dynamic identification code, and upload the first dynamic identification code to the backend server; The concrete test block is photographed to obtain a first image including the anti-counterfeiting mark and the display screen; When the concrete test block is started to be delivered, a second dynamic QR code is displayed on the display screen; Scan the second dynamic QR code to generate a second dynamic identification code, and upload the second dynamic identification code to the backend server; The concrete test block is photographed to obtain a second image including the anti-counterfeiting mark and the display screen; After the concrete test block is sent to the testing unit, a third dynamic QR code is displayed on the screen. Scan the third dynamic QR code to generate a third dynamic identification code, and upload the third dynamic identification code to the backend server; The concrete test block is photographed to obtain a third image including the anti-counterfeiting mark and the display screen; Based on the first image, the second image, the third image, the first dynamic identifier, the second dynamic identifier, and the third dynamic identifier, determine whether the concrete test block has been replaced.

[0005] In some embodiments, the anti-counterfeiting label is provided with a plurality of marks, the first image includes the first dynamic QR code and the anti-counterfeiting label, and the second image includes the second dynamic QR code and the anti-counterfeiting label; The step of photographing the concrete test block to obtain a third image including the anti-counterfeiting mark and the display screen includes: Switch the display content of the screen to the previous page and display the fourth dynamic QR code on the screen; The concrete test block is photographed to obtain a fourth image containing the fourth dynamic QR code and the anti-counterfeiting mark; Continue switching the display content of the screen to the previous page, and display the fifth dynamic QR code on the screen; The concrete test block is photographed to obtain a fifth image containing the fifth dynamic QR code and the anti-counterfeiting mark; the third image includes the fourth image and the fifth image.

[0006] In some embodiments, determining whether the concrete test block has been replaced based on the first image, the second image, the third image, the first dynamic identifier, the second dynamic identifier, and the third dynamic identifier includes: Select one of the marks in the anti-counterfeiting label as the target mark; According to a preset position correspondence, a first recognition area of ​​the first dynamic QR code corresponding to the target mark is determined in the first image, a second recognition area of ​​the second dynamic QR code corresponding to the target mark is determined in the second image, a third recognition area of ​​the fourth dynamic QR code corresponding to the target mark is determined in the fourth image, and a fourth recognition area of ​​the fifth dynamic QR code corresponding to the target mark is determined in the fifth image. The images of the first identification area and the fourth identification area are compared, and the images of the second identification area and the third identification area are compared. When the image difference between the first identification area and the fourth identification area is greater than a preset threshold, or the image difference between the second identification area and the third identification area is greater than the preset threshold, it is determined that the concrete test block has been replaced.

[0007] In some embodiments, the first dynamic identifier is generated based on a first timestamp, a first project process number, and a first random number; the second dynamic identifier is generated based on a second timestamp, a second project process number, and a second random number; and the third dynamic identifier is generated based on a third timestamp, a third project process number, and a third random number. A first preset mapping relationship exists between the first random number and the second random number, and a second preset mapping relationship exists between the second random number and the third random number. The step of determining whether the concrete test block has been replaced based on the first image, the second image, the third image, the first dynamic identifier, the second dynamic identifier, and the third dynamic identifier further includes: Obtain the first dynamic identifier, the second dynamic identifier, and the third dynamic identifier from the backend server, and determine whether the formats of the first dynamic identifier, the second dynamic identifier, and the third dynamic identifier conform to preset rules; When the format of the third dynamic identifier code conforms to the preset rules, the first random number of the first dynamic identifier code, the second random number of the second dynamic identifier code, and the third random number of the third dynamic identifier code are obtained in the background server. Determine whether the third random number and the second random number satisfy the second preset mapping relationship, and determine whether the second random number and the first random number satisfy the first preset relationship. If at least one condition is not met, then determine that the concrete test block has been replaced.

[0008] In some embodiments, scanning the first dynamic QR code, generating a first dynamic identifier code, and uploading the first dynamic identifier code to the backend server includes: Scan the first dynamic QR code to enter the first page corresponding to the first dynamic QR code; On the first page, the first dynamic identifier code is generated; On the first page, the production information of the concrete test block is entered; Send the first dynamic identifier and the production information to the backend server; The step of scanning the second dynamic QR code, generating a second dynamic identifier code, and uploading the second dynamic identifier code to the backend server includes: Scan the second dynamic QR code to enter the second page corresponding to the second dynamic QR code; On the second page, the second dynamic identifier code is generated; On the second page, enter the transportation information of the concrete test block; The second dynamic identifier and the shipping information are sent to the backend server.

[0009] In some embodiments, when submitting the concrete test block, the method further includes the following steps: Obtain the starting point and ending point of the concrete test block, and plan multiple optional transportation routes based on the starting point and ending point; Identify all suspected illegal station locations located between the origin and the destination. Among the multiple optional transportation routes, select the shortest optional transportation route whose distance to all the suspected illegal station locations exceeds a first preset threshold, and use it as the target transportation route. The target delivery time range is determined based on the target transportation route and the historical average delivery speed. The concrete test block is placed in a sealed box; the sealed box is equipped with positioning elements. When the concrete test block is delivered to the destination, the actual transportation path of the concrete test block is obtained through the positioning element, and it is determined whether the actual transportation path deviates from the target transportation path. The actual delivery time of the concrete test block is determined by the second timestamp and the third timestamp, and it is determined whether the actual delivery time is within the target delivery time range. When the actual transportation route deviates from the target transportation route and the actual transportation time is not within the target transportation time range, it is determined that the concrete test block has been swapped.

[0010] In some embodiments, the sealed box is further equipped with an environmental monitoring element, and the method further includes the following steps when the concrete test block is sent for sampling: During the transportation of the concrete test block, the temperature and / or humidity information of the concrete test block are detected in real time by the environmental detection element; When the change value of the temperature information and / or the humidity information at a certain moment exceeds a first preset value, the positioning element determines whether the position information of the sealed box remains stationary or the change amount is less than a second preset value within a first preset time period, or the positioning element determines whether the position information of the sealed box deviates from the target transportation path within a second preset time period; wherein, the second preset value is determined based on the rate of change of the position information of the sealed box within a third preset time period before the certain moment. If the position information of the sealed box remains unchanged or changes less than the second preset value within the first preset time period, or if the position information of the sealed box deviates from the target transportation path within the second preset time period, it is determined that there is an abnormality in the sample delivery process of the concrete test block.

[0011] Secondly, embodiments of this application also provide a controller, including: at least one processor and a memory for communicatively connecting to the at least one processor; the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the concrete test block anti-swapping method described in the first aspect embodiment.

[0012] Thirdly, embodiments of this application also provide an electronic device, including the controller described in the second aspect embodiment.

[0013] Fourthly, embodiments of this application also provide a computer-readable storage medium storing computer-executable instructions for performing the concrete test block anti-tampering method as described in the first aspect.

[0014] The concrete test block anti-tampering method, controller, electronic device, and medium according to embodiments of this application have at least the following beneficial effects: By setting different dynamic QR codes at each stage from concrete test block production to testing, different dynamic identification codes are generated. The comparison results of the dynamic identification codes at each stage can determine whether the concrete test block has been tampered with. Simultaneously, the concrete test block is photographed at each stage, and the relationship between the pattern on the display screen at each stage and the anti-counterfeiting label further determines whether the concrete test block has been tampered with. This method verifies the concrete test block multiple times and from multiple angles, improving the reliability of concrete test block verification and effectively preventing the concrete test block from being tampered with.

[0015] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0016] Figure 1 This is a flowchart of the steps of a concrete test block anti-substitution method provided in one embodiment of this application; Figure 2 This is a top view of a concrete test block provided in one embodiment of this application; Figure 3 yes Figure 1 The flowchart showing the specific steps of step S1100 is shown. Figure 4 yes Figure 1 The flowchart showing the specific steps of step S1200 is shown. Figure 5 yes Figure 1 Another specific step flowchart of step S1200 is shown; Figure 6A schematic diagram of the controller provided in one embodiment of this application. Detailed Implementation

[0017] The embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application. The step numbers in the following embodiments are only set for ease of explanation, and there is no limitation on the order between the steps. The execution order of each step in the embodiments can be adaptively adjusted according to the understanding of those skilled in the art.

[0018] In the description of this invention, it should be understood that the orientation descriptions, such as up, down, front, back, left, right, etc., are based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limiting this invention.

[0019] The terms "first," "second," "third," and "fourth," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0020] In this invention, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a mutually exclusive, independent, or alternative embodiment. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0021] To monitor the quality of concrete materials during construction, concrete specimens are typically made during the pouring of the concrete structure and sent to testing departments for analysis. To prevent the specimens from being tampered with or counterfeited, anti-counterfeiting devices are usually embedded in them. Before submission, the specimens are photographed for documentation, and upon receiving the specimens, the testing department photographs them again and compares the two images for verification. However, existing anti-counterfeiting devices are easily counterfeited and lack reliability.

[0022] This application proposes a method, controller, electronic device, and medium for preventing the substitution of concrete test blocks. By setting different dynamic QR codes at each stage of the concrete test block's production and delivery for testing, different dynamic identification codes are generated. The method allows for comparison of the dynamic identification codes at each stage to determine whether the concrete test block has been substituted. Simultaneously, the concrete test block is photographed at each stage, and the relationship between the displayed pattern and the anti-counterfeiting label at each stage further confirms whether the concrete test block has been substituted. This method verifies the concrete test block multiple times and from multiple angles, improving the reliability of the verification and effectively preventing the substitution of concrete test blocks.

[0023] The embodiments of this application will be further described below with reference to the accompanying drawings.

[0024] Firstly, embodiments of this application propose a method for preventing the substitution of concrete test blocks, such as... Figure 1 As shown, the method includes the following steps: Step S100: Obtain concrete samples and prepare concrete test blocks 100; It should be noted that during construction, the construction unit typically needs to construct structures such as concrete foundations, concrete piles, and concrete beams. All of these structures require concrete. To test the quality of the concrete, it is necessary to obtain concrete samples from the construction site, thus creating concrete test blocks 100. When creating concrete test blocks, a mold of a cube or similar shape can be selected, and the obtained concrete sample is placed into the mold to create the concrete test block 100.

[0025] Step S200: An anti-counterfeiting label 200 is embedded in the concrete test block 100; the anti-counterfeiting label 200 includes an anti-counterfeiting chip and an anti-counterfeiting mark 500, and the anti-counterfeiting chip is equipped with a display screen 300; It should be noted that, to facilitate the embedding of the anti-counterfeiting label 200 within the concrete specimen 100, the label 200 needs to be placed into the concrete sample before it has completely solidified. Once the concrete sample has fully cured, a concrete specimen 100 with the anti-counterfeiting label 200 is obtained, at which point the label 200 remains fixed within the specimen 100. It should also be noted that the anti-counterfeiting chip and anti-counterfeiting mark 500 are separate components of the anti-counterfeiting label; they can be independent or connected via a connecting rope or other flexible structure. Once the anti-counterfeiting label 200 is fixed within the concrete specimen 100, the relative relationship between the anti-counterfeiting chip and the anti-counterfeiting mark 500 remains constant. The positional relationship between the anti-counterfeiting chip and the anti-counterfeiting mark 500 can be used to determine whether they have been tampered with.

[0026] Step S300: Display the first dynamic QR code 400 on the display screen 300; It should be noted that the anti-counterfeiting chip can generate several dynamic QR codes according to a preset program. Each dynamic QR code has a corresponding display page used to record different display information. In this example, the anti-counterfeiting chip first generates the first dynamic QR code 400 and displays it on the display screen 300, making it convenient for users to take photos and scan.

[0027] Step S400: Scan the first dynamic QR code 400, generate the first dynamic identification code, and upload the first dynamic identification code to the backend server; Once the first dynamic QR code 400 is displayed on the display screen 300, the on-site personnel begin to scan the first dynamic QR code 400. At this time, the first dynamic identification code will be automatically generated according to the preset rules. The first dynamic identification code will be uploaded to the backend server as proof for subsequent verification of whether the concrete test block 100 has been replaced.

[0028] Step S500: Take a picture of the concrete test block 100 to obtain a first image including the anti-counterfeiting mark 500 and the display screen 300; Specifically, while scanning the first dynamic QR code 400, a photograph of the concrete test block 100 must also be taken. During the photograph, both the anti-counterfeiting label 500 and the display screen 300 must be included within the photograph's field of view, forming a first image. This first image can serve as evidence for subsequent verification of whether the concrete test block 100 has been tampered with. The first image can be referenced. Figure 2 .

[0029] Step S600: When the concrete test block 100 is delivered, a second dynamic QR code is displayed on the display screen 300; Once the concrete test block 100 is completed and ready for delivery, a second dynamic QR code is displayed on the screen, allowing the user to record further information about the concrete test block 100 before delivery.

[0030] Step S700: Scan the second dynamic QR code, generate the second dynamic identification code, and upload the second dynamic identification code to the backend server; Once the second dynamic QR code is displayed on the display screen 300, the sample delivery personnel begin to scan the second dynamic QR code. At this time, a second dynamic identification code will be automatically generated according to the preset rules. This second dynamic identification code will be uploaded to the backend server and can be used in conjunction with the first dynamic identification code to verify whether the concrete test block has been replaced.

[0031] Step S800: Take a picture of the concrete test block 100 to obtain a second image including the anti-counterfeiting mark and the display screen 300; Specifically, while scanning the second dynamic QR code, a photograph of the concrete test block 100 must also be taken. During the photograph, both the anti-counterfeiting label 500 and the display screen 300 must be included within the photograph's field of view to form a second image. This second image is subsequently used in conjunction with the first image to verify whether the concrete test block 100 has been tampered with. The second image can also be used as a reference. Figure 2 As shown, the only difference is the content displayed on the display screen 300.

[0032] Step S900: After the concrete test block 100 is delivered to the testing unit, the third dynamic QR code is displayed on the screen. After the concrete test block 100 is transported, a third dynamic QR code is displayed on the display screen 300, allowing the testing personnel to obtain the latest information about the concrete test block 100 and compare it with the information of the concrete test block 100 before delivery, so as to verify whether the concrete test block 100 has been replaced.

[0033] Step S1000: Scan the third dynamic QR code, generate the third dynamic identification code, and upload the third dynamic identification code to the backend server; Once the third dynamic QR code is displayed on the screen, the testing personnel can scan it. At this time, a third dynamic identification code will be automatically generated according to the preset rules. This third dynamic identification code will be uploaded to the backend server and can be used in conjunction with the first and second dynamic identification codes to verify whether the concrete test block 100 has been replaced.

[0034] Step S1100: Take a picture of the concrete test block 100 to obtain a third image including the anti-counterfeiting mark 500 and the display screen 300; Specifically, while scanning the second dynamic QR code, a photograph of the concrete test block 100 is also taken. During the photograph, both the anti-counterfeiting label 500 and the display screen 300 are included within the photograph's field of view, forming a third image. This third image is subsequently used in conjunction with the first and second images to verify whether the concrete test block 100 has been tampered with. After obtaining the first, second, and third images, they can be uploaded together to the backend server and compared with subsequent comparisons.

[0035] Step S1200: Based on the first image, the second image, the third image, the first dynamic identifier, the second dynamic identifier, and the third dynamic identifier, determine whether the concrete test block 100 has been replaced.

[0036] When checking whether concrete test block 100 has been replaced, the first image, second image, third image, first dynamic identification code, second dynamic identification code, and third dynamic identification code are extracted from the backend server. Then, the first image, second image, and third image are compared according to the preset comparison method, and the first dynamic identification code, second dynamic identification code, and third dynamic identification code are compared to see if the comparison results meet the requirements. If they do not meet the requirements, it is determined that concrete test block 100 has been replaced; if they do meet the requirements, it is determined that concrete test block 100 has not been replaced.

[0037] According to the concrete test block anti-tampering method of this application embodiment, different dynamic QR codes are set at each stage of the concrete test block 100 from production to delivery for testing, thereby generating different dynamic identification codes. The comparison results of the dynamic identification codes at each stage can be used to determine whether the concrete test block 100 has been tampered with. Simultaneously, the concrete test block is photographed at each stage, and the relationship between the pattern on the display screen 300 at each stage and the anti-counterfeiting label 500 further determines whether the concrete test block 100 has been tampered with. This method verifies the concrete test block 100 multiple times and from multiple angles, improving the reliability of the verification and effectively preventing the concrete test block 100 from being tampered with.

[0038] In some embodiments of this application, such as Figure 2 As shown, the anti-counterfeiting label 500 is provided with several marks 510. The first image includes a first dynamic QR code 400 and the anti-counterfeiting label 500, and the second image includes a second dynamic QR code and the anti-counterfeiting label 500. In this example, as... Figure 3 As shown, step S1100 above: photographing the concrete test block to obtain a third image including the anti-counterfeiting label 500 and the display screen 300, includes the following four steps: Step S1110: Switch the display content of the display screen 300 to the previous page, and display the fourth dynamic QR code on the display screen 300; Step S1120: Take a picture of the concrete test block 100 to obtain a fourth image containing the fourth dynamic QR code and the anti-counterfeiting mark 500; Step S1130: Continue to switch the display content of the display screen 300 to the previous page, and display the fifth dynamic QR code on the display screen; Step S1140: Take a picture of the concrete test block 100 to obtain a fifth image containing a fifth dynamic QR code and an anti-counterfeiting mark 500; the third image includes the fourth and fifth images.

[0039] It should be noted that, since the display screen 300 sequentially displays the first dynamic QR code 400, the second dynamic QR code, and the third dynamic QR code throughout the entire process, after the concrete sample block 100 is delivered to the testing unit, in order to determine whether the concrete sample block 100 is the same as the one before delivery, the third dynamic QR code is scanned and photographed, causing the display screen 300 to move to the previous page and display the fourth dynamic QR code. It should be noted that if the concrete sample block 100 before and after delivery is the same, then the content displayed on the previous page of the display screen 300 should actually be the second dynamic QR code, meaning the fourth dynamic QR code should be the same as the second dynamic QR code. However, if the concrete sample block 100 is swapped during delivery, the content displayed on the previous page of the display screen 300 may not be the second dynamic QR code; in this case, the fourth dynamic QR code will be different from the second dynamic QR code. Similarly, when switching the display content of screen 300 to the previous page, if the concrete test block 100 has not been replaced, the display content of screen 300 should be the first dynamic QR code 400, meaning the fifth dynamic QR code should be the same as the first dynamic QR code 400. If the concrete test block 100 has been replaced, the display content of screen 300 may not be the first dynamic QR code 400; in this case, the fifth dynamic QR code and the first dynamic QR code 400 are different. Therefore, by comparing whether the image and angle of the fourth dynamic QR code in the fourth image are the same as those of the second dynamic QR code in the second image, and by comparing whether the image and angle of the fifth dynamic QR code in the fifth image are the same as those of the first dynamic QR code 400 in the first image, it can be determined whether the concrete test block 100 has been replaced. If the concrete test block 100 has been replaced, it is difficult for counterfeiters to ensure that the installation angle and display content of the anti-counterfeiting chip remain consistent in both instances. It should be noted that, in order to further increase the difficulty of replacing the concrete test block 100, an anti-tampering structure can be set on the anti-counterfeiting chip. When the anti-tampering structure is detected to be damaged, the anti-counterfeiting chip will automatically clear its built-in program to prevent the anti-counterfeiting chip from being removed and installed on the replaced concrete test block 100.

[0040] In some embodiments of this application, such as Figure 3 As shown, step S1200 above: determining whether the concrete test block 100 has been replaced based on the first image, second image, third image, first dynamic identifier, second dynamic identifier, and third dynamic identifier, includes the following three steps: Step S1210: Select one of the marks 510 of the anti-counterfeiting mark 500 as the target mark; Step S1220: According to the preset position correspondence, determine the first recognition area of ​​the first dynamic QR code corresponding to the target mark in the first image, determine the second recognition area of ​​the second dynamic QR code corresponding to the target mark in the second image, determine the third recognition area of ​​the fourth dynamic QR code corresponding to the target mark in the fourth image, and determine the fourth recognition area of ​​the fifth dynamic QR code corresponding to the target mark in the fifth image. Step S1230: Compare the images of the first identification area and the fourth identification area, and compare the images of the second identification area and the third identification area. When the image difference between the first identification area and the fourth identification area is greater than a preset threshold, or the image difference between the second identification area and the third identification area is greater than a preset threshold, it is determined that the concrete test block 100 has been replaced.

[0041] It should be noted that since the anti-counterfeiting label 500 has multiple markers 510, during detection, one of the markers 510 is randomly selected as the target marker, and one of the preset positional correspondences is randomly selected. After selecting the target marker, the corresponding coordinate point is found according to the positional correspondence. A rectangular / circular or other shaped area of ​​a preset size is drawn around this coordinate point as the identification area. The first identification area corresponds to the fourth identification area at the same position, and the second identification area corresponds to the third identification area at the same position. When the patterns of the first and fifth dynamic QR codes are the same, since the first and fourth identification areas correspond to the same position, the patterns of the first and third identification areas should be completely identical. Similarly, when the patterns of the second and fourth dynamic QR codes are the same, since the second and third identification areas correspond to the same position, the patterns of the second and third identification areas should be completely identical. Therefore, if the image difference between the first and fourth recognition areas is less than a preset threshold, and the image difference between the second and third recognition areas is also less than a preset threshold, the first and fifth dynamic QR codes are considered identical, as are the second and fourth dynamic QR codes. The anti-counterfeiting chip's display content is normal, and the anti-counterfeiting chip has not been replaced. If the image difference between the first and fourth recognition areas is greater than a preset threshold, or the image difference between the second and third recognition areas is greater than a preset threshold, the fourth or fifth dynamic QR code is considered abnormal, and the anti-counterfeiting chip may have been replaced. It should be noted that for dynamic QR codes, each dynamic QR code has different patterns except for the three corners. When determining the recognition area corresponding to the target mark, the areas where the patterns differ among the different dynamic QR codes are selected. Only when the patterns of two dynamic QR codes are completely identical will the patterns of their corresponding recognition areas be identical.

[0042] In some embodiments of this application, the first dynamic identifier is generated based on a first timestamp, a first project process number, and a first random number; the second dynamic identifier is generated based on a second timestamp, a second project process number, and a second random number; and the third dynamic identifier is generated based on a third timestamp, a third project process number, and a third random number. A first preset mapping relationship exists between the first and second random numbers, and a second preset mapping relationship exists between the second and third random numbers. It should be noted that the first timestamp corresponds to the time of scanning the first dynamic QR code 400; the first project process number refers to a preset number corresponding to the production process of the concrete test block 100; and the first random number is randomly generated by the system. The second timestamp corresponds to the time of scanning the second dynamic QR code; the second project process number refers to a preset number corresponding to the sample delivery process of the concrete test block 100; and the second random number is generated based on the first random number and according to the first preset mapping relationship. The third timestamp corresponds to the event of scanning the third dynamic QR code; the third project process number refers to a preset number corresponding to the testing process of the concrete test block 100; and the third random number is generated based on the second random number and according to the second preset mapping relationship. Each dynamic identifier is generated according to specific rules. By checking whether each dynamic identifier conforms to the preset rules on the backend server, it can be determined whether the corresponding dynamic QR code is normal.

[0043] In this example, such as Figure 4 As shown, step S1200 above, which determines whether the concrete test block 100 has been replaced based on the first image, the second image, the third image, the first dynamic identifier code, the second dynamic identifier code, and the third dynamic identifier code, also includes the following three steps: Step S1240: Obtain the first dynamic identifier, the second dynamic identifier, and the third dynamic identifier from the backend server, and determine whether the formats of the first dynamic identifier, the second dynamic identifier, and the third dynamic identifier conform to the preset rules; Step S1250: When the formats of the first dynamic identifier, the second dynamic identifier, and the third dynamic identifier all conform to the preset rules, obtain the first random number of the first dynamic identifier, the second random number of the second dynamic identifier, and the third random number of the third dynamic identifier. Step S1260: Determine whether the third random number and the second random number satisfy the second preset mapping relationship, and determine whether the second random number and the first random number satisfy the first preset relationship. If at least one of the conditions is not satisfied, then it is determined that the concrete test block 100 has been replaced.

[0044] It should be noted that if the concrete test block 100 has not been tampered with, the dynamic identification codes generated when scanning the dynamic QR codes at each stage from the fabrication to the testing of the concrete test block 100 should conform to preset rules. Furthermore, the random numbers between adjacent dynamic QR codes should conform to preset mapping relationships. Therefore, when the concrete test block 100 has not been tampered with, the formats of the first, second, and third dynamic identification codes should all conform to preset rules, and the third random number should satisfy the second preset mapping relationship with the second random number, while the second random number should satisfy the first preset relationship with the first random number. Thus, by generating corresponding dynamic identification codes at each stage from the fabrication to the testing of the concrete test block 100, it is possible to further determine whether the concrete test block 100 has been tampered with using these dynamic identification codes.

[0045] In some embodiments of this application, step S400 above—scanning the first dynamic QR code, generating the first dynamic identifier code, and uploading the first dynamic identifier code to the backend server—includes the following four steps: Step S410: Scan the first dynamic QR code 400 to enter the first page corresponding to the first dynamic QR code 400; Step S420: Generate the first dynamic identifier code on the first page; Step S430: On the first page, enter the production information of concrete test block 100; Step S440: Send the first dynamic identifier and creation information to the backend server; Step S700 above: Scanning the second dynamic QR code, generating the second dynamic identification code, and uploading the second dynamic identification code to the backend server includes the following four steps: Step S710: Scan the second dynamic QR code to enter the second page corresponding to the second dynamic QR code; Step S720: On the second page, generate the second dynamic identifier code; Step S730: On the second page, enter the transportation information for the concrete test blocks; Step S740: Send the second dynamic identification code and shipping information to the backend server.

[0046] Specifically, each dynamic QR code has a corresponding display page for recording relevant information. The first dynamic QR code corresponds to the first page, where a first dynamic identification code is generated. Simultaneously, the production information of the concrete test block 100 can be entered on the first page, such as the production personnel, formula, corresponding construction project and construction time, and production time, facilitating subsequent traceability. The second dynamic QR code corresponds to the second page, where a second dynamic identification code is generated. Simultaneously, the transportation information of the concrete test block 100 can be entered on the second page, such as the transport personnel and start time of transportation, facilitating traceability in case of problems during sample delivery.

[0047] In some embodiments of this application, when sending concrete test blocks 100, the method for preventing substitution of concrete test blocks further includes the following steps: Obtain the starting and ending points of 100 concrete test blocks, and plan multiple optional transportation routes based on the starting and ending points; Identify all suspected illegal stations located between the origin and destination. Among multiple optional transportation routes, select the shortest optional transportation route whose distance from all suspected illegal stations exceeds a first preset threshold, and use it as the target transportation route. Determine the target delivery time range based on the target transportation route and historical average delivery speed; The concrete test block was placed in a sealed box; the sealed box was equipped with positioning elements. When the concrete test block is delivered to the destination, the actual transportation path of the concrete test block is obtained through the positioning element, and it is determined whether the actual transportation path deviates from the target transportation path. The actual delivery time of the concrete test block is determined by the second and third timestamps, and it is judged whether the actual delivery time is within the target delivery time range. When the actual transportation route deviates from the target transportation route and the actual transportation time is not within the target transportation time range, it is determined that the concrete test block has been replaced.

[0048] Specifically, to ensure that the concrete test blocks 100 accurately reflect the quality of the project entity, the construction unit arranges on-site personnel with relevant skills to randomly select concrete mixtures at the concrete pouring site to prepare the concrete test blocks 100. After preparation, the concrete samples are sent to a testing unit for quality testing. Therefore, once the construction unit and testing unit for the concrete samples are determined, the starting and ending points of the concrete test blocks 100 can be determined. After determining the starting and ending points, a transportation route needs to be selected to ensure that the transport personnel strictly adhere to the route to prevent the concrete test blocks 100 from being switched during transport. After determining the starting and ending points, multiple optional transportation routes can be planned using navigation software / map software, and then the optimal route can be selected from these options. Suspected illegal mixing plants refer to mixing plants or simple mixing points that lack legal qualifications, have not been approved by relevant departments, and are illegally engaged in concrete production and sales. It can also refer to other non-designated construction units where there is a possibility of switching the concrete test blocks 100. When determining the target transportation route, to prevent delivery personnel from colluding with suspected illegal transportation points to swap concrete test blocks 100 when passing through them, it is necessary to avoid these suspected illegal points as much as possible. Therefore, among multiple optional transportation routes, those routes whose distance to all suspected illegal points exceeds a first preset threshold are selected. Then, from these optional routes, the shortest route is chosen as the target transportation route. This improves transportation speed while preventing delivery vehicles from going to suspected illegal points to swap concrete test blocks 100. After determining the target transportation route, an average transportation time is determined based on the total length of the target transportation route and the average transportation speed of the vehicles. This average transportation time is then extended by a certain time range to form the target transportation time range. Delivery personnel must deliver within the set target transportation time range to prevent excessively long delivery times and the increased risk of concrete test blocks 100 being swapped. It should be noted that after the concrete test block 100 is prepared, before transporting it to the testing unit, it needs to be placed in a sealed box to facilitate transportation. The sealed box may contain a buffer positioning chamber to secure the concrete sample and prevent it from being bumped or overturned during transport. Simultaneously, the sealed box is equipped with positioning elements to monitor its position in real time, preventing the concrete test block 100 from deviating from the target transport path during transit.After the transport vehicle delivers the concrete test block 100 to the testing unit, the departure and arrival times of the concrete test block 100 can be obtained by extracting the second timestamp of the second dynamic identifier and the third timestamp of the third dynamic identifier, thus determining the actual transport time of the concrete test block 100. It should be noted that after obtaining the actual transport time, it is compared with a pre-set target transport time range to determine whether the actual transport time conforms to the pre-set target transport time range. Simultaneously, the actual transport path of the concrete test block 100 during transport is obtained through positioning elements to determine whether the actual transport path deviates from the target transport path. By comparing the actual transport time of the concrete test block 100 with the pre-set target transport time range, it is determined whether the actual transport time conforms to the pre-set target transport time range. If the actual transport time exceeds the target transport time range, it indicates that there may be an anomaly in the transport process of the concrete test block 100. At this time, the actual transportation path of the concrete test block 100 during transportation is obtained through the positioning element, and then it is determined whether the actual transportation path deviates from the target transportation path. If the actual transportation time exceeds the target transportation time range and the actual transportation path deviates from the target transportation path, it is determined that there is an abnormality in the delivery process of the concrete test block 100, and the concrete test block 100 is invalid.

[0049] This method plans the transportation route and time of concrete test blocks 100 to ensure the route stays away from suspected illegal transportation points. By statistically analyzing the actual transportation time and route of concrete test blocks 100, it determines whether there are any anomalies in the transportation process. This method effectively prevents concrete test blocks 100 from being switched during transportation, thus improving the reliability of concrete test block transportation.

[0050] In some embodiments of this application, an environmental monitoring element is also provided inside the sealed box. The concrete test block anti-tampering method in this application also includes the following three steps: During the transportation of the concrete test block 100, the temperature and / or humidity information of the concrete test block 100 are monitored in real time by environmental monitoring elements; When the change in temperature and / or humidity information exceeds a first preset value at a certain moment, the positioning element determines whether the position information of the sealed box remains stationary or changes less than a second preset value within a first preset time period, or determines whether the position information of the sealed box deviates from the target transportation path within a second preset time period; wherein, the second preset value is determined based on the rate of change of the position information of the sealed box within a third preset time period prior to a certain moment. If the position information of the sealed box remains unchanged or changes less than the second preset value within the first preset time period, or if the position information of the sealed box deviates from the target transportation path within the second preset time period, it is determined that there is an abnormality in the sample delivery process of the concrete test block 100.

[0051] It should be noted that the environmental detection element can be a temperature sensor or humidity sensor, used to detect environmental information such as temperature and humidity inside the sealed container. The sealed container can be a box with relatively constant temperature and humidity. Once sealed, the environmental information such as temperature and humidity inside the sealed container remains at a stable level. Only when the sealed container is opened during transportation will the temperature and / or humidity information detected by the environmental detection element change significantly. When the change in temperature and / or humidity information at a certain moment exceeds a first preset value, there is a possibility that the sealed container has been opened. At this time, the positioning element is used to determine whether the position information of the sealed container remains stationary or changes less than a second preset value within a first preset time period. If so, it indicates that the transport vehicle may have stopped and opened the sealed container at this time, and the sample delivery process of concrete block 100 is determined to be abnormal. Alternatively, the positioning element is used to determine whether the position information of the sealed container deviates from the target transport path within a second preset time period. If so, it indicates that the transport vehicle may have deviated from the target transport path and opened the sealed container, and the sample delivery process of concrete block 100 is determined to be abnormal. The second preset value is determined based on the average moving speed of the transport vehicle during a period of time (such as a third preset time period) before the detection value of the environmental detection element occurs.

[0052] Secondly, such as Figure 6 As shown, the present invention also provides a controller, comprising: The processor 101 can be implemented using a general-purpose central processing unit (CPU), microprocessor, application specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application. The memory 102 can be implemented as a read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM). The memory 102 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 102 and called and executed by the processor 101 to execute the concrete test block anti-tampering method of the embodiments of this application. Input / output interface 103 is used to implement information input and output; The communication interface 104 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.). Bus 105 transmits information between various components of the device (e.g., processor 101, memory 102, input / output interface 103, and communication interface 104); The processor 101, memory 102, input / output interface 103 and communication interface 104 are connected to each other within the device via bus 105.

[0053] Thirdly, embodiments of this application also provide an electronic device, including the controller described in the second aspect embodiment.

[0054] Fourthly, embodiments of this application also provide a storage medium, which is a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for preventing the substitution of concrete test blocks.

[0055] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor 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 device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separate, and may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0056] It will be understood by those skilled in the art that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically include computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0057] The above provides a detailed description of the preferred embodiments of the present invention. However, the present invention is not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention. All such equivalent modifications or substitutions are included within the scope defined by the claims of the present invention.

Claims

1. A method for preventing the substitution of concrete test blocks, characterized in that, include: Obtain concrete samples and prepare concrete test blocks; An anti-counterfeiting label is embedded in the concrete test block; the anti-counterfeiting label includes an anti-counterfeiting chip and an anti-counterfeiting mark, and the anti-counterfeiting chip is equipped with a display screen. A first dynamic QR code is displayed on the screen; Scan the first dynamic QR code to generate a first dynamic identification code, and upload the first dynamic identification code to the backend server; The concrete test block is photographed to obtain a first image including the anti-counterfeiting mark and the display screen; When the concrete test block is started to be delivered, a second dynamic QR code is displayed on the display screen; Scan the second dynamic QR code to generate a second dynamic identification code, and upload the second dynamic identification code to the backend server; The concrete test block is photographed to obtain a second image including the anti-counterfeiting mark and the display screen; After the concrete test block is sent to the testing unit, a third dynamic QR code is displayed on the screen. Scan the third dynamic QR code to generate a third dynamic identification code, and upload the third dynamic identification code to the backend server; The concrete test block is photographed to obtain a third image including the anti-counterfeiting mark and the display screen; Based on the first image, the second image, the third image, the first dynamic identifier, the second dynamic identifier, and the third dynamic identifier, determine whether the concrete test block has been replaced; The anti-counterfeiting label has several markings. The first image includes the first dynamic QR code and the anti-counterfeiting label, and the second image includes the second dynamic QR code and the anti-counterfeiting label. The step of photographing the concrete test block to obtain a third image including the anti-counterfeiting mark and the display screen includes: Switch the display content of the screen to the previous page and display the fourth dynamic QR code on the screen; The concrete test block is photographed to obtain a fourth image containing the fourth dynamic QR code and the anti-counterfeiting mark; Continue switching the display content of the screen to the previous page, and display the fifth dynamic QR code on the screen; The concrete test block is photographed to obtain a fifth image containing the fifth dynamic QR code and the anti-counterfeiting mark; the third image includes the fourth image and the fifth image; The step of determining whether the concrete test block has been replaced based on the first image, the second image, the third image, the first dynamic identifier, the second dynamic identifier, and the third dynamic identifier includes: Select one of the marks in the anti-counterfeiting label as the target mark; According to a preset position correspondence, a first recognition area of ​​the first dynamic QR code corresponding to the target mark is determined in the first image, a second recognition area of ​​the second dynamic QR code corresponding to the target mark is determined in the second image, a third recognition area of ​​the fourth dynamic QR code corresponding to the target mark is determined in the fourth image, and a fourth recognition area of ​​the fifth dynamic QR code corresponding to the target mark is determined in the fifth image. The images of the first identification area and the fourth identification area are compared, and the images of the second identification area and the third identification area are compared. When the image difference between the first identification area and the fourth identification area is greater than a preset threshold, or the image difference between the second identification area and the third identification area is greater than the preset threshold, it is determined that the concrete test block has been replaced.

2. The method for preventing the substitution of concrete test blocks according to claim 1, characterized in that, The first dynamic identifier is generated based on a first timestamp, a first project process number, and a first random number; the second dynamic identifier is generated based on a second timestamp, a second project process number, and a second random number; and the third dynamic identifier is generated based on a third timestamp, a third project process number, and a third random number. There is a first preset mapping relationship between the first random number and the second random number, and there is a second preset mapping relationship between the second random number and the third random number. The step of determining whether the concrete test block has been replaced based on the first image, the second image, the third image, the first dynamic identifier, the second dynamic identifier, and the third dynamic identifier further includes: Obtain the first dynamic identifier, the second dynamic identifier, and the third dynamic identifier from the backend server, and determine whether the formats of the first dynamic identifier, the second dynamic identifier, and the third dynamic identifier conform to preset rules; When the formats of the first dynamic identifier, the second dynamic identifier, and the third dynamic identifier all conform to preset rules, the first random number of the first dynamic identifier, the second random number of the second dynamic identifier, and the third random number of the third dynamic identifier are obtained from the background server. Determine whether the third random number and the second random number satisfy the second preset mapping relationship, and determine whether the second random number and the first random number satisfy the first preset mapping relationship. If at least one condition is not met, it is determined that the concrete test block has been replaced.

3. The method for preventing the substitution of concrete test blocks according to claim 1, characterized in that, The step of scanning the first dynamic QR code, generating a first dynamic identifier code, and uploading the first dynamic identifier code to the backend server includes: Scan the first dynamic QR code to enter the first page corresponding to the first dynamic QR code; On the first page, the first dynamic identifier code is generated; On the first page, the production information of the concrete test block is entered; Send the first dynamic identifier and the production information to the backend server; The step of scanning the second dynamic QR code, generating a second dynamic identifier code, and uploading the second dynamic identifier code to the backend server includes: Scan the second dynamic QR code to enter the second page corresponding to the second dynamic QR code; On the second page, the second dynamic identifier code is generated; On the second page, enter the transportation information of the concrete test block; The second dynamic identifier and the shipping information are sent to the backend server.

4. The method for preventing the substitution of concrete test blocks according to claim 2, characterized in that, When submitting the concrete test block, the method further includes the following steps: Obtain the starting point and ending point of the concrete test block, and plan multiple optional transportation routes based on the starting point and ending point; Identify all suspected illegal station locations located between the origin and the destination. Among the multiple optional transportation routes, select the shortest optional transportation route whose distance to all the suspected illegal station locations exceeds a first preset threshold, and use it as the target transportation route. The target delivery time range is determined based on the target transportation route and the historical average delivery speed. The concrete test block is placed in a sealed box; the sealed box is equipped with positioning elements. When the concrete test block is delivered to the destination, the actual transportation path of the concrete test block is obtained through the positioning element, and it is determined whether the actual transportation path deviates from the target transportation path. The actual delivery time of the concrete test block is determined by the second timestamp and the third timestamp, and it is determined whether the actual delivery time is within the target delivery time range. When the actual transportation route deviates from the target transportation route and the actual transportation time is not within the target transportation time range, it is determined that the concrete test block has been swapped.

5. The method for preventing the substitution of concrete test blocks according to claim 4, characterized in that, The sealed box is also equipped with environmental monitoring elements. When sending the concrete test block for sampling, the method further includes the following steps: During the transportation of the concrete test block, the temperature and / or humidity information of the concrete test block are detected in real time by the environmental detection element; When the change value of the temperature information and / or the humidity information at a certain moment exceeds a first preset value, the positioning element determines whether the position information of the sealed box remains stationary or the change amount is less than a second preset value within a first preset time period, or the positioning element determines whether the position information of the sealed box deviates from the target transportation path within a second preset time period; wherein, the second preset value is determined based on the rate of change of the position information of the sealed box within a third preset time period before the certain moment. If the position information of the sealed box remains unchanged or changes by less than the second preset value within the first preset time period, or if the position information of the sealed box deviates from the target transportation path within the second preset time period, it is determined that there is an abnormality in the sample delivery process of the concrete test block.

6. A controller, characterized in that, include: It includes at least one processor and a memory for communicatively connecting with said at least one processor; The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the concrete test block anti-swapping method as described in any one of claims 1 to 5.

7. An electronic device, characterized in that, Includes the controller as described in claim 6.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions for causing a computer to perform the concrete test block anti-tampering method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Implantable exchange prevention label of concrete sample and exchange prevention method of concrete sample

    CN107808184A

  • Building test block identification management method based on NFC technology

    CN118469761A