Construction drawing progress review method and review system based on two-dimensional code recognition
Through the construction drawing progress review method based on QR code identification, and using blocked processing and encryption algorithms, the problem of low security in construction drawing information storage in traditional tags is solved, achieving higher information security and anti-interference ability.
Patent Information
- Application Number
- CN202411343785.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2024-12-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional barcodes or RFID tags have weak anti-interference ability when storing construction drawing information, and are easily copied or forged, resulting in lower security of construction drawing progress information.
The construction drawing progress review method based on QR code recognition is adopted, and the information is divided into key information and non-critical information through preset key features. Blocked processing and hash encryption are used, and the information is encrypted by combining random numbers and encryption algorithms. , implement a two-way verification mechanism to enhance security.
It improves the security and cracking difficulty of construction drawing progress information, prevents information leakage, and ensures security during access and authentication accuracy.
Smart Images

Figure CN119205028A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information review technology, and in particular to a construction drawing progress review method and review system based on QR code recognition. Background Art
[0002] With the continuous development of the construction industry, the requirements for construction management are becoming higher and higher. In the fast-paced construction process, improving construction efficiency is one of the important goals of construction units. Therefore, the traditional paper drawing management method can no longer meet the needs of modern construction management. More and more people use the method of scanning codes to view construction drawings, so as to obtain or view the required construction drawing information anytime and anywhere, avoiding the tedious process of searching and flipping through paper drawings in the traditional way, thereby improving construction efficiency.
[0003] Most related technologies use barcodes or RFID tags to track construction progress. However, due to the weak anti-interference ability of barcodes or RFID tags, when barcodes or RFID tags are used to store construction drawing information, the construction drawing information may be easily copied or forged, which may result in low security of the construction drawing progress information stored in the barcode or RFID tags. Summary of the invention
[0004] In order to improve the security of construction drawing progress information, the present application provides a construction drawing progress review method and review system based on QR code recognition.
[0005] In the first aspect, the present application provides a construction drawing progress review method based on QR code recognition, which adopts the following technical solution: A construction drawing progress review method based on QR code recognition, comprising: Acquire construction drawing progress information, and identify key information containing preset key features in the construction drawing progress information; Calculate the key hash value corresponding to each key information, and determine the key block information corresponding to each key information based on each key information and the key hash value corresponding to each key information; Identify the non-critical features corresponding to each non-critical information, determine the key information string based on each non-critical feature and each key hash value, and determine the information chain based on each non-critical information and each key block information, wherein the non-critical information is the information in the construction drawing progress information that does not contain the preset key features; Encrypting the construction drawing progress information based on the key information string and the information chain to obtain encrypted QR code information; When an access request from a visitor is detected, the accessible range of the visitor is determined according to the access request, verification instruction information is determined based on the accessible range, and the verification instruction information is fed back to the access terminal of the visitor to prompt the visitor to provide verification characteristics according to the verification instruction information; When the feedback verification feature of the visitor is received, the feedback verification feature is verified based on the accessible feature corresponding to the accessible range. If the verification is passed, the accessible construction drawing progress information corresponding to the accessible range is fed back.
[0006] By adopting the above technical scheme, the construction drawing progress information is divided into key information and non-key information by pre-setting key features, and the key information is stored in a block processing manner, so as to improve the security and verifiability of the key information. In addition, the key information string is determined by the non-key features corresponding to the non-key information and the key hash value corresponding to the key information, and then the construction drawing progress information is encrypted based on the key information string, so as to improve the difficulty of cracking and anti-interference of the encrypted QR code information. In the access stage, the visitor's accessible range is first determined through the access request, and verification indication information is generated based on this to remind the visitor to provide verification features, and then the received feedback verification features are verified. Through the two-way verification mechanism, the security protection of the construction drawing progress information is further enhanced in the access stage. After the identity authentication is passed, the on-demand feedback method of only feeding back the content corresponding to the accessible range is used to avoid the leakage of sensitive information, thereby facilitating the further improvement of the security of the construction drawing progress information.
[0007] In a possible implementation, the encrypting the construction drawing progress information based on the key information string and the information chain to obtain encrypted QR code information includes: Determine a target random number sequence and a target random number in the target random number sequence according to a preset random number algorithm; Sort the key information string according to the target random number sequence to obtain an encrypted information string; Determine a target encryption algorithm corresponding to the target random number based on the target random number and a preset encryption mapping relationship, wherein the preset encryption mapping relationship is a correspondence relationship between the target random number and the target encryption algorithm; The construction drawing progress information is encrypted based on the encrypted information string, the target encryption algorithm and the information chain to obtain encrypted QR code information.
[0008] By adopting the above technical solution, the key information string is sorted according to the generated target random number series, and the password information string is encrypted twice. Then, the target encryption algorithm to be used is determined according to the target random number, rather than using a fixed encryption algorithm for encryption. This makes it easier to prevent the encrypted QR code information from being deciphered. Finally, the construction drawing progress information is encrypted together with the encrypted information string, the target encryption algorithm and the information chain, so as to enhance the security and protection level of the encrypted QR code information.
[0009] In a possible implementation manner, when the accessible range includes the first preset feature, the method further includes: Acquire an accessible address range corresponding to the first preset feature, and identify an access address from the access request; Determine an access address difference based on the accessible address range and the access address, and determine an additional verification feature corresponding to the access address difference based on the access address difference and a preset additional verification mapping relationship, wherein the preset additional verification mapping relationship is a corresponding relationship between the access address difference and the additional verification feature; The verification indication information is updated based on the additional verification feature.
[0010] By adopting the above technical solution, the gap between the access address and the accessible address range is analyzed to determine whether it is necessary to add verification features. When the access address difference is large, verification features are added in time to improve the security during long-distance access. The complexity of the verification process is dynamically adjusted according to the access address difference, so as to meet the flexibility of the review process while ensuring access security.
[0011] In a possible implementation manner, when the accessible range includes a second preset feature, the method further includes: Determine the visitor's access level based on the accessible range, and determine the target browsing duration corresponding to the access level based on a mapping relationship between the access level and a preset browsing duration, wherein the preset browsing duration mapping relationship is a corresponding relationship between the access level and the target browsing duration; Based on the access level, determining the frequency and characteristics of spot checks on the visitor during a browsing countdown time period, wherein the duration corresponding to the browsing countdown time period is consistent with the target browsing duration; Performing spot check verification on visitors within the browsing countdown time period based on the spot check frequency and the spot check feature to obtain feedback spot check features corresponding to the observation time period, where the observation time period is a partial time period of the browsing countdown time period; Determine whether all feedback spot check features have abnormal feedback spot check features according to the feedback verification features, and if so, determine the adjustment duration corresponding to the abnormal number according to the mapping relationship between the abnormal number of the abnormal feedback spot check features and the preset adjustment duration, wherein the preset adjustment duration mapping relationship is the corresponding relationship between the abnormal number and the adjustment duration; The target browsing duration is updated based on the adjusted duration, and the browsing countdown time period is updated based on the updated target browsing duration.
[0012] By adopting the above technical solution, when there is relatively sensitive content in the accessible range, the corresponding browsing time can be set for the visitor according to the visitor's access level to reduce the probability of sensitive content being circulated. In addition, by performing feature spot checks on visitors during their visits, and then dynamically adjusting the visitor's browsing time based on the spot check results, it is convenient to effectively identify and respond to potential security threats without affecting the normal access of most visitors, thereby facilitating the improvement of the security of construction drawing information during the visit process.
[0013] In a possible implementation manner, when the access request includes a verification feature, it also includes: Determine whether the current time is the completion verification time according to the construction drawing progress information; If so, obtaining the completed construction drawing information and the preset effect construction drawing information corresponding to the verification feature at the current moment, and generating the first verification information based on the completed construction drawing information and the preset effect construction drawing information corresponding to the verification feature; If not, obtain the construction image corresponding to the verification feature within the preset time period, and determine the simulated completed construction drawing information corresponding to the verification feature based on the construction image and the preset construction simulation model, and generate the second verification information based on the simulated completed construction drawing information and the preset effect construction drawing information corresponding to the verification feature.
[0014] By adopting the above technical solution, when it is necessary to verify the construction progress, the construction drawing progress information is analyzed to determine whether the current moment is the completion verification moment, the completion verification moment is distinguished from the uncompletion verification moment, and different methods are used to determine the corresponding verification information to facilitate improving the accuracy of determining the verification information.
[0015] In a possible implementation, the generating of the second verification information based on the simulated completed construction drawing information and the preset effect construction drawing information corresponding to the verification feature includes: Matching the simulated completed construction drawing information with the preset effect construction drawing information corresponding to the verification feature to obtain a construction matching value; When the construction matching value is lower than the preset matching value, a simulation flow chart corresponding to the simulated completed construction drawing information and a construction flow chart corresponding to the preset effect construction drawing information are obtained; Matching the simulation flowchart with the construction flowchart to determine differential construction actions; Based on the differential construction actions, the construction images and the preset construction simulation model, obtaining optimized simulated completed construction drawing information corresponding to the verification features; The optimized simulated completed construction drawing information is matched with the preset effect construction drawing information corresponding to the verification feature to obtain an optimized construction matching value. When the optimized construction matching value is not lower than the preset matching value, the second verification information is generated based on the difference construction action.
[0016] By adopting the above technical scheme, by comparing the simulated completion construction drawings with the preset effect construction drawings, it is convenient to digitize the differences, so as to more accurately and intuitively evaluate the degree of proximity between the simulated completion results and the expected goals, which in turn helps to discover the subtle differences between the actual construction process and the standard construction process. The actual construction process is optimized by determining the differential construction actions, which facilitates correction of deviations in the actual construction and ensures that the construction quality meets the design requirements. Finally, when the optimized construction matching value is not lower than the preset matching, verification information is generated based on the differential construction actions, which facilitates improving the accuracy of relevant verification personnel in optimizing construction operations or improving measures.
[0017] In the second aspect, the present application provides a review system, which adopts the following technical solution: A review system, comprising: at least one processor; Memory; At least one application, wherein the at least one application is stored in a memory and configured to be executed by at least one processor, and the at least one application is configured to: execute the above-mentioned construction drawing progress review method based on QR code recognition.
[0018] In a third aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution: A computer-readable storage medium includes: a computer program that can be loaded by a processor and execute the above-mentioned construction drawing progress review method based on QR code recognition.
[0019] In a fourth aspect, the present application provides a computer program product, which adopts the following technical solution: A computer program product includes a computer program, which, when executed by a processor, implements the above-mentioned construction drawing progress review method based on QR code recognition.
[0020] In summary, the present application includes at least one of the following beneficial technical effects: The construction drawing progress information is divided into key information and non-key information by pre-setting key features, and the key information is stored in a block processing manner to improve the security and verifiability of the key information. In addition, the key information string is determined by the non-key features corresponding to the non-key information and the key hash value corresponding to the key information, and then the construction drawing progress information is encrypted based on the key information string to improve the difficulty of cracking and anti-interference of the encrypted QR code information. In the access stage, the visitor's accessible scope is first determined through an access request, and verification indication information is generated based on this to remind the visitor to provide verification features, and then the received feedback verification features are verified. The two-way verification mechanism is used to further enhance the security protection of the construction drawing progress information in the access stage. After the identity authentication is passed, the on-demand feedback method of only feeding back the content corresponding to the accessible scope is used to avoid the leakage of sensitive information, thereby further improving the security of the construction drawing progress information.
[0021] When there is relatively sensitive content in the accessible range, the corresponding browsing time can be set for the visitor according to the visitor's access level to reduce the probability of sensitive content being circulated. In addition, by conducting feature spot checks on visitors during their visits and dynamically adjusting the visitor's browsing time based on the spot check results, it is convenient to effectively identify and respond to potential security threats without affecting the normal access of most visitors, thereby facilitating the improvement of the security of construction drawing information during the visit process. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a flowchart of a construction drawing progress review method based on QR code recognition in an embodiment of the present application; Figure 2 This is a schematic diagram of a browsing time control process in an embodiment of the present application; Figure 3 It is a structural diagram of a review system in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The following is combined with Figures 1 to 3 This application is described in further detail.
[0024] After reading this specification, those skilled in the art may make non-creative modifications to this embodiment as needed, but such modifications are protected by patent law as long as they are within the scope of the claims of this application.
[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0026] It should be noted that in the optional embodiments of the present application, the object information and other related data involved, when the embodiments in the present application are applied to specific products or technologies, need to obtain the permission or consent of the object, and the collection, use and processing of the relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions. In other words, if the embodiments of the present application involve data related to the object, it needs to be obtained with the authorization and consent of the object, the authorization and consent of the relevant departments, and in compliance with the relevant laws, regulations and standards of the country and region. If personal information is involved in the embodiments, the acquisition of all personal information needs to obtain the consent of the individual. If sensitive information is involved, the separate consent of the information subject needs to be obtained. The embodiments also need to be implemented with the authorization and consent of the object.
[0027] Specifically, the embodiment of the present application provides a construction drawing progress review method based on QR code recognition, which is executed by a review system, which can be a server or a terminal device, wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited thereto. The terminal device and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiment of the present application.
[0028] refer to Figure 1 , Figure 1 It is a flowchart of a construction drawing progress review method based on QR code recognition in an embodiment of the present application. The method includes steps S110 to S160, wherein: Step S110: Acquire construction drawing progress information, and identify key information containing preset key features in the construction drawing progress information.
[0029] Specifically, the construction drawing progress information is information that needs to be converted into QR code information, and may include various information such as construction progress overview information, resource allocation information, financial management information, and construction plan information of the construction project. Among them, the construction progress overview information may include local weather and sunny and rainy day statistics, the original goals and actual completion status of the construction plan, and major events on site during the reporting plan period; resource allocation information may include the procurement, arrival, use and inventory of various types of building materials, construction supplies and accessories; financial management information may include price adjustments due to material price fluctuations, engineering changes, etc.; construction plan information may include construction plan arrangements for a period of time in the future, including specific construction tasks, time nodes and responsible persons, etc. The specific content of the construction drawing progress information is not specifically limited in the embodiments of this application, and may be uploaded to the review system by the relevant project leader.
[0030] The preset key features are features that require attention and attention. Correspondingly, the key information is the information that requires attention and attention in the construction progress information. For example, the key information can be drawing information, personnel identity information, project quotation information, etc. Different key information corresponds to different key features. The preset key features can be determined by relevant staff based on historical construction data and uploaded to the review system. The specific content is not specifically limited in the embodiments of this application. A feature recognition algorithm can be used to identify the information features contained in the construction drawing progress information, and then determine whether the identified information features contain the preset key features, and determine the information containing the preset key features as key information. The number of key information is not specifically limited in the embodiments of this application.
[0031] Step S120: Calculate the key hash value corresponding to each key information, and determine the key block information corresponding to each key information based on each key information and the key hash value corresponding to each key information.
[0032] Specifically, a preset hash function can be used to determine the corresponding key hash value of each key information, wherein the preset hash function can be an MD5 function, an FNV function, a DJB function, etc., wherein the MD5 function is suitable for file verification and password storage; the FNV function is a fast hash algorithm, suitable for fast hash calculation of a large amount of data; the DJB function is a simple and fast hash algorithm, suitable for small data sets. The specific preset hash function is not specifically limited in the embodiments of the present application, as long as the key hash value corresponding to each key information can be calculated according to the preset hash function.
[0033] Each key hash value is associated with the block storage address of the corresponding key information. The key hash value facilitates the determination of the block storage address corresponding to the key information from the association between the key hash value and the storage address. The process of establishing the association between the key hash value and the storage address includes determining the corresponding data volume according to the key information, and then determining the target storage block from the free storage space of the review system according to the data volume, and binding the target storage block to the key hash value. After determining the key hash value of each key information, the key information can be written into the block corresponding to the key hash value, that is, the key information is written into the corresponding block storage address to obtain the corresponding key block information, and each key block information contains one key information.
[0034] Step S130: Identify the non-critical features corresponding to each non-critical information, determine the key information string based on each non-critical feature and each critical hash value, and determine the information chain based on each non-critical information and each critical block information. The non-critical information is the information in the construction drawing progress information that does not contain preset key features.
[0035] Specifically, the construction drawing progress information includes critical information and non-critical information. The critical information needs to be written into the corresponding block to obtain the corresponding critical block information. No special processing is performed on the non-critical information, that is, the non-critical information is not stored in blocks, which is convenient for reducing the amount of processing during the information storage process, thereby facilitating the improvement of the processing rate of the construction drawing information. The non-critical feature corresponding to the non-critical information can be a data type feature or a data volume feature. The specific non-critical feature is not specifically limited in the embodiments of the present application, as long as it can characterize one of the features of the non-critical information.
[0036] Since the construction drawing information is composed of key information and non-key information, the construction drawing information can also be characterized by combining the key hash value corresponding to each key information and the non-key feature corresponding to each non-key information. Based on the appearance position of each key information and each non-key information in the construction drawing information, the corresponding key hash value or non-key feature is sorted to obtain a key information string. For example, the construction drawing progress information contains two key information and one non-key information. The key hash value corresponding to the key information a1 is k12a, the data feature corresponding to the non-key information b is 888, and the key hash value corresponding to the key information a2 is k32c. Therefore, the key information string corresponding to the construction drawing progress information is k12a888k32c. Based on the appearance position of each key information and each non-key information in the construction drawing information, the corresponding key block information and non-key information are combined to obtain an information chain.
[0037] Step S140: Encrypt the construction drawing progress information based on the key information string and the information chain to obtain encrypted QR code information.
[0038] Specifically, when encrypting the construction drawing progress information, it is not just the construction drawing progress information that is encrypted, but the key information string and the information chain are referred to or relied upon during the encryption process, thereby increasing the difficulty of cracking the encrypted QR code information. The key information string, the information chain, and the construction drawing progress information can be first encoded into QR code data, and then the QR code data can be encrypted using an encryption algorithm to generate encrypted QR code information. Further, the construction drawing progress information is encrypted based on the key information string and the information chain to obtain encrypted QR code information, including: Determine the target random number sequence and the target random number in the target random number sequence according to a preset random number algorithm; sort the key information string according to the target random number sequence to obtain an encrypted information string; determine the target encryption algorithm corresponding to the target random number based on the target random number and a preset encryption mapping relationship, the preset encryption mapping relationship is the correspondence between the target random number and the target encryption algorithm; encrypt the construction drawing progress information based on the encrypted information string, the target encryption algorithm and the information chain to obtain encrypted QR code information.
[0039] Specifically, the preset random number algorithm can be a pseudo-random number algorithm, and a random number sequence can be generated by different mathematical formulas and parameter settings, and different random number sequences can be generated by changing the seed value, wherein the specific pseudo-random number algorithm can be a bracketed linear congruential method, a Mersenne rotation algorithm, etc., which is not specifically limited in the embodiments of the present application, and can be set by relevant technical personnel according to actual needs, as long as a random number sequence can be generated. The target random number is a random number in the target random number sequence. For example, the target random number sequence determined by the pre-random number algorithm is 2561, and the target random number may be any of 2, 5, 6, and 1. When determining the target random number from the target random number sequence, the preset random number algorithm can continue to be used for determination.
[0040] Since the key information string is composed of the key hash value of each key information and the non-key feature of each non-key information, and is determined according to the order in which each key information and each non-key information appear in the construction drawing progress information, at this time, in order to further improve the security and deciphering difficulty of the key information string, it is necessary to adjust the key information string according to the determined random number sequence to realize the encryption processing of the key information string. The specific method can be: number each key information and non-key information according to the order in which each key information and non-key information appears in the construction drawing progress information, and then generate a random number sequence based on all the numbers, and then adjust the position of each key information and non-key information in the key information string according to the random number sequence to obtain the encrypted information string.
[0041] In addition, the scheme provided in the embodiment of the present application not only needs to encrypt the key information string, but also uses a random method to determine the target encryption algorithm to be used in the process of generating the encrypted two-dimensional code information, wherein different target encryption algorithms correspond to different target random numbers, and the target encryption algorithm corresponding to the target random number can be determined according to the preset encryption mapping relationship, and the preset encryption mapping relationship contains target encryption algorithms corresponding to different target random numbers. The target encryption algorithm can include a symmetric encryption algorithm, an asymmetric encryption algorithm, etc. The specific content is not specifically limited in the embodiment of the present application, and can be uploaded to the review system after being determined by relevant staff based on historical experimental data. By using a randomly determined target encryption algorithm for encryption instead of a fixed encryption algorithm for encryption, it is easy to increase the difficulty of deciphering the encrypted two-dimensional code information. After determining the encrypted information string and the target encryption algorithm, the encrypted information string, the target encryption algorithm, the information chain, and the construction drawing progress information can be imported into the preset two-dimensional code generation library, and the output result is determined as the encrypted two-dimensional code information, wherein the preset two-dimensional code generation library can be a QR Server generation library or a Zxing generation library, etc., and the specific preset two-dimensional code generation library is not specifically limited in the embodiment of the present application.
[0042] Step S150: When an access request from a visitor is detected, the visitor's accessible range is determined according to the access request, verification indication information is determined based on the accessible range, and the verification indication information is fed back to the visitor's access terminal to prompt the visitor to provide verification features according to the verification indication information.
[0043] Specifically, an access request may be sent to the review system by a relevant visitor through an access terminal device. The visitor may be a designer, on-site manager, reviewer, etc. Different visitors have different access rights, that is, different visitors have corresponding access rights. The accessible scope of each visitor may be determined based on the access request. Specifically, the access features contained in the access request information may be identified first, and then the corresponding accessible scope may be determined based on the identified access features. The specific access features are not specifically limited in the embodiments of the present application, as long as the access rights of the corresponding visitor can be determined based on the access features.
[0044] The higher the access rights, the larger the corresponding access scope. Determining the visitor's accessible scope based on the access rights facilitates the security of construction drawing progress information during the access phase. Different accessible scopes correspond to different verification instructions, that is, when a visitor needs to access different content, different verification features need to be provided. For example, there are two accessible scopes, namely accessible scope a and accessible scope b, where the scope of accessible scope a is larger than that of accessible scope b. At this time, when a visitor needs to access accessible scope a, the verification features that need to be provided are feature 1 and feature 2; when a visitor needs to access accessible scope b, the verification features that need to be provided are feature 1, feature 2, and feature 3. Different accessible ranges correspond to different verification features, which can be determined based on a mapping relationship between accessible ranges and verification features. The mapping relationship includes verification features of different accessible ranges, and the specific content is not specifically limited in the embodiments of the present application. After determining the verification feature corresponding to the accessible range, verification indication information corresponding to the accessible range is generated based on the determined verification feature. The verification indication information is used to remind the visitor to provide the corresponding verification feature. The verification indication information can be displayed on the access terminal in the form of an information pop-up window, and can also be displayed on the access terminal in the form of a voice broadcast. The specific display method is not specifically limited in the embodiments of the present application, as long as the visitor can be prompted to provide the relevant verification feature.
[0045] Step S160: When the feedback verification feature of the visitor is received, the feedback verification feature is verified based on the accessible feature corresponding to the accessible range. If the verification is passed, the accessible construction drawing progress information corresponding to the accessible range is fed back.
[0046] Specifically, after receiving the visitor's feedback verification feature, the content corresponding to the accessible range is not directly fed back, but the received feedback verification feature needs to be reviewed. Only after the review is passed will the content corresponding to the accessible range be fed back. Different accessible ranges are set with corresponding accessible features, which may include the biometric features or access account of the accessible person. When the accessible features corresponding to the accessible range include the feedback verification feature, it can be determined that the verification has passed.
[0047] For the embodiments of the present application, the construction drawing progress information is divided into key information and non-key information by pre-setting key features, and the key information is stored in a block processing manner, so as to improve the security and verifiability of the key information. In addition, the key information string is determined by the non-key features corresponding to the non-key information and the key hash value corresponding to the key information, and then the construction drawing progress information is encrypted based on the key information string, so as to improve the difficulty of cracking and anti-interference of the encrypted QR code information. In the access stage, the visitor's accessible range is first determined through an access request, and verification indication information is generated based on this to remind the visitor to provide verification features, and then the received feedback verification features are verified. Through a two-way verification mechanism, the security protection of the construction drawing progress information is further enhanced during the access stage. After the identity authentication is passed, the on-demand feedback method of only feeding back the content corresponding to the accessible range is used to avoid the leakage of sensitive information, thereby facilitating the further improvement of the security of the construction drawing progress information.
[0048] Furthermore, when the accessible range includes the first preset feature, it also includes: Obtain an accessible address range corresponding to a first preset feature, and identify an access address from an access request; determine an access address difference based on the accessible address range and the access address, and determine an additional verification feature corresponding to the access address difference based on the access address difference and a preset additional verification mapping relationship, wherein the preset additional verification mapping relationship is a correspondence between the access address difference and the additional verification feature; update the verification indication information based on the additional verification feature.
[0049] Specifically, the first preset feature may be content with a higher level of importance. In order to ensure the security of construction drawing progress information with a higher level of importance, a safe access range is generally set for such information. The accessible address range may be a construction site, a design workshop, an audit office building, etc. The accessible ranges corresponding to different preset features may be different. When determining the access address from the access request, the actual geographic access address can be determined by identifying and analyzing the IP address. The specific method for determining the access address is not specifically limited in the embodiments of the present application. The access address difference is the path distance between the access address and the accessible address range. For ease of calculation, it can be calculated directly based on the geographical location coordinates of the access address and the geographical location coordinates corresponding to the center point of the accessible address range.
[0050] The larger the address difference, the larger the gap between the visitor's access address and the accessible address range, and the greater the probability of anomalies during the access process. At this time, it is necessary to add some verification features before feeding back the content corresponding to the accessible range to the visitor to improve the security of the access process. Different address differences correspond to different additional verification features. The preset additional verification mapping relationship contains additional verification features corresponding to different access address differences. The specific content is not specifically limited in the embodiments of the present application. After determining the additional features, the verification indication information is determined based on the additional features and the verification features.
[0051] When the access address difference is large, verification features are added in a timely manner to improve the security of long-distance access. The complexity of the verification process is dynamically adjusted according to the access address difference, so as to meet the flexibility of the review process while ensuring access security.
[0052] Furthermore, when the accessible range includes a second preset feature, the method provided by the present application further includes steps S1 to S5, such as Figure 2 As shown, where: Step S1: Determine the visitor's access level based on the accessible range, and determine the target browsing time corresponding to the access level based on the mapping relationship between the access level and the preset browsing time. The preset browsing time mapping relationship is the corresponding relationship between the access level and the target browsing time.
[0053] Specifically, the information corresponding to the second preset feature also has a higher importance level, and its importance level is higher than the importance level of the information corresponding to the first preset feature. The larger the accessible range, the higher the corresponding access level. The visitor's access level can be determined by the accessible range, and the visitor's access level can also be determined directly based on the access request. The specific method is not specifically limited in the embodiments of this application. After determining the visitor's access level, the target browsing time corresponding to the access level can be determined based on the preset browsing time mapping relationship. The security of the access process is improved by limiting the visitor's browsing time. The higher the access level, the longer the corresponding target browsing time. The preset browsing time mapping relationship contains target browsing times corresponding to different access levels, which can be determined by relevant staff based on historical experimental data and uploaded to the review system. The specific content is not specifically limited in the embodiments of this application.
[0054] Step S2: Based on the access level, determine the frequency and characteristics of spot checks on visitors during the browsing countdown time period, and the duration corresponding to the browsing countdown time period is consistent with the target browsing duration.
[0055] Specifically, the lower the access level, the higher the corresponding spot check frequency and the greater the number of spot check features. For example, the content corresponding to the accessible range requires visitors with access levels of level 2 and above to access. The current visitor has access level 3 and can access it, but because the visitor's access level is low, it is necessary to spot check the visitor during the access process to determine whether there is any circulation behavior during the access process. When determining the corresponding spot check frequency and spot check features based on the access level, the accessible level can be determined based on the accessible range, and then the level difference between the accessible level and the actual access level of the visitor is calculated. Finally, the corresponding spot check frequency and spot check features are determined based on the access difference. For example, if the access level is level 2 and above, the actual access level of the visitor is level 3, and the corresponding level difference is level 1. There is a corresponding relationship between the level difference and the spot check frequency and spot check features. Based on this corresponding relationship, the spot check frequency and spot check features corresponding to any level difference can be determined.
[0056] Step S3: Based on the spot check frequency and the spot check characteristics, spot check verification is performed on visitors within the browsing countdown time period to obtain feedback spot check characteristics corresponding to the observation time period, where the observation time period is a partial time period of the browsing countdown time period.
[0057] Specifically, the spot check feature is the frequency of spot checking and verifying the visitor during the visit process. The spot check feature can be any verification feature. In the spot check and verification process, a consistent spot check feature can be used, or different spot check features can be selected, as long as the identity of the visitor can be verified. After receiving the feedback spot check feature, the spot check feedback feature can be compared with the feedback verification feature to determine whether the received feedback spot check feature is consistent with the feedback verification feature received before the visit, that is, to determine whether the circulation behavior occurs during the visit. In order to further improve the security level during the visit process, the feedback verification feature, such as facial features, pupil features, fingerprint features, etc., can be automatically obtained without generating prompt information. The observation time period is a period of time after the relevant content is fed back to the visitor. The duration corresponding to the observation time period is less than the duration corresponding to the browsing countdown time period. For example, the browsing countdown time period is 10:00-10:02, and the corresponding browsing time is 120 seconds. The observation time period may be 10:00-10:01, and the corresponding time is 60 seconds.
[0058] Step S4: Determine whether there are abnormal feedback spot check features among all feedback spot check features based on the feedback verification features. If so, determine the adjustment time corresponding to the abnormal number based on the mapping relationship between the abnormal number of abnormal feedback spot check features and the preset adjustment time. The preset adjustment time mapping relationship is the corresponding relationship between the abnormal number and the adjustment time.
[0059] Step S5: updating the target browsing duration based on the adjusted duration, and updating the browsing countdown time period based on the updated target browsing duration.
[0060] Specifically, when the feedback verification feature does not include the received feedback spot check feature, it indicates that there may be circulation behavior during the access process. At this time, an exception can be recorded and the number of exceptions corresponding to the observation time period can be counted. When the number of exceptions is 0, the target browsing time can be appropriately extended. For example, the target browsing time can be extended from the original 120 seconds to 140 seconds; when the number of exceptions is not 0, the target browsing time can be appropriately shortened. For example, the target browsing time can be shortened from the original 120 seconds to 80 seconds.
[0061] The adjustment time corresponding to the number of exceptions can be determined based on the preset adjustment time mapping relationship. Different numbers of exceptions have different corresponding adjustment times. Based on the preset adjustment time mapping relationship, the adjustment time corresponding to any number of exceptions can be determined. Finally, the target browsing time is updated based on the adjustment time. The specific content of the preset adjustment time mapping relationship is not specifically limited in the embodiment of this application. It can be determined by relevant staff based on historical experimental data and uploaded to the review system. By spot-checking the characteristics of visitors during their visits, and then dynamically adjusting the browsing time of visitors based on the spot-check results, it is convenient to effectively identify and respond to potential security threats without affecting the normal access of most visitors, thereby facilitating the improvement of the security of construction drawing information during the visit process.
[0062] Furthermore, when the access request includes a verification feature, the method provided in the embodiment of the present application further includes: Determine whether the current time is the completion verification time based on the construction drawing progress information.
[0063] Specifically, the construction drawing progress information includes the completion node and completion date, so when receiving an access request from a relevant verification personnel, it can be determined whether the current moment is the completion verification moment based on the construction drawing progress information. The verification feature can be identified from the access request by feature recognition. The specific display form of the verification feature in the access request is not specifically limited in the embodiment of this application, as long as it can be determined based on the verification feature that the purpose of the current access request is to verify the construction project.
[0064] If the current moment is the completion verification moment, the completion construction drawing information and the preset effect construction drawing information corresponding to the verification feature at the current moment are obtained, and the first verification information is generated based on the completion construction drawing information and the preset effect construction drawing information corresponding to the verification feature.
[0065] Specifically, if the current moment is the completion verification moment, it is possible to verify whether the completion result meets the expected standards. The completed construction drawings can be uploaded to the review system by relevant construction personnel after completing the construction operations of a project, and the preset renderings can be uploaded to the review system in advance by relevant designers. When the completed construction drawing information is consistent with the preset rendering information, it indicates that the verification is qualified. At this time, the first verification information can be directly generated based on the verification results.
[0066] If the current moment is not the completion verification moment, then obtain the construction image corresponding to the verification feature within the preset time period, and determine the simulated completion construction drawing information corresponding to the verification feature based on the construction image and the preset construction simulation model, and generate the second verification information based on the simulated completion construction drawing information and the preset effect construction drawing information corresponding to the verification feature.
[0067] Specifically, if the current moment is not the completion verification moment, the unfinished construction work can be simulated based on the construction process to obtain simulated completion construction drawing information, and then the construction results are pre-verified by comparing the simulated completion construction drawing information with the preset effect construction drawing information. The generated second verification information is a prediction of future completion verification. Feature recognition is performed on the construction image to locate the current construction status information, and then the preset construction simulation model is optimized based on the current construction status information to obtain the target simulation construction model. The target simulation construction model can be used to simulate the construction situation for a period of time in the future. The preset construction simulation model can be uploaded to the review system in advance by relevant staff according to the current construction situation.
[0068] In order to improve the accuracy of relevant verification personnel in optimizing construction operations or improving measures, the second verification information is generated based on the simulated completed construction drawing information and the preset effect construction drawing information corresponding to the verification characteristics, which may specifically include: Match the simulated completed construction drawing information with the preset effect construction drawing information corresponding to the verification feature to obtain a construction matching value; when the construction matching value is lower than the preset matching value, obtain the simulation flow chart corresponding to the simulated completed construction drawing information and the construction flow chart corresponding to the preset effect construction drawing information; match the simulation flow chart with the construction flow chart to determine the differential construction actions; based on the differential construction actions, construction images and the preset construction simulation model, obtain the optimized simulated completed construction drawing information corresponding to the verification feature; match the optimized simulated completed construction drawing information with the preset effect construction drawing information corresponding to the verification feature to obtain the optimized construction matching value; when the optimized construction matching value is not lower than the preset matching value, generate second verification information based on the differential construction actions.
[0069] Specifically, the simulated completed construction drawing information is matched with the preset effect construction drawing information corresponding to the verification features to obtain the construction matching value. When the construction matching value is not lower than the preset matching value, it indicates that the preliminary verification has passed and construction continues according to the current construction standards. The probability of deviation in the later completion verification is small. When the construction matching value is lower than the preset matching value, it indicates that the preliminary verification has not passed. If the construction continues to be carried out according to the current construction standard, there is a high probability of deviation at the time of the later completion verification. Therefore, when the construction matching value is low, it is necessary to compare the simulation flowchart and the construction flowchart to determine the corresponding difference construction actions, where the simulation flowchart is the simulated construction process corresponding to the construction simulation using the target simulation construction model, and the construction flowchart is the standard construction process corresponding to the preset effect construction drawing information, that is, if the construction is strictly carried out according to the construction flowchart, the probability of deviation in the construction process is extremely small, but because different construction personnel have different corresponding construction habits, construction actions inconsistent with the standard construction process may occur in the actual construction process, which may cause deviations in the construction results. By matching the simulation flowchart and the construction flowchart, it is easy to determine the difference between the actual construction action and the standard construction action, that is, by matching the simulation flowchart and the construction flowchart, it is easy to more intuitively display the difference between the construction status and the simulation expectation, and provide a basis for subsequent optimization analysis.
[0070] After determining the differential construction actions, the target simulation construction model can be adjusted and optimized based on the differential construction actions to reflect these differential construction actions and optimize future construction methods, which may include modifying the construction sequence, adjusting resource allocation, optimizing construction methods, etc. The optimized simulated completion construction drawing information and the preset effect construction drawing information corresponding to the verification features are matched again. If the optimized construction matching value is not lower than the preset matching value, it indicates that the simulation completion result is close to the expected construction effect after correcting the differential construction actions. At this time, verification information is generated based on the differential construction actions to facilitate the improvement of the accuracy of relevant verification personnel in optimizing construction operations or improving measures.
[0071] The present application embodiment provides a review system, such as Figure 3 As shown, Figure 3 The review system 300 shown includes: a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, such as through a bus 302. Optionally, the review system 300 may also include a transceiver 304. It should be noted that in actual applications, the transceiver 304 is not limited to one, and the structure of the review system 300 does not constitute a limitation on the embodiments of the present application.
[0072] The processor 301 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor 301 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0073] The bus 302 may include a path to transmit information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 The fact that only one line is used in the diagram does not mean that there is only one bus or only one type of bus.
[0074] The memory 303 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0075] The memory 303 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the contents shown in the above method embodiment.
[0076] The review system includes, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs, desktop computers, etc. It can also be a server, etc. Figure 3 The review system shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0077] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding content in the aforementioned method embodiment.
[0078] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the method in any of the above embodiments is implemented.
[0079] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0080] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A construction drawing progress review method based on QR code recognition, characterized in that: include: Acquire construction drawing progress information, and identify key information containing preset key features in the construction drawing progress information; Calculate the key hash value corresponding to each key information, and determine the key block information corresponding to each key information based on each key information and the key hash value corresponding to each key information; Identify the non-critical features corresponding to each non-critical information, determine the key information string based on each non-critical feature and each key hash value, and determine the information chain based on each non-critical information and each key block information, wherein the non-critical information is the information in the construction drawing progress information that does not contain the preset key features; Encrypting the construction drawing progress information based on the key information string and the information chain to obtain encrypted QR code information; When an access request from a visitor is detected, the accessible range of the visitor is determined according to the access request, verification instruction information is determined based on the accessible range, and the verification instruction information is fed back to the access terminal of the visitor to prompt the visitor to provide verification characteristics according to the verification instruction information; When the feedback verification feature of the visitor is received, the feedback verification feature is verified based on the accessible feature corresponding to the accessible range. If the verification is passed, the accessible construction drawing progress information corresponding to the accessible range is fed back.
2. A construction drawing progress review method based on two-dimensional code recognition according to claim 1, characterized in that: The step of encrypting the construction drawing progress information based on the key information string and the information chain to obtain encrypted QR code information includes: Determine a target random number sequence and a target random number in the target random number sequence according to a preset random number algorithm; Sort the key information string according to the target random number sequence to obtain an encrypted information string; Determine a target encryption algorithm corresponding to the target random number based on the target random number and a preset encryption mapping relationship, wherein the preset encryption mapping relationship is a correspondence relationship between the target random number and the target encryption algorithm; The construction drawing progress information is encrypted based on the encrypted information string, the target encryption algorithm and the information chain to obtain encrypted QR code information.
3. The construction drawing progress review method based on two-dimensional code recognition according to claim 1 is characterized in that: When the accessible range includes the first preset feature, it also includes: Acquire an accessible address range corresponding to the first preset feature, and identify an access address from the access request; Determine an access address difference based on the accessible address range and the access address, and determine an additional verification feature corresponding to the access address difference based on the access address difference and a preset additional verification mapping relationship, wherein the preset additional verification mapping relationship is a corresponding relationship between the access address difference and the additional verification feature; The verification indication information is updated based on the additional verification feature.
4. The construction drawing progress review method based on two-dimensional code recognition according to claim 1 is characterized in that: When the accessible range includes a second preset feature, it also includes: Determine the visitor's access level based on the accessible range, and determine the target browsing duration corresponding to the access level based on a mapping relationship between the access level and a preset browsing duration, wherein the preset browsing duration mapping relationship is a corresponding relationship between the access level and the target browsing duration; Based on the access level, determining the frequency and characteristics of spot checks on the visitor during a browsing countdown time period, wherein the duration corresponding to the browsing countdown time period is consistent with the target browsing duration; Performing spot check verification on visitors within the browsing countdown time period based on the spot check frequency and the spot check feature to obtain feedback spot check features corresponding to the observation time period, where the observation time period is a partial time period of the browsing countdown time period; Determine whether all feedback spot check features have abnormal feedback spot check features according to the feedback verification features, and if so, determine the adjustment duration corresponding to the abnormal number according to the mapping relationship between the abnormal number of the abnormal feedback spot check features and the preset adjustment duration, wherein the preset adjustment duration mapping relationship is the corresponding relationship between the abnormal number and the adjustment duration; The target browsing duration is updated based on the adjusted duration, and the browsing countdown time period is updated based on the updated target browsing duration.
5. The construction drawing progress review method based on two-dimensional code recognition according to claim 1 is characterized in that: When the access request contains a verification feature, it also includes: Determine whether the current time is the completion verification time according to the construction drawing progress information; If so, obtaining the completed construction drawing information and the preset effect construction drawing information corresponding to the verification feature at the current moment, and generating the first verification information based on the completed construction drawing information and the preset effect construction drawing information corresponding to the verification feature; If not, obtain the construction image corresponding to the verification feature within the preset time period, and determine the simulated completed construction drawing information corresponding to the verification feature based on the construction image and the preset construction simulation model, and generate the second verification information based on the simulated completed construction drawing information and the preset effect construction drawing information corresponding to the verification feature.
6. A construction drawing progress review method based on two-dimensional code recognition according to claim 5, characterized in that: The generating the second verification information based on the simulated completed construction drawing information and the preset effect construction drawing information corresponding to the verification feature includes: Matching the simulated completed construction drawing information with the preset effect construction drawing information corresponding to the verification feature to obtain a construction matching value; When the construction matching value is lower than the preset matching value, a simulation flow chart corresponding to the simulated completed construction drawing information and a construction flow chart corresponding to the preset effect construction drawing information are obtained; Matching the simulation flowchart with the construction flowchart to determine differential construction actions; Based on the differential construction actions, the construction images and the preset construction simulation model, obtaining optimized simulated completed construction drawing information corresponding to the verification features; The optimized simulated completed construction drawing information is matched with the preset effect construction drawing information corresponding to the verification feature to obtain an optimized construction matching value. When the optimized construction matching value is not lower than the preset matching value, the second verification information is generated based on the difference construction action.
7. A review system, characterized in that: The review system includes: at least one processor; Memory; At least one application, wherein the at least one application is stored in a memory and configured to be executed by at least one processor, and the at least one application is configured to: execute a construction drawing progress review method based on QR code recognition as described in any one of claims 1-6.
8. A computer-readable storage medium, characterized in that: include: A computer program is stored which can be loaded by a processor and executed according to any one of claims 1 to 6, for a construction drawing progress review method based on QR code recognition.
9. A computer program product, characterized in that It includes a computer program, which, when executed by a processor, implements the steps of a construction drawing progress review method based on QR code recognition as described in any one of claims 1 to 6.
