CN116260853A - Connection management method and device for node equipment and storage medium - Google Patents

Connection management method and device for node equipment and storage medium Download PDF

Info

Publication number
CN116260853A
CN116260853A CN202111500278.1A CN202111500278A CN116260853A CN 116260853 A CN116260853 A CN 116260853A CN 202111500278 A CN202111500278 A CN 202111500278A CN 116260853 A CN116260853 A CN 116260853A
Authority
CN
China
Prior art keywords
network
node
information
connection
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
CN202111500278.1A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202111500278.1A priority Critical patent/CN116260853A/en
Publication of CN116260853A publication Critical patent/CN116260853A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Abstract

The embodiment of the application discloses a connection management method, device and storage medium of node equipment, wherein the connection management method of the node equipment comprises the following steps: responding to an access event of the slot of the connecting equipment, and acquiring a slot identification of the slot accessed by the node equipment; acquiring network connection information corresponding to the slot position identification according to the established mapping relation between the slot position identification and the network connection information; and carrying out network configuration on the network interface of the node equipment according to the network connection information, and establishing connection with the network equipment through the network connection information after the configuration is completed. By adopting the method and the device, each node device in the multi-node system can be monitored more conveniently, the multi-node system with a certain scale is facilitated to perform user management, when the node device fails, the position of the failed node device can be found out rapidly, the failure detection efficiency of the multi-node system is improved, and the management of the node device is more accurate and effective.

Description

