Inspection checking method, terminal equipment and storage medium

By generating and comparing the verification codes on the inspection photos, and using binary polynomial exclusive OR operation, the problem of difficulty in judging the authenticity of inspection photos in the existing technology is solved, efficient management and tampering protection of inspection results are achieved, and the The authenticity and traceability efficiency of the inspection process.

CN119169318APending Publication Date: 2024-12-20QINGDAO HAIER SPECIAL ICEBOX +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411120067.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

The existing inspection system cannot effectively determine whether the inspection photos are real, resulting in inefficient traceability of inspection results and difficulty in preventing tampering, and cannot effectively prevent business inspection fraud.

Method used

By generating the initial verification code and the comparison verification code, using binary polynomials for XOR operation, generating and attaching verification codes to the inspection photos, comparing the verification codes to judge the authenticity of the inspection results, if the verification codes are consistent, It is true, otherwise it is false, simplifying the management and verification process and preventing tampering.

Benefits of technology

Effectively prevent tampering with inspection records, improve the traceability efficiency of inspection results, and ensure the authenticity and accuracy of the inspection process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119169318A_ABST
    Figure CN119169318A_ABST
Patent Text Reader

Abstract

The invention discloses a routing inspection verification method, terminal equipment and a storage medium. The routing inspection verification method comprises the following steps: acquiring a routing inspection photo; based on the first information, using a first algorithm to generate an initial check code, and attaching the initial check code to the inspection photo; submitting the inspection photo, and generating a comparison check code based on second information by using a first algorithm; and judging whether the inspection is true or not based on the comparison check code and the initial check code, if the comparison check code is the same as the initial check code, judging that the inspection result is true, and if the comparison check code is different from the initial check code, judging that the inspection result is false, thereby simplifying the management and verification process of the inspection result, and improving the inspection efficiency. Tampering of inspection records is effectively prevented, the authenticity of the inspection process is ensured, and the tracing efficiency of inspection results is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of patrol inspection and monitoring, and in particular to a patrol inspection and verification method, terminal equipment and storage medium. Background Art

[0002] After the refrigeration equipment is put on the market, business personnel often need to conduct manual inspections of the refrigeration equipment. Some inspectors may falsify inspections due to various factors such as saving trouble, laziness, and high performance. For example, they may keep inspection photos of refrigeration equipment or inspection photos of previous inspections in advance, so that they can conduct inspections without being in front of the refrigeration equipment. At present, the inspection photos uploaded for such manual inspections mainly add information such as the inspector, inspection time, inspection address, and terminal stores. It is impossible to determine whether the inspection results are falsified, so that inspectors can submit inspection records normally under any circumstances. When problems are found in the inspection, they are traced back through the relevant information of the inspection photos. It is impossible to directly avoid business inspection fraud, resulting in low traceability efficiency. Summary of the invention

[0003] In view of the above problems, the present application provides a patrol inspection method, a terminal device and a storage medium, a patrol inspection method, the method comprising the following steps:

[0004] Get inspection photos;

[0005] Generate an initial verification code using a first algorithm based on the first information, and attach the initial verification code to the inspection photo;

[0006] Submit the inspection photo, and generate a comparison verification code using a first algorithm based on the second information;

[0007] Whether the inspection is true is determined based on the comparison check code and the initial check code. If the comparison check code is the same as the initial check code, the inspection result is determined to be true. If the comparison check code is different from the initial check code, the inspection result is determined to be false.

[0008] Furthermore, the first algorithm comprises:

[0009] Select Binary Polynomial;

[0010] Performing an XOR operation on the data information and the binary polynomial to obtain first XOR data;

[0011] Divide the first XOR data by the binary polynomial, and take the remainder as a check code;

[0012] When the data information is the first information, the check code is an initial check code; when the data information is the second information, the check code is a comparison check code.

[0013] Furthermore, the binary polynomial is X 16 +X 15 +X 2 +1.

[0014] Furthermore, the first information is location information at the time of shooting.

[0015] Furthermore, the first information also includes the shooting time of the inspection photo.

[0016] Furthermore, the second information is location information of the inspection equipment.

[0017] Furthermore, the second information also includes a preset inspection time of the inspection equipment.

