Construction site emergency management method, device and equipment based on micro-service architecture and medium
By adopting microservice architecture, containerized deployment and AI model training methods in the construction site emergency management system, the problems of poor data flow and low response efficiency in traditional systems are solved, and faster and more accurate emergency response is achieved.
Patent Information
- Application Number
- CN202510698103.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-28
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2045-05-28
AI Technical Summary
Traditional construction site emergency management systems have problems such as poor data flow, low response efficiency and imbalance in resource allocation, which is difficult to meet the emergency management needs in complex construction scenarios.
Using a construction site emergency management method based on microservice architecture, we design microservice architecture and containerized deployment solutions, build a modular system framework and resource scheduling strategy, combine AI model training to build a dynamic digital plan library and structured event matching rules, use Kubernetes to achieve elastic resource scheduling, and integrate the data cockpit to achieve full-dimensional visualization.
It improves the risk response speed and accuracy of emergency response, and realizes an efficient, intelligent, flexible and continuously iterative construction site emergency management system.
Smart Images

Figure CN120218873A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of emergency management, and particularly to a construction site emergency management method, device, equipment and medium based on a microservices architecture. Background Art
[0002] With the rapid advancement of the construction of smart construction sites and the continuous improvement of construction safety management requirements, higher demands are placed on the intelligent, real-time and collaborative response capabilities of construction site emergency management. The dynamic construction environment and complex safety risk scenarios require the emergency management system to be able to quickly integrate multi-source data, accurately match disposal plans and achieve elastic scheduling of resources. However, traditional construction site emergency management highly relies on manual experience and static plans, and there are core problems such as poor data flow, low response efficiency and unbalanced resource allocation.
[0003] Although existing information systems introduce digital tools, they generally have problems such as high system coupling degree, insufficient modularization and lack of closed-loop optimization mechanism, and it is difficult to meet the emergency management requirements in complex construction scenarios. For example, microservices architecture and containerized deployment technology are not fully applied to emergency scenarios, resulting in limited system scalability; AI models and dynamic plan libraries lack iterative optimization driven by real-time data and cannot continuously improve the accuracy of emergency response. Summary of the Invention
[0004] The present invention provides a construction site emergency management method, device, equipment and medium based on a microservices architecture, and its main purpose is to improve the risk response speed.
[0005] To achieve the above purpose, a construction site emergency management method based on a microservices architecture provided by the present invention includes: Design a microservices architecture and a containerized deployment plan based on preset construction site emergency management requirements to obtain a modular system framework and a resource scheduling strategy; Obtain historical event data, and use the historical event data to train a preset AI model in combination with the resource scheduling strategy to construct a dynamic digital plan library; Based on the modular system framework, apply the dynamic digital plan library to the module corresponding to the dynamic digital plan library to construct a structured event matching rule; When there is an emergency event, determine the required emergency equipment and computing resources according to the structured event matching rule, and use a preset Kubernetes cluster to orchestrate Docker containerized services to generate an elastic resource management instruction; Obtain data cockpit resources, integrate the data cockpit resources based on the modular system framework, and display the real-time status of resource allocation and emergency handling according to the elastic resource management instruction to generate a visual view of the full-dimensional status of the construction site. Obtain double-blind drill data and emergency response records, find problems existing in the AI model and the emergency plan logic according to the visualized view of the full-dimensional status of the construction site, the double-blind drill data and the emergency response records, and conduct emergency management.
[0006] Optionally, based on the preset construction site emergency management requirements, design a microservice architecture and a containerized deployment plan to obtain a modular system framework and a resource scheduling strategy, including: Split the construction site emergency management requirements, obtain independent functional modules in the construction site emergency management requirements, and clarify the interaction relationships between the functional modules to obtain a functional module list and a module interaction relationship diagram; Select the corresponding microservice design pattern according to the functional module list and the module interaction relationship diagram, and define the service boundaries of each functional module to obtain a service boundary definition document; Design RESTful APIs based on the service boundaries of the functional modules to obtain API design data; Select Docker as the containerization tool according to the API design data and the service boundary definition document, and use the preset Kubernetes cluster for container orchestration to obtain a modular system framework and a resource scheduling strategy.
[0007] Optionally, combine the resource scheduling strategy to train a preset AI model using the historical event data to build a dynamic digital emergency plan library, including: Extract event-related data from the historical event data to obtain a historical event data set, and collect sensor data in real time through preset Internet of Things devices to obtain real-time sensor data, and integrate the real-time sensor data to obtain a real-time sensor data stream; Clean and normalize the historical event data set and the real-time sensor data stream, and extract the key features of the historical event data set and the real-time sensor data stream to obtain a cleaned data set and feature vectors, where the key features include event type, event sequence, and spatial location; Build historical data based on the cleaned data set and feature vectors, train the AI model using the historical data, optimize the model parameters, and perform incremental training through real-time sensor data to obtain a trained model; Decompose the preset general emergency plan processually through the trained model, extract key nodes, predict the event development trend and impact range, build an emergency plan library, and obtain a dynamic digital emergency plan library.
[0008] Optionally, based on the modular system framework, apply the dynamic digital emergency plan library to the corresponding module of the dynamic digital emergency plan library to build a structured event matching rule, including: Extract event features and pre - plan processes from the dynamic digital pre - plan library based on the modular system framework, and extract real - time monitoring data and response strategies from a preset intelligent response engine. Clean and structure the preset historical event data to obtain structured event feature data and pre - plan process data; According to the structured event feature data and pre - plan process data, use a preset AI model to perform pattern recognition on the event features, extract key features, and construct an event feature vector; Generate an event matching rule based on the event feature vector and pre - plan process data, and define trigger conditions and response strategies to obtain a structured event matching rule.
[0009] Optionally, when there is an emergency event, determine the required emergency equipment and computing resources according to the structured event matching rule, and use a preset Kubernetes cluster to orchestrate Docker containerized services to generate an elastic resource management instruction, including: Determine the required emergency equipment and computing resources according to the structured event matching rule, install and configure the Kubernetes cluster, and ensure that Docker is installed on each node to obtain a configured Kubernetes cluster; Obtain Docker images, and use the configured Kubernetes cluster to deploy Docker containers to obtain deployed Docker containers; Set resource requests and resource limits in a preset Pod configuration to obtain configured Pod resource requirements; Adjust the deployed Docker containers according to the configured Pod resource requirements, and automatically expand or reduce the instruction content for managing the deployed Docker containers to obtain an elastic resource management instruction.
[0010] Optionally, after generating the elastic resource management instruction by determining the required emergency equipment and computing resources according to the structured event matching rule and using a preset Kubernetes cluster to orchestrate Docker containerized services, it further includes: Obtain a business access request, and determine whether the user identity of a preset user passes according to the business access request; If it passes, respond to the business access request; If it does not pass, perform an identity authentication redirection, perform unified identity authentication, and determine whether the unified identity authentication passes; If it passes, obtain an identity authentication token; If it does not pass, reject the access and end the step.
[0011] Optionally, based on the data cockpit resources, they are integrated using the modular system framework, and according to the elastic resource management instruction, the real-time status of resource allocation and emergency handling is displayed, and a visual view of the full-dimensional status of the construction site is generated, including: Using preset sensor acquisition devices at the construction site to obtain Internet of Things device data on the operating status of equipment and environmental parameters, where the environmental parameters include dust, noise, and water level; Based on preset safety events and progress deviations reported by mobile terminals or broadcasts, obtain safety events and construction progress input manually to get manually reported information; Integrate the data cockpit resources, Internet of Things device data, and manually reported information into a pre-built data cockpit platform, and perform data association and visualization processing through BIM+GIS technology to obtain the integrated construction site status data; On a preset screen, the key elements in the integrated construction site status data are displayed in real time to obtain a visual view of the full-dimensional status of the construction site.
[0012] To solve the above problems, the present invention also provides a construction site emergency management device based on a microservices architecture, and the device includes: A database construction module, which is used to design a microservices architecture and a containerized deployment plan based on preset construction site emergency management requirements to obtain a modular system framework and a resource scheduling strategy; Obtain historical event data, and use the historical event data to train a preset AI model in combination with the resource scheduling strategy to construct a dynamic digital pre-plan library; A management instruction generation module, which is used to apply the dynamic digital pre-plan library to the module corresponding to the dynamic digital pre-plan library based on the modular system framework to construct a structured event matching rule; When there is an emergency event, determine the required emergency equipment and computing resources according to the structured event matching rule, and use a preset Kubernetes cluster to orchestrate Docker containerized services to generate an elastic resource management instruction; A visual view generation module, which is used to obtain data cockpit resources, integrate them based on the data cockpit resources using the modular system framework, and according to the elastic resource management instruction, display the real-time status of resource allocation and emergency handling to generate a visual view of the full-dimensional status of the construction site; An emergency management module, which is used to obtain double-blind drill data and emergency response records, find problems existing in the AI model and pre-plan logic according to the visual view of the full-dimensional status of the construction site, double-blind drill data, and emergency response records, and perform emergency management.
[0013] To solve the above problems, the present invention also provides an electronic device, and the electronic device includes: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, the memory stores a computer program executable by the at least one processor, and when the computer program is executed by the at least one processor, the at least one processor is enabled to execute the above-described construction site emergency management method based on a microservices architecture.
[0014] To solve the above problems, the present invention also provides a computer-readable storage medium, including a storage data area and a storage program area. The storage data area stores created data, and the storage program area stores a computer program; characterized in that when the computer program is executed by a processor, the above-described construction site emergency management method based on a microservices architecture is implemented.
[0015] In an embodiment of the present invention, historical event data is obtained to construct a dynamic digital pre-plan library; based on the modular system framework, the dynamic digital pre-plan library is applied to corresponding modules to construct structured event matching rules; when an emergency event occurs, the required emergency equipment and computing resources are determined according to the structured event matching rules to generate a flexible resource management instruction; data cockpit resources are obtained, and based on the data cockpit resources, they are integrated using the modular system framework to generate a visual view of the full dimensions of the construction site; double-blind drill data and emergency response records are obtained to find problems in the AI model and pre-plan logic and perform emergency management. Therefore, the construction site emergency management method, device, electronic device, and computer-readable storage medium based on a microservices architecture proposed by the present invention form a modular system framework through the design of a microservices architecture and containerized deployment, combine AI model training to construct a dynamic pre-plan library and structured matching rules, use Kubernetes to achieve flexible resource scheduling, integrate the data cockpit to achieve full-dimensional visualization, and perform closed-loop optimization based on double-blind drills and emergency records, ultimately forming an efficient, intelligent, flexible, scalable, and continuously iterative construction site emergency management system, improving the risk response speed and disposal accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a schematic flowchart of a construction site emergency management method based on a microservices architecture provided by an embodiment of the present invention; Figure 2 It is a schematic block diagram of a construction site emergency management device based on a microservices architecture provided by an embodiment of the present invention; Figure 3 It is a schematic internal structure diagram of an electronic device for implementing a construction site emergency management method based on a microservices architecture provided by an embodiment of the present invention.
[0017] The realization, functional characteristics, and advantages of the objectives of the present invention will be further described with reference to the embodiments and the accompanying drawings. Detailed implementation manners
[0018] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0019] An embodiment of the present application provides a construction site emergency management method based on a microservices architecture. The execution subject of the construction site emergency management method based on the microservices architecture includes, but is not limited to, at least one of electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided in the embodiment of the present application. Among them, the server can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms. In other words, the construction site emergency management method based on the microservices architecture can be executed by software or hardware installed on a remote device or a server device, and the software can be a blockchain platform. The server includes, but is not limited to: a single server, a server cluster, a cloud server, or a cloud server cluster, etc.
[0020] Refer to Figure 1 As shown, it is a flowchart of a construction site emergency management method based on a microservices architecture provided by an embodiment of the present invention. In this embodiment, the construction site emergency management method based on the microservices architecture includes the following steps S1 - S6: S1. Based on the preset construction site emergency management requirements, design a microservices architecture and a containerized deployment plan to obtain a modular system framework and a resource scheduling strategy.
[0021] It can be understood that designing a microservices architecture and a containerized deployment plan based on the preset construction site emergency management requirements can achieve function decoupling through modular splitting, improve development efficiency and system maintainability, and support on - demand expansion; realize environment isolation and elastic resource scheduling by means of containerization technology to ensure the stable operation of the system under high concurrency and dynamically match the resource requirements of emergency scenarios; optimize the allocation of computing and device resources in combination with the resource scheduling strategy, shorten the emergency response time, enhance the real - time performance of data processing, and finally form an intelligent management system that is flexible and scalable, efficient and stable, and can quickly respond to complex emergency scenarios, significantly improving the scientific nature and collaborative efficiency of construction site emergency management.
[0022] In the embodiments of the present invention, the construction site emergency management requirements refer to a series of requirements generated in the construction site scenario to effectively respond to various sudden emergencies, ensure the safety of personnel lives, reduce property losses, and ensure the smooth progress of the project. Specifically, they include risk monitoring and early warning requirements, personnel safety management requirements, emergency material and equipment management requirements, emergency response and command requirements, data management and analysis requirements, etc.
[0023] Among them, the microservices architecture is a software architecture style that splits a single application into multiple small, autonomous services. Each service is built around a specific business function, has independent development, deployment, and operation capabilities, and can cooperate with each other through lightweight communication mechanisms (such as HTTP / REST, message queues, etc.).
[0024] In the embodiments of the present invention, the containerized deployment solution is a technical solution that packages an application and its dependencies into an independent container unit and deploys and runs it in different environments. In the construction site emergency management system, container technologies such as Docker are usually used to achieve containerized deployment, and container orchestration tools such as Kubernetes are combined for cluster management.
[0025] Furthermore, based on the preset construction site emergency management requirements, designing a microservices architecture and a containerized deployment solution to obtain a modular system framework and a resource scheduling strategy, including: Splitting the construction site emergency management requirements to obtain independent functional modules in the construction site emergency management requirements, and clarifying the interaction relationships between each functional module to obtain a functional module list and a module interaction relationship diagram; Selecting the corresponding microservices design pattern according to the functional module list and the module interaction relationship diagram, and defining the service boundary of each functional module to obtain a service boundary definition document; Designing RESTful APIs based on the service boundaries of the functional modules to obtain API design data; Selecting Docker as the containerization tool according to the API design data and the service boundary definition document, and using a preset Kubernetes cluster for container orchestration to obtain a modular system framework and a resource scheduling strategy.
[0026] In the embodiments of the present invention, the functional module list refers to splitting the construction site emergency management system into independent and reusable modules according to business functions, forming a list including module names, function descriptions, input and output, and responsibility boundaries. Each module corresponds to a core task of emergency management (such as data collection, plan management, resource scheduling, etc.), and is the basis for microservices architecture design.
[0027] Among them, the module interaction diagram refers to a graphical way (such as UML component diagram, flowchart) to describe the communication method, data flow direction and dependency relationship between modules, and clarify how modules cooperate through interfaces or message mechanisms.
[0028] S2. Obtain historical event data, and use the historical event data to train a preset AI model in combination with the resource scheduling strategy to construct a dynamic digital pre-plan library.
[0029] In the embodiment of the present invention, the historical event data refers to the recorded data of various safety accidents, abnormal events and emergency disposal processes that occurred during the construction period of a construction site, covering structured and unstructured information such as the time, location, type (such as fire, collapse, high-altitude fall) of the event, trigger cause, scope of influence, disposal process, resource scheduling record, personnel casualties and property damage.
[0030] Among them, the sources of historical event data include accident investigation reports, sensor monitoring logs (such as abnormal records of tower crane tilt angles), video surveillance videos, manual reporting forms, emergency drill records, etc.
[0031] Further, by extracting the "event type - response measure - disposal effect" association relationship in historical events (such as "foundation pit collapse → start rescue equipment A → complete personnel transfer in 30 minutes"), training data is provided for the AI model to support the construction of the dynamic digital pre-plan library.
[0032] In the embodiment of the present invention, the AI model refers to an algorithm model constructed based on technologies such as machine learning and deep learning, which is used to analyze, predict and make decisions on historical event data and real-time sensor data to realize the intelligentization of construction site emergency management. In this solution, the AI model focuses on event feature extraction, trend prediction and pre-plan generation.
[0033] Further, by training the AI model, the "experience knowledge" in historical events is transformed into quantifiable algorithmic logic (such as "when the sensor data meets conditions A + B + C, trigger step Y of pre-plan X"), which supports the intelligent generation and update of the dynamic digital pre-plan library.
[0034] In the embodiment of the present invention, the dynamic digital pre-plan library refers to a set of structured and automatically executable digital pre-plans obtained by converting traditional text-based emergency pre-plans based on the training results of the AI model, which has the capabilities of real-time update, intelligent matching and dynamic adjustment, and can quickly generate targeted disposal plans according to real-time event characteristics.
[0035] In the embodiment of the present invention, the step of using the historical event data to train a preset AI model in combination with the resource scheduling strategy to construct a dynamic digital pre-plan library includes: Extract event-related data from the historical event data to obtain a historical event dataset, and collect sensor data in real time through preset Internet of Things devices to obtain real-time sensor data. Integrate the real-time sensor data to obtain a real-time sensor data stream; Clean and normalize the historical event dataset and the real-time sensor data stream, and extract the key features of the historical event dataset and the real-time sensor data stream to obtain a cleaned dataset and a feature vector. Among them, the key features include event type, event sequence, and spatial location; Construct historical data based on the cleaned dataset and the feature vector, train an AI model using the historical data, optimize the model parameters, and perform incremental training using real-time sensor data to obtain a trained model; Decompose the preset general emergency response plan into a process through the trained model, extract key nodes, predict the event development trend and impact range, and construct a plan library to obtain a dynamic digital plan library.
[0036] In the embodiment of the present invention, the historical event dataset refers to a structured data set formed by standardizing the recorded data of past safety accidents, abnormal events, and emergency response processes that occurred on a construction site. It is a digital abstraction of historical events, used to precipitate emergency management experience, support AI model training, and optimize plans.
[0037] Among them, by using real-time data for incremental training, the adaptability of the model can be improved.
[0038] Furthermore, the real-time sensor data stream refers to the data of the construction site environment, equipment, and personnel status collected in real time through Internet of Things devices (such as sensors, cameras, RFID tags, etc.), which are transmitted to the system in a continuous and high-frequency manner to form a dynamic data sequence for instant risk monitoring and emergency response triggering.
[0039] S3. Based on the modular system framework, apply the dynamic digital plan library to the module corresponding to the dynamic digital plan library to construct a structured event matching rule.
[0040] Among them, the modular system framework refers to splitting a complex construction site emergency management system into multiple independent, reusable, and loosely coupled modules according to business functions, technical logics, or data processing processes. Each module realizes interactive cooperation through standardized interfaces to form a systematic architecture that can be flexibly combined, extended, and replaced. Its core is to decompose the overall system into module units with cohesive functions and clear boundaries through the design concept of "divide and conquer". Each module focuses on solving problems in specific fields (such as data collection, plan matching, resource scheduling, etc.), and finally realizes the complete emergency management function through module combination.
[0041] In the embodiments of the present invention, the structured event matching rule refers to converting the "event characteristics" and "disposal plans" in the construction site emergency management into a set of standardized and automatically executable logical conditions. Through a clear input and output format and a triggering mechanism, it realizes the rapid and accurate matching of real-time events and emergency response plans. Its core is to refine the historical event rules and real-time monitoring data characteristics through an AI model, construct a "condition-action" mapping relationship, enable the system to automatically identify the event type, level, and impact scope when an event occurs, and call the corresponding disposal process, which is the key technical bridge connecting "intelligent monitoring" and "emergency response".
[0042] Further, based on the modular system framework, applying the dynamic digital plan library to the corresponding module of the dynamic digital plan library to construct a structured event matching rule, including: Extracting event characteristics and plan processes from the dynamic digital plan library based on the modular system framework, and extracting real-time monitoring data and response strategies from a preset intelligent response engine, cleaning and structuring the preset historical event data to obtain structured event characteristic data and plan process data; According to the structured event characteristic data and plan process data, using a preset AI model to perform pattern recognition on the event characteristics, extracting key characteristics, and constructing an event characteristic vector; Generating an event matching rule based on the event characteristic vector and plan process data, and defining a triggering condition and a response strategy to obtain a structured event matching rule.
[0043] S4. When there is an emergency event, determine the required emergency equipment and computing resources according to the structured event matching rule, and use a preset Kubernetes cluster to orchestrate Docker containerized services to generate an elastic resource management instruction.
[0044] In the embodiments of the present invention, the elastic resource management instruction refers to, in the construction site emergency management system, based on the dynamic scheduling ability of the Kubernetes cluster for Docker containerized microservices, combined with the real-time event matching rule and the system load condition, an automatically generated resource allocation and adjustment instruction. Its core is to realize the dynamic allocation of computing resources (CPU / memory), storage resources, network bandwidth, and emergency equipment resources through an intelligent resource scheduling strategy, ensure the efficient operation of key services and the optimal utilization of resources in an emergency scenario, and avoid resource waste in a non-emergency scenario.
[0045] In the embodiments of the present invention, the step of, when there is an emergency event, determining the required emergency equipment and computing resources according to the structured event matching rule, and using a preset Kubernetes cluster to orchestrate Docker containerized services to generate an elastic resource management instruction, includes: Determine the required emergency equipment and computing resources according to the structured event matching rules, install and configure the Kubernetes cluster, and ensure that Docker is installed on each node to obtain a configured Kubernetes cluster; Obtain the Docker image and deploy the Docker container by using the configured Kubernetes cluster to obtain a deployed Docker container; Set resource requests and resource limits in the preset Pod configuration to obtain the configured Pod resource requirements; Adjust the deployed Docker container according to the configured Pod resource requirements, and automatically expand or shrink the instruction content for managing the deployed Docker container to obtain an elastic resource management instruction.
[0046] Further, after determining the required emergency equipment and computing resources according to the structured event matching rules, using the preset Kubernetes cluster to orchestrate the Docker containerized service, and generating the elastic resource management instruction, it further includes: Obtain a service access request, and determine whether the user identity of the preset user passes according to the service access request; If it passes, respond to the service access request; If it does not pass, perform an authentication redirection, perform unified authentication, and determine whether the unified authentication passes; If it passes, obtain an authentication token; If it does not pass, reject the access and end the step.
[0047] Among them, the authentication token is a security credential used to verify the identity of a user or service. In essence, it is a string of encrypted characters. In the construction site emergency management system, it represents the identity information of the user or service and is used to prove that it has the right to access specific resources (such as emergency command functions, sensitive data, equipment control interfaces, etc.). The token avoids repeated password input through the mechanism of "one authentication, multiple trusts", and at the same time ensures that only authorized entities can perform operations. It is the core technical component for implementing single sign-on (SSO) and cross-service secure communication.
[0048] S5. Obtain the data cockpit resources, integrate them based on the data cockpit resources by using the modular system framework, and display the real-time status of resource allocation and emergency handling according to the elastic resource management instruction to generate a visual view of the full-dimensional status of the construction site.
[0049] In the embodiment of the present invention, the data cockpit resource refers to the full set of elements that support the operation of the data cockpit of the construction site emergency management system, including data assets, visualization tools, computing capabilities, interactive components, hardware facilities, etc. It is the core carrier for realizing the visualization of the full-dimensional status of the construction site, and provides an intuitive and efficient information display platform for emergency command and risk decision-making by integrating multi-source data and providing real-time analysis and interaction capabilities.
[0050] Furthermore, the data cockpit resources are integrated using the modular system framework, and according to the elastic resource management instructions, the real-time status of resource allocation and emergency handling is displayed to generate a full-dimensional status visualization view of the construction site, including: The IoT device data is obtained by using sensors at the preset construction site to collect the equipment operation status and environmental parameters, wherein the environmental parameters include dust, noise, and water level; Based on the preset safety events and progress deviations reported by mobile terminals or broadcasts, manually input safety events and construction progress are obtained to obtain manually reported information; Integrate the data cockpit resources, IoT device data and manually reported information into the pre-built data cockpit platform, and perform data association and visualization through BIM+GIS technology to obtain integrated site status data; The key elements of the integrated construction site status data are displayed in real time on a preset screen to obtain a visual view of the full-dimensional status of the construction site.
[0051] Among them, the key elements include "people, machines, materials, methods, and environment".
[0052] S6. Obtain double-blind drill data and emergency response records, find problems in the AI model and plan logic based on the full-dimensional status visualization view of the construction site, double-blind drill data and emergency response records, and perform emergency management.
[0053] In the embodiment of the present invention, the double-blind drill data refers to the full-process recorded data generated by the emergency drill simulating sudden safety accidents (such as fire, collapse, electric shock, etc.) on the construction site without informing the drill time, location and specific scene in advance. Its core is to restore the emergency response process that is closest to actual combat through "blind drill" (the participants are unaware of the drill details and the command center is unaware of the actual situation on the scene), which is used to expose system vulnerabilities, test the effectiveness of the plan and the coordination ability of personnel.
[0054] Furthermore, through cross-analysis of multi-source data, the "design defects of simulated scenarios" and "handling loopholes of real accidents" are transformed into quantifiable improvement instructions, realizing the upgrade of emergency management from "experience-driven" to "data-driven".
[0055] In the embodiments of the present invention, historical event data is obtained to construct a dynamic digital pre - plan library; based on the modular system framework, the dynamic digital pre - plan library is applied to the corresponding modules to construct structured event matching rules; when there is an emergency event, the required emergency equipment and computing resources are determined according to the structured event matching rules to generate elastic resource management instructions; data cockpit resources are obtained, and based on the data cockpit resources, they are integrated using the modular system framework to generate a visual view of the full - dimension status of the construction site; double - blind drill data and emergency response records are obtained to find problems existing in the AI model and pre - plan logic, and emergency management is carried out. Therefore, the proposed construction site emergency management method, device, electronic device, and computer - readable storage medium based on the microservices architecture form a modular system framework by designing the microservices architecture and containerized deployment, combine AI model training to construct a dynamic pre - plan library and structured matching rules, use Kubernetes to achieve elastic resource scheduling, integrate the data cockpit to achieve full - dimension visualization, and optimize based on the closed - loop of double - blind drills and emergency records, finally forming an efficient, intelligent, flexibly extensible, and continuously iterative construction site emergency management system, improving the risk response speed and disposal accuracy.
[0056] As Figure 2 shown, it is a schematic diagram of the modules of the construction site emergency management device based on the microservices architecture of the present invention.
[0057] The construction site emergency management device 100 based on the microservices architecture of the present invention can be installed in an electronic device. According to the functions achieved, the construction site emergency management device based on the microservices architecture may include a database construction module 101, a management instruction generation module 102, a visual view generation module 103, and an emergency management module 104. The modules of the present invention can also be referred to as units, which refer to a series of computer program segments that can be executed by the processor of the electronic device and can complete fixed functions, and are stored in the memory of the electronic device.
[0058] In this embodiment, the functions of each module / unit are as follows: The database construction module 101 is used to design a microservices architecture and a containerized deployment plan based on the preset construction site emergency management requirements to obtain a modular system framework and a resource scheduling strategy; Obtain historical event data, and combine the resource scheduling strategy to use the historical event data to train a preset AI model to construct a dynamic digital pre - plan library; The management instruction generation module 102 is used to apply the dynamic digital pre - plan library to the corresponding modules of the dynamic digital pre - plan library based on the modular system framework to construct structured event matching rules; When there is an emergency event, determine the required emergency equipment and computing resources according to the structured event matching rules, and use the preset Kubernetes cluster to orchestrate Docker containerized services to generate elastic resource management instructions; The visual view generation module 103 is configured to obtain data cockpit resources, integrate them based on the data cockpit resources using the modular system framework, and display the real-time status of resource allocation and emergency handling according to the elastic resource management instructions, and generate a visual view of the full-dimensional status of the construction site; The emergency management module 104 is configured to obtain double-blind drill data and emergency response records, find problems existing in the AI model and the pre-plan logic according to the visual view of the full-dimensional status of the construction site, the double-blind drill data and the emergency response records, and perform emergency management.
[0059] Specifically, when the modules in the construction site emergency management device 100 based on the microservices architecture in the embodiments of the present invention are used, they adopt the same technical means as those in the above Figure 1 The technical means of the construction site emergency management method based on the microservices architecture, and can produce the same technical effects, which will not be elaborated here.
[0060] As Figure 3 shown, is a schematic structural diagram of an electronic device for implementing the construction site emergency management method based on the microservices architecture of the present invention.
[0061] The electronic device may include a processor 10, a memory 11, a communication bus 12, and a communication interface 13, and may further include a computer program stored in the memory 11 and executable on the processor 10, such as a construction site emergency management program based on the microservices architecture.
[0062] Among them, the processor 10 may be composed of integrated circuits in some embodiments. For example, it may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits with the same or different functions, including a combination of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor 10 is the control core (Control Unit) of the electronic device, connects various components of the entire electronic device through various interfaces and lines, and executes various functions of the electronic device and processes data by running or executing programs or modules stored in the memory 11 (such as executing a construction site emergency management program based on the microservices architecture, etc.), and calling data stored in the memory 11.
[0063] The memory 11 at least includes one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (such as SD or DX memory, etc.), magnetic memory, magnetic disk, optical disc, etc. The memory 11 can be an internal storage unit of the electronic device in some embodiments, such as the mobile hard disk of the electronic device. The memory 11 can also be an external storage device of the electronic device in some other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. equipped on the electronic device. Further, the memory 11 can also include both an internal storage unit and an external storage device of the electronic device. The memory 11 can be used not only to store application software installed on the electronic device and various types of data, such as the code of the construction site emergency management program based on the microservices architecture, etc., but also to temporarily store data that has been output or will be output.
[0064] The communication bus 12 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into an address bus, a data bus, a control bus, etc. The bus is configured to enable connection communication between the memory 11 and at least one processor 10, etc.
[0065] The communication interface 13 is used for communication between the above-mentioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface can include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), and is generally used to establish a communication connection between this electronic device and other electronic devices. The user interface can be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface can also be a standard wired interface or a wireless interface. Optionally, in some embodiments, the display can be an LED display, a liquid crystal display, a touch liquid crystal display, and an OLED (Organic Light-Emitting Diode) toucher, etc. Among them, the display can also be appropriately referred to as a display screen or a display unit, and is used to display information processed in the electronic device and to display a visual user interface.
[0066] Figure 3 Only the electronic device with components is shown, and those skilled in the art can understand that Figure 3The structures shown do not constitute a limitation on the electronic device, and may include fewer or more components than those shown, or combine certain components, or have different component arrangements.
[0067] For example, although not shown, the electronic device may further include a power source (such as a battery) for powering each component. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so as to implement functions such as charging management, discharging management, and power consumption management through the power management device. The power source may also include any components such as one or more DC or AC power sources, a recharge device, a power failure detection circuit, a power converter or inverter, and a power status indicator. The electronic device may also include a variety of sensors, a Bluetooth module, a Wi-Fi module, etc., which will not be elaborated here.
[0068] It should be understood that the embodiments are for illustrative purposes only and are not limited by this structure in the scope of the patent application.
[0069] The construction site emergency management program based on the microservices architecture stored in the memory 11 in the electronic device is a combination of multiple computer programs. When running in the processor 10, it can implement: Design a microservices architecture and a containerized deployment plan based on preset construction site emergency management requirements to obtain a modular system framework and a resource scheduling strategy; Obtain historical event data, and combine the resource scheduling strategy to use the historical event data to train a preset AI model to build a dynamic digital pre-plan library; Based on the modular system framework, apply the dynamic digital pre-plan library to the module corresponding to the dynamic digital pre-plan library to build a structured event matching rule; When there is an emergency event, determine the required emergency equipment and computing resources according to the structured event matching rule, and use a preset Kubernetes cluster to orchestrate Docker containerized services to generate an elastic resource management instruction; Obtain data cockpit resources, integrate them based on the data cockpit resources using the modular system framework, and according to the elastic resource management instruction, display the real-time status of resource allocation and emergency handling to generate a visual view of the full-dimensional status of the construction site; Obtain double-blind drill data and emergency response records, find problems in the AI model and pre-plan logic according to the visual view of the full-dimensional status of the construction site, double-blind drill data and emergency response records, and conduct emergency management.
[0070] Specifically, the specific implementation method of the above computer program by the processor 10 can refer to Figure 1 the description of the relevant steps in the corresponding embodiments, which will not be elaborated here.
[0071] Furthermore, if the modules / units integrated in the electronic device are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM, Read-Only Memory).
[0072] The present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor of an electronic device, it can implement: Design a microservices architecture and a containerized deployment plan based on preset construction site emergency management requirements to obtain a modular system framework and a resource scheduling strategy; Obtain historical event data, and combine the resource scheduling strategy to use the historical event data to train a preset AI model to construct a dynamic digital pre-plan library; Based on the modular system framework, apply the dynamic digital pre-plan library to the corresponding modules of the dynamic digital pre-plan library to construct a structured event matching rule; When there is an emergency event, determine the required emergency equipment and computing resources according to the structured event matching rule, and use a preset Kubernetes cluster to orchestrate Docker containerized services to generate an elastic resource management instruction; Obtain data cockpit resources, integrate them based on the modular system framework, and according to the elastic resource management instruction, display the real-time status of resource allocation and emergency handling to generate a visual view of the full-dimensional status of the construction site; Obtain double-blind drill data and emergency response records, find the problems existing in the AI model and the pre-plan logic according to the visual view of the full-dimensional status of the construction site, double-blind drill data and emergency response records, and conduct emergency management.
[0073] In several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division, and there can be other division methods in actual implementation.
[0074] The module described as a separation component may or may not be physically separated. The component shown as a module may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0075] In addition, in each embodiment of the present invention, each functional module may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit. The above integrated unit can be implemented in the form of hardware or in the form of a combination of hardware and software functional modules.
[0076] For those skilled in the art, it is obvious that the present invention is not limited to the details of the above-mentioned exemplary embodiments, and without departing from the spirit or basic characteristics of the present invention, the present invention can be implemented in other specific forms.
[0077] Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of the present invention is defined by the appended claims rather than the above description. Therefore, all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be included in the present invention. Any reference signs in the claims should not be regarded as limiting the claimed invention.
[0078] The blockchain referred to in the present invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks generated by using cryptographic methods. Each data block contains information about a batch of network transactions, which is used to verify the validity of the information (anti-counterfeiting) and generate the next block. The blockchain can include a blockchain underlying platform, a platform product service layer, an application service layer, etc.
[0079] The embodiments of this application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is to use a digital computer or a machine controlled by a digital computer to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use knowledge to obtain the best results in theory, methods, technologies, and application systems.
[0080] In addition, obviously, the word "including" does not exclude other units or steps, and the singular does not exclude the plural. The multiple units or devices stated in the system claims can also be implemented by one unit or device through software or hardware. Words such as "second" are used to denote names and do not denote any particular order.
[0081] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present invention.
Claims
1. A construction site emergency management method based on a microservices architecture, characterized in that, The method includes: Based on the preset construction site emergency management requirements, design a microservice architecture and a containerized deployment plan to obtain a modular system framework and a resource scheduling strategy; Obtain historical event data, and combine the resource scheduling strategy to use the historical event data to train a preset AI model to construct a dynamic digital pre-plan library; Based on the modular system framework, apply the dynamic digital pre-plan library to the corresponding module of the dynamic digital pre-plan library to construct a structured event matching rule; When there is an emergency event, determine the required emergency equipment and computing resources according to the structured event matching rule, and use the preset Kubernetes cluster to orchestrate Docker containerized services to generate an elastic resource management instruction; Obtain data cockpit resources, integrate them based on the data cockpit resources using the modular system framework, and according to the elastic resource management instruction, display the real-time status of resource allocation and emergency handling to generate a visual view of the full-dimensional status of the construction site; Obtain double-blind drill data and emergency response records, find problems in the AI model and pre-plan logic according to the visual view of the full-dimensional status of the construction site, double-blind drill data and emergency response records, and conduct emergency management.
2. The construction site emergency management method based on the microservice architecture according to claim 1, wherein The designing of the microservice architecture and the containerized deployment plan based on the preset construction site emergency management requirements to obtain a modular system framework and a resource scheduling strategy includes: Split the construction site emergency management requirements, obtain independent functional modules in the construction site emergency management requirements, and clarify the interaction relationships between the functional modules to obtain a functional module list and a module interaction relationship diagram; Select the corresponding microservice design pattern according to the functional module list and the module interaction relationship diagram, and define the service boundary of each functional module to obtain a service boundary definition document; Design RESTful APIs based on the service boundaries of the functional modules to obtain API design data; Select Docker as the containerization tool according to the API design data and the service boundary definition document, and use the preset Kubernetes cluster for container orchestration to obtain a modular system framework and a resource scheduling strategy.
3. The construction site emergency management method based on the microservice architecture according to claim 1, characterized in that, The combining of the resource scheduling strategy to use the historical event data to train a preset AI model to construct a dynamic digital pre-plan library includes: Extract event-related data from the historical event data to obtain a historical event data set, and collect sensor data in real time through preset Internet of Things devices to obtain real-time sensor data, and integrate the real-time sensor data to obtain a real-time sensor data stream; Clean and normalize the historical event data set and the real-time sensor data stream, and extract the key features of the historical event data set and the real-time sensor data stream to obtain a cleaned data set and feature vectors, where the key features include event type, event sequence, and spatial location; Construct historical data based on the cleaned data set and feature vectors, use the historical data to train the AI model, optimize the model parameters, and perform incremental training through real-time sensor data to obtain a trained model; Through training, the completed model decomposes the preset general emergency plan into a process, extracts key nodes, predicts the development trend and impact scope of the event, constructs a plan library, and obtains a dynamic digital plan library.
4. The construction site emergency management method based on the microservice architecture according to claim 1, characterized in that, Based on the modular system framework, apply the dynamic digital plan library to the module corresponding to the dynamic digital plan library, and construct a structured event matching rule, including: Based on the modular system framework, extract event features and plan processes from the dynamic digital plan library, and extract real-time monitoring data and response strategies from the preset intelligent response engine. Clean and structure the preset historical event data to obtain structured event feature data and plan process data; According to the structured event feature data and plan process data, use the preset AI model to perform pattern recognition on the event features, extract key features, and construct an event feature vector; Generate an event matching rule based on the event feature vector and plan process data, and define trigger conditions and response strategies to obtain a structured event matching rule.
5. The construction site emergency management method based on the microservice architecture according to claim 1, wherein, When there is an emergency event, determine the required emergency equipment and computing resources according to the structured event matching rule, and use the preset Kubernetes cluster to orchestrate Docker containerized services to generate an elastic resource management instruction, including: Determine the required emergency equipment and computing resources according to the structured event matching rule, install and configure the Kubernetes cluster, and ensure that Docker is installed on each node to obtain a configured Kubernetes cluster; Obtain the Docker image and use the configured Kubernetes cluster to deploy Docker containers to obtain deployed Docker containers; Set resource requests and resource limits in the preset Pod configuration to obtain the configured Pod resource requirements; Adjust the deployed Docker containers according to the configured Pod resource requirements, and automatically expand or reduce the instruction content for managing the deployed Docker containers to obtain an elastic resource management instruction.
6. The construction site emergency management method based on the microservice architecture according to claim 1, characterized in that, After generating the elastic resource management instruction by determining the required emergency equipment and computing resources according to the structured event matching rule and using the preset Kubernetes cluster to orchestrate Docker containerized services, it further includes: Obtain a business access request and determine whether the user identity of the preset user passes according to the business access request; If it passes, respond to the business access request; If it does not pass, perform an authentication redirection, perform unified authentication, and determine whether the unified authentication passes; If it passes, obtain an authentication token; If it does not pass, reject the access and end the step.
7. The construction site emergency management method based on the microservice architecture according to any one of claims 1 to 6, characterized in that, Based on the data cockpit resources, use the modular system framework for integration, and according to the elastic resource management instruction, display the real-time status of resource allocation and emergency handling, and generate a full-dimensional visualization view of the construction site status, including: Collect the operating status of the equipment and environmental parameters of the preset construction site using sensors to obtain Internet of Things device data, where the environmental parameters include dust, noise, and water level; Based on the safety events and progress deviations reported by the preset mobile terminal or broadcast, obtain the safety events and construction progress input manually to obtain the manually reported information; Integrate the data cockpit resources, Internet of Things device data, and manually reported information into a pre-built data cockpit platform, and perform data association and visualization processing through BIM+GIS technology to obtain the integrated construction site status data; Real-time display the key elements in the integrated construction site status data on a preset screen to obtain a visual view of the full-dimensional status of the construction site.
8. A construction site emergency management device based on a microservices architecture, characterized in that, The device includes: A database construction module, which is used to design a microservice architecture and a containerized deployment plan based on the preset construction site emergency management requirements to obtain a modular system framework and a resource scheduling strategy; Obtain historical event data, and use the historical event data to train a preset AI model in combination with the resource scheduling strategy to build a dynamic digital pre-plan library; A management instruction generation module, which is used to apply the dynamic digital pre-plan library to the module corresponding to the dynamic digital pre-plan library based on the modular system framework to build a structured event matching rule; When there is an emergency event, determine the required emergency equipment and computing resources according to the structured event matching rule, and use a preset Kubernetes cluster to orchestrate Docker containerized services to generate elastic resource management instructions; A visual view generation module, which is used to obtain data cockpit resources, integrate them based on the data cockpit resources using the modular system framework, and display the real-time status of resource allocation and emergency handling according to the elastic resource management instructions to generate a visual view of the full-dimensional status of the construction site; An emergency management module, which is used to obtain double-blind drill data and emergency response records, find the problems existing in the AI model and the pre-plan logic according to the visual view of the full-dimensional status of the construction site, double-blind drill data, and emergency response records, and perform emergency management.
9. An electronic device, characterized in that, The electronic device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the microservice architecture-based construction site emergency management method according to any one of claims 1 to 7.
10. A computer-readable storage medium, including a data storage area and a program storage area, where the data storage area stores created data, and the program storage area stores a computer program; characterized in that, When the computer program is executed by the processor, it implements the microservice architecture-based construction site emergency management method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Emergency communication intelligent emergency decision support system
CN110210697A
Digital parameter design method and system for safety emergency plan, storage medium and computer equipment
CN111310330A
Emergency command and dispatch system for emergencies
CN115392628A
Fault self-recovery system, method and device, electronic equipment and storage medium
CN119180612A
Micro-service-based intelligent space concurrent service process execution method and system
WO2023109650A1