Connection management method and device for node equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for connection management of a node device, and a storage medium.
Background
With the rapid development of cloud computing, cloud computing services are increasingly demanded, and the scale of data centers required for providing services is also increased. In a network environment, a data center is generally deployed with large-scale node devices, and along with the increase of the number of node devices, the difficulty of managing the data center is gradually increased, and how to effectively manage each node device becomes a hot spot problem of current research.
Disclosure of Invention
The embodiment of the application provides a method, equipment and storage medium for managing connection of node equipment, which can effectively manage each node equipment in a multi-node system.
In one aspect, an embodiment of the present application provides a connection management method of a node device, which is applied to a node device in a multi-node system, where the multi-node system includes a plurality of node devices and a connection device, and the connection device is provided with a plurality of slots, and the node device is allowed to establish a connection with a network device by accessing to the slots, and includes:
responding to an access event of the slot of the connecting equipment, and acquiring a slot identification of the slot accessed by the node equipment;
acquiring network connection information corresponding to the slot position identification according to the established mapping relation between the slot position identification and the network connection information;
and carrying out network configuration on the network interface of the node equipment according to the network connection information, and establishing connection with the network equipment through the network connection information after the configuration is completed.
In one aspect, an embodiment of the present application provides a connection management method of a node device, which is applied to a management device in a multi-node system, where the multi-node system includes a plurality of node devices, a connection device, and a management device, the connection device is provided with a plurality of slots, and the node device is allowed to establish connection with a network device by accessing to the slots, and includes:
analyzing the network information of each node device in the multi-node system, and determining the network connection information corresponding to each network information;
acquiring a mapping relation between the established slot position identification and the network connection information, wherein the mapping relation is used for acquiring the corresponding network connection information according to the slot position identification of the connection equipment when the node equipment is accessed to the connection equipment so as to access the network equipment;
searching a slot position identifier corresponding to the network connection information according to the mapping relation;
and managing each node device in the multi-node system according to the searched slot position identification.
On the other hand, an embodiment of the present application provides a connection management apparatus of a node device, which is applied to a node device in a multi-node system, where the multi-node system includes a plurality of node devices and a connection device, a plurality of slots are provided on the connection device, and the node device is allowed to establish a connection with a network device by accessing to the slots, and includes:
a receiving unit, configured to receive a notification message of an access event to a slot of a connection device;
the processing unit is used for responding to an access event of the slot position of the connecting equipment and acquiring the slot position identification of the slot position accessed by the node equipment; acquiring network connection information corresponding to the slot position identification according to the established mapping relation between the slot position identification and the network connection information; and carrying out network configuration on the network interface of the node equipment according to the network connection information, and establishing connection with the network equipment through the network connection information after the configuration is completed.
On the other hand, the embodiment of the application provides a connection management device of a node device, which is applied to a management device in a multi-node system, wherein the multi-node system comprises a plurality of node devices, a connection device and the management device, the connection device is provided with a plurality of slots, and the node devices are allowed to establish connection with a network device by accessing the slots, and the connection management device comprises:
a receiving unit configured to receive network information of each node device in the multi-node system;
the processing unit is used for analyzing the network information of each node device in the multi-node system and determining the network connection information corresponding to each network information; acquiring a mapping relation between the established slot position identification and the network connection information, wherein the mapping relation is used for acquiring the corresponding network connection information according to the slot position identification of the connection equipment when the node equipment is accessed to the connection equipment so as to access the network equipment; searching a slot position identifier corresponding to the network connection information according to the mapping relation; and managing each node device in the multi-node system according to the searched slot position identification.
Accordingly, the embodiment of the application provides an intelligent device, which comprises: the system comprises a memory, a processor and a network interface, wherein the processor is connected with the memory and the network interface, the network interface is used for providing a network communication function, the memory is used for storing program codes, and the processor is used for calling the program codes and executing the method in the embodiment of the application.
Accordingly, embodiments of the present application provide a computer readable storage medium comprising: the computer readable storage medium stores a computer program which, when executed by a processor, implements the methods of embodiments of the present application.
Accordingly, embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer-readable storage medium, the computer instructions being read from the computer-readable storage medium and executed by a processor of a computer device, causing the computer device to perform the methods of embodiments of the present application.
By implementing the embodiment of the application, according to the pre-established mapping relation between the slot position identification and the network connection information, each node device in the multi-node system can correspond the network connection information for establishing connection with the network device to the slot position identification of the slot position of the connected device, so that the repeated network connection information is avoided being used by each node device, and when each node device is managed, the slot position of the connected device of the node device can be searched through the network connection information according to the pre-established mapping relation, thereby realizing the accurate management of each node device and improving the management efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is an application scenario schematic diagram of a connection management method of a node device provided in an embodiment of the present application;
fig. 2 is a flow chart of a connection management method of a node device according to an embodiment of the present application;
fig. 3 is a flow chart of another connection management method of a node device according to an embodiment of the present application;
fig. 4a is a flowchart of a connection management method of another node device according to an embodiment of the present application;
fig. 4b is a flowchart of a connection management method of another node device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a connection management apparatus of a node device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an intelligent device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The embodiment of the application provides a connection management method, device and storage medium of node equipment, wherein the method can be applied to the node equipment in a multi-node system, the multi-node system can comprise a plurality of node equipment and connection equipment, and each node equipment can be directly connected with the slot position on the connection equipment through a network cable and the like to establish connection with the network equipment. By implementing the embodiment of the application, when the node equipment is accessed to the slot position on the connecting equipment, the slot position identification of the slot position of the accessed connecting equipment can be obtained, the network connection information such as the IP address corresponding to the slot position identification of the slot position of the accessed connecting equipment is obtained according to the mapping relation between the pre-established slot position identification and the network connection information, and then the network connection information is used for establishing connection with the network equipment. By means of the method, on one hand, the mapping relation between the slots and the network connection information such as the IP address is fixed, the corresponding slots on the connector (or called as connection equipment) can be found according to the information such as the IP address of the network information, further, the fact that the network information is received and transmitted by which equipment can be accurately determined, management of the node equipment including information security management, network security management and the like can be achieved, on the other hand, after one node equipment is connected to the connector, accurate configuration of the network connection information such as the IP address can be rapidly completed, the allocation of the IP address does not need to be waited, and repeated network connection information used by each node equipment can be avoided. In general, compared with the situation that some node devices are directly connected to network devices such as a router, the method and the device can accurately find the slot positions of the connection devices connected to the node devices when managing the node devices, are beneficial to improving management efficiency, and improve the efficiency of network access to a certain extent.
Referring to fig. 1, fig. 1 is an application scenario schematic diagram of a connection management method of a node device according to an embodiment of the present application. The application scenario may include the multi-node system 100 and the network device 110, where the multi-node system 100 and the network device 110 may communicate through a wired or wireless manner.
As shown in fig. 1, network device 110 may be one or more of a switch 111, a router 112, and a gateway device 113, multi-node system 100 may include a node device 101, a node device 102, a node device 103, and a connection device 104, where a slot 105, a slot 106, and a slot 107 are disposed on connection device 104, and each node device included in multi-node system 100 may establish a connection with network device 110 through a slot in access connection device 104.
The node device may be a server or a terminal of an individual user. The method described by the embodiment of the application can be applied to a cloud service environment. Cloud technology (Cloud technology) refers to a hosting technology for integrating hardware, software, network and other series resources in a wide area network or a local area network to realize calculation, storage, processing and sharing of data.
Cloud technology (Cloud technology) is based on the general terms of network technology, information technology, integration technology, management platform technology, application technology and the like applied by Cloud computing business models, and can form a resource pool, so that the Cloud computing business model is flexible and convenient as required. Cloud computing technology will become an important support. Background services of technical networking systems require a large amount of computing, storage resources, such as video websites, picture-like websites, and more portals. Along with the high development and application of the internet industry, each article possibly has an own identification mark in the future, the identification mark needs to be transmitted to a background system for logic processing, data with different levels can be processed separately, and various industry data needs strong system rear shield support and can be realized only through cloud computing.
The server referred to in the present application may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms. The terminal may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, etc. The terminal and the server may be directly or indirectly connected through wired or wireless communication, which is not limited herein. The data related to the application, such as the mapping relation between the slot position identification and the network connection information, can be stored and managed through a Database (Database). The database, which can be simply regarded as an electronic filing cabinet, is a place for storing electronic files, and a user can perform operations such as adding, inquiring, updating, deleting and the like on data in the files. A "database" is a collection of data stored together in a manner that can be shared with multiple users, with as little redundancy as possible, independent of the application.
The database management system (Database Management System, DBMS) is a computer software system designed for managing databases, and generally has basic functions of storage, interception, security, backup, and the like. The database management system may be categorized according to the database model it supports, e.g., relational, extensible markup language (Extensible Markup Language, XML); or by the type of computer supported, e.g., server cluster, mobile phone; or by the query language used, such as structured query language (Structured Query Language, SQL), XML query language (XQuery); or by performance impact emphasis, such as maximum scale, highest operating speed; or other classification schemes. Regardless of the manner of classification used, some DBMSs are able to support multiple query languages across categories, for example, simultaneously.
It should be understood that the number of slots on the network devices, node devices and connection devices in the multi-node system of fig. 1 is merely illustrative, and that any number of network devices, including any number of node devices, and any number of slots on a connection device may be provided as desired for implementation.
Further, referring to fig. 2, fig. 2 is a flow chart of a connection management method of a node device according to an embodiment of the present application. The method may be performed by a node device in a multi-node system, the multi-node system including a plurality of node devices and a connection device, the connection device having a plurality of slots on it, the node device being capable of establishing a connection with a network device by accessing the slots, the method may include, but is not limited to, the steps of:
s201: and responding to an access event of the slot of the connecting equipment, and acquiring the slot identification of the slot accessed by the node equipment.
In the embodiment of the application, the node device may acquire the slot identifier of the slot of the connected device when accessing the slot of the connected device.
In one embodiment, the slot identification of the slot on the connection device is information that may be used to represent the slot as unique, e.g., the slot identification may be a slot number of the slot on the connection device, the slot number may be used to indicate the physical location of the slot on the connection device, and may be identified by the node device. When the node equipment is connected to the slot position on the connecting equipment, the slot position identification of the slot position can be obtained.
S202: and acquiring the network connection information corresponding to the slot position identification according to the established mapping relation between the slot position identification and the network connection information.
In the embodiment of the application, the node device may acquire a mapping relationship between the pre-established slot identifier and the network connection information, and may acquire the network connection information corresponding to the slot identifier of the slot accessed by the node device according to the mapping relationship.
In one embodiment, the mapping relationship between the pre-established slot identifier and the network connection information may be stored in an internal storage space of the multi-node system, such as a register or a Flash memory (Flash), or may be stored in an external storage device of the multi-node system, such as a mobile terminal or a personal computer with a storage function, where the external storage device may be connected to the multi-node system through a network device, so as to allow the multi-node system to access. The node device may acquire network connection information according to the mapping relationship, where the network connection information may be an IP address of the node device. Because the slot position identification of each slot position on the connection device is unique, the network connection information acquired according to the mapping relation between the pre-established slot position identification and the network connection information can be ensured not to be repeated, namely the IP address of the node device acquired according to the mapping relation cannot collide. Correspondingly, the mapping relation can be obtained to find out the corresponding slot position identification of the network connection information, so as to obtain the physical position of the slot position of the connection equipment accessed by the node equipment using the network connection information.
S203: and carrying out network configuration on the network interface of the node equipment according to the network connection information, and establishing connection with the network equipment through the network connection information after the configuration is completed.
In the embodiment of the application, the node device may perform network configuration on the network interface according to the acquired network connection information, and establish connection with the network device by using the network connection information after the configuration is completed, that is, communicate with the network device through the network connection information.
In one embodiment, after obtaining network connection information corresponding to a slot identifier of a slot of an accessed connection device, the node device may perform network configuration on a network interface through the network connection information, and detect whether configuration is successfully completed. If successful, the network connection information can be used to establish connection with the network device; if not, the network interface can be configured by using the network default information, and connection is established with the network device through the network default information. The network default information may be a default IP address of the node device, which may be set before the node device accesses the slot of the connection device.
Through implementing the embodiment of the application, the network connection information used by each node device in the multi-node system can be corresponding to the slot position identification of the slot position of the connected device, the uniqueness of the slot position identification ensures that the network connection information is not repeated, and when the slot position of the connected device is connected with the slot position replacement node device, the network connection information corresponding to the slot position identification of the slot position of the connected device is not changed, thereby meeting the requirement that the network connection information corresponding to the slot position replacement node device is unchanged, and the physical position of the slot position of the connected device accessed by the node device can be found through the network connection information according to the mapping relation of the pre-established slot position identification and the network connection information, so that the maintenance and the management of each node device are convenient.
Further, referring to fig. 3, fig. 3 is a flow chart of another connection management method of a node device according to an embodiment of the present application. The method may be performed by a node device in a multi-node system, the multi-node system including a plurality of node devices and a connection device, the connection device having a plurality of slots on it, the node device being capable of establishing a connection with a network device by accessing the slots, the method may include, but is not limited to, the steps of:
s301: and responding to an access event of the slot of the connecting equipment, and acquiring the slot identification of the slot accessed by the node equipment.
S302: and acquiring the network connection information corresponding to the slot position identification according to the established mapping relation between the slot position identification and the network connection information.
In the embodiment of the present application, the execution process of step S301 and step S302 may refer to the specific descriptions of step S201 and step S202 in fig. 2, and are not repeated here.
S303: and carrying out network configuration on the network interface of the node equipment according to the network connection information.
In this embodiment of the present application, the node device may obtain, according to the mapping relationship between the established slot identifier and the network connection information, the network connection information corresponding to the slot identifier of the slot of the accessed connection device, and use the network connection information to perform network configuration on the network interface.
S304: and detecting whether the network configuration of the network interface of the node equipment is successfully completed according to the network connection information.
In the embodiment of the application, the node device can detect whether the network configuration of the network interface is successfully completed by using the network connection information.
S305: if yes, triggering execution and establishing connection with the network equipment through the network connection information after configuration is completed.
In the embodiment of the present application, if the node device uses the network connection information to successfully complete the network configuration of the network interface, the network connection information may be used to establish a connection with the network device, that is, to communicate with the network device through the network connection information.
S306: if not, acquiring network default information, and carrying out network configuration on a network interface of the node equipment by using the network default information so as to establish connection with the network equipment.
In the embodiment of the present application, if the network configuration of the network interface is not successfully completed by using the network connection information by the node device, the network configuration may be performed on the network interface of the node device by using the network default information, and connection is established between the node device and the network device by using the network default information, that is, communication is performed between the node device and the network device through the network default information.
In one embodiment, the network default information may be a default IP address of the node device, which may be set before the node device accesses the slot of the connection device.
In one embodiment, the multi-node system may further comprise a management device that is allowed to communicate with the respective node devices, and the method may further include, but is not limited to, the steps of:
s307: and sending notification information to the management device.
In the embodiment of the application, the management device may communicate with each node device through the network device, and the node device may send notification information to the management device.
In one embodiment, the node device may actively send notification information to the management device periodically, or may send notification information to the management device after receiving a corresponding instruction from the management device. The notification information sent by the node device to the management device may include one or more of configuration information, fault information, load information, and version information, and the notification information may carry a slot identifier of a slot of the connection device to which the node device is connected. The configuration information may be network configuration information of the node device, the fault information may be information for indicating that the node device has a fault, the load information may be central processing unit (Central Processing Unit, CPU) information of the node device, and the version information may be firmware version information in the node device, which is not specifically limited in this embodiment of the present application.
In one embodiment, when a component of the node device fails, notification information may be sent to the management device, where the management device may obtain, according to a slot identifier of a slot of the connection device to which the node device is connected, a physical position of the slot of the connection device to which the node device is connected, where the slot identifier is carried in the notification information, so that a maintainer may obtain, in time, position information of the failed node device.
S308: and receiving a management operation instruction sent by the management equipment aiming at the notification information, and executing corresponding operation according to the management operation instruction.
In the embodiment of the application, the node device may receive a management operation instruction sent by the management device for the notification information, and execute a corresponding operation according to the management operation instruction.
In one embodiment, when the node device sends notification information to the management device by using network default information, a network update instruction sent by the management device may be received, where the network update instruction may include network update connection information allocated by the management device according to a slot identifier of a slot of a connection device to which the node device is connected, where the notification information is carried in the notification information, and accordingly, a mapping relationship between the slot identifier of the slot of the connection device to which the node device is connected and the network update connection information may also be established by the management device. After receiving the network updating instruction, the node device can update the network configuration of the network interface from the network default information to the network updating connection information, and then uses the network updating connection information to establish connection with the network device.
In one embodiment, the node device may further receive a firmware upgrade instruction sent by the management device for the notification information, and according to the firmware upgrade instruction, the node device may download the latest version of firmware in a manner of establishing connection with the network device, thereby improving flexibility of firmware upgrade of the node device.
By implementing the embodiment of the application, the network connection information can be automatically distributed to each node device in the multi-node system according to the mapping relation between the channel identification of the channel of the pre-established connection device and the network connection information, and when the channels of the same physical position are connected to different node devices, the corresponding network connection information is not changed. In addition, each node device can communicate with the management device by establishing connection with the network device, and the management device can monitor each node device and issue management operation instructions, so that the high efficiency and the flexibility of the node device management are realized.
Further, referring to fig. 4a, fig. 4a is a flowchart of another connection management method of a node device according to an embodiment of the present application, where the method is performed by a management device in a multi-node system, the multi-node system includes a plurality of node devices, a connection device, and a management device, the connection device is provided with a plurality of slots, and the node device may establish a connection with a network device by accessing to the slots, and the method may include, but is not limited to, the following steps:
s401: and analyzing the network information of each node device in the multi-node system, and determining the network connection information corresponding to each network information.
In the embodiment of the application, the management device in the multi-node system can analyze the network information of each node device in the multi-node system and determine the network connection information corresponding to the network information.
In one embodiment, the network information of each node device in the multi-node system may be network behavior information of the user acquired by the node device, for example, one or more of search information, browse information, collection information and download information, and may also be status information of the node device in a network environment, which is not specifically limited in this embodiment of the present application. The management device may acquire and analyze network information of each node device through the network device, thereby obtaining network connection information used when each node device transmits the network information to the network device.
In one embodiment, the management device may perform statistical processing on the network information of each node device, where the management device may determine a type of the network information by analyzing the network information of each node device, and may generate statistical information after performing statistics on a result obtained by the analysis.
S402: and acquiring the mapping relation between the established slot position identification and the network connection information.
In the embodiment of the application, the management device may obtain a mapping relationship between a slot identifier of a slot of the connection device and network connection information, which is established in advance.
In one embodiment, the mapping relationship between the slot identifier of the slot of the pre-established connection device and the network connection information may be stored in an internal storage space of the multi-node system, such as a register or a flash memory, or may be stored in an external storage device of the multi-node system, such as a mobile terminal or a personal computer with a storage function, where the external storage device may be connected to the multi-node system through the network device, so as to allow the multi-node system to access.
S403: and searching the slot position identification corresponding to the network connection information according to the mapping relation.
In the embodiment of the application, after obtaining the mapping relation between the slot position identifier of the slot position of the pre-established connection device and the network connection information, the management device can search the slot position identifier of the slot position of the connection device corresponding to the network connection information used by the node device through the mapping relation.
S404: and managing each node device in the multi-node system according to the searched slot position identification.
In the embodiment of the application, after the management device searches the slot position identifier of the slot position of the connection device corresponding to the network connection information used by the node device, the physical position of the slot position accessed by the node device on the connection device can be obtained, and each node device can be managed according to the physical position of the slot position accessed by the node device on the connection device.
In one embodiment, the management of each node device in the multi-node system by the management device may include: monitoring load information of each node device, for example, the management device can send an instruction for increasing or decreasing the corresponding service quantity according to the load size of the node device; monitoring fault information of each node device, for example, the management device can send out warning information when determining that the node device has faults; the firmware version information of each node device is managed, for example, the management device may issue a firmware upgrade instruction when detecting update of the firmware version information.
Through implementing the embodiment of the application, the management device can obtain the network connection information corresponding to the network information by analyzing the network information of the node device, and then searches the slot position identification of the slot position of the connecting device accessed by the node device according to the mapping relation between the slot position identification of the slot position of the connecting device and the network connection information, so that the management of each node device is realized, and compared with the situation that the physical position of the slot position of the connecting device accessed by the node device cannot be acquired to directly manage, the management is more accurate and effective.
In one embodiment, as shown in fig. 4b, if the management device receives notification information sent by the node device in the multi-node system through the network default information, the method may further include the following steps:
s405: and acquiring a slot position identifier of a slot position accessed by the node equipment included in the notification information.
In the embodiment of the present application, the management device may obtain a slot identifier of a slot to which the node device is connected, where the slot identifier is included in the received notification information.
In one embodiment, the notification information received by the management device may include one or more of configuration information, fault information, load information, and version information, and the notification information may carry a slot identifier of a slot of the connection device to which the node device is connected. When the management device receives notification information sent by the node device in the multi-node system by using the network default information, the slot position identification of the slot position of the connection device accessed by the node device carried in the notification information can be obtained.
S406: distributing network updating connection information for the slot position identifiers of the slot positions accessed by the node equipment, and establishing a mapping relation between the slot position identifiers of the slot positions accessed by the node equipment and the network updating connection information.
In this embodiment of the present application, the management device may allocate network update connection information to the node device according to the obtained slot identifier of the slot of the connection device accessed by the node device, and then establish a mapping relationship between the slot identifier of the slot of the connection device accessed by the node device and the network update connection information, and store the mapping relationship in an internal storage space of the multi-node system or an external storage device connected to the multi-node system through the network device.
S407: and sending a network updating instruction to the node equipment.
In this embodiment of the present application, when the management device receives notification information sent by the node device in the multi-node system using the network default information, that is, indicates that the node device uses the network connection information to complete network configuration of the network interface unsuccessfully, a network update instruction may be sent to the node device, where the network update instruction is used to instruct the node device to update the used network default information into the network update connection information.
By implementing the embodiment of the application, when the management device receives the notification information sent by the node device by using the network default information, the network update connection information can be allocated to the node device according to the slot position identification of the slot position of the connection device accessed by the node device, and the mapping relationship between the slot position identification of the slot position of the connection device accessed by the node device and the network update connection information is established. By the method, the connection information can be updated according to the slot allocation network of the connection equipment accessed by the node equipment, so that the node equipment is more convenient to manage.
Further, referring to fig. 5, fig. 5 is a schematic structural diagram of a connection management apparatus of a node device according to an embodiment of the present application, in an embodiment, as shown in fig. 5, the service processing apparatus 50 may include:
a receiving unit 501, configured to receive a notification message of an access event to a slot of a connection device.
A processing unit 502, configured to obtain a slot identifier of a slot to which the node device is connected, in response to an access event to the slot of the connection device; acquiring network connection information corresponding to the slot position identification according to the established mapping relation between the slot position identification and the network connection information; and carrying out network configuration on the network interface of the node equipment according to the network connection information, and establishing connection with the network equipment through the network connection information after the configuration is completed.
It should be noted that, details not mentioned in the corresponding embodiment of fig. 5 and specific implementation manners of each step may refer to the embodiments shown in fig. 2-4 b and the foregoing details, which are not repeated herein.
Further, referring to fig. 6, fig. 6 is a schematic structural diagram of an intelligent device according to an embodiment of the present application. The smart device may include: the network interface 601, the memory 602 and the processor 603 are connected by one or more communication buses for enabling connected communication between these components. Network interface 601 may include a standard wired interface, a wireless interface (e.g., a WIFI interface). The memory 602 may include volatile memory (RAM), such as random-access memory (RAM); the memory 602 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a Solid State Drive (SSD), etc.; the memory 602 may also include a combination of the types of memory described above. The processor 603 may be a central processing unit (central processing unit, CPU). The processor 603 may further comprise a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (programmable logic device, PLD), or the like. The PLD may be a field-programmable gate array (FPGA), general-purpose array logic (generic array logic, GAL), or the like.
Optionally, the memory 602 is further configured to store program instructions, which the processor 603 may also call to implement:
responding to an access event of the slot of the connecting equipment, and acquiring a slot identification of the slot accessed by the node equipment; acquiring network connection information corresponding to the slot position identification according to the established mapping relation between the slot position identification and the network connection information; and carrying out network configuration on the network interface of the node equipment according to the network connection information, and establishing connection with the network equipment through the network connection information after the configuration is completed.
It should be appreciated that the principles and advantages of the intelligent device 60 described in the embodiments of the present application for solving the problems are similar to those of the embodiments shown in fig. 2-4 b and described above, and are not repeated here for brevity.
Furthermore, the present application also provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the method provided by the foregoing embodiments.
Embodiments of the present application also provide a computer program product or computer program comprising computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the method provided by the foregoing embodiment.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device of the embodiment of the application can be combined, divided and deleted according to actual needs.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in the embodiments may be accomplished by way of a computer program, which may be stored in a computer-readable storage medium, and which, when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random-access Memory (Random Access Memory, RAM), or the like.
The above disclosure is only a few examples of the present application, and it is not intended to limit the scope of the claims, and those of ordinary skill in the art will understand that all or a portion of the above-described embodiments may be implemented and that equivalent changes may be made in the claims of the present application while still falling within the scope of the present application.

