CN116232876A - Minimized configuration method and device for cloud environment of coal preparation plant - Google Patents

Minimized configuration method and device for cloud environment of coal preparation plant Download PDF

Info

Publication number
CN116232876A
CN116232876A CN202211676715.XA CN202211676715A CN116232876A CN 116232876 A CN116232876 A CN 116232876A CN 202211676715 A CN202211676715 A CN 202211676715A CN 116232876 A CN116232876 A CN 116232876A
Authority
CN
China
Prior art keywords
management system
cloud platform
platform management
node
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211676715.XA
Other languages
Chinese (zh)
Inventor
唐昊文
刘大光
王超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Coal Industry Group Information Technology Co ltd
Original Assignee
China Coal Industry Group Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Coal Industry Group Information Technology Co ltd filed Critical China Coal Industry Group Information Technology Co ltd
Priority to CN202211676715.XA priority Critical patent/CN116232876A/en
Publication of CN116232876A publication Critical patent/CN116232876A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The disclosure provides a minimized configuration method of a cloud environment of a coal preparation plant, and relates to the technical field of industrial and mining software development. The method comprises the following specific steps: constructing a cloud platform management system based on Kubernetes, and creating node pool resources as equipment nodes corresponding to equipment in a coal preparation plant; registering the equipment node into a Kubernetes cluster of the cloud platform management system, and establishing a reverse tunnel between the equipment node and the cloud platform management system. According to the cloud platform management system, the cloud platform management system is built based on the Kubernetes, the node pool resources are created to serve as equipment nodes corresponding to equipment in the coal preparation plant, the equipment nodes are registered in the Kubernetes cluster of the cloud platform management system, the equipment in the coal preparation plant is managed by taking the cluster as a unit, the resource consumption for building the cloud platform is effectively saved, the cost is saved under the condition that the stability of cloud service is guaranteed, and the utilization rate of edge hardware and the data processing efficiency are improved.

Description