[0018] Furthermore, after the initial verification code is generated, a watermark generated by the verification code is attached to the inspection photo.

[0019] Furthermore, when the inspection result is determined to be false, a prompt is given to re-inspect.

[0020] Furthermore, the first algorithm is a parity check, an XOR check, a Hamming check, an MD5 check, a SHA check or an LRC check.

[0021] The present application further provides a terminal device, which includes a memory, a processor, and a program stored on and executable on the processor, wherein the program implements the steps of the above-mentioned inspection and verification method when executed by the processor.

[0022] The present application further provides a computer-readable storage medium, on which a program is stored, and when the program is executed by a processor, the steps of the above-mentioned inspection and verification method are implemented.

[0023] The inspection verification method, terminal device and storage medium in the present application, the inspection verification method includes: obtaining inspection photos; generating an initial verification code based on the first information using the first algorithm, and attaching it to the inspection photo; submitting the inspection photo, and generating a comparison verification code based on the second information using the first algorithm; judging whether the inspection is true based on the comparison verification code and the initial verification code, if the comparison verification code is the same as the initial verification code, then judging the inspection result to be true, if the comparison verification code is different from the initial verification code, then judging the inspection result to be false, which simplifies the management and verification process of the inspection results, effectively prevents tampering with the inspection records, ensures the authenticity of the inspection process, and improves the traceability efficiency of the inspection results. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 This is a schematic diagram of the inspection and verification method for this application;

[0025] Figure 2This is the first algorithm flow chart in this application;

[0026] Figure 3 It is a schematic diagram of a terminal device of the present invention.

[0027] Description of Reference Numerals

[0028] 1. Terminal device; 11. Memory; 12. Processor; 13. Computer program. DETAILED DESCRIPTION

[0029] In order to provide a further understanding of the purpose, structure, features, and functions of the present application, the following detailed description is given in conjunction with the embodiments.

[0030] In view of the above problems, the present application provides an inspection and calibration method, a terminal device and a storage medium, which are applicable to various equipment to be inspected, including the refrigeration equipment in the present application, and the refrigeration equipment includes but is not limited to freezers, commercial refrigerators, refrigerated display cabinets, etc. Figure 1 , Figure 1 This is a schematic diagram of the inspection and verification method of this application. The inspection and verification method includes the following steps:

[0031] S1: Obtain inspection photos;

[0032] S2: Generate an initial verification code using a first algorithm based on the first information, and attach the initial verification code to the inspection photo;

[0033] S3: Submit the inspection photo, and generate a comparison verification code using the first algorithm based on the second information;

[0034] S4: judging whether the inspection is true based on the comparison verification code and the initial verification code; if the comparison verification code is the same as the initial verification code, judging the inspection result is true; if the comparison verification code is different from the initial verification code, judging the inspection result is false.

[0035] In one embodiment of the present application, after the inspection personnel arrive at the inspection location, they use a mobile device to take inspection photos of the equipment to be inspected. The mobile device can be a mobile phone, a camera or a special inspection device. First information is extracted based on the inspection photo, and an initial verification code is generated based on the first information using a first algorithm, wherein the first information includes the time when the inspection photo was taken, the location where the inspection photo was taken, the inspection personnel ID, the number of the equipment to be inspected, etc. The first algorithm receives the first information as input and outputs a unique verification code. The generated initial verification code is attached to the inspection photo in the form of numbers, letters or QR codes, and the initial verification code is closely related to the inspection photo; the inspection personnel submit the inspection photos with the initial verification code to the central server or management system, and second information is collected, including the preset inspection time of the equipment to be inspected, the location information of the equipment to be inspected, or the inspection personnel. The second information uses the same first algorithm as that used to generate the initial verification code to generate a new verification code, namely, a control verification code. The central server or management system receives the submitted inspection photos and extracts the initial verification code from the inspection photos, and compares the control verification code with the initial verification code. If the control verification code is exactly the same as the initial verification code, it means that the inspection photo has not been tampered with during the submission process and the relevant inspection information remains consistent, so the inspection result is determined to be true. If the control verification code is different from the initial verification code, it means that the photo or related information may have been tampered with during the submission process, so the inspection result is determined to be false. The present application improves the efficiency of inspection management by using the same algorithm to generate a control verification code and an initial verification code for the first information and the second information, and judging the authenticity and accuracy of the inspection activity by comparing whether the initial verification code is the same as the control verification code.

