A global integrated digital identification system
By using a fully integrated digital identification system that combines various technologies, the problems of inaccurate information and difficulty in product tracking in traditional identification systems have been solved, enabling accurate product tracking and information management, and improving the visualization and efficiency of the production process.
Patent Information
- Application Number
- CN202410079380.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-19
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2044-01-19
AI Technical Summary
Existing traditional labeling systems suffer from inaccurate information, difficulties in product tracking, inefficient supply chains, and serious problems with counterfeit and substandard products, lacking a systematic solution.
A fully integrated digital identification system is adopted, combining HTML pages, Spring Boot engine, Thymeleaf template engine, Apache Shiro authentication module, Nacos service registry, Quartz engine, Redis cache database, MySQL database, ElasticSearch server and ETCD state machine to achieve accurate product tracking, information management and distributed updates.
It enables accurate product tracking, reduces information error rates, improves the visibility and traceability of the production process, enhances product safety and compliance, and improves production quality and efficiency.
Abstract
Description
Technical Field
[0001] This invention relates to the field of industrial internet technology, specifically a fully integrated digital identification system. Background Technology
[0002] The emergence of digital labeling aims to address a range of problems inherent in traditional labeling systems. In the past, many industries and sectors faced challenges, including but not limited to inaccurate information, difficulties in product tracking, inefficient supply chains, and rampant counterfeiting. Digital labeling, by introducing advanced technologies and systematic solutions, has successfully addressed these issues, providing more effective solutions for businesses and consumers. First, digital labeling solves the problem of inaccurate information in traditional labeling systems. Previously, information relying on manual input and recording was prone to errors and inconsistencies, leading to problems in inventory management and production planning. Digital labeling, through automated data collection and processing, significantly improves data accuracy and reduces the possibility of human error. Second, digital labeling improves the efficiency of product tracking and management. Traditionally, product tracking and management can require significant manpower and time and is prone to vulnerabilities. Digital labeling, by introducing technologies such as barcodes, QR codes, and RFID, enables unique product identification and real-time tracking, improving transparency and efficiency throughout the supply chain. Furthermore, digital labeling also promotes enhanced real-time monitoring and responsiveness. Through integration with IoT technology, digital labeling enables real-time monitoring of equipment, products, and the environment, facilitating predictive maintenance, fault diagnosis, and real-time optimization of production processes.
[0003] Digital identification is a systematic approach that combines various background technologies to achieve accurate identification, tracking, and management of objects, information, and processes. In this field, barcodes and QR codes are the most common digital identification methods, encoding digital information on products or objects so that this information can be quickly read by scanning devices. Summary of the Invention
[0004] The technical problem to be solved by this invention is to provide a fully integrated digital identification system that enables accurate product tracking, reduces information error rates, improves the visualization and traceability of the production process, and realizes distributed management and updating of identification.
[0005] The technical solution of this invention is as follows:
[0006] A fully integrated digital identification system includes a front-end HTML page and a back-end Spring Boot engine. The front-end HTML page loads the Thymeleaf template engine, and the back-end Spring Boot engine integrates the Apache Shiro authentication module, Nacos service registry, Quartz engine, Redis cache database, MySQL database, ElasticSearch server, and ETCD state machine.
[0007] The Thymeleaf template engine is connected to the backend Spring Boot engine. The backend Spring Boot engine manages the backend operations, while the Thymeleaf template engine is used for rendering the frontend HTML pages.
[0008] The Apache Shiro authentication module is used to authenticate the identity of management users, and at the same time, it stores all identity credentials of management users in the MySQL database;
[0009] The Nacos service registry is used for the registration and management of various services, including setting connection information between the Redis cache database and the backend Spring Boot engine, setting connection information between the MySQL database and the backend Spring Boot engine, setting connection information between the ElasticSearch server and the backend Spring Boot engine, and setting connection information between the ETCD state machine and the backend Spring Boot engine.
[0010] The Quartz engine is used to trigger and schedule tasks, and to schedule MySQL database CRUD operations and perform concurrent MySQL database operations.
[0011] The Redis cache database is used to cache and identify user login log information and specific operation information of the MySQL database stored in the Nacos service registry.
[0012] The MySQL database is used to store the identity credentials of all identification management users, identification sequences, product information corresponding to the identification sequences, and log information aggregated and integrated by the ElasticSearch server.
[0013] The ElasticSearch server is used for log management and identification search engine;
[0014] The ETCD state machine is used as a distributed key-value storage system.
[0015] The Apache Shiro authentication module is used to verify the identity information of the identifier administrator and the root node administrator. After the identifier administrator's identity is successfully authenticated, the identifier administrator interacts with the front-end HTML page. The back-end Spring Boot engine, in conjunction with the Quartz engine, Redis cache database, MySQL database, and ElasticSearch server, configures the identifier sequence, resolves the identifier, and manages permissions. After the root node administrator's identity information is successfully verified, the root node corresponding to this root node is synchronously connected through the ETCD state machine. When any node updates its information, all other connected root nodes are updated simultaneously.
[0016] The configuration of the identification sequence specifically involves passing the product information to be identified to the backend Spring Boot engine. The backend Spring Boot engine generates a random identification sequence of optional length based on a random number generation function, and compares the generated identification sequence with the existing identification sequences in the MySQL database. If the comparison result is a duplicate, a new random identification sequence is generated. If there is no duplicate, the product information to be identified and the corresponding identification sequence information are stored in the MySQL database.
[0017] The aforementioned identifier resolution specifically involves passing the identifier sequence to the backend Spring Boot engine. The backend Spring Boot engine then calls the ElasticSearch server to retrieve the product information corresponding to the identifier sequence from the MySQL database using the identifier sequence as an index. The Redis cache database caches the specific search operation information from the MySQL database, and the search results are returned to the frontend for rendering and display using the Thymeleaf template engine.
[0018] The Nacos service registry, used for the registration and management of various services, stores registration information including service name, IP address, and port in the Nacos service registry. Service providers periodically send heartbeat information to the Nacos service registry to maintain the real-time nature of the registration information, and the Nacos service registry uses health checks to mark unhealthy service instances. The service providers include the Spring Boot engine, Apache Shiro authentication module, Quartz engine, Redis caching database, MySQL database, ElasticSearch server, and ETCD state machine.
[0019] Advantages of this invention:
[0020] This invention enables accurate product tracking, reduces information error rates, improves the visualization and traceability of the production process, enhances product safety and compliance, records manufacturing information, integrates a digital identification system to make maintenance and service more efficient, and improves equipment operational reliability. It has significant value for improving overall production quality and efficiency.
[0021] This invention enables identity authentication and management for identifier administrators and root node administrators, and facilitates distributed operations. Identifier administrators can interact with the system through a front-end HTML page, while the back-end Spring Boot engine, in conjunction with the Quartz engine, Redis cache database, MySQL database, and ElasticSearch server, configures identifier sequences, resolves identifiers, and manages permissions. Root node administrators can use the ETCD state machine to update distributed information and interconnect information. Detailed Implementation
[0022] The technical solutions in the embodiments of the present invention will be clearly and completely described below. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0023] A fully integrated digital identification system includes a front-end HTML page and a back-end Spring Boot engine. The front-end HTML page loads the Thymeleaf template engine, and the back-end Spring Boot engine integrates the Apache Shiro authentication module, Nacos service registry, Quartz engine, Redis cache database, MySQL database, ElasticSearch server, and ETCD state machine.
[0024] The Thymeleaf template engine connects with the backend Spring Boot engine. The backend Spring Boot engine manages backend operations, while the Thymeleaf template engine is used for rendering frontend HTML pages.
[0025] The Apache Shiro authentication module is used to authenticate the identities of management users and stores the credentials of all management users in a MySQL database. Specifically, it verifies the identity information of the identity administrator and the root node administrator. After successful authentication, the identity administrator interacts with the front-end HTML page. The back-end Spring Boot engine, in conjunction with the Quartz engine, Redis cache database, MySQL database, and Elasticsearch server, configures the identity sequence, resolves the identity, and manages permissions. After successful authentication of the root node administrator, the ETCD state machine synchronizes the connection to the corresponding root node. When any node updates its information, all other connected root nodes are simultaneously updated.
[0026] The Nacos service registry is used for the registration and management of various services. It stores registration information, including service name, IP address, and port, in the Nacos service registry. Service providers periodically send heartbeat messages to the Nacos service registry to maintain the real-time nature of the registration information. The Nacos service registry also uses health checks to mark unhealthy service instances. Service providers include the Spring Boot engine, Apache Shiro authentication module, Quartz engine, Redis caching database, MySQL database, Elasticsearch server, and ETCD state machine. Specifically, the Nacos service registry sets up connection information between the Redis caching database and the backend Spring Boot engine, the MySQL database, the Elasticsearch server, and the ETCD state machine.
[0027] The Quartz engine enables the triggering and scheduling of tasks. It is used to schedule MySQL database CRUD operations and perform concurrent MySQL database operations.
[0028] The Redis cache database is used to cache and manage user login log information and specific operation information of the MySQL database stored in the Nacos service registry.
[0029] The MySQL database is used to store the identity credentials of all identity management users, identity sequences, product information corresponding to the identity sequences, and log information aggregated and integrated by the ElasticSearch server.
[0030] ElasticSearch server serves as a log management and identification search engine;
[0031] ETCD state machine as a distributed key-value storage system.
[0032] The specific operation process of the digital identification system is as follows:
[0033] (1) Identification management users log in to the front-end HTML page via the URL, enter a valid identity certificate (including username and password), and then transmit the identity certificate to the back-end Spring Boot engine and Apache Shiro identity authentication module for identity authentication. At the same time, the user's identity certificate will be stored in the MySQL database.
[0034] (2) Root node creation: After the management user completes the login by authenticating through the Apache Shiro authentication module, the root node information and root node prefix are created and passed to the backend Spring Boot engine. The backend Spring Boot engine extracts the main root node information (including the main root node IP, publicKey, and slave node IP), initializes the node, and calls the root node activation to finally complete the root node creation.
[0035] (3) Identifier resolution: Identifier management users enter the identifier sequence to be queried on the front-end HTML page via the URL, and then pass the identifier sequence to the back-end Spring Boot engine. The back-end Spring Boot engine calls the ElasticSearch server, so that the product information corresponding to the identifier sequence can be queried in the MySQL database with the identifier sequence as the index. The Redis cache database caches the specific search operation information of the MySQL database and returns the search results to the front-end for rendering and display through the Thymeleaf template engine.
[0036] (4) Configuration of the identification sequence: The identification management user enters the product information to be identified on the front-end HTML page through the URL, and then passes the product information to be identified to the back-end Spring Boot engine. The back-end Spring Boot engine generates a random identification sequence with selectable length according to the random number generation function, and compares the generated identification sequence with the existing identification sequence in the MySQL database. If the comparison result is a duplicate, a random identification sequence is regenerated. If it is not a duplicate, the product information to be identified and the corresponding identification sequence information are stored in the MySQL database.
[0037] (5) Log Management Function: Each time a user logs into the digital identification system and successfully passes identity authentication, the login log information stored in the Nacos service registry will be cached in the Redis cache database. When operating on the MySQL database, the system will also cache the specific operations on the MySQL database in the Redis cache database. All the above cached information will eventually flow to the Elasticsearch server. After the Elasticsearch server aggregates and integrates the log information, it will store the information in the MySQL database to realize the log management function.
[0038] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A globally integrated digital identification system, characterized in that: It includes a front-end HTML page and a back-end Spring Boot engine. The front-end HTML page loads the Thymeleaf template engine, and the back-end Spring Boot engine integrates the Apache Shiro authentication module, Nacos service registry, Quartz engine, Redis cache database, MySQL database, ElasticSearch server, and ETCD state machine. The Thymeleaf template engine is connected to the backend Spring Boot engine. The backend Spring Boot engine manages the backend operations, while the Thymeleaf template engine is used for rendering the frontend HTML pages. The Apache Shiro authentication module is used to authenticate the identity of management users, and at the same time, it stores all identity credentials of management users in the MySQL database; The Nacos service registry is used for the registration and management of various services, including setting connection information between the Redis cache database and the backend Spring Boot engine, setting connection information between the MySQL database and the backend Spring Boot engine, setting connection information between the ElasticSearch server and the backend Spring Boot engine, and setting connection information between the ETCD state machine and the backend Spring Boot engine. The Quartz engine is used to trigger and schedule tasks, and to schedule MySQL database CRUD operations and perform concurrent MySQL database operations. The Redis cache database is used to cache and identify user login log information and specific operation information of the MySQL database stored in the Nacos service registry. The MySQL database is used to store the identity credentials of all identification management users, identification sequences, product information corresponding to the identification sequences, and log information aggregated and integrated by the ElasticSearch server. The ElasticSearch server is used for log management and identification search engine; The ETCD state machine described above serves as a distributed key-value storage system. The Apache Shiro authentication module is used to verify the identity information of the identifier administrator and the root node administrator. After the identifier administrator's identity is successfully authenticated, the identifier administrator interacts with the front-end HTML page. The back-end Spring Boot engine, in conjunction with the Quartz engine, Redis cache database, MySQL database, and ElasticSearch server, configures the identifier sequence, resolves the identifier, and manages permissions. After the root node administrator's identity information is successfully verified, the root node corresponding to this root node is synchronously connected through the ETCD state machine. When any node updates its information, all other connected root nodes are updated simultaneously.
2. The integrated digital identification system according to claim 1, characterized in that: The configuration of the identification sequence specifically involves passing the product information to be identified to the backend Spring Boot engine. The backend Spring Boot engine generates a random identification sequence of optional length based on a random number generation function, and compares the generated identification sequence with the existing identification sequences in the MySQL database. If the comparison result is a duplicate, a new random identification sequence is generated. If there is no duplicate, the product information to be identified and the corresponding identification sequence information are stored in the MySQL database.
3. The integrated digital identification system according to claim 1, characterized in that: The aforementioned identifier resolution specifically involves passing the identifier sequence to the backend Spring Boot engine. The backend Spring Boot engine then calls the ElasticSearch server to retrieve the product information corresponding to the identifier sequence from the MySQL database using the identifier sequence as an index. The Redis cache database caches the specific search operation information from the MySQL database and returns the search results to the frontend for rendering and display using the Thymeleaf template engine.
4. The integrated digital identification system according to claim 1, characterized in that: The Nacos service registry, used for the registration and management of various services, stores registration information including service name, IP address, and port. Service providers periodically send heartbeat information to the Nacos service registry to maintain the real-time nature of the registration information. The Nacos service registry also uses health checks to mark unhealthy service instances. The service providers include the Spring Boot engine, Apache Shiro authentication module, Quartz engine, Redis caching database, MySQL database, ElasticSearch server, and ETCD state machine.