Claims (10)

1. A connection management method of a node device, applied to a node device in a multi-node system including a plurality of node devices and a connection device on which a plurality of slots are provided, the node device being allowed to establish a connection with a network device by accessing the slots, the method comprising:
responding to an access event of the slot position of the connecting equipment, and acquiring a slot position identification of the slot position accessed by the node equipment;
acquiring network connection information corresponding to the slot position identification according to the established mapping relation between the slot position identification and the network connection information;
and carrying out network configuration on the network interface of the node equipment according to the network connection information, and establishing connection with the network equipment through the network connection information after the configuration is completed.
2. The method of claim 1, wherein after the network configuration of the network interface of the node device according to the network connection information, the method further comprises:
detecting whether the network configuration of the network interface of the node equipment is successfully completed according to the network connection information;
if yes, triggering and executing the establishment of connection with the network equipment through the network connection information after the configuration is completed;
if not, acquiring network default information, and performing network configuration on a network interface of the node equipment by using the network default information so as to establish connection with the network equipment.
3. The method of claim 2, wherein the multi-node system further comprises a management device that is allowed to communicate with each node device, the method further comprising:
sending notification information to the management equipment;
and receiving a management operation instruction sent by the management equipment aiming at the notification information, and executing corresponding operation according to the management operation instruction.
4. The method of claim 3, wherein the notification information includes one or more of configuration information, fault information, load information, and version information of the node device, and the notification information carries a slot identification of a slot to which the node device has access.
5. The method of any one of claims 1-4, wherein the established mapping relationship of slot identification and network connection information is stored in an internal storage space of the multi-node system;
or, the mapping relation between the established slot position identification and the network connection information is stored in an external storage device of the multi-node system, and the external storage device is connected with the multi-node system through the network device.
6. The method of claim 2, wherein when the network of node devices is configured as network default information, the method further comprises:
receiving a network update instruction sent by the management device, wherein the network update instruction comprises network update connection information allocated to a slot position identifier of a slot position accessed by the node device, the network update connection information is allocated by the management device, and a mapping relationship between the slot position identifier of the slot position accessed by the node device and the network update connection information is established after the network update connection information is allocated;
and updating the network default information used by the node equipment into the network updating connection information according to the network updating instruction, and establishing connection with the network equipment through the network updating connection information.
7. A connection management method of a node device, which is applied to a management device in a multi-node system including a plurality of node devices, a connection device, and the management device, the connection device being provided with a plurality of slots, the node device being allowed to establish a connection with a network device by accessing the slots, the method comprising:
analyzing the network information of each node device in the multi-node system, and determining the network connection information corresponding to each network information;
the method comprises the steps that the mapping relation between the established slot position identification and the network connection information is obtained, and the mapping relation is used for obtaining corresponding network connection information according to the slot position identification of the connection equipment when the node equipment is accessed to the connection equipment so as to access the network equipment;
searching a slot position identifier corresponding to the network connection information according to the mapping relation;
and managing each node device in the multi-node system according to the searched slot position identification.
8. The method of claim 7, wherein the method further comprises:
if the notification information sent by the node equipment in the multi-node system through the network default information is received, the slot position identification of the slot position accessed by the node equipment included in the notification information is obtained;
distributing network updating connection information for the slot position identifiers of the slot positions accessed by the node equipment, and establishing a mapping relation between the slot position identifiers of the slot positions accessed by the node equipment and the network updating connection information;
and sending a network updating instruction to the node equipment, wherein the network updating instruction is used for indicating the node equipment to update the used network default information into the network updating connection information.
9. An intelligent device, comprising: the system comprises a memory, a processor and a network interface, wherein the processor is connected with the memory and the network interface, the network interface is used for providing network communication functions, the memory is used for storing program codes, and the processor is used for calling the program codes and executing the method of any one of claims 1-8.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when executed by a processor, implements the method of any of claims 1-8.
CN202111500278.1A 2021-12-09 2021-12-09 Connection management method and device for node equipment and storage medium Pending CN116260853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111500278.1A CN116260853A (en) 2021-12-09 2021-12-09 Connection management method and device for node equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111500278.1A CN116260853A (en) 2021-12-09 2021-12-09 Connection management method and device for node equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116260853A true CN116260853A (en) 2023-06-13