[0036] An initial verification code is generated based on the first information using a first algorithm, and a comparison verification code is generated based on the second information using the first algorithm, wherein, see Figure 2 , Figure 2 This is the first algorithm flow chart in this application. The first algorithm includes:

[0037] S11: Select a binary polynomial; the binary polynomial is selected according to actual needs. If the binary polynomial has been selected, the binary polynomial remains unchanged during the execution of the algorithm.

[0038] S12: Perform an XOR operation on the data information and the binary polynomial to obtain a new set of binary data, recorded as the first XOR data; specifically, perform an XOR operation on each bit of the two binary numbers in the data information and the binary polynomial respectively: if the two bits are the same, the result is 0; if the two bits are different, the result is 1.

[0039] S13: Divide the first XOR data by the binary polynomial, and take the remainder as the check code; the first XOR data is divided by the binary polynomial in the binary domain, and when the first XOR data is divided by the binary polynomial, a quotient and a remainder are obtained, and the remainder is the generated check code. Specifically, if the data information is the first information, the check code is the initial check code, and the initial check code is attached to the inspection photo. If the data information is the second information, the check code is a control check code, which is used to compare with the initial check code to verify the authenticity of the inspection. Since the inspection personnel cannot know the selected binary polynomial, they cannot falsify the initial check code.

[0040] In one embodiment of the present application, the binary polynomial selected is X 16 +X 15 +X 2 +1, its coefficients form a bit string, that is, the binary number corresponding to the binary polynomial, the binary polynomial is X 16 +X 15 +X 2 The binary number corresponding to +1 is 11000 0000 0000 0101, wherein the numbers at the 16th, 15th, 2nd and least significant bits are 1. Specifically, if the data information is a 16-bit binary number 1101 0110 1100 0011, firstly, the data information is padded with 0 to make the data information a 17-bit binary number. Specifically, the padded 0 may be on the left side of the data information or on the right side of the data information. The specific number of padded 0s must satisfy the requirement that the number of bits of the data information is the same as the number of bits of the binary number. In the implementation manner of the present application, a 0 is padded on the left side. After padded 0, the data information is a 17-bit binary number: 0 1101 0110 1100 0011. The data information after padded 0 is XORed with the binary polynomial to obtain the first XOR data: 1 0101 0110 1110 0000.

[0041] It should be noted that, in the present application, there is no restriction on the selection of binary polynomials, and there is no restriction on the highest power of binary polynomials. However, it is required that the selected binary polynomial cannot be changed during the generation of the initial check code and the comparison check code. In some optional implementations, the binary polynomial can be X 4 +X+1,X 5 +X 3 +1, X 5 +X 4 +X 2 +1, X 5 +X 2 +1, X 6 +X+1,X 7 +X 3 +1, X 8 +X2 +X+1,X 8 +X 5 +X 4 +1, X 16 +X 15 +X 2 +1, X 16 +X 12 +X 5 +1, X 16 +X 13 +X 12 +X 11 +X 10 +X 8 +X 6 +X 5 +X 2 +1, X 32 +X 26 +X 23 +X 22 +X 11 +X 10 +X 8 +X 7 +X 5 +X 4 +X 2 One of +X+1.

[0042] In some optional implementations, the first XOR data is divided by the binary polynomial and the remainder is obtained, and modulo 2 division is selected. The first XOR data is 1 0101 0110 1110 0000, and the binary polynomial is X 16 +X 15 +X 2 +1, the remainder is 11000 0000 0000 0101, and this remainder is the check code generated by the binary polynomial for the data information. Specifically, modulo 2 division is equivalent to bitwise XOR, that is, the operation of each bit is based on XOR logic. Specifically, the first bit of the first XOR data is 1, and the binary polynomial is XORed with the preset initial remainder 0 to obtain a new remainder, and record a quotient. We XOR the second bit 1 of the first XOR data with the remainder of the previous step, and record the remainder again. Repeat this process until all bits of the first XOR data are processed, and the final remainder is 1 1000 0000 00000101. It should be noted that if the first bit of the first XOR data is 0, the remainder remains unchanged, and the initial remainder is set to 0, that is, 17 bits of 0. Then the other bits of the first XOR data are processed in turn to obtain the final remainder.