Minimized configuration method and device for cloud environment of coal preparation plant
Technical Field
The disclosure relates to the technical field of industrial and mining software development, in particular to a method and a device for minimizing configuration of cloud environment of coal preparation plants.
Background
With the great popularization of intelligent terminals, the transmission of big data, container arrangement and the application of cloud native technology are important points of research in the digital transformation of industrial factories at present. The coal preparation plants have the following problems: the whole environment is complex, the mobile terminals are numerous, the machine room network environment is unstable, the hardware resources are insufficient, and the like. How to deploy and build cloud services that minimize resources in existing resource environments is the biggest plagues.
Disclosure of Invention
The disclosure provides a minimized configuration method and device for cloud environment of coal preparation plant. The technical scheme of the present disclosure is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a method for minimizing configuration of a cloud environment of a coal preparation plant, the method including:
constructing a cloud platform management system based on Kubernetes, and creating node pool resources as equipment nodes corresponding to equipment in a coal preparation plant;
registering the equipment node into a Kubernetes cluster of the cloud platform management system, and establishing a reverse tunnel between the equipment node and the cloud platform management system;
based on the reverse tunnel, monitoring state data of the equipment node in real time through the cloud platform management system, and transmitting an operation and maintenance command according to the state data.
Optionally, the step of installing the cloud platform management system specifically includes:
in the hardware resources, virtual machine resources are allocated according to the needs;
installing a cloud platform management system mirror image in the virtual machine resource;
modifying the name of the virtual machine and installing a dependent environment, wherein dependent options in the dependent environment include one or more of: socat, conntrack, ebtables, ipset.
Optionally, the method further comprises:
configuring network parameters and domain name system parameters;
installing a kubekey deployment program on the master node;
and creating the node pool resources and configuring minimization parameters according to the kubekey deployment program.
Optionally, the establishing the reverse tunnel between the device node and the cloud platform management system includes:
the method comprises the steps of arranging tunnel services in the cloud platform management system, and exposing public network IP addresses of the tunnel services to an external network;
deploying a tunnel proxy in the equipment node, and establishing long connection between the tunnel 5 service and the tunnel proxy through a public network IP address of the tunnel service;
and multiplexing a connection channel between the tunnel service and the tunnel agent to be used as a reverse tunnel between the equipment node and the cloud platform management system.
Optionally, the issuing the operation and maintenance command according to the state data includes:
according to the data monitored in the time interval, a connection request 0 is sent to the cloud platform management system through a web browsing terminal;
then constructing a forwarding link through a reverse tunnel between the cloud platform management system and the equipment node;
and based on the forwarding link, sending an operation and maintenance command to a corresponding equipment node through the webpage browsing terminal.
Optionally, after creating the node pool resource as the equipment node corresponding to the equipment in the coal preparation plant, the method includes:
responding to a request of an instance creation interface, and creating instance resources of equipment nodes in the cloud platform management system; 5 monitoring whether the instance resource has a resource change event or not through an instance controller, if so, according to the resource
A change event coordinates the change of the instance resource to a pending state.
Optionally, coordinating the change of the instance resource to the waiting state according to the resource change event includes:
and coordinating the change of the instance resource to the waiting state, monitoring a resource change event of the instance resource, and if the field of the instance resource is changed, determining that the instance resource is changed to the waiting state.
0, the state data of the device node includes: operating states of each node in the cluster and the cluster
Is a total resource occupancy state of the system.
Optionally, the total resource occupancy state of the cluster includes at least one of: the CPU occupancy rate of the cluster, the memory usage rate of the cluster and the container usage rate of the cluster.
According to a second aspect of the embodiments of the present disclosure, there is provided a minimized configuration device of a cloud environment of a coal preparation plant, including: 5 creating module for creating node pool resource as coal separating plant based on Kubernetes to construct cloud platform management system
A device node corresponding to the middle device;
the registration module is used for registering the equipment node into a Kubernetes cluster of the cloud platform management system and establishing a reverse tunnel between the equipment node and the cloud platform management system;
and the operation and maintenance module is used for monitoring the state data of the equipment node 0 in real time through the cloud platform management system based on the reverse tunnel and transmitting an operation and maintenance command according to the state data.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of any of the first aspects above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the method of any one of the first aspects described above.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the method according to any of the first aspects described above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the cloud platform management system is built based on the Kubernetes, node pool resources are created to serve as equipment nodes corresponding to equipment in the coal preparation plant, the equipment nodes are registered in a Kubernetes cluster of the cloud platform management system, the equipment in the coal preparation plant is managed by taking the cluster as a unit, resource consumption for building a cloud platform is effectively saved, cost is saved under the condition that stability of cloud service is guaranteed, and utilization rate and data processing efficiency of edge hardware are improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
Fig. 1 is a flow chart illustrating a method of minimizing configuration of a cloud environment of a coal preparation plant according to an exemplary embodiment.
Fig. 2 is a schematic diagram of Kubeconfig, shown according to an exemplary embodiment.
FIG. 3 is a cluster node hardware resource diagram.
Fig. 4 is a schematic diagram of cluster status monitoring in the cloud platform management system.
Fig. 5 is a schematic diagram of occupied resources of the cloud platform management system.
Fig. 6 is a schematic diagram of a main interface of the cloud platform management system.
Fig. 7 is a block diagram illustrating a minimization configuration device for a coal preparation plant cloud environment according to an exemplary embodiment.
Fig. 8 is a block diagram of an apparatus according to an example embodiment.
Fig. 9 is a block diagram of an apparatus according to an example embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the disclosure as detailed in the accompanying claims.
In the period that cloud computing has gradually developed and matured, cloud native has become the best practice path for fully exerting cloud efficacy due to the capability characteristics of elastic expansion and response, service autonomy and fault self-healing, and cross-platform and service scale replication. The Chinese communication institute indicates in the book of cloud primary development white paper (2020), that the inflection point of cloud computing is reached, and cloud primary becomes an important engine for driving business growth. According to Gartner predictions, by 2025, the cloud native platform would be the basis for more than 95% of new digital programs, and this proportion is less than 40% by 2021. It can be seen that the pace and speed of the implementation of the cloud native in China will be exploded and increased in the three years in the future, and the cloud native will lead to the next Huang Jinyun era.
With containers and Kubernetes becoming mainstream cloud native technologies, more and more units and companies are approaching to cloud native technology stacks, and the internet industry has hugged cloud native technologies on a large scale due to higher demands on network service quality, data processing and technical innovation, and other industries such as government, traditional industry and the like are gradually increasing emerging technology investment, so that cloud native is used for improving production efficiency.
Through years of development, compared with the prior cloud native technology which mainly focuses on the fields of containers, micro services, devOps and the like, the technology ecology nowadays is expanded to the diversification directions of the underlying technology, the arrangement and management technology, the security technology, the monitoring analysis technology, the scene application and the like.
The chat container technology does not leave cloud primordia, and the chat container technology does not leave cloud primordia. The container technology and the cloud primordia are a pair of double-screw bodies, the container technology hastens the cloud primordia to think, and the cloud primordia ecology promotes the development of the container technology. From 2013, docker (container) technology birth, the cloud native domain heaviness alliance holds up by 2015, CNCF, which is not a coincidence of histories but a necessity of histories. Because early containers were heavy, traditional proprietary cloud native orchestration and deployment configurations required significant hardware resource support.
The development of container technology provides a growing environment and soil for cloud protogenesis, which provides an isolated environment for system software, each container having its own file system, process space, firewall, network configuration, etc. With the update iteration of the container technology, the current mainstream container such as Docker has: rapid storage, rapid deployment, more saving of memory, convenient upgrading and the like. The invention provides a method for minimizing configuration method of cloud environment of coal preparation plant based on Kubernetes and Docker.
Fig. 1 is a flowchart illustrating a method of minimizing configuration of a cloud environment of a coal preparation plant according to an exemplary embodiment, the method including the following steps, as shown in fig. 1.
Step 101, a cloud platform management system is built based on Kubernetes, and node pool resources are created to serve as equipment nodes corresponding to equipment in a coal preparation plant.
In this embodiment, kubeconfig is first utilized to install Kubeconfig, as shown in fig. 2, fig. 2 is a schematic diagram of Kubeconfig, shown according to an exemplary embodiment. Kubeconfig is a common means of installing kubresophere using kubrekey, but the configuration of the config file downloaded by the official network is a generic version, which needs to be modified according to the actual hardware resource situation of the coal preparation plant. The modified information includes: clusters, users, namespaces, contexts, current contexts, client authentication, etc.
Step 102, registering the equipment node into a Kubernetes cluster of the cloud platform management system, and establishing a reverse tunnel between the equipment node and the cloud platform management system;
and step 103, monitoring the state data of the equipment node in real time through the cloud platform management system based on the reverse tunnel, and transmitting an operation and maintenance command according to the state data.
Fig. 3 is a cluster node hardware resource diagram, and in this embodiment, as shown in fig. 3, a minimized cloud environment configuration satisfying tenant management, rights allocation, redundancy backup, and automatic expansion recovery is configured, only three virtual machines are used, and only 2 cores of 4G hardware is needed for each virtual machine.
According to the embodiment of the application, in the production environment of the coal preparation plant, according to the service focus of the coal preparation plant, the existing factors such as hardware level, network environment and the like are considered. Based on the Kubenetes and dock container technology, a Kubesphere distributed operating system is utilized to deploy and build a privately owned cloud native environment in a factory environment. KubeSphere provides an integrated view for container resource management, devOps (CI/CD), application lifecycle management, monitoring, logging, service grid, multi-tenant, alarm and notification, storage and networking, automatic quantification, access control, support for GPUs, and the like.
If the existing installation and deployment modes are used, the requirement on hardware resources is high, at least six machines are needed, and each machine is supported by 8-core 16G hardware. However, as the coal preparation plant is intelligent and reformed, the Internet of things of the equipment is introduced, and the minimum configuration method of the environment can only run necessary plug-ins and functions in the process of edge calculation, thereby improving the utilization rate of edge hardware and the data processing efficiency.
Optionally, step 101 in fig. 1 specifically includes:
step 201, in hardware resources, virtual machine resources are allocated according to the need;
step 202, installing a cloud platform management system mirror image in the virtual machine resource;
firstly, virtual machine resources are allocated in hardware resources according to requirements, a virtual machine system is installed, in the embodiment, openEuler22.09 version is selected, and relevant information of the system is checked after the installation.
Step 203, modifying the name of the virtual machine, and installing a dependent environment, wherein the dependent options in the dependent environment include one or more of the following: socat, conntrack, ebtables, ipset.
In this embodiment, the Host name of each virtual machine is modified, and the necessary dependent environment is installed.
The modification Host is: hostnamectl set-hostname master;
the dependent items are: the proposal is composed of a socat (necessary), a conntrack (necessary), an ebtables (proposal), and an ipset (proposal). The necessary dependent items are necessarily installed, and whether the suggested dependent items are installed or not can be determined by an implementer according to actual conditions, but the installation is better.
Optionally, step 101 in fig. 1 further includes:
step 204, configuring network parameters and domain name system parameters;
in this embodiment, the network and domain name system (Domain Name System, DNS) requirements need to be modified to ensure that DNS addresses in/etc/resolv.conf are available, otherwise problems may occur in DNS in the cluster.
If a network configuration is chosen to use firewall rules or security groups, it is necessary to ensure that infrastructure components can communicate with each other through a particular port. The test environment may directly shut down the firewall.
The CNI plug-ins supported are: calico and Flannel.
Step 205, installing a kubekey deployment program on the main node;
the present embodiment may install a kubekey deployment program on the master node by:
export KKZONE=cn
curl-sfL https://get-kk.kubesphere.io|VERSION=v1.1.1sh-chmod+x kk。
and 206, creating the node pool resources and configuring minimization parameters according to the kubekey deployment program.
In this embodiment, by creating the cluster configuration file config: kk create config-with-kubrenetes v1.20.4-with-kubresphere v3.1.1 to create the node pool resources and configure the minimization parameters.
The modification configuration file is:
spec:
hosts:
-{name:master,address:192.168.30.188,internalAddress:192.168.30.188,user:root,password:cctegitc@123}
-{name:node1,address:192.168.30.189,internalAddress:192.168.30.189,user:root,password:cctegitc@123}
-{name:node2,address:192.168.30.190,internalAddress:192.168.30.190,user:root,password:cctegitc@123}
roleGroups:
etcd:
-master
master:
-master
worker:
-node1
-node2
note that the plug-in functions that are not needed for the context are changed to false, e.g., alerting, auditing, devops, envents, logging, metrics _server, etc.
Clusters can then be created and progress viewed by the following code
kk create cluster-f config-sample.yaml
After the configuration of the minimized cloud environment is finished, the password is required to be modified for the first login, and the multi-tenant and multi-system direct user authority registration and distribution work is configured according to the actual business requirements of the coal preparation plant.
Optionally, step 102 in fig. 1 specifically includes:
step 301, a tunnel service is deployed in the cloud platform management system, and a public network IP address of the tunnel service is exposed to an external network;
step 302, a tunnel agent is deployed in the equipment node, and a long connection between the tunnel service and the tunnel agent is established through a public network IP address of the tunnel service;
and step 303, multiplexing a connection channel between the tunnel service and the tunnel agent to be used as a reverse tunnel between the equipment node and the cloud platform management system.
Optionally, step 103 in fig. 1 includes:
according to the data monitored in the time interval, a connection request is sent to the cloud platform management system through a web browsing terminal;
then constructing a forwarding link through a reverse tunnel between the cloud platform management system and the equipment node;
and based on the forwarding link, sending an operation and maintenance command to a corresponding equipment node through the webpage browsing terminal.
Optionally, after creating a node pool resource as a device node corresponding to a device in the coal preparation plant in step 101, the method includes:
responding to a request of an instance creation interface, and creating instance resources of equipment nodes in the cloud platform management system;
monitoring whether the instance resource has a resource change event or not through an instance controller, if so, coordinating the instance resource to be changed to a waiting state according to the resource change event.
Optionally, coordinating the change of the instance resource to the waiting state according to the resource change event includes:
and coordinating the change of the instance resource to the waiting state, monitoring a resource change event of the instance resource, and if the field of the instance resource is changed, determining that the instance resource is changed to the waiting state.
Optionally, the status data of the device node includes: the running state of each node in the cluster and the total resource occupation state of the cluster.
Optionally, the total resource occupancy state of the cluster includes at least one of: the CPU occupancy rate of the cluster, the memory usage rate of the cluster and the container usage rate of the cluster.
Fig. 4 is a schematic diagram of cluster state monitoring in the cloud platform management system, as shown in fig. 4, the cluster state monitoring can be checked in the cloud platform management system, and the resource usage condition of the cluster can be found, wherein the CPU occupancy rate is 1%, the memory usage rate is 43%, and the container usage rate is 12%. Meanwhile, all basic functions of the cloud platform are met, and tenant management, cluster management, node management, project management, load balancing, storage volume management and the like are achieved.
Fig. 5 is a schematic diagram of resources occupied by the cloud platform management system, as shown in fig. 5, compared with the conventional method, the resources occupied by the cloud platform management system constructed in this embodiment, namely, CPU resources and RAM resources, are greatly reduced, and hardware resources are saved.
Fig. 6 is a schematic diagram of a main interface of the cloud platform management system, as shown in fig. 6, in the main interface, the number of device nodes in a cluster and the situation that the cluster occupies CPU resources, memory resources, local storage resources and container group resources can be observed. And the states of all the components and the request delay of the service components can be intuitively seen, so that the states of all the devices in the coal preparation plant can be mastered integrally.
Fig. 7 is a block diagram illustrating a minimized configuration of a coal preparation plant cloud environment, according to an exemplary embodiment. Referring to fig. 7, the apparatus 700 includes:
the creation module 710 is configured to build a cloud platform management system based on Kubernetes, and create a node pool resource as an equipment node corresponding to equipment in the coal preparation plant;
a registration module 720, configured to register the device node to a Kubernetes cluster of the cloud platform management system, and establish a reverse tunnel between the device node and the cloud platform management system;
and the operation and maintenance module 730 is configured to monitor, in real time, status data of the device node through the cloud platform management system based on the reverse tunnel, and send an operation and maintenance command according to the status data.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 8 is a block diagram of an apparatus 800 according to an exemplary embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 8, apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 806 provides power to the various components of the device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen between the device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or one component of the apparatus 800, the presence or absence of user contact with the apparatus 800, an orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, an operator network (e.g., 2G, 3G, 4G, or 5G), or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a storage medium is also provided, such as a memory 804 including instructions executable by processor 820 of apparatus 800 to perform the above-described method. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
Fig. 9 is a block diagram of an apparatus 900 according to an example embodiment. For example, apparatus 900 may be provided as a server. Referring to fig. 9, apparatus 900 includes a processing component 922 that further includes one or more processors, and memory resources represented by memory 932, for storing instructions, such as applications, executable by processing component 1922. The application programs stored in memory 932 may include one or more modules that each correspond to a set of instructions. Further, processing component 922 is configured to execute instructions to perform the above-described methods.
The apparatus 900 may also include a power component 926 configured to perform power management of the apparatus 900, a wired or wireless network interface 950 configured to connect the apparatus 900 to a network, and an input output (I/O) interface 958. The device 900 may operate based on an operating system stored in memory 932, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, or the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for minimizing configuration of a cloud environment of a coal preparation plant, the method comprising:
constructing a cloud platform management system based on Kubernetes, and creating node pool resources as equipment nodes corresponding to equipment in a coal preparation plant;
registering the equipment node into a Kubernetes cluster of the cloud platform management system, and establishing a reverse tunnel between the equipment node and the cloud platform management system;
based on the reverse tunnel, monitoring state data of the equipment node in real time through the cloud platform management system, and transmitting an operation and maintenance command according to the state data.
2. The method of claim 1, wherein the step of installing a cloud platform management system specifically comprises:
in the hardware resources, virtual machine resources are allocated according to the needs;
installing a cloud platform management system mirror image in the virtual machine resource;
modifying the name of the virtual machine and installing a dependent environment, wherein dependent options in the dependent environment include one or more of: socat, conntrack, ebtables, ipset.
3. The method according to claim 2, wherein the method further comprises:
configuring network parameters and domain name system parameters;
installing a kubekey deployment program on the master node;
and creating the node pool resources and configuring minimization parameters according to the kubekey deployment program.
4. The method of claim 1, wherein the establishing the reverse tunnel of the device node with the cloud platform management system comprises:
the method comprises the steps of arranging tunnel services in the cloud platform management system, and exposing public network IP addresses of the tunnel services to an external network;
deploying a tunnel proxy in the equipment node, and establishing long connection between the tunnel service and the tunnel proxy through a public network IP address of the tunnel service;
and multiplexing a connection channel between the tunnel service and the tunnel agent to be used as a reverse tunnel between the equipment node and the cloud platform management system.
5. The method of claim 1, wherein said issuing an operation and maintenance command according to said state data comprises:
according to the data monitored in the time interval, a connection request is sent to the cloud platform management system through a web browsing terminal;
then constructing a forwarding link through a reverse tunnel between the cloud platform management system and the equipment node;
and based on the forwarding link, sending an operation and maintenance command to a corresponding equipment node through the webpage browsing terminal.
6. The method of claim 1, wherein after creating a node pool resource as a device node for a device in a coal preparation plant, the method comprises:
responding to a request of an instance creation interface, and creating instance resources of equipment nodes in the cloud platform management system;
monitoring whether the instance resource has a resource change event or not through an instance controller, if so, coordinating the instance resource to be changed to a waiting state according to the resource change event.
7. The method of claim 6, wherein coordinating the change of the instance resource to a pending state in accordance with the resource change event comprises:
and coordinating the change of the instance resource to the waiting state, monitoring a resource change event of the instance resource, and if the field of the instance resource is changed, determining that the instance resource is changed to the waiting state.
8. The method of claim 1, wherein the status data of the device node comprises: the running state of each node in the cluster and the total resource occupation state of the cluster.
9. The method of claim 8, wherein the total resource occupancy state of the cluster comprises at least one of: the CPU occupancy rate of the cluster, the memory usage rate of the cluster and the container usage rate of the cluster.
10. A minimized configuration device for a cloud environment of a coal preparation plant, comprising:
the creation module is used for building a cloud platform management system based on the Kubernetes, and creating node pool resources as equipment nodes corresponding to equipment in the coal preparation plant;
the registration module is used for registering the equipment node into a Kubernetes cluster of the cloud platform management system and establishing a reverse tunnel between the equipment node and the cloud platform management system;
and the operation and maintenance module is used for monitoring the state data of the equipment node in real time through the cloud platform management system based on the reverse tunnel and transmitting an operation and maintenance command according to the state data.
CN202211676715.XA 2022-12-26 2022-12-26 Minimized configuration method and device for cloud environment of coal preparation plant Pending CN116232876A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211676715.XA CN116232876A (en) 2022-12-26 2022-12-26 Minimized configuration method and device for cloud environment of coal preparation plant

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211676715.XA CN116232876A (en) 2022-12-26 2022-12-26 Minimized configuration method and device for cloud environment of coal preparation plant