Family

ID=86681188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111500278.1A Pending CN116260853A (en) 2021-12-09 2021-12-09 Connection management method and device for node equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116260853A (en)

Similar Documents

Publication Publication Date Title
CN107800565B (en) Inspection method, inspection device, inspection system, computer equipment and storage medium
CN107809383B (en) MVC-based path mapping method and device
CA2896865C (en) Method and system for using a recursive event listener on a node in hierarchical data structure
CN111399756B (en) Data storage method, data downloading method and device
US10944655B2 (en) Data verification based upgrades in time series system
CN111740868B (en) Alarm data processing method and device and storage medium
US11243921B2 (en) Database expansion system, equipment, and method of expanding database
CN110413845B (en) Resource storage method and device based on Internet of things operating system
CN111885216B (en) DNS query method, device, equipment and storage medium
CN113010378B (en) Log processing method and device of microservice module, storage medium and electronic device
CN111258627A (en) Interface document generation method and device
CN108154024B (en) Data retrieval method and device and electronic equipment
CN107885634B (en) Method and device for processing abnormal information in monitoring
CN113315852B (en) Domain name resolution method, device and system
CN106156258B (en) Method, device and system for counting data in distributed storage system
CN104144170A (en) URL filtering method, device and system
CN112732756B (en) Data query method, device, equipment and storage medium
CN104536785A (en) Method and device for updating real-time system
CN114610449B (en) Multi-cluster resource operation method and system based on unified request entry
CN116260853A (en) Connection management method and device for node equipment and storage medium
CN112685486B (en) Data management method and device for database cluster, electronic equipment and storage medium
CN111368039B (en) Data management system
CN104536784A (en) Method and device for updating real-time system
CN107124293B (en) Protocol management method and system of distributed network system
CN115114361B (en) Resource retrieval method and system based on unified interface of container cloud platform

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