[0043] In one embodiment of the present application, the first information is the location information at the time of shooting, and the location information at the time of shooting is obtained by extracting the location information of the mobile device when the inspection photo is taken. Correspondingly, the second information is the location information of the inspection device, that is, the real location information of the device to be inspected pre-stored in the central server or management system.

[0044] The inspection verification is specifically as follows: the location information at the time of shooting is passed through a first algorithm to generate an initial verification code, which is attached to the inspection photo, and the inspection photo is uploaded to a central server or management system. The central server or management system calls the second information pre-stored in the inspection device, and passes the actual location information of the inspection device through the same first algorithm to generate a comparison verification code, which is compared with the initial verification code. If the comparison verification code is the same as the initial verification code, the shooting location of the inspection photo is real. In other words, the uploaded inspection photo is taken by the inspection personnel at the actual location of the equipment to be inspected, rather than taking pictures of equipment in other locations and uploading them as inspection photos.

[0045] When the mobile device only allows real-time uploading of taken pictures but does not allow calling the album to upload pictures, that is, the uploaded pictures must be taken in real time. This step limits the shooting time of the inspection photos. In other words, the shooting time of the inspection photos cannot be falsified. At this time, it is only necessary to verify the initial verification code generated by the location information at the time of shooting and the comparison verification code generated by the real location information pre-stored in the inspection device to determine whether the inspection is real. If the comparison verification code is the same as the initial verification code, the shooting location of the inspection photo is real, and the inspection is then determined to be real. If the comparison verification code is different from the initial verification code, the shooting location of the inspection photo is falsified, and the inspection is then determined to be falsified.

[0046] In another embodiment of the present application, the first information includes not only the location information at the time of shooting, but also the shooting time of the inspection photo, and the second information, the location information of the inspection equipment, also includes the preset inspection time of the inspection equipment.

[0047] After the initial verification code is generated, the verification code is used to generate a watermark and attached to the inspection photo. The central server or management system generates an initial verification code based on the first information and attaches it to the inspection photo in the form of a watermark. Specifically, it can be attached to any position of the inspection photo. The watermark can be a binary code, or the binary code can be converted into a hexadecimal code and attached to the inspection photo.

[0048] In one embodiment of the present application, when the inspection personnel inspect the device to be inspected with the inspection number 99, the time of taking the inspection photo is February 27, 2024. The GPS of the mobile device is located in Licang District, Qingdao, Shandong. The location information is converted into the administrative division code 370213. The first information extracted by the central server or management system includes the shooting time of the inspection photo 20240227. The extracted shooting time is converted into a binary number, and then the selected binary polynomial is used as X 16 +X 15 +X 2 +1, generate the first initial check code 0110 0001 11111101, which can be converted into hexadecimal 61FD, extract the position information in the first information as 370213, convert the position information into binary number, and use the selected binary polynomial as X 16 +X 15 +X 2 +1, generate the second initial check code 0100 1101 0000 1011, which can be converted into hexadecimal 4D0B, combined to generate the initial check code 61FD4D0B, and attach the initial check code to the inspection photo as a watermark. The central server or management system extracts the second information of the device to be inspected with the inspection number 99, including the preset inspection time and the location information of the device to be inspected, and uses the same binary polynomial X 16 +X 15 +X 2 +1 generates a comparison check code. If the comparison check code is the same as the initial check code, the inspection result of the inspection personnel is judged to be true. If the comparison check code is different from the initial check code, the inspection result of the inspection personnel is judged to be false.

[0049] If the inspection result is determined to be true, the inspector is allowed to submit the inspection record normally. If the inspection result is determined to be false, the inspector is prompted to re-inspect.