Publications (1)

Publication Number Publication Date
CN116232876A true CN116232876A (en) 2023-06-06

Family

ID=86581479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211676715.XA Pending CN116232876A (en) 2022-12-26 2022-12-26 Minimized configuration method and device for cloud environment of coal preparation plant

Country Status (1)

Country Link
CN (1) CN116232876A (en)

Similar Documents

Publication Publication Date Title
CN112153071B (en) Message sending method, device, gateway and storage medium
CN106471791B (en) Method and apparatus for a mobile device based cluster computing architecture
WO2019024604A1 (en) Method and device for associating application with network slice, and communication system
US20170060566A1 (en) Method and device for installing plug-in of smart device
KR102209814B1 (en) Data Processing Method and Electronic Device supporting the same
EP2757738B1 (en) Communication control system, communication system, communication method, and carrier means storing comunication control program
EP4013003A1 (en) Communication protocol switching method, apparatus and system
CN102713871A (en) Client-server system
JP6268824B2 (en) Communication system, communication method, and information processing apparatus
CN111800462A (en) Micro-service instance processing method and device, computer equipment and storage medium
CN112328318B (en) Method, device and storage medium for automatic planning of proprietary cloud platform
KR20200031900A (en) Apparatus and method for controlling protocol data unit session
CN115525302A (en) Deployment method and device of large-scale digital object warehouse cluster
CN112243016A (en) Middleware platform, terminal equipment, 5G artificial intelligence cloud processing system and processing method
CN114217989A (en) Service calling method, device, equipment, medium and computer program between equipment
CN106254669A (en) Data traffic based reminding method and device
CN112839065B (en) Information processing method, information processing device, first equipment and storage medium
JP2021010164A (en) Method and apparatus for processing notification using notification preset
CN112953992A (en) Network system, communication and networking method, device and storage medium
CN104038511A (en) Resource management method and apparatus
CN116232876A (en) Minimized configuration method and device for cloud environment of coal preparation plant
CN102811241A (en) Remote management method and remote management system
CN116243988A (en) Intelligent network card control method and device, electronic equipment and storage medium
CN116527486B (en) Device independent function self-adaptive management method, device and medium
CN115904514B (en) Method for realizing cloud rendering pixel flow based on three-dimensional scene and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination