CN116599842B - Multi-module array system management method, equipment and medium - Google Patents

Multi-module array system management method, equipment and medium Download PDF

Info

Publication number
CN116599842B
CN116599842B CN202310870312.7A CN202310870312A CN116599842B CN 116599842 B CN116599842 B CN 116599842B CN 202310870312 A CN202310870312 A CN 202310870312A CN 116599842 B CN116599842 B CN 116599842B
Authority
CN
China
Prior art keywords
equipment
address
port
address information
initial
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.)
Active
Application number
CN202310870312.7A
Other languages
Chinese (zh)
Other versions
CN116599842A (en
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.)
Beijing Zhongke Ruixin Technology Co ltd
Original Assignee
Beijing Zhongke Ruixin Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zhongke Ruixin Technology Co ltd filed Critical Beijing Zhongke Ruixin Technology Co ltd
Priority to CN202310870312.7A priority Critical patent/CN116599842B/en
Publication of CN116599842A publication Critical patent/CN116599842A/en
Application granted granted Critical
Publication of CN116599842B publication Critical patent/CN116599842B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Abstract

The embodiment of the specification discloses a multi-module array system management method, equipment and medium, relating to the technical field of control systems, wherein the method comprises the following steps: the address acquisition request returns back address information, wherein the back address information comprises an initial IP address and an MAC address of equipment; generating configuration address information for the equipment based on the MAC address of the equipment, and comparing the initial IP address with the configuration address information of the equipment; if the returned address information is consistent with the configuration address information, a port exchange instruction is sent to the equipment, the returned port information returned by the equipment based on the port exchange instruction is received, and the returned port information comprises an initial IP address and an equipment port number; the method comprises the steps that network connection is carried out between equipment port numbers and initial IP addresses and equipment, and control instructions are sent to the equipment; the device is managed based on the control instructions. The problem of the management degree of difficulty is big because of having IP conflict among different equipment in the multi-module array system management process is solved.

Description

Multi-module array system management method, equipment and medium
Technical Field
The present disclosure relates to the field of control systems, and in particular, to a method, an apparatus, and a medium for managing a multi-module array system.
Background
In the single-module test, the same IP and port set by the board card of the module equipment can greatly reduce the manual intervention and time cost in the test process, and the same IP address and port are used for conveniently carrying out batch test, and meanwhile, the IP address resource can be saved. In the actual operation process, the test can be started only by connecting the equipment with the control end through the network cable, and the next test equipment is replaced after the test is finished, and the network cable is only connected to the equipment to be tested, and the framework is shown in the figure 3 of the specification.
For the multi-module array system, as shown in fig. 4 of the specification, different devices use the same IP address and port number, which can cause problems of packet loss, network congestion, abnormal connection and the like, and affect the test progress, so that the devices need to be managed and allocated with different IP addresses. In the actual operation process, the test system is not affected, and the module needs to be configured separately before being accessed into the array, which greatly increases the time cost and the management difficulty.
Disclosure of Invention
One or more embodiments of the present disclosure provide a method, an apparatus, and a medium for managing a multi-module array system, which are configured to solve the following technical problems: in the prior art, IP conflict exists among different devices in the management process of the multi-module array system, so that the problem of high management difficulty is caused.
One or more embodiments of the present disclosure adopt the following technical solutions:
sending an address information acquisition request to a device side of the multi-module array system, and receiving return address information returned by the device side based on the address acquisition request, wherein the return address information comprises an initial IP address and an MAC address of the device;
determining an array plane position of an array plane where the equipment is located in a multi-module array system based on the MAC address of the equipment, generating configuration address information for the equipment according to the array plane position, and performing IP address verification according to the initial IP address and the configuration address information of the equipment;
if the return address information is consistent with the configuration address information, sending a port exchange instruction to the equipment end, and receiving return port information returned by the equipment end based on the port exchange instruction, wherein the return port information comprises the initial IP address and the equipment port number;
the equipment port number and the initial IP address are adopted to carry out network connection with the equipment end, and a control instruction is sent to the equipment end;
and managing the equipment side based on the control instruction.
Further, after comparing the initial IP address with the configuration address information of the device side, the method further includes:
if the returned address information is inconsistent with the configuration address information, SSH connection is established with the equipment terminal based on the initial IP address;
updating network configuration for the equipment end based on the SSH connection to obtain an updated IP address of the equipment;
transmitting a port exchange instruction to the equipment end, and receiving back port information returned by the equipment end based on the port exchange instruction, wherein the back port information comprises the updated IP address and the equipment port number;
and adopting the equipment port number and the updated IP address to carry out network connection with the equipment end, and sending a control instruction to the equipment end.
Further, the updating the network configuration for the device side based on the SSH connection includes:
sending a SHELL script to the equipment end through an SCP command of an SSH protocol;
if the query result is not present, a SHELL script is sent to the equipment end through an SSH protocol;
invoking the SHELL script based on an SSH protocol, sending the configuration address information to the equipment end, and updating network configuration of the equipment end;
and restarting a module control program in the equipment end based on the SHELL script.
Further, sending an address information acquisition request to a device side of the multi-module array system, and receiving return address information returned by the device side based on the address acquisition request, where the method includes:
sending the address information acquisition request to a fixed port of the equipment through a TCP (transmission control protocol);
monitoring the fixed port through a discovery server of the equipment and acquiring the address acquisition request;
and reading the initial IP address and the MAC address of the equipment based on the address acquisition request, and returning the return address information to the control end.
Further, the sending a port exchange instruction to the device, and receiving backhaul port information returned by the device based on the port exchange instruction, where the backhaul port information includes the updated IP address and the device port number, includes:
when the module control program is started, registering with the discovery server to obtain the device port number;
acquiring a port switching instruction sent by the control end based on the discovery server, wherein the port switching instruction comprises the fixed end number;
and returning the back port information to the control end based on the port exchange instruction, wherein the back port information comprises the updated IP address and the equipment port number.
Further, the sending a port exchange instruction to the device end, and receiving backhaul port information returned by the device end based on the port exchange instruction, where the backhaul port information includes the initial IP address and the device port number, includes:
when the module control program is started, registering with the discovery server to obtain the device port number;
acquiring a port switching instruction sent by the control end based on the discovery server, wherein the port switching instruction comprises the fixed end number;
and returning the back port information to the control end based on the port exchange instruction, wherein the back port information comprises the initial IP address and the equipment port number.
Further, the determining, based on the MAC address of the device, an array plane position of an array plane where the device is located in the multi-module array system, and generating configuration address information for the device according to the array plane position includes:
and distributing the configuration address information to the equipment sequentially from left to right and from top to bottom based on the MAC address of the equipment.
Further, the method further comprises the following steps:
when the equipment end in the multi-module array system is updated, updating the MAC address information in the control end;
based on the updated MAC address information, executing the step of carrying out IP address verification on the updated equipment terminal based on the initial IP address and the configuration address information of the equipment, and executing the step of establishing SSH connection with the equipment terminal based on the initial IP address when the returned address information is consistent with the configuration address information
One or more embodiments of the present specification provide a multi-module array system management method, the method including:
one or more embodiments of the present specification provide a multi-module array system management apparatus including:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
sending an address information acquisition request to a device side of the multi-module array system, and receiving return address information returned by the device side based on the address acquisition request, wherein the return address information comprises an initial IP address and an MAC address of the device;
determining an array plane position of an array plane where the equipment is located in a multi-module array system based on the MAC address of the equipment, generating configuration address information for the equipment according to the array plane position, and performing IP address verification according to the initial IP address and the configuration address information of the equipment;
if the return address information is consistent with the configuration address information, sending a port exchange instruction to the equipment end, and receiving return port information returned by the equipment end based on the port exchange instruction, wherein the return port information comprises the initial IP address and the equipment port number;
the equipment port number and the initial IP address are adopted to carry out network connection with the equipment end, and a control instruction is sent to the equipment end;
and managing the equipment side based on the control instruction.
One or more embodiments of the present specification provide a non-volatile computer storage medium storing computer-executable instructions configured to:
sending an address information acquisition request to a device side of the multi-module array system, and receiving return address information returned by the device side based on the address acquisition request, wherein the return address information comprises an initial IP address and an MAC address of the device;
determining an array plane position of an array plane where the equipment is located in a multi-module array system based on the MAC address of the equipment, generating configuration address information for the equipment according to the array plane position, and performing IP address verification according to the initial IP address and the configuration address information of the equipment;
if the return address information is consistent with the configuration address information, sending a port exchange instruction to the equipment end, and receiving return port information returned by the equipment end based on the port exchange instruction, wherein the return port information comprises the initial IP address and the equipment port number;
the equipment port number and the initial IP address are adopted to carry out network connection with the equipment end, and a control instruction is sent to the equipment end;
and managing the equipment side based on the control instruction.
The above-mentioned at least one technical scheme that this description embodiment adopted can reach following beneficial effect: the technical scheme of the invention compares the initial IP address and the MAC address of the equipment with the configuration address information in the configuration file. If the two are consistent, the equipment is connected according to the initial IP address and the port number of the equipment to control. If the two are inconsistent, the shell script is called through ssh to reconfigure, then the port map technology is utilized to obtain the port number of the equipment, and the regenerated updated IP address and the port number are used to control the connected equipment. The mode realizes an array system which is used for optimizing automatic IP distribution and connection control based on ssh protocol, and greatly reduces the management difficulty and labor cost of equipment. When a certain module needs to be replaced or exchanged, the network configuration of the module is not needed, and only the corresponding MAC address information in the control end is needed to be modified.
Drawings
In order to more clearly illustrate the embodiments of the present description 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 of the embodiments described in the present description, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. In the drawings:
FIG. 1 is a schematic flow scheme of a multi-module array system management method according to an embodiment of the present disclosure;
FIG. 2 is a schematic structural scheme of a multi-module array system management device according to an embodiment of the present disclosure;
FIG. 3 is a single module test block diagram of a multi-module array system management method according to an embodiment of the present disclosure;
FIG. 4 is a diagram of a multi-module test architecture of a multi-module array system management method according to an embodiment of the present disclosure, before IP is configured;
FIG. 5 is a diagram of a multi-module test architecture of a multi-module array system management method according to an embodiment of the present disclosure, after IP configuration;
FIG. 6 is a diagram of a multi-module test architecture of a multi-module array system management method according to an embodiment of the present disclosure, after replacing a module and configuring an IP;
fig. 7 is a complete workflow diagram of a multi-module array system management method according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solution in the present specification better understood by those skilled in the art, the technical solution in the embodiments of the present specification will be clearly and completely described in the following in conjunction with the attached solutions in the embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present specification, not all embodiments. 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, shall fall within the scope of the present disclosure.
The embodiment of the present disclosure provides a method for managing a multi-module array system, and it should be noted that an execution subject in the embodiment of the present disclosure may be a server, or any device having a data processing capability.
Fig. 1 is a schematic flow scheme of a multi-module array system management method according to an embodiment of the present disclosure.
As shown in fig. 1, the method mainly comprises the following steps:
step S101, an address information acquisition request is sent to a device side of the multi-module array system, and return address information returned by the device side based on the address acquisition request is received, wherein the return address information comprises an initial IP address and an MAC address of the device.
In some embodiments, the method includes sending an address information acquisition request to a device side of the multi-module array system, and receiving return address information returned by the device side based on the address acquisition request, where the method specifically includes the following steps:
sending the address information acquisition request to a fixed port of the equipment through a TCP (transmission control protocol);
monitoring the fixed port through a discovery server of the equipment and acquiring the address acquisition request;
and reading the initial IP address and the MAC address of the equipment based on the address acquisition request, and returning the return address information to the control end.
The device side mentioned in the present invention includes the device and the self-discovery server of the device.
Step S102, determining the array plane position of the array plane of the equipment in the multi-module array system based on the MAC address of the equipment, generating configuration address information for the equipment according to the array plane position, and carrying out IP address verification based on the initial IP address and the configuration address information of the equipment.
In some preferred embodiments, the determining the location of the plane where the device locates in the multi-module array system based on the MAC address of the device, and generating the configuration address information for the device according to the location of the plane, includes the following steps:
determining an array plane position of an array plane where the equipment is located in the multi-module array system based on the MAC address of the equipment;
and according to the array surface position, distributing the configuration address information to the equipment in sequence from left to right and from top to bottom.
As shown in fig. 5, the allocation of the configuration address information of this embodiment is sequentially allocated from left to right, from top to bottom, according to the number of modules (each device includes one module) used. This operation is performed for each device in turn until all devices have completed the connection.
As shown in fig. 6, the arrangement of the devices does not need to be according to the order of the MAC addresses, and the arrangement in any order can use the scheme, and the automatic configuration can be completed only by modifying the corresponding MAC address in the configuration file to the MAC address of the modified device.
The configuration address information is distributed according to the array layout, and is distributed sequentially from left to right and from top to bottom, so that the scheme can work normally in the face of array systems with different sizes and built by different requirements.
In some embodiments, after comparing the initial IP address with the configuration address information of the device side, the method further includes the following steps:
if the returned address information is inconsistent with the configuration address information, SSH connection is established with the equipment terminal based on the initial IP address;
updating network configuration for the equipment end based on the SSH connection to obtain an updated IP address of the equipment;
transmitting a port exchange instruction to the equipment end, and receiving back port information returned by the equipment end based on the port exchange instruction, wherein the back port information comprises the updated IP address and the equipment port number;
and adopting the equipment port number and the updated IP address to carry out network connection with the equipment end, and sending a control instruction to the equipment end.
In some embodiments, the updating the network configuration for the device side based on the SSH connection further includes the steps of:
inquiring whether the equipment end has a SHELL script required by configuring network configuration;
if the query result is not present, a SHELL script is sent to the equipment end through an SSH protocol;
invoking the SHELL script based on an SSH protocol, sending the configuration address information to the equipment end, and updating network configuration of the equipment end;
and restarting a module control program in the equipment end based on the SHELL script.
The SSH protocol refers to Secure Shell (Secure Shell) protocol, and by using the SSH protocol, all transmitted data can be encrypted, so that an attack mode of 'man in the middle' is impossible to realize, and DNS spoofing and IP spoofing can be prevented.
The application program for array control, i.e. the module control program, of the device is installed when single module control is completed, and the module control program needs to be restarted due to the change of the IP address, so that the network configuration of the module control program is updated.
Step S103, if the return address information is consistent with the configuration address information, a port exchange instruction is sent to the equipment end, and return port information returned by the equipment end based on the port exchange instruction is received, wherein the return port information comprises the initial IP address and the equipment port number.
In some embodiments, the sending a port exchange instruction to the device and receiving backhaul port information returned by the device based on the port exchange instruction, where the backhaul port information includes the updated IP address and the device port number, includes the following steps:
when the module control program is started, registering with the discovery server to obtain the device port number;
acquiring a port switching instruction sent by the control end based on the discovery server, wherein the port switching instruction comprises the fixed end number;
and returning the back port information to the control end based on the port exchange instruction, wherein the back port information comprises the updated IP address and the equipment port number.
In some embodiments, the sending a port exchange instruction to the device side and receiving backhaul port information returned by the device side based on the port exchange instruction, where the backhaul port information includes the initial IP address and the device port number, includes the following steps:
when the module control program is started, registering with the discovery server to obtain the device port number;
acquiring a port switching instruction sent by the control end based on the discovery server, wherein the port switching instruction comprises the fixed end number;
and returning the back port information to the control end based on the port exchange instruction, wherein the back port information comprises the initial IP address and the equipment port number.
The port map uses a discovery server to convert the fixed end number into the device port number.
And step S104, adopting the device port number and the initial IP address to carry out network connection with the device end, and sending a control instruction to the device end.
Step S105, managing the device side based on the control instruction.
In some embodiments, different device modules are replaced, and the device can be subjected to IP address verification and automatic configuration only by changing the corresponding MAC address in the configuration file. The method specifically comprises the following steps:
when the equipment end in the multi-module array system is updated, updating the MAC address information in the control end;
based on the updated MAC address information, executing the step of carrying out IP address verification on the updated equipment terminal based on the initial IP address and the configuration address information of the equipment, and executing the step of establishing SSH connection with the equipment terminal based on the initial IP address when the returned address information is consistent with the configuration address information
When adding, replacing and exchanging equipment ends in the multi-module array system, the steps of IP address verification and IP address updating can be automatically executed by adding, replacing and exchanging corresponding MAC address information in a control end.
Referring to fig. 7, the technical solution of the present invention compares the initial IP address and MAC address of the device with the configuration address information in the configuration file. If the two are consistent, the equipment is connected according to the initial IP address and the port number of the equipment to control. If the two are inconsistent, the shell script is called through ssh to reconfigure, then the port map technology is utilized to obtain the port number of the equipment, and the regenerated updated IP address and the port number are used to control the connected equipment. The mode realizes an array system which is used for optimizing automatic IP distribution and connection control based on ssh protocol, and greatly reduces the management difficulty and labor cost of equipment. When a certain module needs to be replaced or exchanged, the network configuration of the module is not needed, and only the corresponding MAC address information in the control end is needed to be modified.
The embodiment of the present disclosure further provides an apparatus for dynamically adding multiple data sources, as shown in fig. 2, where the apparatus includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to:
sending an address information acquisition request to a device side of the multi-module array system, and receiving return address information returned by the device side based on the address acquisition request, wherein the return address information comprises an initial IP address and an MAC address of the device;
determining an array plane position of an array plane where the equipment is located in a multi-module array system based on the MAC address of the equipment, generating configuration address information for the equipment according to the array plane position, and performing IP address verification according to the initial IP address and the configuration address information of the equipment;
if the return address information is consistent with the configuration address information, sending a port exchange instruction to the equipment end, and receiving return port information returned by the equipment end based on the port exchange instruction, wherein the return port information comprises the initial IP address and the equipment port number;
the equipment port number and the initial IP address are adopted to carry out network connection with the equipment end, and a control instruction is sent to the equipment end;
and managing the equipment side based on the control instruction.
The present specification embodiments also provide a non-volatile computer storage medium storing computer-executable instructions configured to:
sending an address information acquisition request to a device side of the multi-module array system, and receiving return address information returned by the device side based on the address acquisition request, wherein the return address information comprises an initial IP address and an MAC address of the device;
determining an array plane position of an array plane where the equipment is located in a multi-module array system based on the MAC address of the equipment, generating configuration address information for the equipment according to the array plane position, and performing IP address verification according to the initial IP address and the configuration address information of the equipment;
if the return address information is consistent with the configuration address information, sending a port exchange instruction to the equipment end, and receiving return port information returned by the equipment end based on the port exchange instruction, wherein the return port information comprises the initial IP address and the equipment port number;
the equipment port number and the initial IP address are adopted to carry out network connection with the equipment end, and a control instruction is sent to the equipment end;
and managing the equipment side based on the control instruction.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for apparatus, devices, non-volatile computer storage medium embodiments, the description is relatively simple, as it is substantially similar to method embodiments, with reference to the section of the method embodiments being relevant.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. Furthermore, the processes depicted in the accompanying claims do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
The devices and media provided in the embodiments of the present disclosure are in one-to-one correspondence with the methods, so that the devices and media also have similar beneficial technical effects as the corresponding methods, and since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media are not repeated here.
It will be appreciated by those skilled in the art that embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the present specification may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present description can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present description is described with reference to flowchart illustrations and/or block arrangements of methods, apparatus (systems), and computer program products according to embodiments of the specification. It will be understood that each flow and/or block of the flow schemes and/or block schemes, and combinations of flows and/or blocks in the flow schemes and/or block schemes, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart scheme flow or flows and/or block scheme block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart block or blocks and/or flowchart block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks and/or flowchart block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that 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 phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing is merely one or more embodiments of the present description and is not intended to limit the present description. Various modifications and alterations to one or more embodiments of this description will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, or the like, which is within the spirit and principles of one or more embodiments of the present description, is intended to be included within the scope of the claims of the present description.

Claims (10)

1. A multi-module array system management method, applied to a control end of a multi-module array system, the method comprising:
sending an address information acquisition request to a device end of the multi-module array system, and receiving return address information returned by the device end based on the address acquisition request, wherein the return address information comprises an initial IP address and an MAC address of the device, and the device end comprises the device and a self-discovery server of the device;
determining an array plane position of an array plane where the equipment is located in a multi-module array system based on the MAC address of the equipment, generating configuration address information for the equipment according to the array plane position, and performing IP address verification based on the initial IP address and the configuration address information of the equipment;
if the return address information is consistent with the configuration address information, sending a port exchange instruction to the equipment end, and receiving return port information returned by the equipment end based on the port exchange instruction, wherein the return port information comprises the initial IP address and the equipment port number;
the equipment port number and the initial IP address are adopted to carry out network connection with the equipment end, and a control instruction is sent to the equipment end;
and managing the equipment side based on the control instruction.
2. The multi-module array system management method according to claim 1, further comprising, after said IP address verification based on said initial IP address and configuration address information of said device:
if the returned address information is inconsistent with the configuration address information, SSH connection is established with the equipment terminal based on the initial IP address;
updating network configuration for the equipment end based on the SSH connection to obtain an updated IP address of the equipment;
transmitting a port exchange instruction to the equipment end, and receiving back port information returned by the equipment end based on the port exchange instruction, wherein the back port information comprises the updated IP address and the equipment port number;
and adopting the equipment port number and the updated IP address to carry out network connection with the equipment end, and sending a control instruction to the equipment end.
3. The method for managing a multi-module array system according to claim 2, wherein updating the network configuration for the device side based on the SSH connection comprises:
inquiring whether the equipment end has a SHELL script required by configuring network configuration;
if the query result is not present, a SHELL script is sent to the equipment end through an SSH protocol;
invoking the SHELL script based on an SSH protocol, sending the configuration address information to the equipment end, and updating network configuration of the equipment end;
and restarting a module control program in the equipment end based on the SHELL script.
4. A multi-module array system management method according to claim 3, wherein sending an address information acquisition request to a device side of the multi-module array system, and receiving return address information returned by the device side based on the address acquisition request, comprises:
sending the address information acquisition request to a fixed port of the equipment through a TCP (transmission control protocol);
monitoring the fixed port through a discovery server of the equipment and acquiring the address acquisition request;
and reading the initial IP address and the MAC address of the equipment based on the address acquisition request, and returning the return address information to the control end.
5. The method of claim 4, wherein the sending a port switch instruction to the device and receiving backhaul port information returned by the device based on the port switch instruction, where the backhaul port information includes the updated IP address and the device port number, includes:
when the module control program is started, registering with the discovery server to obtain the device port number;
acquiring a port switching instruction sent by the control end based on the discovery server, wherein the port switching instruction comprises the fixed end number;
and returning the back port information to the control end based on the port exchange instruction, wherein the back port information comprises the updated IP address and the equipment port number.
6. The method of claim 4, wherein the sending a port switch command to the device side and receiving backhaul port information returned by the device side based on the port switch command, where the backhaul port information includes the initial IP address and the device port number, includes:
when the module control program is started, registering with the discovery server to obtain the device port number;
acquiring a port switching instruction sent by the control end based on the discovery server, wherein the port switching instruction comprises the fixed end number;
and returning the back port information to the control end based on the port exchange instruction, wherein the back port information comprises the initial IP address and the equipment port number.
7. The method of claim 1, wherein determining an array plane position of an array plane where the device is located in the multi-module array system based on the MAC address of the device, and generating configuration address information for the device according to the array plane position, comprises:
determining an array plane position of an array plane where the equipment is located in the multi-module array system based on the MAC address of the equipment;
and according to the array surface position, distributing the configuration address information to the equipment in sequence from left to right and from top to bottom.
8. The multi-module array system management method of claim 1, further comprising:
when the equipment end in the multi-module array system is updated, updating the MAC address information in the control end;
and executing the step of carrying out IP address verification on the updated equipment terminal based on the initial IP address and the configuration address information of the equipment based on the updated MAC address information, and executing the step of establishing SSH connection with the equipment terminal based on the initial IP address when the returned address information is consistent with the configuration address information, and updating network configuration on the equipment terminal based on the SSH connection to obtain the updated IP address of the equipment.
9. A multi-module array system management device, the device comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
sending an address information acquisition request to a device end of a multi-module array system, and receiving return address information returned by the device end based on the address acquisition request, wherein the return address information comprises an initial IP address and an MAC address of the device, and the device end comprises the device and a discovery server of the device;
determining an array plane position of an array plane where the equipment is located in a multi-module array system based on the MAC address of the equipment, generating configuration address information for the equipment according to the array plane position, and performing IP address verification based on the initial IP address and the configuration address information of the equipment;
if the return address information is consistent with the configuration address information, sending a port exchange instruction to the equipment end, and receiving return port information returned by the equipment end based on the port exchange instruction, wherein the return port information comprises the initial IP address and the equipment port number;
the equipment port number and the initial IP address are adopted to carry out network connection with the equipment end, and a control instruction is sent to the equipment end;
and managing the equipment side based on the control instruction.
10. A non-transitory computer storage medium storing computer-executable instructions, the computer-executable instructions configured to:
sending an address information acquisition request to a device end of a multi-module array system, and receiving return address information returned by the device end based on the address acquisition request, wherein the return address information comprises an initial IP address and an MAC address of the device, and the device end comprises the device and a discovery server of the device;
determining an array plane position of an array plane where the equipment is located in a multi-module array system based on the MAC address of the equipment, generating configuration address information for the equipment according to the array plane position, and performing IP address verification based on the initial IP address and the configuration address information of the equipment;
if the return address information is consistent with the configuration address information, sending a port exchange instruction to the equipment end, and receiving return port information returned by the equipment end based on the port exchange instruction, wherein the return port information comprises the initial IP address and the equipment port number;
the equipment port number and the initial IP address are adopted to carry out network connection with the equipment end, and a control instruction is sent to the equipment end;
and managing the equipment side based on the control instruction.
CN202310870312.7A 2023-07-17 2023-07-17 Multi-module array system management method, equipment and medium Active CN116599842B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310870312.7A CN116599842B (en) 2023-07-17 2023-07-17 Multi-module array system management method, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310870312.7A CN116599842B (en) 2023-07-17 2023-07-17 Multi-module array system management method, equipment and medium

Publications (2)

Publication Number Publication Date
CN116599842A CN116599842A (en) 2023-08-15
CN116599842B true CN116599842B (en) 2023-09-19

Family

ID=87612047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310870312.7A Active CN116599842B (en) 2023-07-17 2023-07-17 Multi-module array system management method, equipment and medium

Country Status (1)

Country Link
CN (1) CN116599842B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016101846A1 (en) * 2014-12-22 2016-06-30 中兴通讯股份有限公司 Single board slot address configuration method and apparatus and optical network site device
CN112769610A (en) * 2020-12-30 2021-05-07 北京天融信网络安全技术有限公司 Management method and device of centralized management system, electronic equipment and storage medium
CN112838952A (en) * 2021-01-04 2021-05-25 联想(北京)有限公司 Data transmission method of baseboard management controller, BMC, server and medium
CN113783971A (en) * 2020-06-10 2021-12-10 中兴通讯股份有限公司 Address management method, network device, and storage medium
CN113965547A (en) * 2020-07-01 2022-01-21 维谛技术有限公司 Link equipment and link equipment communication address configuration method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100633666B1 (en) * 2004-02-25 2006-10-12 엘지전자 주식회사 Home network server device and the control method of the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016101846A1 (en) * 2014-12-22 2016-06-30 中兴通讯股份有限公司 Single board slot address configuration method and apparatus and optical network site device
CN113783971A (en) * 2020-06-10 2021-12-10 中兴通讯股份有限公司 Address management method, network device, and storage medium
CN113965547A (en) * 2020-07-01 2022-01-21 维谛技术有限公司 Link equipment and link equipment communication address configuration method
CN112769610A (en) * 2020-12-30 2021-05-07 北京天融信网络安全技术有限公司 Management method and device of centralized management system, electronic equipment and storage medium
CN112838952A (en) * 2021-01-04 2021-05-25 联想(北京)有限公司 Data transmission method of baseboard management controller, BMC, server and medium

