CN115664918A - Method and device for controlling node and readable storage medium - Google Patents
Method and device for controlling node and readable storage medium Download PDFInfo
- Publication number
- CN115664918A CN115664918A CN202211279131.9A CN202211279131A CN115664918A CN 115664918 A CN115664918 A CN 115664918A CN 202211279131 A CN202211279131 A CN 202211279131A CN 115664918 A CN115664918 A CN 115664918A
- Authority
- CN
- China
- Prior art keywords
- node
- configuration
- preq
- controlled
- configuration information
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application discloses a method and a device for controlling nodes and a readable storage medium, and relates to the field of electronic information. The method for controlling the nodes is applied to the management nodes, after the management nodes exit from the period limitation, information is sent to the controlled nodes according to the PReq extension message, compared with the traditional mode of sending and receiving feedback through two asynchronous stages, the method has the advantages that the controlled nodes are not required to be disconnected from the management nodes, the online updating of the controlled nodes is realized only through the period modification and the data transmission mode, the data transmission is carried out through the message mode, then in the asynchronous stage, the management nodes are not required to be configured and updated, and only the corresponding controlled nodes are required to be waited for updating, so that the working efficiency of a server is greatly improved, and the stability of the operation of the server is ensured.
Description
Technical Field
The present application relates to the field of electronic systems, and in particular, to a method and an apparatus for controlling a node, and a readable storage medium.
Background
With the gradual progress of electronic technology, node management in a server becomes a hot field at present, at most, management nodes in a server commonly used at present support controlled nodes 239, and in the case of supporting the maximum controlled nodes, the downloading time of the controlled nodes by the management nodes is too long, and generally, the downloading of the nodes takes about 5 minutes.
Fig. 1 is a schematic diagram of a conventional node control structure, as shown in fig. 1, where an MN is a management node and a CN is a controlled node, and in a current node downloading process, in a period, an MN node sends a request or a response to an assigned CN node only once in an asynchronous stage, so that two complete periods are required for the MN node to complete data transmission to the assigned CN node, and in this process, the controlled node is disconnected from a management network and then joins again, and in this process, the controlled node interferes with the entire system. For example: one management node supports 239 controlled nodes, the cycle period of the management node and the controlled nodes is 25ms, the configuration data of one controlled node is 16, and the configuration process probably needs to be as follows because the controlled node needs 8 extra communications when restarting and joining the network again: 287s. In the whole node downloading process, all nodes are disconnected from the system, so that the server cannot normally work in about 5 minutes, and the service in the operation of the server is delayed or even fails.
In view of the above technologies, a method for finding a control node with higher stability is an urgent problem to be solved by those skilled in the art.
Disclosure of Invention
The present application aims to provide a method, an apparatus, and a readable storage medium for controlling nodes, so as to solve the problem that, in the existing scheme, all nodes are disconnected from a system in the whole node downloading process, and therefore, a server cannot normally operate for about 5 minutes, which results in slow service or even failure in the server operation.
In order to solve the above technical problem, the present application provides a method for controlling a node, which is applied to a management node, and includes:
setting the cycle time of the control cycle to be randomly adjustable, and sending configuration information to each controlled node through a PReq extended message;
detecting whether each controlled node receives the PReq extended message;
if not, returning to the step of sending configuration information to each controlled node through the PReq extended message;
if so, setting the cycle time of the control cycle as a preset cycle time, entering an asynchronous stage and sending a configuration updating instruction, so that the controlled node performs configuration updating according to the configuration information after receiving the configuration updating instruction.
Preferably, the detecting whether each controlled node receives the PReq extension packet includes:
entering a synchronization stage of the next period, and receiving Pres messages sent by each controlled node;
and detecting whether each controlled node receives the PReq extended message or not according to the Pres message.
Preferably, after the setting of the cycle time of the control cycle to be arbitrarily adjustable, the method further includes:
broadcasting the cycle time modification information to each controlled node so that the controlled node closes a timeout protection state.
Preferably, after entering the asynchronous stage and sending a configuration update instruction, the method further includes:
reading configuration parameters of a controlled node, and judging whether the controlled node is configured or not according to the configuration parameters;
if not, an alarm is given so as to prompt the user to modify the configuration.
In order to solve the above problem, the present application further provides a method for controlling a node, which is applied to a controlled node, and includes:
receiving a PReq extended message sent by a management node, and analyzing the PReq extended message to obtain configuration information, wherein the management node is a node with a control period and a randomly adjustable period time;
after receiving the configuration information, sending feedback information to the management node;
and receiving a configuration updating instruction sent by the management node, and updating the configuration according to the instruction and the configuration information.
Preferably, after receiving the PReq extension packet sent by the management node and obtaining configuration information according to the analysis of the PReq extension packet, the method further includes:
caching the configuration information and detecting whether the configuration information in the cache space is complete or not;
and if so, sending feedback information to the management node after the configuration information is received.
In order to solve the above problem, the present application further provides a node control apparatus, applied to a management node, including:
the setting module is used for setting the cycle time of the control cycle to be randomly adjustable and sending configuration information to each controlled node through a PReq extension message;
the detection module is used for detecting whether each controlled node receives the PReq extended message, if so, returning to the setting module, and if not, entering the sending module;
and the sending module is used for setting the cycle time of the control cycle as a preset cycle time, entering an asynchronous stage and sending a configuration updating instruction so as to facilitate the controlled node to carry out configuration updating according to the configuration information after receiving the configuration updating instruction.
In order to solve the above problem, the present application further provides an apparatus for controlling a node, including:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a PReq extension message sent by a management node, and analyzing the PReq extension message to obtain configuration information, and the management node is a node with a control period and a randomly adjustable period time;
the feedback module is used for sending feedback information to the management node after the configuration information is received;
and the updating module is used for receiving a configuration updating instruction sent by the management node and updating the configuration according to the instruction and the configuration information.
In order to solve the above problem, the present application further provides an apparatus for controlling a node, including a memory for storing a computer program;
a processor for implementing the steps of the method of controlling a node as described above when executing said computer program.
To solve the above problem, the present application further provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the method of controlling a node as described above.
The method for controlling the nodes is applied to the management nodes, after the management nodes exit from the period limitation, information is sent to the controlled nodes according to the PReq extension message, the controlled nodes recover to operate periodically after receiving the configuration information, the controlled nodes are enabled to carry out corresponding configuration updating in the asynchronous stage of the next period, compared with the prior mode of sending and receiving feedback through two asynchronous stages, the method for controlling the nodes is characterized in that the controlled nodes do not need to be disconnected from the management nodes, the controlled nodes are updated online only by modifying the period and the data transmission mode, the data is transmitted through the message mode, then in the asynchronous stage, the management nodes do not need to be updated again, only the corresponding controlled nodes need to be updated, the working efficiency of the server is greatly improved, and the stability of the operation of the server is ensured.
The apparatus for controlling a node and the computer-readable storage medium provided by the present application correspond to the method for controlling a node, and have the same advantages as above.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings required for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained by those skilled in the art without inventive effort.
Fig. 1 is a schematic diagram of a conventional node control structure;
fig. 2 is a flowchart of a method for controlling a node according to an embodiment of the present application;
fig. 3 is a schematic diagram of an apparatus for controlling a node according to an embodiment of the present disclosure;
fig. 4 is a schematic device diagram of another control node according to an embodiment of the present application;
fig. 5 is a structural diagram of an apparatus for controlling a node according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a method and a device for controlling nodes and a readable storage medium, so as to solve the problem that in the whole node downloading process, all nodes are disconnected from a system, so that a server cannot normally work within about 5 minutes, and thus, the service in the operation of the server is slow or even fails.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings.
Fig. 2 is a flowchart of a method for controlling a node according to an embodiment of the present application, where as shown in fig. 2, the method includes:
s10: setting the cycle time of the control cycle to be randomly adjustable, and sending configuration information to each controlled node through a PReq extended message;
it can be understood that according to the data transmission method in fig. 1, the existing data transmission is generally divided into 3 stages, i.e., an idle stage, a synchronous stage, and an asynchronous stage, and the time of the corresponding control cycle can be obtained in the 3 stages, but in this embodiment, the cycle time is set to be arbitrarily adjustable, and meanwhile, the feedback problem of the controlled node to the received information also needs to be considered, and the cycle time is not expanded in this embodiment.
S11: detecting whether each controlled node receives the PReq extended message, if not, returning to S10, and if so, entering S12;
it should be noted that the message (message) is a data unit exchanged and transmitted in the network, that is, a data block that is to be sent by the station at one time. The message contains complete data information to be sent, and the message is very inconsistent in length, unlimited in length and variable. In this embodiment, no limitation is made on the specific type of the packet and the corresponding data unit form, and it should be noted that, for the extension packet, the content of the core data is not specifically limited in this embodiment.
S12: and setting the cycle time of the control cycle as preset cycle time, entering an asynchronous stage and sending a configuration updating instruction.
Through the steps, the controlled node can conveniently carry out configuration updating according to the configuration information after receiving the configuration updating instruction. It should be noted that, in this embodiment, a specific time period of the preset cycle time is not limited, and it should be understood that no specific limitation is imposed on a setting manner of the specific preset cycle time, a time content of the preset cycle time, and the like.
The method for controlling the nodes is applied to the management nodes, after the management nodes exit the period limitation, the information is sent to the controlled nodes according to the PReq extension message, the controlled nodes recover the period operation after receiving the configuration information, and the controlled nodes perform corresponding configuration updating in the asynchronous stage of the next period.
In the above embodiment, a preferred scheme is proposed that, with respect to how to detect whether the controlled node receives the PReq message, the detecting whether each controlled node receives the PReq extension message includes:
entering a synchronization stage of the next period, and receiving Pres messages sent by each controlled node;
and detecting whether each controlled node receives the PReq extended message or not according to the Pres message.
It should be noted that, in this embodiment, because there is no limitation on cycle time, a mode of manually performing or automatically setting asynchronous stage time is generally adopted when entering a next cycle, and the management node needs to perform corresponding processing after receiving a corresponding Pres packet.
Considering that the controlled node generally has the timeout protection of communication in order to meet the server requirement, the preferable scheme is provided, after the setting of the cycle time of the control cycle to be arbitrarily adjustable, the method further includes:
and broadcasting the periodic time modification information to each controlled node so that the controlled node closes the overtime protection state.
It should be noted that, the timeout protection state of the controlled node provided in this embodiment is not linked to the synchronous phase state and the asynchronous phase state, but a general set of a receiving preset value for receiving information in the controlled node, and if no information is received when the receiving preset value is exceeded, the controlled node enters the timeout protection state, and different controlled nodes have different sets of the timeout protection state, so the specific time set for the timeout protection state and the specific protection manner of the timeout protection state are not limited in this embodiment.
In order to ensure that the update of the controlled node is completed to prevent errors in subsequent server operations in view of instability of the update of the configuration parameters received by the controlled node, the method further includes, after entering the asynchronous phase and sending the configuration update instruction:
reading configuration parameters of the controlled node, and judging whether the controlled node is configured or not according to the configuration parameters;
if not, an alarm is given so as to prompt the user to modify the configuration.
It should be noted that, in this embodiment, it is not limited to determine whether the configuration of the controlled node is completed, it is conceivable that the determination may be performed in a manner of a log, a message, or the like, it is to be noted that, in this embodiment, a specific manner of configuration modification and alarm is not limited, and in this embodiment, an alarm manner is added, so that it can be verified whether the configuration of the controlled node is completed, and an operation error caused by a version problem in a subsequent server operation is prevented.
In order to solve the above problem, the present application further provides a method for controlling a node, which is applied to a controlled node, and includes:
receiving a PReq extension message sent by a management node, and analyzing the PReq extension message to obtain configuration information, wherein the management node is a node with a control cycle and an arbitrarily adjustable cycle time;
after receiving the configuration information, sending feedback information to the management node;
and receiving a configuration updating instruction sent by the management node, and updating the configuration according to the instruction and the configuration information.
Preferably, after receiving the PReq extension message sent by the management node and obtaining the configuration information according to the analysis of the PReq extension message, the method further comprises the following steps;
caching the configuration information and detecting whether the configuration information in a cache space is complete or not;
and if so, entering a step of sending feedback information to the management node after the configuration information is received.
The core content adopted by the method is the same as that of the method in the embodiment, and only one application scenario exists in the management node and the other application scenario exists in the controlled node, so the specific embodiment refers to the embodiment of the method applied to the management node.
The method for controlling the nodes is applied to the controlled nodes, after the management nodes exit the period limitation, the information is sent to the controlled nodes according to the PReq extension message, the controlled nodes recover the period operation after receiving the configuration information, and the controlled nodes perform corresponding configuration updating in the asynchronous stage of the next period.
In the foregoing embodiments, a method for controlling a node is described in detail, and the present application also provides embodiments corresponding to an apparatus for controlling a node. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one is from the perspective of the function module, and the other is from the perspective of the hardware.
Fig. 3 is a schematic diagram of a device for controlling a node according to an embodiment of the present application, where the device is applied to a management node, and the device includes:
the setting module 1 is used for setting the cycle time of the control cycle to be randomly adjustable and sending configuration information to each controlled node through a PReq extended message;
the detection module 2 is used for detecting whether each controlled node receives the PReq extended message, if so, returning to the setting module, and if not, entering the sending module;
and the sending module 3 is configured to set the cycle time of the control cycle to a preset cycle time, enter an asynchronous stage, and send a configuration update instruction, so that the controlled node performs configuration update according to the configuration information after receiving the configuration update instruction.
Fig. 4 is a schematic device diagram of another control node according to an embodiment of the present application, applied to a controlled node, and including:
the receiving module 10 is configured to receive a PReq extension packet sent by a management node, and analyze the PReq extension packet to obtain configuration information, where the management node is a node whose control cycle has a cycle time that is arbitrarily adjustable;
a feedback module 11, configured to send feedback information to the management node after receiving the configuration information is completed;
and an updating module 12, configured to receive a configuration updating instruction sent by the management node, and perform configuration updating according to the instruction and the configuration information.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
The two node control devices provided in this embodiment receive, through the information collection module, cache information written by the IO port, send an aggregation request to the aggregation control module, and control the aggregation control module to obtain configuration information and cache information of the RAID card, obtain an aggregation array element according to the configuration information, control the aggregation control module to perform corresponding aggregation operation on the configuration information according to the aggregation array element, send the cache information after the aggregation operation to the CPU, and drop the cache information. The scheme provided by the application, through adopting the RAID card that has included information acquisition module and aggregation control module, thereby make after receiving cache information, carry out the aggregation control back by the RAID card according to the aggregation array of compiling in advance, the cache information that will handle the completion sends to CPU, thereby the disk is fallen, compare with original scheme, because this scheme can preferentially merge a series of like cache data, thereby communication obstacle between RAID card and the CPU has been reduced, and because cache data in this scheme carries out the aggregation operation through the RAID card, thereby it goes on to need not CPU, consequently, CPU's load has been reduced, further efficiency has been improved.
Fig. 5 is a structural diagram of an apparatus for controlling a node according to another embodiment of the present application, and as shown in fig. 5, the apparatus for controlling a node includes: a memory 20 for storing a computer program;
a processor 21 for implementing the steps of the method of controlling a node as mentioned in the embodiments above when executing the computer program.
The device for controlling the node provided in this embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, or a desktop computer.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The Processor 21 may be implemented in at least one hardware form of Digital Signal Processor (DSP), field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a Graphics Processing Unit (GPU) which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 21 may further include an Artificial Intelligence (AI) processor for processing computational operations related to machine learning.
The memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing the following computer program 201, wherein after being loaded and executed by the processor 21, the computer program can implement the relevant steps of the method for controlling a node disclosed in any one of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among other things, windows, unix, linux, etc. Data 203 may include, but is not limited to, data involved in the method of controlling the node, and the like.
In some embodiments, the means for controlling the node may further comprise a display 22, an input/output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
It will be appreciated by those skilled in the art that the architecture shown in figure 5 does not constitute a limitation of the means of controlling the node and may comprise more or fewer components than those shown.
The apparatus for controlling a node provided in the embodiment of the present application includes a memory and a processor, and when the processor executes a program stored in the memory, the following method can be implemented: the method of controlling a node referred to in the above embodiments.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
The device for controlling the nodes comprises a processor and a memory, and when the stored data in the memory is executed by the processor, the purpose that the cache information written by an IO port is received through an information collection module can be achieved, an aggregation request is sent to an aggregation control module, the aggregation control module is controlled to obtain the configuration information and the cache information of the RAID card, an aggregation array element is obtained according to the configuration information, the aggregation control module is controlled to perform corresponding aggregation operation on the configuration information according to the aggregation array element, the cache information after the aggregation operation is sent to a CPU, and the cache information is landed. The scheme provided by the application, through adopting the RAID card that has included information acquisition module and aggregation control module, thereby make after receiving cache information, carry out the aggregation control back by the RAID card according to the aggregation array of compiling in advance, the cache information that will handle the completion sends to CPU, thereby the disk is fallen, compare with original scheme, because this scheme can preferentially merge a series of like cache data, thereby communication obstacle between RAID card and the CPU has been reduced, and because cache data in this scheme carries out the aggregation operation through the RAID card, thereby it goes on to need not CPU, consequently, CPU's load has been reduced, further efficiency has been improved.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps as set forth in the above-mentioned method embodiments.
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application, which are essential or part of the prior art, or all or part of the technical solutions may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Since the embodiment of the readable storage medium portion corresponds to the embodiment of the method portion, please refer to the description of the embodiment of the method portion for the embodiment of the apparatus portion, which is not repeated here.
When the stored data are executed, the computer-readable storage medium can receive cache information written by an IO port through an information collection module, send an aggregation request to an aggregation control module, control the aggregation control module to obtain configuration information and cache information of a RAID card, obtain aggregation array elements according to the configuration information, control the aggregation control module to perform corresponding aggregation operation on the configuration information according to the aggregation array elements, send the cache information after the aggregation operation to a CPU, and place the cache information on a disk. The scheme provided by the application, through adopting the RAID card that has included information acquisition module and aggregation control module, thereby make after receiving cache information, carry out the aggregation control back by the RAID card according to the aggregation array of compiling in advance, the cache information that will handle the completion sends to CPU, thereby the disk is fallen, compare with original scheme, because this scheme can preferentially merge a series of like cache data, thereby communication obstacle between RAID card and the CPU has been reduced, and because cache data in this scheme carries out the aggregation operation through the RAID card, thereby it goes on to need not CPU, consequently, CPU's load has been reduced, further efficiency has been improved.
A method, an apparatus, and a computer-readable storage medium for controlling a node provided by the present application are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed in the embodiment corresponds to the method disclosed in the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
Claims (10)
1. A method for controlling a node, applied to a management node, includes:
setting the cycle time of the control cycle to be randomly adjustable, and sending configuration information to each controlled node through a PReq extended message;
detecting whether each controlled node receives the PReq extended message;
if not, returning to the step of sending configuration information to each controlled node through the PReq extended message;
if so, setting the cycle time of the control cycle as a preset cycle time, entering an asynchronous stage and sending a configuration updating instruction, so that the controlled node performs configuration updating according to the configuration information after receiving the configuration updating instruction.
2. The method according to claim 1, wherein the detecting whether each controlled node receives the PReq extended packet includes:
entering the synchronization stage of the next period, and receiving Pres messages sent by each controlled node;
and detecting whether each controlled node receives the PReq extended message or not according to the Pres message.
3. The method of controlling a node according to claim 2, further comprising, after the setting the cycle time of the control cycle to be arbitrarily adjustable:
broadcasting the periodic time modification information to each controlled node so that the controlled node closes a timeout protection state.
4. The method of controlling a node of claim 3, after said entering an asynchronous phase and sending a configuration update instruction, further comprising:
reading configuration parameters of a controlled node, and judging whether the controlled node is configured or not according to the configuration parameters;
if not, an alarm is given so as to prompt the user to modify the configuration.
5. A method for controlling a node, applied to a controlled node, includes:
receiving a PReq extended message sent by a management node, and analyzing the PReq extended message to obtain configuration information, wherein the management node is a node with a control period and a randomly adjustable period time;
after receiving the configuration information, sending feedback information to the management node;
and receiving a configuration updating instruction sent by the management node, and updating the configuration according to the instruction and the configuration information.
6. The method for controlling a node according to claim 5, wherein after receiving the PReq extension packet sent by the management node and obtaining the configuration information according to the analysis of the PReq extension packet, the method further comprises:
caching the configuration information and detecting whether the configuration information in the cache space is complete or not;
and if so, entering the step of sending feedback information to the management node after the configuration information is received.
7. An apparatus for controlling a node, applied to a management node, comprising:
the setting module is used for setting the cycle time of the control cycle to be randomly adjustable and sending configuration information to each controlled node through a PReq extension message;
the detection module is used for detecting whether each controlled node receives the PReq extended message, if so, returning to the setting module, and if not, entering the sending module;
and the sending module is used for setting the cycle time of the control cycle as a preset cycle time, entering an asynchronous stage and sending a configuration updating instruction so that the controlled node can perform configuration updating according to the configuration information after receiving the configuration updating instruction.
8. An apparatus of a control node, applied to a controlled node, comprising:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a PReq extension message sent by a management node, and analyzing the PReq extension message to obtain configuration information, and the management node is a node with a control period and a randomly adjustable period time;
the feedback module is used for sending feedback information to the management node after the configuration information is received;
and the updating module is used for receiving a configuration updating instruction sent by the management node and updating the configuration according to the instruction and the configuration information.
9. An apparatus for controlling a node, comprising a memory for storing a computer program;
a processor for implementing the steps of the method of the control node according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon which, when being executed by a processor, carries out the steps of the method of controlling a node according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211279131.9A CN115664918A (en) | 2022-10-19 | 2022-10-19 | Method and device for controlling node and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211279131.9A CN115664918A (en) | 2022-10-19 | 2022-10-19 | Method and device for controlling node and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115664918A true CN115664918A (en) | 2023-01-31 |
Family
ID=84988549
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211279131.9A Pending CN115664918A (en) | 2022-10-19 | 2022-10-19 | Method and device for controlling node and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115664918A (en) |
-
2022
- 2022-10-19 CN CN202211279131.9A patent/CN115664918A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11243595B2 (en) | Method and apparatus for reducing continuous-wakeup delay of bluetooth loudspeaker, and bluetooth loudspeaker | |
CN106445528B (en) | Method and device for rapidly configuring SETUP option of BIOS | |
US20140031026A1 (en) | Method and device for performing a cleaning process on a portable electronic device | |
CN112433812B (en) | Virtual machine cross-cluster migration method, system, equipment and computer medium | |
CN110569158A (en) | method and device for testing abnormal power failure in SSD random scene and computer equipment | |
CN111858090B (en) | Data processing method, system, electronic equipment and storage medium | |
CN111666266A (en) | Data migration method and related equipment | |
CN112069266A (en) | Data synchronization method and service node | |
CN113672340A (en) | Incremental backup method, system and device of virtual machine and readable storage medium | |
CN114826749A (en) | Interface access control method, device and medium | |
CN112925555A (en) | Model management method, device, equipment and storage medium | |
CN112131015A (en) | Information processing method and device, cloud server and storage medium | |
US20230040962A1 (en) | Bios-based multi-user management method and system | |
CN105282327A (en) | Control method, electronic device and external device | |
CN113515291A (en) | Equipment online upgrading method and device | |
CN116149858A (en) | Cloud platform container cluster deployment method, device and medium | |
CN115664918A (en) | Method and device for controlling node and readable storage medium | |
CN116048726A (en) | Deployment method, device and medium of containerized storage cluster | |
CN112416698A (en) | Monitoring system expansion method and device, storage medium and electronic equipment | |
CN114721876A (en) | Data backup method, device and medium | |
CN115766697A (en) | File downloading method, device, equipment and storage medium | |
WO2017096889A1 (en) | Method and device for upgrading and downgrading system | |
CN113032043A (en) | Method, system, device and storage medium for processing configuration value | |
CN109379449B (en) | Data connection method, device, terminal and storage medium | |
CN113326192A (en) | Application testing method, device, equipment and storage medium for mobile terminal |
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 |