[0050] In some optional implementations of the present application, in addition to selecting a polynomial for XOR remainder algorithm, the first algorithm may also use a parity check, XOR check, Hamming check, MD5 check, SHA check or LRC check. The present application does not impose any restrictions. It is only necessary that the first information and the second information use the same algorithm to generate an initial check code and a comparison check code respectively, and whether the inspection result is true is determined by comparing the initial check code and the comparison check code to see if they are the same.

[0051] This application also provides a terminal device, see Figure 3 , Figure 3This is a schematic diagram of a terminal device of the present invention. The terminal device 1 includes a memory 11, a processor 12, and a computer program 13 stored on the processor and executable on the processor 12. When the computer program is executed by the processor 12, the steps of the above-mentioned inspection and verification method are implemented.

[0052] The present application further provides a computer-readable storage medium, on which a program is stored, and when the program is executed by a processor, the steps of the above-mentioned inspection and verification method are implemented. The computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the above. Alternatively, the computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media may include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.

[0053] The inspection verification method, terminal device and storage medium in the present application, the inspection verification method includes: obtaining inspection photos; generating an initial verification code based on the first information using the first algorithm, and attaching it to the inspection photo; submitting the inspection photo, and generating a comparison verification code based on the second information using the first algorithm; judging whether the inspection is true based on the comparison verification code and the initial verification code, if the comparison verification code is the same as the initial verification code, then judging the inspection result to be true, if the comparison verification code is different from the initial verification code, then judging the inspection result to be false, which simplifies the management and verification process of the inspection results, effectively prevents tampering with the inspection records, ensures the authenticity of the inspection process, and improves the traceability efficiency of the inspection results.

[0054] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.

[0055] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.

[0056] The present application has been described by the above-mentioned relevant embodiments, but the above-mentioned embodiments are only examples for implementing the present application. It must be pointed out that the disclosed embodiments do not limit the scope of the present application. On the contrary, changes and modifications made without departing from the spirit and scope of the present application are all within the scope of patent protection of the present application.

Claims

1. A patrol inspection method, It is characterized in that The method comprises the following steps: Get inspection photos; Generate an initial verification code using a first algorithm based on the first information, and attach the initial verification code to the inspection photo; Submit the inspection photo, and generate a comparison verification code using a first algorithm based on the second information; Whether the inspection is true is determined based on the comparison check code and the initial check code. If the comparison check code is the same as the initial check code, the inspection result is determined to be true. If the comparison check code is different from the initial check code, the inspection result is determined to be false.

2. The inspection and calibration method according to claim 1, It is characterized in that The first algorithm comprises: Select Binary Polynomial; Performing an XOR operation on the data information and the binary polynomial to obtain first XOR data; Divide the first XOR data by the binary polynomial, and take the remainder as a check code; When the data information is the first information, the check code is an initial check code; when the data information is the second information, the check code is a comparison check code.

3. The inspection and calibration method according to claim 2, It is characterized in that The binary polynomial is X 16 +X 15 +X 2 +1.

4. The inspection and calibration method according to claim 1, It is characterized in that The first information is the location information at the time of shooting.

5. The inspection and calibration method according to claim 4, It is characterized in that The first information also includes the shooting time of the inspection photo.

6. The inspection and calibration method according to claim 1, It is characterized in that The second information is the location information of the inspection equipment.

7. The inspection and calibration method according to claim 6, It is characterized in that The second information also includes a preset inspection time of the inspection device.

8. The inspection and calibration method according to claim 1, It is characterized in that After the initial verification code is generated, the verification code generates a watermark and is attached to the inspection photo.

9. The inspection and calibration method according to claim 1, It is characterized in that When the inspection result is judged to be false, a prompt is given to re-inspect.

10. The inspection and calibration method according to claim 1, It is characterized in that The first algorithm is a parity check, an XOR check, a Hamming check, an MD5 check, a SHA check or an LRC check.

11. A terminal device, It is characterized in that The terminal device includes a memory, a processor, and a program stored on and executable on the processor. When the program is executed by the processor, the steps of the inspection and calibration method described in any one of claims 1 to 10 are implemented.

12. A computer-readable storage medium having a program stored thereon, It is characterized in that When the program is executed by a processor, the steps of the inspection and verification method described in any one of claims 1 to 10 are implemented.