Also Published As

Publication number Publication date
CN116599842A (en) 2023-08-15

Similar Documents

Publication Publication Date Title
CN110677383B (en) Firewall wall opening method and device, storage medium and computer equipment
CN107105013B (en) File processing method, server, terminal and system
US20210211788A1 (en) Method, apparatus and system for transmitting omci messages
CN112783646A (en) Stateful application containerization deployment method and device
CN111600972A (en) Configuration method of double-stack address, server and readable storage medium
CN112468545A (en) Cloud host creation method, device, system, equipment and readable storage medium
CN111258742A (en) Data synchronization method, system, computing device and storage medium
CN110990415A (en) Data processing method and device, electronic equipment and storage medium
CN116599842B (en) Multi-module array system management method, equipment and medium
CN104267985A (en) Software loading method and device
CN104461705A (en) Service access method, storage controllers and cluster storage system
US20220206836A1 (en) Method and Apparatus for Processing Virtual Machine Migration, Method and Apparatus for Generating Virtual Machine Migration Strategy, Device and Storage Medium
CN102650932A (en) Method, equipment and system for accessing data
CN106100953B (en) PCIe device shares the generation method of network, apparatus and system
CN116028290A (en) Solid state disk testing method, device, equipment and medium
CN112738181B (en) Method, device and server for cluster external IP access
CN113472823B (en) Server access method and device, intelligent terminal and storage medium
CN109150810B (en) Set top box convergence gateway and starting method, device and storage medium thereof
CN111526044A (en) Method, device and medium for discovering link between switch and server
CN111885564A (en) Data transmission method, equipment upgrading method and computer readable storage medium
CN112583740A (en) Network communication method and device
CN111767330B (en) Data interaction method and device, electronic equipment and storage medium
CN111629395B (en) Multi-mode communication antenna unit, system and method
CN112766768B (en) Contract flow management method and device, electronic equipment and readable storage medium
CN116709280A (en) Bluetooth mesh gateway processing method and device and electronic equipment

Legal Events

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