Intelligent door lock production detection information management system and method
By adopting dynamic QR code and byte-level encoding technology in the intelligent door lock production detection information management system, the problem that traditional systems cannot meet the lack of standardization of real-time updates and encoding methods is solved, real-time updates and efficient storage of detection information are realized, and timely discovery and processing of product quality is ensured.
Patent Information
- Application Number
- CN202510281877.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-11
- Publication Date
- 2025-06-27
AI Technical Summary
Traditional production detection information management systems cannot meet the needs of real-time updates in intelligent manufacturing, and the common encoding methods lack standardization and data structure specifications, resulting in inconsistent or errors in data analysis, affecting system processing efficiency and increasing transmission bandwidth pressure.
Design an intelligent door lock production detection information management system, adopting a code scanner, data preprocessing module, central processing unit, data storage and communication module, and real-time update and efficient storage of data through dynamic QR code and byte-level encoding technology.
Real-time update and efficient storage of detection information are realized, ensuring that the real-time detection information of each production inspection link can be obtained by the central system, timely discover and deal with unqualified products, reduce the bandwidth requirements for data transmission, and optimize the storage space.
Smart Images

Figure CN120218104A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of intelligent manufacturing, and specifically relates to an intelligent door lock production detection information management system and method. Background Art
[0002] In the intelligent manufacturing production process of precision equipment such as intelligent door locks, quality control and traceability of the production process are important links to ensure product performance and safety. With the popularization of intelligent devices, the production process and quality requirements of intelligent door locks have become increasingly complex, involving multiple detection links and a large amount of detection data. In order to ensure product quality, it is necessary to be able to monitor the data of each detection link in real time during the production process to ensure that unqualified products can be detected and processed in a timely manner.
[0003] In many traditional production detection systems, detection information is usually stored and transferred in the form of text or numbers in each production detection link; as a result, unqualified products continue to flow through the entire production process, unable to meet the intelligent production requirements of fast and real-time updates.
[0004] Ordinary coding methods such as barcodes lack standardization and data structure specifications, resulting in the risk of inconsistent or incorrect parsing during the reading, parsing, and writing of data between different production detection links, which will also affect the system processing efficiency and increase the transmission bandwidth pressure. Summary of the Invention
[0005] To solve the problems that traditional production detection information cannot meet the intelligent production requirements of real-time updates; and ordinary coding methods lack standardization and data structure specifications, the present invention provides an intelligent door lock production detection information management system and method.
[0006] The object of the present invention can be achieved by the following technical solutions:
[0007] An intelligent door lock production detection information management system includes a barcode scanner, a data preprocessing module, a central processor, a data memory, and a communication module;
[0008] The barcode scanner is used to scan the dynamic two-dimensional code of each production detection link, read the data in the two-dimensional code, and transmit the read data to the data preprocessing module;
[0009] The data preprocessing module is used to parse the received data and preprocess the detection information before transmitting it to the central processor;
[0010] The central processor is used to receive the data from the data preprocessing module and update the dynamic two-dimensional code in the form of structured data composed of a lookup table and byte-level coding;
[0011] It is also used to parse the encoded data contained in the dynamic two-dimensional code in the final production inspection link, and uses compression technology to compress the data;
[0012] The storage space of the data memory is mainly divided into a dynamic storage area and a static storage area, which store dynamic two-dimensional codes and compressed data respectively; ensuring the efficiency and integrity of data storage, and supporting subsequent data backtracking and traceability analysis;
[0013] The communication module is used for data transmission between the barcode scanner, the data preprocessing module, the central processing unit and the data memory.
[0014] Preferably, the dynamic two-dimensional code contains a product ID, a detection item, detection information and a storage link address, and supports reading and writing.
[0015] Preferably, the central processing unit updates the dynamic two-dimensional code in the form of structured data composed of a lookup table and byte-level encoding; its specific process includes:
[0016] a. Receive the detection information to be encoded;
[0017] b. Generate byte encoding using the lookup table: According to the predefined lookup table, query the position of the byte encoding and byte stream structure used to represent the detection information; through byte mapping, compress the detection information in the production inspection link at this place into individual byte encodings respectively;
[0018] c. Insert byte encoding: Insert the byte encoding representing the detection information into the byte stream structure at the corresponding position;
[0019] d. Check the remaining data: Check whether there is still remaining byte encoding to be processed; if so, repeat processes b-c and continue to process;
[0020] e. Insert a byte code to indicate the end: If there is no remaining byte encoding to be processed, insert a byte code to indicate the end of the byte stream structure; thus, the writing of the encoded data is completed;
[0021] f. Update the dynamic two-dimensional code according to the new encoded data and store it in the dynamic storage area of the data memory.
[0022] Preferably, the central processing unit is also used to parse the encoded data contained in the dynamic two-dimensional code in the final production inspection link, and uses compression technology to compress the data; its specific process includes:
[0023] A. Parse the dynamic two-dimensional code in the final production inspection link to obtain the encoded data of all production inspection links, and count the occurrence frequencies of each character or data item;
[0024] B. Construct a Huffman tree according to the frequencies, and finally generate a tree by merging the nodes with the smallest frequencies;
[0025] C. According to the Huffman tree, assign a unique binary code to each character, and assign shorter codes to frequently occurring characters;
[0026] D. Use the generated Huffman code to convert the original data into a compressed binary stream;
[0027] E. Store the compressed data in the static storage area of the data memory; save the Huffman code table or tree structure to ensure subsequent decoding.
[0028] Preferably, the central processing unit is further configured to execute corresponding judgment logics according to the detection information obtained in each production detection link, and mark qualified or unqualified products; the judgment logics are mainly divided into incoming material quality inspection, assembly quality function inspection, and finished product quality inspection according to the production detection links.
[0029] Preferably, the judgment logic of the incoming material quality inspection link is:
[0030] If the tolerance range of the incoming material quality inspection items does not exceed the specified standard, it is determined that the incoming material quality inspection is 'qualified'; otherwise, it is determined as 'unqualified'.
[0031] Preferably, the judgment logic of the assembly quality function inspection link is:
[0032] If the tolerance range of the assembly quality inspection items or the functional inspection items does not exceed the specified standard, it is determined that the assembly quality function inspection is 'qualified'; otherwise, it is determined as 'unqualified'.
[0033] Preferably, the judgment logic of the finished product quality inspection link is:
[0034] If the tolerance range of the overall functional inspection items of the finished product does not exceed the specified standard, it is determined that the finished product quality inspection is 'qualified'; otherwise, it is determined as 'unqualified'.
[0035] An intelligent door lock production detection information management method includes the following steps:
[0036] S1) To record the detection information of products in each production detection link, use a lookup table and byte-level encoding combination technology to construct a two-dimensional code in a structured data form;
[0037] S2) Create a readable and writable dynamic two-dimensional code for each product, and make it flow through each production detection link; the dynamic two-dimensional code contains product ID information, detection items, and storage link addresses;
[0038] S3) Obtain the corresponding storage location according to the storage link address, parse the dynamic two-dimensional code and expand the byte stream structure of its encoded data;
[0039] S4) Use the lookup table and byte-level encoding combination technology to encode the detection information obtained from each production detection link, and write it into the byte stream structure corresponding to the encoded data to complete the update of the dynamic QR code;
[0040] S5) According to the detection information obtained from each production detection link, determine whether the detection items in this link exceed the tolerance range of the specified standard; if they exceed, mark the product as unqualified;
[0041] S6) The qualified products are transferred to the next production detection link to continue updating the dynamic QR code;
[0042] S7) Analyze the encoded data contained in the dynamic QR code of the final production detection link, and use compression technology to compress the data to optimize the storage space.
[0043] Advantages of the present invention:
[0044] 1. By predefining the lookup table, the present invention stores the mapping relationship between the detection information of each link, the corresponding byte encoding, and the byte stream position, ensuring unified and standardized encoding of the detection information. Using byte-level encoding technology to compress the detection information into a single byte realizes efficient data storage and also reduces the bandwidth requirement for data transmission.
[0045] 2. The dynamic QR code can be updated in real time at each production detection link, recording the latest detection data, ensuring that the real-time detection information of each link can be obtained by the central system, and promptly discovering and handling unqualified products.
[0046] 3. During the long-term storage of the QR code of the final production detection link, compression technology is used to compress the data, further optimizing the storage space. Description of the Drawings
[0047] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0048] Figure 1 It is the structural framework diagram of an intelligent door lock production detection information management system of the present invention;
[0049] Figure 2 It is the flow chart of the dynamic QR code update in an intelligent door lock production detection information management system of the present invention;
[0050] Figure 3 It is the step flow chart of an intelligent door lock production detection information management method of the present invention. Detailed implementation manners
[0051] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0052] Please refer to Figures 1-3 As shown, an intelligent door lock production detection information management system includes a barcode scanner, a data preprocessing module, a central processor, a data memory, and a communication module;
[0053] The barcode scanner is used to scan the dynamic two-dimensional code in each production detection link, read the data in the dynamic two-dimensional code, and transmit the read data to the data preprocessing module;
[0054] The data preprocessing module is used to analyze the received data and preprocess the detection information (such as incoming material quality inspection, assembly quality function inspection, and finished product quality inspection) and then transmit it to the central processor;
[0055] The central processor is used to receive the data from the data preprocessing module, update the dynamic two-dimensional code in the form of structured data composed of a lookup table and byte-level encoding; it is also used to analyze the encoded data included in the dynamic two-dimensional code in the final production detection link and perform data compression using a compression technology;
[0056] The storage space of the data memory is mainly divided into a dynamic storage area and a static storage area, which store the dynamic two-dimensional code and the compressed data respectively; ensuring the high efficiency and integrity of data storage, and supporting subsequent data backtracking and traceability analysis;
[0057] The communication module is used for data transmission between the barcode scanner, the data preprocessing module, the central processor, and the data memory.
[0058] Specifically, the dynamic two-dimensional code is attached to the product and circulated in each production detection link. The dynamic two-dimensional code includes its product ID, detection items, relevant detection information, and storage link address. It is the entry for the system to interact with the product in real time. Through the coordinated work of the barcode scanner, the data preprocessing module, the central processor, the data memory, and the communication module, it is ensured that each product can carry real-time and updated detection information data during the production process; at the same time, the detection information in each production link can be effectively managed. It ensures the real-time update and efficient storage of data.
[0059] In the specific implementation process, the barcode scanner is installed in each production inspection link (such as incoming material quality inspection, assembly quality function inspection, and finished product quality inspection). After the barcode scanner scans the QR code, it reads the content contained in the QR code and transmits the read data (such as product ID, inspection items, inspection information, etc.) to the data preprocessing module in real time.
[0060] The data preprocessing module analyzes the data transmitted by the barcode scanner. After preprocessing the original inspection information of the production inspection link, it is transmitted to the central processor. The data preprocessing module and the barcode scanner are installed together in each production inspection link. The main function of the data preprocessing module is to preprocess the data of the inspection information; the preprocessing includes data standardization to make it conform to the data structure of the predefined lookup table; and improve the subsequent data processing efficiency of the system.
[0061] The central processor is the computing center of the system and is responsible for multiple processing tasks, including:
[0062] First, receive and process the data from the data preprocessing module, and update the dynamic QR code using a combination of the lookup table and byte-level encoding technology to ensure that the QR code can store the latest inspection information.
[0063] Second, compress the final QR code encoded data and store the compressed data in the static storage area; reduce the occupation of storage space.
[0064] The data memory is responsible for storing all production inspection data, which is divided into a dynamic storage area and a static storage area. The dynamic QR code is stored in the dynamic storage area. After the product passes through each production inspection link, the dynamic QR code is updated in real time; and it reflects the current inspection status of the product. The static storage area stores the final compressed data (such as the inspection information of all production inspection items of the product). When the product ends on the production line, the data of all production inspection links will be compressed and stored in the static storage area. After the product leaves the factory, it is used for subsequent traceability and retrospective analysis.
[0065] The communication module builds a data transmission network between different devices through wireless network or wired communication to ensure the efficient cooperation of all parts of the system. The system can obtain the inspection data of each link in real time and make decisions in a timely manner when quality problems are found.
[0066] Furthermore, the central processor updates the dynamic QR code in a structured data form composed of a combination of a lookup table and byte-level encoding; its specific process includes:
[0067] a. Receive the inspection information to be encoded;
[0068] b. Generate byte encoding using a look-up table: Query the byte encoding for representing the detection information and the position of the byte stream structure according to a predefined look-up table; Through byte mapping, compress the detection information at the production detection link into individual byte encodings respectively;
[0069] c. Insert byte encoding: Insert the byte encoding representing the detection information into the byte stream structure at the corresponding position;
[0070] d. Check remaining data: Check whether there are still remaining byte encodings to be processed; If so, repeat steps b - c and continue the processing;
[0071] e. Insert a byte code to indicate the end: If there are no remaining byte encodings to be processed, insert a byte code to indicate the end of the byte stream structure; In this way, the writing of the encoded data is completed;
[0072] f. Update the dynamic QR code according to the new encoded data and store it in the dynamic storage area of the data memory.
[0073] In the specific implementation process, a look-up table (Look-up Table) is a data structure used to pre-store a set of mappings between known keys and corresponding values. During the data processing, when it is necessary to map a certain input to a predefined output, instead of performing complex calculations, directly query the value corresponding to the input in the look-up table, thereby improving the data processing speed and efficiency. In the present invention, the look-up table is used to store the byte encoding corresponding to each detection item and its position in the byte stream structure, ensuring unified and standardized encoding of the detection information. The predefined encoding methods of the look-up table in the present invention include:
[0074] Determine the value (i.e., the detection item) and attribute (i.e., the detection information) of the first part of the product data.
[0075] Use the look-up table to determine the byte position of this first part of the data. The look-up table can contain multiple tables, and each table is associated with a different production detection link.
[0076] Based on the attribute of the data, use the look-up table to determine the encoding type. The encoding type can be binary encoding.
[0077] Through the look-up table, the system can use the context (such as functional detection items) and encoding bytes to achieve encoding of unique data (functional detection items).
[0078] Byte-level encoding technology is a way of processing and compressing data. By decomposing the data into encoding units in bytes and using predefined encoding rules to convert the original data into a more compact byte stream representation.
[0079] Combine with the lookup table, and then through byte-level encoding technology, compress the data of each detection item into a single-byte encoding. An example of the byte mapping rule is as follows:
[0080] In the assembly quality detection items, the "appearance flatness" is encoded as 0x01;
[0081] In the functional detection items, the "power consumption value" is encoded as 0x02;
[0082] The numerical data is mapped and compressed into single-byte data. In this way, independent byte encodings are formed. Then, insert the generated byte encodings into the corresponding positions according to the predefined byte stream structure; each detection data is filled in a fixed order. When all the detection information in this link has been encoded and written, insert a specific end byte code at the end of the byte stream. This end byte code is used to identify the end of the data stream and ensure that the data boundary can be correctly recognized during subsequent parsing.
[0083] Furthermore, the central processing unit is also used to parse the encoded data included in the dynamic two-dimensional code in the final production detection link, and use compression technology to perform data compression; its specific process includes:
[0084] A. Parse the dynamic two-dimensional code in the final production detection link to obtain the encoded data of all production detection links, and count the occurrence frequencies of each character or data item;
[0085] B. Construct a Huffman tree according to the frequencies, and finally generate a tree by merging the nodes with the smallest frequencies;
[0086] C. According to the Huffman tree, assign a unique binary encoding to each character, and assign shorter encodings to frequently occurring characters;
[0087] D. Use the generated Huffman encoding to convert the original data into a compressed binary stream;
[0088] E. Store the compressed data in the static storage area of the data memory; save the Huffman encoding table or tree structure to ensure subsequent decoding.
[0089] In the specific implementation process, Huffman encoding is a widely used lossless data compression algorithm. Its basic principle is to assign encodings according to the frequencies of characters in the data: frequently occurring characters use shorter encodings, while uncommon characters use longer encodings, thereby achieving data compression.
[0090] First, count the occurrence frequencies of each character or data item. In the present invention, since the encoded data is structured, the frequency statistics can be performed on different elements in the field. Construct a Huffman tree according to the character frequencies, and the structure of the tree will determine the encoding of each character. The specific construction process includes:
[0091] Initialize nodes: Create a set of nodes, where each node represents a character (or data item) and its corresponding frequency.
[0092] Build the tree: Select the two nodes with the smallest frequencies and merge them into a new node. The frequency of the new node is the sum of the frequencies of these two nodes.
[0093] Add the new node to the set and repeat the above steps until all nodes are merged into a binary tree.
[0094] The finally generated tree has the following characteristics: The root node of the tree represents the entire data set, and each character (data item) determines its Huffman code through the path from the root node to the leaf node.
[0095] Generate the unique Huffman code for each character by traversing the Huffman tree. The operation is as follows: Start from the root node and assign codes:
[0096] Assign '0' to the path of the left branch; assign '1' to the path of the right branch.
[0097] The code of each character is a combination of 0s and 1s on the path from the root node to the leaf node where the character is located. Replace the original data with the generated Huffman code for compression.
[0098] Furthermore, the central processing unit is also used to execute corresponding judgment logics according to the detection information obtained from each production detection link, and mark qualified or unqualified products; the judgment logics are mainly divided into incoming material quality inspection, assembly quality function inspection, and finished product quality inspection according to the production detection links.
[0099] Furthermore, the judgment logic of the incoming material quality inspection link is:
[0100] If the items of the incoming material quality inspection do not exceed the tolerance range of the specified standard, it is determined that the incoming material quality inspection is 'qualified'; otherwise, it is determined to be 'unqualified'.
[0101] In the specific implementation process, the items of the incoming material quality inspection mainly include dimensional deviation, surface defects, material strength, functional stability (such as the recognition rate of the fingerprint recognition module, the strength of the lock body, etc.). All inspection items need to be within the tolerance range of the specified standard. In case of unqualified, the system will trigger the repair or scrapping process after obtaining the detection information at this place.
[0102] Furthermore, the judgment logic of the assembly quality function inspection link is:
[0103] If the tolerance range of the assembly quality inspection items or functional inspection items does not exceed the specified standard, the assembly quality function inspection is determined to be 'qualified'; otherwise, it is determined to be 'unqualified'.
[0104] In the specific implementation process, the assembly quality inspection items mainly include: appearance flatness, circuit stability, and response tests of the touch screen or buttons. If any inspection item does not meet the standard tolerance, the system triggers the repair process after recognition.
[0105] Furthermore, the judgment logic of the finished product quality inspection link is as follows:
[0106] If the tolerance range of the overall functional inspection items of the finished product does not exceed the specified standard, the finished product quality inspection is determined to be 'qualified'; otherwise, it is determined to be 'unqualified'.
[0107] In the specific implementation process, the overall functional inspection items of the finished product mainly include: finished product durability, finished product waterproofness, product power consumption value, and finished product anti-interference ability. If any inspection item does not meet the standard tolerance, the system triggers the repair process after recognition.
[0108] By executing the corresponding judgment logic, the central processing unit can ensure the product quality of each production link, from the incoming materials, assembly to the final finished product, all meeting the specification requirements. Each link undergoes strict quality inspections to ensure that unqualified products are promptly discovered and processed, thereby reducing product quality risks and enhancing product traceability.
[0109] The present invention also provides an intelligent door lock production detection information management method, which is applied to the above management system and includes the following steps:
[0110] S1) To record the detection information of the product in each production detection link, use the lookup table and byte-level encoding combination technology to construct a two-dimensional code in the form of structured data;
[0111] S2) Create a readable and writable dynamic two-dimensional code for each product, enabling it to circulate in each production detection link; the dynamic two-dimensional code contains product ID information, detection items, and storage link addresses;
[0112] S3) Obtain the corresponding storage location according to the storage link address, parse the dynamic two-dimensional code, and expand the byte stream structure of its encoded data;
[0113] S4) Use the lookup table and byte-level encoding combination technology to encode the detection information obtained from each production detection link, and write it into the byte stream structure of the corresponding encoded data to complete the update of the dynamic two-dimensional code.
[0114] S5) Based on the detection information obtained from each production detection link, determine whether the detection items in this link exceed the tolerance range of the specified standard; if they exceed, mark the product as unqualified;
[0115] S6) The qualified products are transferred to the next production detection link to continue updating the dynamic two-dimensional code;
[0116] S7) Analyze the encoded data contained in the dynamic two-dimensional code of the final production detection link, and use compression technology to compress the data to optimize the storage space.
[0117] In summary, the present invention stores the mapping relationship between the detection information of each link and the corresponding byte code and byte stream position through a predefined lookup table, ensuring unified and standardized encoding of the detection information, which helps with subsequent data parsing and writing. The detection information is compressed into a single byte using byte-level encoding technology to achieve efficient data storage and also reduce the bandwidth requirements for data transmission. The dynamic two-dimensional code can be updated in real time at each production detection link to record the latest detection data, ensuring that the real-time detection information of each link can be obtained by the central system, and unqualified products can be discovered and processed in a timely manner. During the long-term storage of the final two-dimensional code, compression technology (such as Huffman coding) is used to compress the data, further optimizing the storage space while ensuring data integrity. The whole process record and management of the production detection information of the intelligent door lock are realized. This method not only improves the data processing efficiency and storage utilization rate, but also provides a strong technical guarantee for product quality control and traceability analysis, thereby overall enhancing the intelligent level of the production process and the reliability of product quality.
[0118] In the description of the specific implementation manner, the descriptions referring to terms such as "specifically", "during the specific implementation process", etc. mean that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Those skilled in the art of the present technology can make various modifications or supplements to the described specific embodiments or use similar methods for substitution, as long as they do not deviate from the structure of the invention or exceed the scope defined by the claims, they should fall within the protection scope of the present invention.
Claims
1. An intelligent door lock production and testing information management system, characterized by: It includes a barcode scanner, a data preprocessing module, a central processing unit, a data storage device and a communication module; The barcode scanner is used to scan the dynamic QR code of each production inspection link, read the data in the QR code, and transmit the read data to the data preprocessing module; The data preprocessing module is used to parse the received data and preprocess the detection information before transmitting it to the central processor; The central processing unit is used to receive data from the data preprocessing module and update the dynamic QR code in the form of structured data composed of a lookup table and byte-level encoding. It is also used to parse the encoded data contained in the dynamic QR code of the final production inspection link and use compression technology to compress the data. The storage space of the data memory is mainly divided into a dynamic storage area and a static storage area, which store dynamic QR codes and compressed data respectively; The communication module is used for data transmission between the barcode scanner, the data preprocessing module, the central processing unit and the data storage device.
2. According to claim 1, the intelligent door lock production and testing information management system is characterized by: The dynamic QR code contains product ID, test items, test information and storage link address, and supports reading and writing.
3. The intelligent door lock production and testing information management system according to claim 1 is characterized by: The central processor updates the dynamic QR code in a structured data form composed of a lookup table and byte-level encoding; the specific process includes: a. Receive the detection information that needs to be encoded; b. According to the predefined lookup table, query the location of the byte code and byte stream structure used to represent the detection information; through byte mapping, compress the detection information of the production detection link into a single byte code; c. Insert the byte code representing the detection information into the byte stream structure at the corresponding position; d. Check whether there are any remaining byte codes to be processed; if so, repeat process bc to continue processing; e. If there are no remaining byte codes to be processed, a byte code is inserted to indicate the end of the byte stream structure; thus, the writing of the encoded data is completed; f. Update the dynamic QR code according to the new coding data and store it in the dynamic storage area of the data storage.
4. The intelligent door lock production and testing information management system according to claim 1, characterized in that: The central processor is also used to parse the coded data contained in the dynamic two-dimensional code of the final production inspection link, and use compression technology to compress the data; its specific process includes: A. Parse the dynamic QR code of the final production and testing link to obtain the coded data of all production and testing links, and count the frequency of occurrence of each character or data item; B. Build a Huffman tree based on the frequency, and finally generate a tree by merging the nodes with the lowest frequency; C. According to the Huffman tree, each character is assigned a unique binary code, and frequently occurring characters are assigned shorter codes; D. Use the generated Huffman code to convert the original data into a compressed binary stream; E. Store the compressed data in the static storage area of the data memory; save the Huffman coding table or tree structure to ensure subsequent decoding.
5. The intelligent door lock production and testing information management system according to claim 1, characterized in that: The central processing unit is also used to execute corresponding judgment logic and mark qualified or unqualified products according to the detection information obtained in each production detection link; the judgment logic is mainly divided into incoming material quality detection, assembly quality function detection and finished product quality detection according to the production detection link.
6. The intelligent door lock production and testing information management system according to claim 5, characterized in that: The judgment logic of the incoming material quality inspection link is: If the incoming material quality inspection items do not exceed the tolerance range of the specified standards, the incoming material quality inspection is judged as "qualified"; otherwise, it is judged as "unqualified".
7. The intelligent door lock production and testing information management system according to claim 5, characterized in that: The judgment logic of the assembly quality function detection link is: If the assembly quality test items or functional test items do not exceed the tolerance range of the specified standard, the assembly quality functional test is judged to be "qualified"; otherwise, it is judged to be "unqualified".
8. The intelligent door lock production and testing information management system according to claim 5, characterized in that: The judgment logic of the finished product quality inspection link is: If the overall functional test items of the finished product do not exceed the tolerance range of the specified standard, the finished product quality test is judged to be "qualified"; otherwise, it is judged to be "unqualified".
9. The method for managing production and testing information of a smart door lock according to claim 1 is applied to the management system for production and testing information of a smart door lock according to any one of claims 1 to 8, characterized in that: The following steps are involved: S1) To record the inspection information of the product at each production inspection link, a lookup table and byte-level encoding combination technology are used to construct a two-dimensional code in the form of structured data; S2) Create a readable and writable dynamic QR code for each product, so that it circulates in each production and testing link; the dynamic QR code contains product ID information, test items and storage link address; S3) obtaining the corresponding storage location according to the storage link address, parsing the dynamic QR code and expanding the byte stream structure of its encoded data; S4) Encoding the detection information obtained from each production detection link using a lookup table and byte-level encoding combination technology, and writing it into the byte stream structure of the corresponding encoded data to complete the update of the dynamic two-dimensional code; S5) judging whether the test items of each production test link exceed the tolerance range of the specified standard according to the test information obtained in each production test link; If exceeded, the product is marked as unqualified; S6) Qualified products are transferred to the next production and testing stage, and the dynamic QR code is continuously updated; S7) parsing the coded data contained in the dynamic two-dimensional code of the final production inspection link, and using compression technology to compress the data to optimize the storage space.