Coal Mine Intelligent Cloud Box System
Through the cloud box microservice architecture of the coal mine intelligent cloud box system, the real-time and remote operation and maintenance problems of coal mine business data are solved, real-time interconnection and collaborative control of the coal mine business system are realized, and the level of intelligence is improved.
Patent Information
- Application Number
- CN202210178844.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-25
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-02-25
AI Technical Summary
The real-time requirements for coal mine business data are constantly increasing, and due to the isolation of internal and external networks, intranet system data cannot be safely accessed through the Internet. Remote operation and maintenance is difficult. The existing single architecture or vertical architecture is difficult to maintain and expand. The service-oriented architecture services are loosely coupled. influence each other.
Design an intelligent cloud box system for coal mines, using cloud box microservice architecture, including edge and cloud parts. The edge carries multiple microservices, and the cloud is used for monitoring, management and operation and maintenance. Remote control is achieved through long connections between the cloud and the edge. Access and operation and maintenance, providing on-demand deployment and flexible distribution.
It realizes real-time interconnection and collaborative control of coal mine business systems, provides remote access and operation and maintenance support, improves the intelligence of coal mine business, and reduces the difficulty of maintenance and expansion.
Smart Images

Figure CN114584544B
Abstract
Description
Technical Field
[0001] The present application relates to the field of edge computing technology, and in particular to a coal mine intelligent cloud box system. Background Art
[0002] At present, in response to the massive growth of coal mine business data, the continuous improvement of data real-time requirements of business systems such as monitoring networking and multi-system integration, the increasing demand for customization, and the inability to securely access intranet system data through the Internet and the difficulty of remote operation and maintenance due to the isolation of internal and external networks of coal mines. Among the related technologies, coal mine software systems mostly adopt monolithic architecture or vertical architecture design and service-oriented architecture design, but the maintenance and expansion of monolithic architecture or vertical architecture design is relatively difficult, and the services between service-oriented architecture designs will be loosely coupled and will affect each other. Therefore, a more intelligent coal mine business system is urgently needed. Summary of the invention
[0003] The present application proposes a coal mine intelligent cloud box system, method, electronic device and storage medium.
[0004] The first aspect embodiment of the present application proposes a coal mine intelligent cloud box system, which includes a cloud box on the cloud end and an edge cloud box, wherein: the edge cloud box is used to carry an execution program designed according to the cloud box microservice architecture, wherein the execution program designed according to the cloud box microservice architecture is a plurality of microservices composed of coal mine business; the cloud end is used to monitor, manage and operate the edge cloud box.
[0005] In one embodiment of the present application, the edge cloud box includes an edge hardware layer, an edge base layer, an edge container layer and an edge environment layer, wherein: the edge hardware layer is used to carry the cloud box microservice architecture; the edge base layer is used to manage the cloud box microservice architecture; the edge container layer is used to deploy the multiple microservices in different containers; the edge environment layer is used to provide an operating environment for the cloud box microservice architecture.
[0006] In one embodiment of the present application, the cloud includes a resource monitoring module, an operation and maintenance deployment module, a microservice image management module and a visual web page Web platform module, wherein: the resource monitoring module is used to monitor the edge cloud box; the operation and maintenance deployment module is used to deploy and debug the edge cloud box; the microservice image management module is used to manage microservice images developed by a third party and the microservice images corresponding to the multiple microservices in the image repository; the visual Web platform module is used to visualize the various monitoring indicators of the edge cloud box and the operating status of the cloud service.
[0007] In one embodiment of the present application, the coal mine intelligent cloud box system also includes a client, wherein: the client is connected to the edge cloud box and is used to configure the initialization configuration of the edge cloud box; the operation and maintenance deployment module is also used to authenticate the initialization configuration, and if the authentication is passed, establish a long connection with the edge cloud box, and send the initialization configuration to the edge cloud box through the long connection.
[0008] In one embodiment of the present application, the operation and maintenance deployment module is also used to obtain the remote maintenance instructions sent by the client, and forward the remote maintenance instructions to the edge cloud box through the cloud port; the edge cloud box is also used to receive the remote maintenance instructions and establish a reverse tunnel to remotely maintain the edge cloud box based on the remote maintenance instructions.
[0009] In one embodiment of the present application, after the edge cloud box is remotely maintained based on the remote maintenance instruction, the operation and maintenance deployment module is also used to obtain the remote maintenance end instruction sent by the client, and forward the remote maintenance end instruction to the edge cloud box through the cloud port; the edge cloud box is also used to receive the remote maintenance end instruction to close the reverse tunnel.
[0010] The present application proposes a coal mine intelligent cloud box system, wherein the coal mine intelligent cloud box system includes a cloud box on the cloud end and an edge cloud box, wherein the edge cloud box is used to carry an execution program designed according to the cloud box microservice architecture, wherein the execution program designed according to the cloud box microservice architecture is composed of multiple microservices of coal mine business, and the cloud end is used to monitor, manage and operate the edge cloud box. Therefore, based on the execution program designed according to the cloud box microservice architecture composed of multiple microservices in the edge cloud box, on-demand deployment and flexible distribution of coal mine business are realized, and through the cloud-end monitoring, management and operation and maintenance of the edge cloud box, real-time interconnection and collaborative control of the coal mine intelligent cloud box system are realized, remote access and operation and maintenance support for the coal mine business system are provided, and the intelligence of coal mine business is effectively improved.
[0011] Other effects of the above optional manner will be described below in conjunction with specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0013] Figure 1 This is a schematic diagram of the structure of a coal mine intelligent cloud box system according to an embodiment of the present application;
[0014] Figure 2 It is a coal mine edge cloud box microservice architecture of an embodiment of the present application;
[0015] Figure 3 This is a prototype diagram of an overview page of an edge cloud box management platform of an embodiment of the present application;
[0016] Figure 4 This is a diagram of an edge-end cloud box registration mechanism of an embodiment of the present application;
[0017] Figure 5 This is a timing diagram of an operation and maintenance network based on an SSH reverse tunnel according to an embodiment of the present application. DETAILED DESCRIPTION
[0018] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, but cannot be understood as limiting the present application.
[0019] The coal mine intelligent cloud box system of an embodiment of the present application is described below with reference to the accompanying drawings.
[0020] Figure 1 It is a structural diagram of a coal mine intelligent cloud box system according to an embodiment of the present application.
[0021] like Figure 1 As shown, the coal mine intelligent cloud box system of the embodiment of the present application includes: a cloud end 101 and an edge end cloud box 102, wherein:
[0022] In some embodiments, the cloud 101 may be a cloud platform, but is not limited thereto, and is used for monitoring, managing, and remotely operating the business data of the edge cloud box 102 .
[0023] In some embodiments, the edge cloud box 102 can be used to carry an execution program designed according to the cloud box microservice architecture, wherein the execution program designed according to the cloud box microservice architecture is a plurality of microservices composed of coal mining business.
[0024] In some embodiments, the edge cloud box 102 may use a Raspberry Pi 4B based on an Advanced RISC Machines (Arm) architecture as an embedded development platform for the edge cloud box 102 .
[0025] In some embodiments, in order to facilitate user operation, an operating system in any language can be built into the edge cloud box 102. For example, the language can be Chinese, but is not limited to this.
[0026] In other embodiments, Figure 2As shown, the application container engine Docker environment can be deployed in the edge cloud box 102, and then the cloud box microservice architecture in the edge cloud box 102 can be split into multiple independently deployable microservices according to different coal mine businesses. Each microservice is packaged into a docker image for release. Each image only focuses on the business itself and is loaded when needed. In this way, on-demand deployment and flexible distribution of the coal mine business system are realized, which facilitates the user's subsequent maintenance and expansion.
[0027] Specifically, the designed execution program can be divided into two types according to the cloud box microservice architecture: multiple general microservices composed of coal mine business, and multiple business microservices composed of coal mine business. On the one hand, the general microservices can be solidified in the edge cloud box 102, where the multiple general microservices can include file services, database services, log management, authority management, and message notification function modules, but not limited to these. On the other hand, some functional modules that are more closely integrated with the coal mine business system are developed and deployed in the form of business microservices according to needs, where multiple business microservices can include safety monitoring, personnel monitoring, drainage monitoring, power supply monitoring, disaster warning, etc., but not limited to these. Figure 2 shown.
[0028] In some embodiments, Figure 1 As shown, the edge cloud box 102 includes an edge hardware layer, an edge base layer, an edge container layer and an edge environment layer, wherein:
[0029] The edge hardware layer is used to host the cloud box microservice architecture.
[0030] Specifically, the basic hardware device of the edge cloud box 102 is the carrier for the operation of the cloud box microservice architecture, wherein the above-mentioned basic hardware device can be a computer, but is not limited to this.
[0031] The edge base layer is used to manage the cloud box microservice architecture.
[0032] Specifically, the edge base layer can manage the operating system, system security, driver adaptation and optimization of the cloud box microservice architecture, and serve as a manager of the edge hardware layer.
[0033] The edge container layer is used to deploy multiple microservices in different containers.
[0034] Specifically, the edge container layer classifies the cloud box microservice framework according to the coal mine business to obtain microservices corresponding to multiple businesses, and deploys microservices of different functional categories of the coal mine business in the container in the form of microservices.
[0035] The edge environment layer is used to provide the operating environment of the cloud box microservice architecture.
[0036] Specifically, the edge environment layer can provide an edge console responsible for terminal device management, an application programming interface (API) gateway responsible for microservice governance and calling, and a cloud-edge collaborative component responsible for connecting with the cloud 101, to form an operating environment for data interaction of the cloud box microservice architecture.
[0037] In some embodiments, Figure 1 As shown, the cloud 101 includes a resource monitoring module, an operation and maintenance deployment module, a microservice image management module, and a visual webpage platform module, wherein:
[0038] The resource monitoring module is used to monitor the edge cloud box 102.
[0039] In some embodiments, the resource monitoring module mainly includes four parts: a data collection unit, a data processing unit, an application monitoring unit, and a monitoring alarm unit.
[0040] The data acquisition unit can obtain the coal mine business data from the edge cloud box 102, and input the obtained coal mine business data into the data processing unit. Correspondingly, the data processing unit filters the coal mine business data to obtain filtered target coal mine business data. Correspondingly, the application monitoring unit monitors the target coal mine business data.
[0041] Among them, the monitoring and warning unit is connected to the application monitoring unit. When the target coal mine business data monitored by the application monitoring unit is abnormal, the monitoring and alarm unit issues a warning to facilitate the operation and maintenance personnel to handle the warning immediately.
[0042] Specifically, the resource monitoring module can monitor from three dimensions: the edge hardware layer, edge container layer, and edge environment layer of the edge cloud box 102. The main monitoring indicators of the resource monitoring module include the basic hardware devices in the edge hardware layer and the central processing unit (CPU), memory, file storage, network input / output (I / O) resource usage of the container in the edge container layer, as well as the response time and unit query speed (Queries-per-second, QPS) of the container application. In addition, users can also define and set the monitoring indicators as needed, but it is not limited to this. This embodiment does not make specific limitations on this.
[0043] The operation and maintenance deployment module is used to deploy and debug the edge cloud box 102.
[0044] Specifically, the operation and maintenance deployment module mainly includes four parts, namely cloud box registration, automated deployment, remote configuration, and log management.
[0045] Among them, the cloud box registration is used to authenticate and authorize the registration application issued by the edge cloud box 102. After authorization, the edge cloud box 102 can automatically load the business microservices after authentication and authorization in the registration application information.
[0046] Automated deployment is used for the platform to automatically deploy all edge cloud boxes 102 as needed. After the user uploads the application image, the automated operation and maintenance tool Ansible can be used to automatically deploy the application image to the specified edge cloud box 102 or edge cloud box cluster with one click.
[0047] Remote configuration is used to remotely enter the container and remotely configure and debug the edge cloud box 102.
[0048] The log module allows users to remotely view the logs of the edge cloud box 102, facilitating error analysis and diagnosis based on the logs.
[0049] The microservice image management module is used to manage microservice images developed by third parties and the microservice images corresponding to multiple microservices in the image repository.
[0050] Specifically, the microservice image management module can build a private image warehouse corresponding to the edge cloud box 102, and use the private image warehouse to uniformly manage microservice images developed by third parties and microservice images corresponding to multiple microservices.
[0051] The management of the image repository mainly includes image building, uploading, downloading, deleting, and viewing operation logs. In addition, users can build and upload images to the image repository, update, delete, and download images by uploading a text document Dockerfile that combines image commands. They can also audit images through the operation logs of the image repository, but this is not limited to this.
[0052] The visualization Web platform module is used to visualize the various monitoring indicators of the edge cloud box 102 and the operating status of the cloud 101 service.
[0053] Among them, the World Wide Web (Web) visualization platform can include a real-time visualization part of resource monitoring data, a platform, and a deployment management visualization, such as Figure 3 shown.
[0054] Specifically, in this embodiment, the visual Web platform module is a management platform interface for users to operate the edge cloud box 102 through a Web interface. The visual Web can effectively shield the details of the underlying distributed system, thereby reducing the user's operating threshold and difficulty of using the edge cloud box 102.
[0055] In some embodiments, the coal mine intelligent cloud box system also includes a client (not shown in the figure). The client is connected to the edge cloud box 102 and is used to configure the initialization configuration of the edge cloud box 102.
[0056] The operation and maintenance deployment module of the cloud side 101 is also used to authenticate the initialization configuration, and if the authentication is passed, establish a long connection with the edge side cloud box 102, and send the initialization configuration to the edge side cloud box 102 through the long connection, thereby establishing a long connection between the cloud side 101 and the edge side cloud box 102, and realizing the remote initialization configuration of the intranet business system of the coal mine.
[0057] In some embodiments, when the client initializes the configuration of the edge cloud box 102 through the cloud, a schematic diagram of the interaction process between the client, the edge cloud box 102 and the cloud 101 is shown in FIG. Figure 4 As shown below, combined Figure 4 The process of initialization configuration is further described.
[0058] Specifically, the registration mechanism of the edge cloud box 102 is automatically started when it is powered on for the first time. The client can connect to its wireless network (WIREless FIdelity, WIFI) hotspot by scanning the QR code of the edge cloud box 102, and automatically jump to the initialization configuration interface of the edge cloud box 102, so that the operation and maintenance deployment module of the cloud 101 authenticates the initial configuration information of the initialization configuration interface and performs corresponding microservice authorization. If the authentication is passed, the edge cloud box 102 pulls the authorized cloud 101 microservice image and starts running, and establishes a full-duplex communication protocol Websocket long connection with the cloud 101 to officially enter the working mode.
[0059] Among them, the initial configuration information of the initialization configuration interface may include the user's identity identification number (Identity document, ID), network information (the edge cloud box 102's own IP, subnet mask, gateway, domain name system (Domain Name System, DNS)) and the software application applied for purchase (specific business microservices), but is not limited to this.
[0060] In some embodiments, after the edge cloud box 102 completes registration and establishes a Websocket long connection with CloudLink to enter the working state, Figure 5As shown, an implementation method for the client to remotely access the edge cloud box 102 through the cloud 101 is that the operation and maintenance deployment module of the cloud 101 obtains the remote maintenance instruction sent by the client, and forwards the remote maintenance instruction to the edge cloud box 102 through the cloud 101 port, and the edge cloud box 102 is also used to receive the remote maintenance instruction and establish a reverse tunnel to remotely maintain the edge cloud box 102 based on the remote maintenance instruction. After remotely maintaining the edge cloud box 102 based on the remote maintenance instruction, the operation and maintenance deployment module of the cloud 101 is also used to obtain the remote maintenance end instruction sent by the client, and forward the remote maintenance end instruction to the edge cloud box 102 through the cloud 101 port to close the reverse tunnel.
[0061] The reverse tunnel may be a reverse Secure Shell (SSH) tunnel, but is not limited thereto.
[0062] Specifically, Figure 5 As shown, the operation and maintenance personnel can send remote maintenance instructions to the cloud 101 through the client, and forward them to the edge cloud box 102 through the specific Websocket long connection port of the cloud 101, so that the edge cloud box 102 actively creates a reverse SSH tunnel, so that the remote maintenance instructions sent by the remote client are forwarded to the Internet Protocol (IP) and the designated port of the edge cloud box 102 through the cloud 101 port. After remotely maintaining the edge cloud box 102 based on the remote maintenance instructions, the operation and maintenance personnel can send a remote maintenance end instruction to the domain cloud 101 through the client, and forward the remote maintenance end instruction to the edge cloud box 102 through the specific Websocket long connection port of the cloud 101, so as to control the edge cloud box 102 to close the reverse SSH tunnel.
[0063] In summary, the present application proposes a coal mine intelligent cloud box system, wherein the coal mine intelligent cloud box system includes a cloud box on the cloud side and an edge side cloud box, wherein the edge side cloud box is used to carry an execution program designed according to the cloud box microservice architecture, wherein the execution program designed according to the cloud box microservice architecture is composed of multiple microservices of coal mine business, and the cloud side is used to monitor, manage and operate the edge side cloud box. Thus, based on the execution program designed according to the cloud box microservice architecture composed of multiple microservices in the edge side cloud box, on-demand deployment and flexible distribution of coal mine business are realized, and through the cloud side monitoring, management and operation and maintenance of the edge side cloud box, real-time interconnection and collaborative control of the coal mine intelligent cloud box system are realized, remote access and operation and maintenance support for the coal mine business system are provided, and the intelligence of coal mine business is effectively improved.
[0064] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory. In addition, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0065] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0066] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A coal mine intelligent cloud box system, characterized in that: The coal mine intelligent cloud box system includes a cloud box on the cloud end and an edge end, wherein: The edge-end cloud box is used to carry an execution program designed according to the cloud box microservice architecture, wherein the execution program designed according to the cloud box microservice architecture is a plurality of microservices composed of coal mining business, and each microservice is packaged into a docker image for release; The cloud includes a resource monitoring module, an operation and maintenance deployment module, a microservice image management module and a visual web platform module, wherein: The resource monitoring module is used to monitor the edge cloud box; The operation and maintenance deployment module is used to deploy and debug the edge cloud box; The microservice image management module is used to manage microservice images developed by a third party and microservice images corresponding to each of the multiple microservices in the image repository; The visualization Web platform module is used to visualize the various monitoring indicators of the edge cloud box and the operating status of the cloud service; The coal mine intelligent cloud box system also includes a client, wherein: The client is connected to the edge cloud box to configure the initialization configuration of the edge cloud box; The operation and maintenance deployment module is further used to authenticate the initialization configuration, and if the authentication is passed, establish a long connection with the edge cloud box, and send the initialization configuration to the edge cloud box through the long connection; The operation and maintenance deployment module is also used to obtain the remote maintenance instruction sent by the client, and forward the remote maintenance instruction to the edge end cloud box through the cloud port; The edge cloud box is also used to receive the remote maintenance instruction and establish a reverse tunnel to remotely maintain the edge cloud box based on the remote maintenance instruction; The operation and maintenance deployment module is also used to obtain a remote maintenance end instruction sent by the client, and forward the remote maintenance end instruction to the edge end cloud box through the cloud port; The edge end cloud box is also used to receive the remote maintenance end instruction to close the reverse tunnel; The resource monitoring module includes: a data acquisition unit, a data processing unit, an application monitoring unit, and a monitoring alarm unit; The data acquisition unit is used to obtain coal mine business data from the edge end cloud box, and input the obtained coal mine business data into the data processing unit; The data processing unit is used to filter the coal mine business data to obtain filtered target coal mine business data; The monitoring alarm unit is linked to the application monitoring unit, and when the target coal mine business data monitored by the application monitoring unit is abnormal, the monitoring alarm unit issues a warning; The operation and maintenance deployment module includes: cloud box registration, automated deployment, remote configuration, and log management; The cloud box registration is used to authenticate and authorize the registration application issued by the edge cloud box; The automated deployment is used to automatically deploy the application image to the specified edge cloud box or edge cloud box cluster with one click through the automated operation and maintenance tool after the user uploads the application image; The remote configuration is used to remotely enter the container and remotely configure and debug the edge cloud box; The log module is used for the user to remotely view the log of the edge cloud box.
2. The coal mine intelligent cloud box system according to claim 1, characterized in that: The edge cloud box includes an edge hardware layer, an edge base layer, an edge container layer and an edge environment layer, wherein: The edge hardware layer is used to carry the cloud box microservice architecture; The edge base layer is used to manage the cloud box microservice architecture; The edge container layer is used to deploy the multiple microservices in different containers; The edge environment layer is used to provide an operating environment for the cloud box microservice architecture.
