WO2023185136A1 - 一种边缘节点的处理方法、装置及介质 - Google Patents
一种边缘节点的处理方法、装置及介质 Download PDFInfo
- Publication number
- WO2023185136A1 WO2023185136A1 PCT/CN2022/141658 CN2022141658W WO2023185136A1 WO 2023185136 A1 WO2023185136 A1 WO 2023185136A1 CN 2022141658 W CN2022141658 W CN 2022141658W WO 2023185136 A1 WO2023185136 A1 WO 2023185136A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- edge node
- current edge
- cluster
- node
- state
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/54—Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the present application relates to the technical field of edge computing, and in particular to an edge node processing method, device and medium.
- FIG. 1 is an application diagram of the connection relationship between the management end and the edge management service. As shown in Figure 1, what runs on the edge node is not the core service of kubernetes, but an edge node service. A database is started on the edge node, and the edge node service After initially obtaining data from the management end, the application data is stored in a local database. In actual application scenarios, due to network delays, fluctuations or disconnections that often occur, the edge nodes lose contact, so the edge nodes have a certain degree of autonomy. .
- the management of edge nodes adopts a registration mechanism. After the edge node service is started, it actively establishes contact with the edge management service. After passing the authentication, the management end will include the edge node in the cluster node list. The name of the edge node in the cluster node list is the host of the edge node. name. Since the current connection status of the edge node cannot be known, the startup registration operation is performed every time the edge node service is started. For example: when an edge node establishes a connection with one cluster and then establishes a connection with another cluster after executing the task, due to the data of the previous cluster, when the edge node is started, although the management end deletes the edge node, the edge node cannot The corresponding edge node service has not been deleted.
- the purpose of this application is to provide a processing method, device and medium for edge nodes to avoid blind startup of edge nodes and subsequent repeated registration.
- an edge node processing method including:
- connection status If the connection status is to be started, the current edge node will be started and registered;
- connection status is the main body state to be started, start the main process of the current edge node
- connection status is pending cleanup, delete the service certificate
- connection status If the connection status is abnormal, stop using the current edge node.
- connection status of the current edge node is determined based on the relationship between the host name, service certificate, and cluster node list, including:
- the cluster node contains a host name, determine that the connection status is the subject state to be started;
- cluster node does not contain a host name, determine that the connection status is pending cleanup
- the connection status is determined to be abnormal
- cluster node list does not contain the host name, determine that the connection status is to be started.
- the current edge node is started and registered, including:
- the method further includes:
- obtaining the cluster node list includes:
- it also includes:
- this application also provides an edge node processing device, including:
- the acquisition module is used to obtain the host name, service certificate and cluster node list corresponding to the current edge node;
- the determination module is used to determine the connection status of the current edge node based on the relationship between the host name, service certificate and cluster node list. If the connection status is to be started, the registration module is triggered. If the connection status is to be started, the registration module is triggered. Start the main module. If the connection status is to be cleaned, the deletion module is triggered. If the connection status is abnormal, the stop module is triggered;
- Start-up registration module used to start-up and register the current edge node
- Stop module used to stop using the current edge node.
- this application also provides an edge node processing device, including:
- Memory used to store computer programs
- the processor is configured to implement the steps of the above-mentioned edge node processing method when executing a computer program.
- this application also provides a non-volatile readable storage medium.
- a computer program is stored on the non-volatile readable storage medium.
- the computer program is executed by the processor, the above-mentioned processing of the edge node is implemented. Method steps.
- This application provides a method for processing edge nodes, including obtaining the host name, service certificate and cluster node list corresponding to the current edge node; determining the connection status of the current edge node based on the relationship between the host name, service certificate and cluster node list; if If the connection status is to be started, the current edge node will be started and registered; if the connection status is to be started as the main body state, the main process of the current edge node will be started; if the connection status is to be cleaned up, the service certificate will be deleted; if the connection status is to be started, the main process of the current edge node will be started. If it is in an abnormal state, stop using the current edge node.
- This method determines the connection status of the current edge node by obtaining the host name, service certificate and cluster node list corresponding to the current edge node, and then determines different subsequent processes based on different connection statuses.
- connection status When the connection status is to be started, start it Registration.
- connection status When the connection status is the subject state to be started, the subject process is started.
- the connection status is the state to be cleaned, the service certificate is deleted.
- connection status is abnormal, the current edge node is stopped.
- connection status other than the pending state the edge node will not start registration again, but will process it according to the process corresponding to other states, avoiding the existing inability to determine the state of the edge node before connecting to the cluster, and thus This causes the problem of repeated registration after blind startup.
- this application also provides an edge node processing device and a non-volatile readable storage medium, which have the same beneficial effects as the above edge node processing method.
- Figure 1 is an application schematic diagram of the connection relationship between the management terminal and the edge management service
- FIG. 2 is a flow chart of an edge node processing method provided by an embodiment of the present application.
- FIG. 3 is a structural diagram of an edge node processing device provided by an embodiment of the present application.
- FIG. 4 is a structural diagram of another edge node processing device provided by an embodiment of the present application.
- the core of this application is to provide a processing method, device and medium for edge nodes to avoid blind startup of edge nodes and thus repeated registration.
- edge node processing method is performed before the edge node service is started.
- the edge node service is in the edge cloud, and the edge node replaces the core service (kubelet) of kubernetes for container management and status.
- the reporting service interacts directly with the edge management service, determines the relationship between the current edge node and the cluster by obtaining the following information, and starts or processes the edge node in other process states as needed.
- FIG. 2 is a flow chart of an edge node processing method provided by an embodiment of the present application. As shown in Figure 2, the method includes:
- S11 Obtain the host name, service certificate and cluster node list corresponding to the current edge node.
- edge node C needs to connect to cluster B according to the assigned tasks. Before connecting, you need to check the connection status of edge node C to see whether it has established a connection with cluster B in the previous cluster task, and whether there are other clusters that have not been connected yet. Cleaned data so that when edge node C is started in an uncleaned state to connect to cluster B, it will automatically register to other clusters due to the startup mechanism of the edge node.
- the host name of the current edge node which is the node host name of edge node C on the local side, so as to facilitate comparison of the cluster node list. Determine whether this edge node is included in the node list, and the host name will also be used during the subsequent running of the main process of the edge node.
- Obtaining the cluster node list refers to obtaining the cluster node list corresponding to the target cluster that needs to establish a connection.
- the cluster node list can be obtained through the management node deployed in the kubernetes container cluster, or the allocation can be obtained directly through the management terminal. This application does not impose specific restrictions.
- S12 Determine the connection status of the current edge node based on the relationship between the host name, service certificate and cluster node list.
- an edge node service certificate exists on the current edge node. If an edge node service certificate exists on the current edge node, it means that the local end still has the service certificate of the target cluster corresponding to the subsequent connection establishment, and the edge node service has not been destroyed.
- Cluster node list exists for the host name corresponding to the current edge node. If the cluster node list exists for the host name corresponding to the current edge node, it means that the management side has not deleted the current edge node.
- connection status of the current edge node can be determined. It is understandable that the order of the combination of the two judgments can be reversed. First, it is judged whether the edge node service certificate exists on the current edge node, and then the host corresponding to the current edge node is judged. Whether the name exists in the cluster node list is the same as first determining whether the host name corresponding to the current edge node exists in the cluster node list, and then determining whether the current edge node exists the edge node service certificate. The determination method is not specifically limited in this application and will depend on the actual situation. Depends.
- connection status determined in step S12 is the waiting state, it means that the current edge node does not have an edge node service certificate, and its host name does not exist in the cluster node list. It is further explained that there is no previous connection between the current edge node and the target cluster, which is the situation before the edge node is registered. Then, the current edge node is initialized and started, the service certificate is obtained, the edge node service is started, the current edge node is registered to the management end, and the main process is started.
- connection status is the main body state to be started, start the main process of the current edge node.
- step S12 If the other connection statuses other than waiting to be started determined in step S12 include the main body status to be started, the status to be cleaned, and the abnormal status, it means that the current edge node has been connected to the target cluster before, or its management end, The local side has the startup service program of the current edge node. Due to the combination of the two judgment methods, its process status is different. The current edge node is processed according to different processes.
- the edge node startup service includes registering and starting the subject process, and the subject process refers to the establishment of the edge management service with the cluster management end. Long connection, regularly reports the status of the edge node and the status of the container on the edge node, and receives instructions and execution programs from the edge management service.
- the service certificate needs to be deleted to ensure the synchronization of data corresponding to the edge node startup service of the target cluster, and the edge node service must be shut down at the same time.
- connection status When the connection status is abnormal, it means that the current edge node cannot be used.
- This application provides a method for processing edge nodes, including obtaining the host name, service certificate and cluster node list corresponding to the current edge node; determining the connection status of the current edge node based on the relationship between the host name, service certificate and cluster node list; if If the connection status is to be started, the current edge node will be started and registered; if the connection status is to be started as the main body state, the main process of the current edge node will be started; if the connection status is to be cleaned up, the service certificate will be deleted; if the connection status is to be started, the main process of the current edge node will be started. If it is in an abnormal state, stop using the current edge node.
- This method determines the connection status of the current edge node by obtaining the host name, service certificate and cluster node list corresponding to the current edge node, and then determines different subsequent processes based on different connection statuses.
- connection status When the connection status is to be started, start it Registration.
- connection status When the connection status is the subject state to be started, the subject process is started.
- the connection status is the state to be cleaned, the service certificate is deleted.
- connection status is abnormal, the current edge node is stopped.
- connection status other than the pending state the edge node will not start registration again, but will process it according to the process corresponding to other states, avoiding the existing inability to determine the state of the edge node before connecting to the cluster, and thus This causes the problem of repeated registration after blind startup.
- determining the connection status of the current edge node based on the relationship between the host name, service certificate and cluster node list in step S12 includes:
- cluster node list contains the host name, determine that the connection status is the subject state to be started;
- cluster node list does not include the host name, determine that the connection status is pending cleanup
- the connection status is determined to be abnormal
- cluster node list does not contain the host name, determine that the connection status is to be started.
- the service certificate exists in the edge node, it means that the local edge node service for the current edge node of the target cluster has not been deleted, and then it is further determined whether the cluster node list contains the host name. If the cluster node list contains the host name, the edge node has been registered with the management side before and the service has been started. It can be noted that starting the service includes two steps, first registering and then starting the main process. The current edge node has been registered and needs to enter the steps of starting the main process.
- the cluster node list does not contain the host name, it means that the target cluster has previously established a connection with the current edge node, but the management side has deleted the current edge node.
- the connection status of the current edge node is in the pending state. The local data needs to be cleaned locally, and the edge node service needs to be closed and deleted.
- the service certificate does not exist in the edge node, it means that the local end has deleted the edge node service for the current edge node of the target cluster, and then further determines whether the cluster node list contains the host name. If the cluster node list contains the host name, the edge node was previously registered to the management side, but the relevant certificate of the edge node service on the local side was deleted, causing the edge node service to fail to start. Therefore, it is determined that the connection status of the current edge node is abnormal and needs to be Staff intervened to make repairs.
- the cluster node list does not contain the host name, it means that the target cluster has not established any connection with the current edge node, and neither the local end nor the management end has any data about the edge node. Then it is determined that the connection status of the current edge node is in the waiting state. .
- the method provided by the embodiment of this application determines the connection status of the current edge node based on the relationship between the host name, service certificate and cluster node list. It first detects whether the service certificate exists on the node, and then determines whether the cluster node list contains the host name, and determines accordingly.
- the connection status of the four current edge nodes is used to determine the different processes of the current edge node based on the different connection status to avoid blind startup of the edge node.
- the connection relationship determined at this time is in a pending state.
- the current edge node has a connection with the target cluster before, or has established a connection with other clusters.
- the management end deletes data, but the data connected by other clusters to the target cluster has not been deleted locally.
- This embodiment provides that if the connection status is to be cleaned, the service certificate, configuration information corresponding to the current edge node service, database and logs are deleted. Facilitates connection between target clusters and enables remote cleanup control operations.
- the current edge node is started and registered, specifically including:
- the pending startup status indicates that the current edge node does not have any connection with the target cluster. It is necessary to generate the service certificate corresponding to the current edge node, start the database, start the registration of the current edge node to the management end, and also include the initialization configuration file, etc.
- This application provides the initialization of the current edge node, generating the service certificate corresponding to the current edge node, starting the database, and registering the current edge node to the management terminal. Further starting the edge node service solves the problem of blind restart of edge nodes. Registration needs to be started only when the connection status is to be started.
- the program involved in the edge node processing method provided by this application is an executable file and does not need to be run permanently. Therefore, after determining the connection status, you can delete the driver of the current edge node so that the driver can be installed again to free up memory when the edge node is started next time.
- the driver corresponding to the current edge node When installing the driver corresponding to the current edge node, it can be used as part of the edge node service dependency, and the installation process is merged into the process of adding nodes.
- the management side starts the file transfer service (Apache HTTP Server/Apache Hyper Text Transfer Protocol Server, httpd), the dependency files required for the edge node service are released for download.
- the edge management service generates the deployment command of the edge node service, and the user copies the deployment The command is executed on the edge node, downloads the dependency files required for the edge node service from the httpd service on the management side, and then starts the edge node service.
- This embodiment provides that after determining the connection status of the current edge node, the driver corresponding to the current edge node is uninstalled so that the driver can be installed when the current edge node is started next time to release the container memory of the edge node.
- obtaining the cluster node list in step S11 includes:
- kube-apiserver is one of the core services of kubernetes. It is deployed on the management node of the kubernetes cluster and provides a set of Hyper Text Transfer Protocol/Hyper Text Transfer Protocol Security (Hyper Text Transfer Protocol/Hyper Text Transfer Protocol Secure, HTTP/HTTPS ) interface is for external connection, and its kubernetes belongs to cluster deployment.
- HTTP/HTTPS Hyper Text Transfer Protocol/Hyper Text Transfer Protocol Secure
- the core function of kube-apiserver is to provide various resource objects of kubernetes, such as the smallest unit of kubernetes (Pod), the number of managed Pods (Replication Controller, RC), services (Service), etc.
- HTTP Rest Real State Transfer
- This application obtains the cluster node list through the kube-apiserver interface only as some preferred embodiments.
- This embodiment provides a list of cluster nodes through the kube-apiserver interface, provides a complete cluster security mechanism, implements storage operations responsible for cluster status, and provides interaction and communication with other data.
- connection status when the connection status is abnormal, it means that the current edge node cannot be used, including:
- a prompt message is output to remind the staff and stop using the current edge node, and start the repair mechanism.
- prompt information You can set up an alarm device at the edge node to sound a whistle, or set up a fault light. When an abnormal state occurs, the fault light flashes. Since edge nodes are connected remotely, alarm messages can be set on the management side to remind staff to perform inspections and repairs. You can set it according to the actual situation.
- This embodiment provides that when the connection status is abnormal, prompt information is output to remind the staff to handle it.
- FIG. 3 shows an edge node processing provided by the embodiment of the present application. Structural diagram of the device. As shown in Figure 3, the processing device of the edge node includes:
- the acquisition module 11 is used to obtain the host name, service certificate and cluster node list corresponding to the current edge node;
- the determination module 12 is used to determine the connection status of the current edge node based on the relationship between the host name, service certificate and cluster node list. If the connection status is the waiting state, trigger the startup registration module 13. If the connection status is the waiting main state, Then the main body module 14 is triggered. If the connection status is to be cleaned, the deletion module 15 is triggered. If the connection status is an abnormal status, the stop module 16 is triggered;
- Start registration module 13 used to start registration of the current edge node
- Stop module 16 used to stop using the current edge node.
- An edge node processing device includes obtaining the host name, service certificate and cluster node list corresponding to the current edge node; determining the connection status of the current edge node based on the relationship between the host name, service certificate and cluster node list; if If the connection status is to be started, the current edge node will be started and registered; if the connection status is to be started as the main body state, the main process of the current edge node will be started; if the connection status is to be cleaned up, the service certificate will be deleted; if the connection status is to be started, the main process of the current edge node will be started. If it is in an abnormal state, stop using the current edge node.
- the device determines the connection status of the current edge node by obtaining the host name, service certificate and cluster node list corresponding to the current edge node, and then determines the subsequent different processes according to different connection statuses.
- the connection status When the connection status is in the waiting state, it starts Registration.
- the connection status is the subject state to be started, the subject process is started.
- the connection status is the state to be cleaned, the service certificate is deleted.
- the connection status is abnormal, the current edge node is stopped.
- connection status other than the pending state the edge node will not start registration again, but will process it according to the process corresponding to other states, avoiding the existing inability to determine the state of the edge node before connecting to the cluster, and thus This causes the problem of repeated registration after blind startup.
- FIG 4 is a structural diagram of another edge node processing device provided by an embodiment of the present application. As shown in Figure 4, the device includes:
- Memory 21 used to store computer programs
- the processor 22 is configured to implement the steps of the edge node processing method when executing a computer program.
- the edge node processing device may include but is not limited to a smart phone, a tablet computer, a notebook computer or a desktop computer.
- the processor 22 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc.
- the processor 22 can adopt at least one hardware form among a digital signal processor (Digital Signal Processor, DSP), a field-programmable gate array (Field-Programmable Gate Array, FPGA), and a programmable logic array (Programmable Logic Array, PLA). to fulfill.
- DSP Digital Signal Processor
- FPGA field-programmable gate array
- PROgrammable Logic Array PLA
- the processor 22 may also include a main processor and a co-processor.
- the main processor is a processor used to process data in the wake-up state, also called a central processing unit (Central Processing Unit, CPU); the co-processor is A low-power processor used to process data in standby mode.
- CPU Central Processing Unit
- the processor 22 may be integrated with a graphics processor (Graphics Processing Unit, GPU), and the GPU is responsible for rendering and drawing content that needs to be displayed on the display screen.
- the processor 22 may also include an artificial intelligence (Artificial Intelligence, AI) processor, which is used to process computing operations related to machine learning.
- AI Artificial Intelligence
- Memory 21 may include one or more non-volatile readable storage media, which may be non-transitory.
- the memory 21 may also include high-speed random access memory, and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
- the memory 21 is at least used to store the following computer program 211. After the computer program is loaded and executed by the processor 22, the relevant steps of the edge node processing method disclosed in any of the foregoing embodiments can be implemented.
- the resources stored in the memory 21 may also include the operating system 212, data 213, etc., and the storage method may be short-term storage or permanent storage.
- the operating system 212 may include Windows, Unix, Linux, etc.
- the data 213 may include but is not limited to data related to the processing method of the edge node, etc.
- the processing device of the edge node may also include a display screen 23, an input and output interface 24, a communication interface 25, a power supply 26, and a communication bus 27.
- Figure 4 does not constitute a limitation on the processing device of the edge node, and may include more or fewer components than shown in the figure.
- the processor 22 implements the edge node processing method provided in any of the above embodiments by calling instructions stored in the memory 21 .
- An edge node processing device includes obtaining the host name, service certificate and cluster node list corresponding to the current edge node; determining the connection status of the current edge node based on the relationship between the host name, service certificate and cluster node list; if If the connection status is to be started, the current edge node will be started and registered; if the connection status is to be started as the main body state, the main process of the current edge node will be started; if the connection status is to be cleaned up, the service certificate will be deleted; if the connection status is to be started, the main process of the current edge node will be started. If it is in an abnormal state, stop using the current edge node.
- the device determines the connection status of the current edge node by obtaining the host name, service certificate and cluster node list corresponding to the current edge node, and then determines the subsequent different processes according to different connection statuses.
- the connection status When the connection status is in the waiting state, it starts Registration.
- the connection status is the subject state to be started, the subject process is started.
- the connection status is the state to be cleaned, the service certificate is deleted.
- the connection status is abnormal, the current edge node is stopped.
- connection status other than the pending state the edge node will not start registration again, but will process it according to the process corresponding to other states, avoiding the existing inability to determine the state of the edge node before connecting to the cluster, and thus This causes the problem of repeated registration after blind startup.
- this application also provides a non-volatile readable storage medium.
- a computer program is stored on the non-volatile readable storage medium.
- the above-mentioned edge node processing method is implemented. step.
- the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile readable storage medium.
- the technical solution of the present application is essentially or contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product.
- the computer software product is stored in a non-volatile computer software. All or part of the steps of the methods described in various embodiments of this application are executed in a readable storage medium.
- non-volatile readable storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Stored Programmes (AREA)
Abstract
Description
Claims (20)
- 一种边缘节点的处理方法,其特征在于,包括:获取当前边缘节点对应的主机名、服务证书以及集群节点列表;根据所述主机名、所述服务证书以及所述集群节点列表的关系确定所述当前边缘节点的连接状态;若所述连接状态为待启动状态,则将所述当前边缘节点进行启动注册;若所述连接状态为待启动主体状态,则启动所述当前边缘节点的主体进程;若所述连接状态为待清理状态,则删除所述服务证书;若所述连接状态为异常状态,则停止使用所述当前边缘节点。
- 根据权利要求1所述的边缘节点的处理方法,其特征在于,所述根据所述主机名、所述服务证书以及所述集群节点列表的关系确定所述当前边缘节点的连接状态,包括:当检测到所述服务证书存在时,判断所述集群节点列表是否包含所述主机名;若所述集群节点包含所述主机名,则确定所述连接状态为所述待启动主体状态;若所述集群节点不包含所述主机名,则确定所述连接状态为所述待清理状态;当检测到所述服务证书不存在时,判断所述集群节点列表是否包含所述主机名;若所述集群节点列表包含所述主机名,则确定所述连接状态为所述异常状态;若所述集群节点列表不包含所述主机名,则确定所述连接状态为所述待启动状态。
- 根据权利要求2所述的边缘节点的处理方法,其特征在于,在所述若所述连接状态为待清理状态,则删除所述服务证书之后,还包括:删除所述当前边缘节点对应的配置信息、数据库以及日志。
- 根据权利要求3所述的边缘节点的处理方法,其特征在于,所述若所述连接状态为待启动状态,则将所述当前边缘节点进行启动注册,包括:生成所述当前边缘节点对应的所述服务证书、启动所述数据库以及启动所述当前边缘节点注册至管理端。
- 根据权利要求4所述的边缘节点的处理方法,其特征在于,在所述生成所述当前边缘节点对应的所述服务证书、启动所述数据库以及启动所述当前边缘节点注册至管理端之后,所述方法还包括:初始化所述当前边缘节点对应的配置文件。
- 根据权利要求1所述的边缘节点的处理方法,其特征在于,所述获取当前边缘节点对应的主机名、服务证书以及集群节点列表,包括:获取当前边缘节点在本地端的节点主机名,并通过本地边缘节点获取所述当前边缘 节点对应的服务证书;获取需建立连接的目标集群所对应的集群节点列表。
- 根据权利要求1至6任意一项所述的边缘节点的处理方法,其特征在于,在确定所述当前边缘节点的所述连接状态之后,还包括:卸载所述当前边缘节点对应的驱动程序以便下次启动所述当前边缘节点时安装所述驱动程序。
- 根据权利要求1所述的边缘节点的处理方法,其特征在于,所述若所述连接状态为待启动状态,则将所述当前边缘节点进行启动注册,包括:若所述连接状态为待启动状态,则对所述当前边缘节点进行初始化启动,并获取所述当前边缘节点对应的服务证书;启动边缘节点服务,将所述当前边缘节点注册至管理端,并启动主体进程。
- 根据权利要求1所述的边缘节点的处理方法,其特征在于,所述若所述连接状态为待启动主体状态,则启动所述当前边缘节点的主体进程,包括:若所述连接状态为待启动主体状态,则启动所述当前边缘节点的主体进程,通过所述主体进程将所述当前边缘节点与集群管理端的边缘管理服务建立长连接,并定时获取所述当前边缘节点的连接状态以及容器状态,同时接收来自所述边缘管理服务的指令以及执行程序。
- 根据权利要求1所述的边缘节点的处理方法,其特征在于,所述若所述连接状态为待清理状态,则删除所述服务证书,包括:若所述连接状态为待清理状态,则删除所述服务证书,并关闭边缘节点服务。
- 根据权利要求4所述的边缘节点的处理方法,其特征在于,获取所述集群节点列表,包括:访问所述管理端对应的集群节点的kube-apiserver调用接口以获取所述集群节点列表。
- 根据权利要求2所述的边缘节点的处理方法,其特征在于,还包括:当所述连接状态为所述异常状态时,则输出提示信息。
- 根据权利要求12所述的边缘节点的处理方法,其特征在于,所述当所述连接状态为所述异常状态时,则输出提示信息,包括:当所述连接状态为所述异常状态时,则输出提示信息,同时启动报修机制。
- 根据权利要求12或13所述的边缘节点的处理方法,其特征在于,所述当前边缘节点处设置有报警装置,所述当所述连接状态为所述异常状态时,则输出提示信息, 包括:当所述连接状态为所述异常状态时,则触发所述报警装置的鸣笛机制,进行鸣笛。
- 根据权利要求12或13所述的边缘节点的处理方法,其特征在于,所述当前边缘节点处设置有故障灯,所述当所述连接状态为所述异常状态时,则输出提示信息,包括:当所述连接状态为所述异常状态时,则触发所述故障灯的闪烁机制,进行闪烁。
- 根据权利要求1所述的边缘节点的处理方法,其特征在于,在所述获取当前边缘节点对应的主机名、服务证书以及集群节点列表之前,所述方法还包括:在启动边缘节点服务之前,将所述当前边缘节点与管理端的集群建立连接。
- 根据权利要求17所述的边缘节点的处理方法,其特征在于,在所述将所述当前边缘节点与管理端的集群建立连接之前,所述方法还包括:若所述当前边缘节点存储有与历史连接集群建立连接后未清理的数据,则在启动所述当前边缘节点连接所述管理端的集群时,基于边缘节点的启动机制,将所述当前边缘节点自动注册至所述历史连接集群。
- 一种边缘节点的处理装置,其特征在于,包括:获取模块,用于获取当前边缘节点对应的主机名、服务证书以及集群节点列表;确定模块,用于根据所述主机名、所述服务证书以及所述集群节点列表的关系确定所述当前边缘节点的连接状态,若所述连接状态为待启动状态,则触发启动注册模块,若所述连接状态为待启动主体状态,则触发启动主体模块,若所述连接状态为待清理状态,则触发删除模块,若所述连接状态为异常状态,则触发停止模块;所述启动注册模块,用于将所述当前边缘节点进行启动注册;所述启动主体模块,用于启动所述当前边缘节点的主体进程;所述删除模块,用于删除所述服务证书;所述停止模块,用于停止使用所述当前边缘节点。
- 一种边缘节点的处理装置,其特征在于,包括:存储器,用于存储计算机程序;处理器,用于执行所述计算机程序时实现如权利要求1至17任一项所述的边缘节点的处理方法的步骤。
- 一种非易失性可读存储介质,其特征在于,所述非易失性可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至17任一项所述的边缘节点的处理方法的步骤。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210331126.1 | 2022-03-31 | ||
| CN202210331126.1A CN114640709B (zh) | 2022-03-31 | 2022-03-31 | 一种边缘节点的处理方法、装置及介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023185136A1 true WO2023185136A1 (zh) | 2023-10-05 |
Family
ID=81952233
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/141658 Ceased WO2023185136A1 (zh) | 2022-03-31 | 2022-12-23 | 一种边缘节点的处理方法、装置及介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN114640709B (zh) |
| WO (1) | WO2023185136A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117938617A (zh) * | 2024-03-19 | 2024-04-26 | 济南浪潮数据技术有限公司 | 设备管理方法、装置、计算机设备及存储介质 |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114640709B (zh) * | 2022-03-31 | 2023-07-25 | 苏州浪潮智能科技有限公司 | 一种边缘节点的处理方法、装置及介质 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009082978A1 (fr) * | 2007-12-28 | 2009-07-09 | Huawei Technologies Co., Ltd. | Procédé de protection de réseau d'accès, système et nœud de bord d'accès |
| CN112087312A (zh) * | 2019-06-15 | 2020-12-15 | 华为技术有限公司 | 一种提供边缘服务的方法、装置和设备 |
| CN112187532A (zh) * | 2020-09-18 | 2021-01-05 | 北京浪潮数据技术有限公司 | 一种节点管控方法及系统 |
| CN114640709A (zh) * | 2022-03-31 | 2022-06-17 | 苏州浪潮智能科技有限公司 | 一种边缘节点的处理方法、装置及介质 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111355610A (zh) * | 2020-02-25 | 2020-06-30 | 网宿科技股份有限公司 | 一种基于边缘网络的异常处理方法及装置 |
| CN111782370B (zh) * | 2020-06-30 | 2022-12-06 | 平安科技(深圳)有限公司 | 一种kubernetes多集群管理系统、方法、终端及存储介质 |
| CN113225214B (zh) * | 2021-05-07 | 2023-04-07 | 浪潮通信技术有限公司 | 协同管理边缘cdn节点的方法、装置及计算机可读介质 |
| CN113742031B (zh) * | 2021-08-27 | 2022-11-04 | 北京百度网讯科技有限公司 | 节点状态信息获取方法、装置、电子设备及可读存储介质 |
| CN113946443A (zh) * | 2021-10-14 | 2022-01-18 | 上海明胜品智人工智能科技有限公司 | 边缘设备管理及主动注册方法、装置和电子设备 |
-
2022
- 2022-03-31 CN CN202210331126.1A patent/CN114640709B/zh active Active
- 2022-12-23 WO PCT/CN2022/141658 patent/WO2023185136A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009082978A1 (fr) * | 2007-12-28 | 2009-07-09 | Huawei Technologies Co., Ltd. | Procédé de protection de réseau d'accès, système et nœud de bord d'accès |
| CN112087312A (zh) * | 2019-06-15 | 2020-12-15 | 华为技术有限公司 | 一种提供边缘服务的方法、装置和设备 |
| CN112187532A (zh) * | 2020-09-18 | 2021-01-05 | 北京浪潮数据技术有限公司 | 一种节点管控方法及系统 |
| CN114640709A (zh) * | 2022-03-31 | 2022-06-17 | 苏州浪潮智能科技有限公司 | 一种边缘节点的处理方法、装置及介质 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117938617A (zh) * | 2024-03-19 | 2024-04-26 | 济南浪潮数据技术有限公司 | 设备管理方法、装置、计算机设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114640709B (zh) | 2023-07-25 |
| CN114640709A (zh) | 2022-06-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108600029B (zh) | 一种配置文件更新方法、装置、终端设备及存储介质 | |
| CN111262908A (zh) | 基于jenkins的任务构建方法及系统 | |
| WO2024077885A1 (zh) | 容器集群的管理方法、装置、设备及非易失性可读存储介质 | |
| CN105468717B (zh) | 数据库操作方法和装置 | |
| CN113742031B (zh) | 节点状态信息获取方法、装置、电子设备及可读存储介质 | |
| US20130318512A1 (en) | Hot Pluggable Extensions for Access Management System | |
| WO2019076369A1 (zh) | 一种云平台部署方法、装置、电子设备及可读存储介质 | |
| CN110943860B (zh) | 一种bmc固件更新方法、系统、电子设备及存储介质 | |
| WO2017162173A1 (zh) | 云服务器集群建立连接的方法和装置 | |
| CN114185734B (zh) | 一种监控集群的方法、装置及电子设备 | |
| CN116627721B (zh) | 基于混合云的云原生数据库恢复方法、设备及存储介质 | |
| CN113296805A (zh) | 一种辅助容器实现热升级的方法及装置 | |
| WO2023185136A1 (zh) | 一种边缘节点的处理方法、装置及介质 | |
| CN106506215A (zh) | 一种基于cmdb的自动化运维系统 | |
| WO2023184875A1 (zh) | 一种裸金属磁盘备份方法、装置及计算机可读存储介质 | |
| CN108900606A (zh) | 一种跨系统实现数据共享的方法、装置及设备 | |
| CN114925052B (zh) | 重启数据库的方法、装置、设备和计算机可读介质 | |
| CN114900449A (zh) | 一种资源信息管理方法、系统及装置 | |
| US11720424B2 (en) | Single flow execution | |
| CN115291972A (zh) | 一种K8s集群的环境配置方法、装置及电子设备 | |
| CN114996055B (zh) | 一种双机热备系统控制方法、装置、介质 | |
| CN118626101A (zh) | 微服务集群ci/cd的实现方法、装置及电子设备 | |
| CN115766405B (zh) | 一种故障处理方法、装置、设备和存储介质 | |
| CN116149858A (zh) | 一种云平台容器集群部署方法、装置、介质 | |
| CN115237485A (zh) | 一种微服务的启动管理方法、装置、设备及介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22934951 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22934951 Country of ref document: EP Kind code of ref document: A1 |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02/04/2025) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22934951 Country of ref document: EP Kind code of ref document: A1 |