CN112367187A - Control method and device of frame type equipment, frame type equipment and storage medium - Google Patents

Control method and device of frame type equipment, frame type equipment and storage medium Download PDF

Info

Publication number
CN112367187A
CN112367187A CN202011111938.2A CN202011111938A CN112367187A CN 112367187 A CN112367187 A CN 112367187A CN 202011111938 A CN202011111938 A CN 202011111938A CN 112367187 A CN112367187 A CN 112367187A
Authority
CN
China
Prior art keywords
network
network device
equipment
communication protocol
frame type
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.)
Granted
Application number
CN202011111938.2A
Other languages
Chinese (zh)
Other versions
CN112367187B (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.)
Shenzhen Sundray Technologies Co ltd
Original Assignee
Shenzhen Sundray Technologies 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 Shenzhen Sundray Technologies Co ltd filed Critical Shenzhen Sundray Technologies Co ltd
Priority to CN202011111938.2A priority Critical patent/CN112367187B/en
Publication of CN112367187A publication Critical patent/CN112367187A/en
Application granted granted Critical
Publication of CN112367187B publication Critical patent/CN112367187B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention is suitable for the technical field of communication, and provides a control method and a control device for a frame type device, the frame type device and a storage medium, wherein the control method comprises the following steps: receiving a network flow parameter input by a user; the network flow parameter is used for configuring network equipment in the access machine frame type equipment; determining at least one first network device related to the network traffic parameter; the first network equipment is connected to the machine frame type equipment in a board card mode; configuring configuration information corresponding to each first network device in the at least one first network device based on the network traffic parameters; and configuring the corresponding first network equipment based on the configuration information.

Description

Control method and device of frame type equipment, frame type equipment and storage medium
Technical Field
The invention relates to the technical field of communication, in particular to a machine frame type equipment control method and device, machine frame type equipment and a storage medium.
Background
In government and enterprise network deployments, a variety of network devices, such as an egress load balancing device, a firewall device, a switch, a wireless access point device, etc., are often deployed, and these network devices undertake different tasks in the network, and the network can meet the requirement of user diversity under the cooperative work of the network devices. However, due to the independence of these network devices in form and management, when a network is deployed and dynamically adjusted, it is necessary to log in each device to individually configure each type of network device in accordance with the requirements of the current network, and then perform joint debugging of the entire network after configuration is completed, which is troublesome in network deployment.
Disclosure of Invention
In order to solve the above problem, embodiments of the present invention provide a method and an apparatus for controlling a shelf-based device, and a storage medium, so as to at least solve the problem that, in the related art, each type of network device needs to be logged on each device to perform separate configuration when a network is deployed.
The technical scheme of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for controlling a frame device, where the method includes:
receiving a network flow parameter input by a user; the network flow parameter is used for configuring network equipment in the access machine frame type equipment;
determining at least one first network device related to the network traffic parameter; the first network equipment is connected to the machine frame type equipment in a board card mode;
configuring configuration information corresponding to each first network device in the at least one first network device based on the network traffic parameters;
and configuring the corresponding first network equipment based on the configuration information.
In the foregoing solution, when configuring each of the at least one first network device based on the network traffic parameter, the method includes:
and sending the configuration information to the corresponding first network equipment based on the communication protocol used by the first network equipment so as to enable the first network equipment to carry out configuration based on the configuration information.
In the foregoing solution, the control method further includes:
under the condition that a second network device is accessed to the frame type device, determining device information and a used communication protocol of the second network device;
determining whether the communication protocol is stored in a setting database; the set database stores device information corresponding to the network device accessed to the frame device and a used communication protocol;
and if the communication protocol used by the second network device is stored in the setting database, binding the device information of the second network device and the used communication protocol in the setting database.
In the foregoing solution, the control method further includes:
sending a setting request to the second network device when the communication protocol used by the second network device is not stored in the setting database;
receiving a communication protocol sent by the second network equipment based on the setting request;
and correspondingly writing the communication protocol used by the second network equipment and the equipment information of the second network equipment into the setting database.
In the foregoing solution, the determining the device information and the used communication protocol of the second network device includes:
sending a detection message to the second network equipment;
and receiving the device information of the second network device and the used communication protocol sent by the second network device based on the detection message.
In the foregoing solution, the determining the device information and the used communication protocol of the second network device includes:
receiving a broadcasted data packet of the second network device; the data packet characterizes device information and a communication protocol used by the second network device.
In the foregoing solution, the configuring, based on the network traffic parameter, configuration information corresponding to each of the at least one first network device includes:
when the network flow parameter is a flow direct parameter for a third network device, configuring corresponding configuration information for each first network device in the at least one first network device; the traffic-direct parameter characterizes a direct traffic put-through of each of the at least one first network device to the third network device.
In a second aspect, an embodiment of the present invention provides a control apparatus for a frame device, where the apparatus includes:
the receiving module is used for receiving network flow parameters input by a user; the network flow parameter is used for configuring network equipment in the access machine frame type equipment;
a determination module for determining at least one first network device related to the network traffic parameter; the first network equipment is connected to the machine frame type equipment in a board card mode;
a first configuration module, configured to configure, based on the network traffic parameter, configuration information corresponding to each of the at least one first network device;
and the second configuration module is used for configuring the corresponding first network equipment based on the configuration information.
In a third aspect, an embodiment of the present invention provides a frame-type device, including a processor and a memory, where the processor and the memory are connected to each other, where the memory is used to store a computer program, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute the steps of the control method for the frame-type device according to the first aspect of the embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, including: the computer-readable storage medium stores a computer program. The computer program, when executed by a processor, implements the steps of a method of controlling a subrack device as provided by the first aspect of an embodiment of the invention.
The embodiment of the invention determines at least one first network device related to the network flow parameter by receiving the network flow parameter input by a user, configures configuration information corresponding to each first network device in the at least one first network device based on the network flow parameter, and configures the corresponding first network device based on the configuration information. The network flow parameters are used for configuring network equipment accessed into the machine frame type equipment, and the first network equipment is accessed into the machine frame type equipment in a board card mode. According to the embodiment of the invention, the frame type equipment is adopted to carry out unified management on the network equipment, so that the complexity of network deployment can be at least reduced, and the efficiency of network deployment is improved. By determining at least one first network device related to the network flow parameter and configuring configuration information corresponding to each first network device in the at least one first network device based on the network flow parameter, unified operation and maintenance management of the network devices in the frame type device is realized, rapid modification and dynamic capacity expansion of the existing network topology can be realized, and the complexity of network deployment is reduced.
Drawings
Fig. 1 is a schematic flow chart illustrating an implementation process of a control method for a frame device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating an implementation process of another control method for a frame device according to an embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating an implementation of a control method for a frame device according to another embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating an implementation of a control method for a frame device according to another embodiment of the present invention;
fig. 5 is a schematic diagram of a control flow of a frame-type device according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a control device of a frame-type device according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a subrack apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In government and enterprise network deployments, a variety of network devices, such as an egress load balancing device, a firewall device, a switch, a wireless access point device, etc., are often deployed, and these network devices undertake different tasks in the network, and the network can meet the requirement of user diversity under the cooperative work of the network devices.
In a government-enterprise network topology, due to the morphological and administrative independence of these network devices, there are the following 3-point disadvantages in deploying the network:
1. when a network is deployed, the network equipment needs to log on each network equipment to perform independent configuration, and joint debugging of the whole network is required after configuration is completed.
2. When the network policy of a certain network device needs to be adjusted, a plurality of network devices associated with the network device need to be logged in for coordination adjustment.
3. When a new network device needs to be added to the current network environment, multiple network devices need to be logged in to configure the association with the network device due to the changed network topology.
In summary, in the related art, when a network is deployed and adjusted, the network deployment process is complicated, the complexity is high, and a manager is not used for maintaining and managing network equipment. And in the related technology, each network device is connected through a network cable, so that the difficulty of network deployment is further increased.
In view of the above disadvantages of the related art, embodiments of the present invention provide a method for controlling a frame device, which can at least reduce complexity of network deployment and improve efficiency of network deployment. In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Fig. 1 is a schematic view of an implementation flow of a control method for a frame-type device according to an embodiment of the present invention, where an execution main body of the control method for the frame-type device is the frame-type device, the frame-type device includes a main control board and a service board, the service board corresponds to each network device in a network, and each network device is accessed to the frame-type device in a board card manner, so as to avoid a trouble of network cable deployment. The main control board is responsible for managing and controlling the service board, and the actual execution main body of the control method of the frame type equipment is the main control board. The frame-type device also typically includes a power module for supplying power to the main control board and the service board, and a fan for dissipating heat from various network devices in the frame-type device.
Referring to fig. 1, the control method of the subrack apparatus includes:
s101, receiving a network flow parameter input by a user; the network flow parameters are used for configuring network equipment in the access machine frame type equipment.
Here, the network traffic parameter is input by a user, and in practical applications, the frame-type device may include input devices such as a touch panel, a keyboard, a mouse, and a microphone, and the user may input the network traffic parameter by means of the input devices.
The network traffic parameters are used to configure the network devices in the access chassis-like device. In practical application, if a user needs to configure a firewall device in the access frame device, a network traffic parameter related to the firewall device is input, where the network traffic parameter may specifically include a configuration parameter related to the firewall device itself, and the network traffic parameter may also include a configuration parameter of a network device related to the firewall device. For example, when the traffic of the network devices in the access frame device needs to be intercepted by the firewall device, the network traffic parameters may include the relevant information of the network devices.
S102, determining at least one first network device related to the network flow parameter; and the first network equipment is accessed to the frame type equipment in a board card mode.
Here, since each network device may be associated with a plurality of network devices in the network, when the configuration information of a certain network device is changed, the configuration information of the network device associated therewith needs to be changed at the same time. Therefore, if a user inputs a network traffic parameter for a certain network device, the network device related to the network traffic parameter may include a plurality of network devices. In practical application, the association relationship between each network device in the access frame device may be stored in advance, and when the network traffic parameter is received, at least one first network device associated with the network traffic parameter is determined.
Alternatively, the network traffic parameter inherently includes configuration information of a plurality of network devices, for example, if a user configures a network device associated with a switch, the network traffic parameter includes the configuration information of the network device associated with the switch. For example, when a user configures a switch with network traffic parameters, the devices associated with the switch include a firewall device and a wireless access point device, and the at least one first network device includes the firewall device, the switch, and the wireless access point device.
S103, configuring configuration information corresponding to each of the at least one first network device based on the network traffic parameter.
Because the at least one first network device is related to the network flow parameter, the machine frame type device analyzes the network flow parameter after receiving the network flow parameter to obtain the at least one first network device related to the network flow parameter, and then configures configuration information corresponding to each first network device in the at least one first network device based on the network flow parameter.
Further, in an embodiment, the configuring, based on the network traffic parameter, configuration information corresponding to each of the at least one first network device includes:
when the network flow parameter is a flow direct parameter for a third network device, configuring corresponding configuration information for each first network device in the at least one first network device; the traffic-direct parameter characterizes a direct traffic put-through of each of the at least one first network device to the third network device.
Here, the third network device may be any one of the access chassis devices, and if in the chassis device, traffic for the third network device needs to pass through 3 network devices to reach the third network device, the 3 network devices can limit the traffic of the third network device. When the traffic of the third network device needs to be directly put through, the 3 network devices need to be configured, so that the 3 network devices directly put through the traffic of the third network device, and the traffic of the third network device can directly reach the third network device.
Further, in an embodiment, when configuring each of the at least one first network device based on the network traffic parameter, the method includes:
and sending the configuration information to the corresponding first network equipment based on the communication protocol used by the first network equipment so as to enable the first network equipment to carry out configuration based on the configuration information.
Firstly, the machine frame type equipment configures configuration information of each first network equipment in at least one first network equipment according to network flow parameters, and then sends the configuration information to the corresponding first network equipment through a communication protocol used by the first network equipment so as to enable the first network equipment to be configured based on the configuration information.
The machine-frame device stores communication protocols of various network devices, such as an OpenFlow protocol, an IETF related standard protocol, and proprietary protocols of various manufacturers, and the machine-frame device supports extension of the communication protocols at the same time.
Referring to fig. 2, in an embodiment, the control method further includes:
s201, determining device information and a used communication protocol of a second network device when the second network device accesses the frame device.
When a second network device is accessed to the frame device, first, the device information and the used communication protocol of the second network device are determined.
Referring to fig. 3, in an embodiment, the determining the device information and the used communication protocol of the second network device includes:
s301, sending a detection message to the second network device.
Here, the subrack device may actively send a probe packet to all network devices in the network to obtain device information and used communication protocols of all network devices in the network.
S302, receiving the device information and the used communication protocol of the second network device sent by the second network device based on the probe packet.
And after receiving the detection message, the second network equipment in the network sends the equipment information and the used communication protocol of the second network equipment to the machine frame type equipment. Here, the second network device sends only the identification information of the communication protocol used, and does not send the specific content of the protocol to the frame device. For example, if the second network device uses the OpenFlow protocol, the "OpenFlow protocol" identifier is sent to the frame device.
Here, the device information of the second network device includes a device name, a device parameter, a device identification, and the like of the second network device.
In another embodiment, the determining the device information and the used communication protocol of the second network device includes:
receiving a broadcasted data packet of the second network device; the data packet characterizes device information and a communication protocol used by the second network device.
The second network device may actively broadcast a data packet to the network, where the data packet includes device information of the second network device and a used communication protocol, and the data packet broadcast by the second network device only includes identification information of the used communication protocol and does not include specific content of the protocol.
In practical application, if the automatic acquisition of the communication protocol by the frame device fails, the communication protocol and the device information of the second network device may be written in the setting database in a manual manner.
S202, determining whether the communication protocol is stored in a setting database; the setting database stores the device information corresponding to the network device accessed to the frame device and the used communication protocol.
The machine frame type equipment is stored with a setting database, and the setting database is stored with equipment information corresponding to the network equipment accessed into the machine frame type equipment and a used communication protocol. And when a second network device is accessed into the frame device, determining whether a communication protocol used by the second network device is stored in the setting database.
S203, if the communication protocol used by the second network device is stored in the setting database, binding the device information of the second network device and the used communication protocol in the setting database.
And if the communication protocol used by the second network equipment is stored in the setting database, binding the equipment information of the second network equipment and the used communication protocol in the setting database.
Here, the specific content of the communication protocol and the identification information are stored in the setting database at the same time, and if the identification information of the communication protocol used by the second network device is in the setting database, it means that the communication protocol used by the second network device is stored in the setting database.
Referring to fig. 4, in an embodiment, the method for controlling the subrack apparatus further includes:
s401, sending a setting request to the second network device when the communication protocol used by the second network device is not stored in the setting database.
Here, the setting request transmitted by the subrack device is for requesting the second network device to transmit the communication protocol used by itself.
S402, receiving a communication protocol sent by the second network device based on the setting request.
And after receiving the setting request, the second network equipment sends a communication protocol to the machine frame type equipment based on the setting request. Here, what the second network device sends is the specific content of the communication protocol.
S403, correspondingly writing the communication protocol used by the second network device and the device information of the second network device into the setting database.
The frame type equipment correspondingly writes the communication protocol used by the second network equipment and the equipment information of the second network equipment into the setting database, so that the frame type equipment can send the configuration information to the second network equipment according to the communication protocol used by the second network equipment.
By storing the communication protocol of each network device in the frame type device, when the network device needs to be configured, the configuration information is sent to the network device based on the communication protocol, so that the unified operation and maintenance management of the network device in the frame type device is realized, the rapid service arrangement and flow arrangement of the network are realized, and the goal of rapid network deployment is achieved.
S104, configuring the corresponding first network equipment based on the configuration information.
And configuring the corresponding first network equipment based on the configuration information, thereby completing the rapid deployment of the whole network of the machine frame type equipment.
The embodiment of the invention determines at least one first network device related to the network flow parameter by receiving the network flow parameter input by a user, configures configuration information corresponding to each first network device in the at least one first network device based on the network flow parameter, and configures the corresponding first network device based on the configuration information. The network flow parameters are used for configuring network equipment accessed into the machine frame type equipment, and the first network equipment is accessed into the machine frame type equipment in a board card mode. According to the embodiment of the invention, the frame type equipment is adopted to carry out unified management on the network equipment, so that the complexity of network deployment can be at least reduced, and the efficiency of network deployment is improved. By determining at least one first network device related to the network flow parameter and configuring configuration information corresponding to each first network device in the at least one first network device based on the network flow parameter, unified operation and maintenance management of the network devices in the frame type device is realized, rapid modification and dynamic capacity expansion of the existing network topology can be realized, and the complexity of network deployment is reduced.
Fig. 5 is a schematic diagram of a control flow of a frame-type device according to an embodiment of the present invention, and referring to fig. 5, the control flow of the frame-type device includes:
and S501, starting the controller.
Here, the controller refers to a main control board of the frame device, and the main control board is used for configuring a service board accessing to the frame device.
S502, the controller sends a detection message to explore the whole network topology.
The frame type equipment sends detection messages to all network equipment accessed into the frame type equipment so as to acquire equipment information and used communication protocols of all network equipment in the network.
S503, receiving the back packet of the network equipment.
All network devices in the access frame type device send packets back to the controller based on the detection messages, and the packets comprise the device information of the network devices and the used communication protocols.
S504, it is determined whether the controller supports the communication protocol.
If the controller supports the communication protocol, S505 is performed. If the controller does not support the communication protocol, S506 is performed.
S505, the controller binds the device information of the network device and the used communication protocol.
S506, the network equipment is requested to send a communication protocol.
And S507, receiving the network flow parameters input by the user on the controller.
The controller determines at least one first network device associated with a network traffic parameter.
S508, the controller configures configuration information corresponding to each of the at least one first network device based on the network traffic parameter.
S509, the controller sends the configuration information to the corresponding first network device based on the communication protocol used by the first network device.
S510, the first network device is configured based on the configuration information, and the configuration of the first network device is completed.
The application embodiment of the invention can at least reduce the complexity of network deployment and improve the efficiency of network deployment. When the network equipment needs to be configured, the configuration information is sent to the network equipment based on the communication protocol, so that unified operation and maintenance management of the network equipment in the frame type equipment is realized, rapid service arrangement and flow arrangement of the network are realized, rapid modification and dynamic expansion of the conventional network topology are realized, and the aim of rapid network deployment is fulfilled.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The technical means described in the embodiments of the present invention may be arbitrarily combined without conflict.
In addition, in the embodiments of the present invention, "first", "second", and the like are used for distinguishing similar objects, and are not necessarily used for describing a specific order or a sequential order.
Referring to fig. 6, fig. 6 is a schematic diagram of a control apparatus of a frame device according to an embodiment of the present invention, and as shown in fig. 6, the apparatus includes: the device comprises a receiving module, a determining module, a first configuration module and a second configuration module.
The receiving module is used for receiving network flow parameters input by a user; the network flow parameter is used for configuring network equipment in the access machine frame type equipment;
a determination module for determining at least one first network device related to the network traffic parameter; the first network equipment is connected to the machine frame type equipment in a board card mode;
a first configuration module, configured to configure, based on the network traffic parameter, configuration information corresponding to each of the at least one first network device;
and the second configuration module is used for configuring the corresponding first network equipment based on the configuration information.
The first configuration module is specifically configured to:
and sending the configuration information to the corresponding first network equipment based on the communication protocol used by the first network equipment so as to enable the first network equipment to carry out configuration based on the configuration information.
The control device further includes:
a communication protocol determining module, configured to determine device information and a used communication protocol of a second network device when the second network device accesses the frame device;
the judging module is used for determining whether the communication protocol is stored in a setting database; the set database stores device information corresponding to the network device accessed to the frame device and a used communication protocol;
and the binding module is used for binding the device information of the second network device and the used communication protocol in the setting database under the condition that the communication protocol used by the second network device is stored in the setting database.
The control device further includes:
a sending module, configured to send a setting request to the second network device when a communication protocol used by the second network device is not stored in the setting database;
a communication protocol receiving module, configured to receive a communication protocol sent by the second network device based on the setting request;
and the writing module is used for correspondingly writing the communication protocol used by the second network equipment and the equipment information of the second network equipment into the setting database.
The communication protocol determination module is specifically configured to:
sending a detection message to the second network equipment;
and receiving the device information of the second network device and the used communication protocol sent by the second network device based on the detection message.
The communication protocol determination module is specifically configured to:
receiving a broadcasted data packet of the second network device; the data packet characterizes device information and a communication protocol used by the second network device.
The first configuration module is specifically configured to:
when the network flow parameter is a flow direct parameter for a third network device, configuring corresponding configuration information for each first network device in the at least one first network device; the traffic-direct parameter characterizes a direct traffic put-through of each of the at least one first network device to the third network device.
In practical applications, the receiving module, the determining module, the first configuring module and the second configuring module may be implemented by a Processor in a frame device, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a Micro Control Unit (MCU), or a Programmable Gate Array (FPGA).
It should be noted that: in the control device of the machine-frame type equipment according to the above embodiment, when the machine-frame type equipment is controlled, only the division of the modules is exemplified, and in practical applications, the processing may be distributed to different modules as needed, that is, the internal structure of the device may be divided into different modules to complete all or part of the processing described above. In addition, the control device of the frame-type device and the control method embodiment of the frame-type device provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments and are not described herein again.
Based on the hardware implementation of the program module, and in order to implement the method according to the embodiment of the present application, an embodiment of the present application further provides a frame device. Fig. 7 is a schematic diagram of a hardware composition structure of a subrack apparatus according to an embodiment of the present application, and as shown in fig. 7, the subrack apparatus includes:
the communication interface can carry out information interaction with other equipment such as network equipment and the like;
and the processor is connected with the communication interface to realize information interaction with other equipment and is used for executing the method provided by one or more technical schemes at the machine frame type equipment side when running a computer program. And the computer program is stored on the memory.
Of course, in practice, the various components in the subrack device are coupled together by a bus system. It will be appreciated that a bus system is used to enable communications among the components. The bus system includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as a bus system in fig. 7.
The memory in the embodiments of the present application is used to store various types of data to support the operation of the frame device. Examples of such data include: any computer program for operating on the apparatus in a frame.
It will be appreciated that the memory can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 130 described in embodiments herein is intended to comprise, without being limited to, these and any other suitable types of memory.
The method disclosed in the embodiments of the present application may be applied to a processor, or may be implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The processor described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in a memory where a processor reads the programs in the memory and in combination with its hardware performs the steps of the method as previously described.
Optionally, when the processor executes the program, the processor implements a corresponding process implemented by the machine-frame device in each method according to the embodiment of the present application, and details are not described herein for brevity.
In an exemplary embodiment, the present application further provides a storage medium, specifically a computer-readable storage medium, for example, including a first memory storing a computer program, which is executable by a processor of a frame-type device to perform the steps of the foregoing method. The computer readable storage medium may be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus, frame-type device and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The technical means described in the embodiments of the present application may be arbitrarily combined without conflict.
In addition, in the examples of the present application, "first", "second", and the like are used for distinguishing similar objects, and are not necessarily used for describing a specific order or a sequential order.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A control method of a frame device, the control method comprising:
receiving a network flow parameter input by a user; the network flow parameter is used for configuring network equipment in the access machine frame type equipment;
determining at least one first network device related to the network traffic parameter; the first network equipment is connected to the machine frame type equipment in a board card mode;
configuring configuration information corresponding to each first network device in the at least one first network device based on the network traffic parameters;
and configuring the corresponding first network equipment based on the configuration information.
2. The method of claim 1, wherein when configuring each of the at least one first network device based on the network traffic parameter, the method comprises:
and sending the configuration information to the corresponding first network equipment based on the communication protocol used by the first network equipment so as to enable the first network equipment to carry out configuration based on the configuration information.
3. The control method according to claim 1, characterized by further comprising:
under the condition that a second network device is accessed to the frame type device, determining device information and a used communication protocol of the second network device;
determining whether the communication protocol is stored in a setting database; the set database stores device information corresponding to the network device accessed to the frame device and a used communication protocol;
and if the communication protocol used by the second network device is stored in the setting database, binding the device information of the second network device and the used communication protocol in the setting database.
4. The control method according to claim 3, characterized by further comprising:
sending a setting request to the second network device when the communication protocol used by the second network device is not stored in the setting database;
receiving a communication protocol sent by the second network equipment based on the setting request;
and correspondingly writing the communication protocol used by the second network equipment and the equipment information of the second network equipment into the setting database.
5. The method of claim 3, wherein determining the device information and the communication protocol used by the second network device comprises:
sending a detection message to the second network equipment;
and receiving the device information of the second network device and the used communication protocol sent by the second network device based on the detection message.
6. The method of claim 3, wherein determining the device information and the communication protocol used by the second network device comprises:
receiving a broadcasted data packet of the second network device; the data packet characterizes device information and a communication protocol used by the second network device.
7. The method according to claim 1, wherein the configuring, based on the network traffic parameter, configuration information corresponding to each of the at least one first network device includes:
when the network flow parameter is a flow direct parameter for a third network device, configuring corresponding configuration information for each first network device in the at least one first network device; the traffic-direct parameter characterizes a direct traffic put-through of each of the at least one first network device to the third network device.
8. A control apparatus of a frame type device, comprising:
the receiving module is used for receiving network flow parameters input by a user; the network flow parameter is used for configuring network equipment in the access machine frame type equipment;
a determination module for determining at least one first network device related to the network traffic parameter; the first network equipment is connected to the machine frame type equipment in a board card mode;
a first configuration module, configured to configure, based on the network traffic parameter, configuration information corresponding to each of the at least one first network device;
and the second configuration module is used for configuring the corresponding first network equipment based on the configuration information.
9. A frame device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the control method of the frame device according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to execute the control method of the subrack apparatus according to any one of claims 1 to 7.
CN202011111938.2A 2020-10-16 2020-10-16 Control method and device of frame type equipment, frame type equipment and storage medium Active CN112367187B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011111938.2A CN112367187B (en) 2020-10-16 2020-10-16 Control method and device of frame type equipment, frame type equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011111938.2A CN112367187B (en) 2020-10-16 2020-10-16 Control method and device of frame type equipment, frame type equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112367187A true CN112367187A (en) 2021-02-12
CN112367187B CN112367187B (en) 2023-07-14

Family

ID=74508372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011111938.2A Active CN112367187B (en) 2020-10-16 2020-10-16 Control method and device of frame type equipment, frame type equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112367187B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070268516A1 (en) * 2006-05-19 2007-11-22 Jamsheed Bugwadia Automated policy-based network device configuration and network deployment
CN102332989A (en) * 2011-06-21 2012-01-25 杭州华三通信技术有限公司 Method for sending configuration information and service boards
CN102594579A (en) * 2011-01-06 2012-07-18 卓思网络公司 Automatic configuration and network deployment for network devices
US20120309405A1 (en) * 2011-05-09 2012-12-06 Telefonaktiebolaget L M Ericsson (Publ) Independent configuration identities in a heterogeneous cellular communication network
CN105591819A (en) * 2015-12-24 2016-05-18 杭州华三通信技术有限公司 Method and device of configuring network equipment
CN105991678A (en) * 2015-01-30 2016-10-05 杭州迪普科技有限公司 Distributed equipment service processing method, distributed equipment service processing device and distributed equipment
CN107332700A (en) * 2017-06-22 2017-11-07 上海掌门科技有限公司 A kind of method and apparatus for being used to configure wireless routing device
CN108011819A (en) * 2017-12-26 2018-05-08 杭州迪普科技股份有限公司 Route sending-down method and device
CN109194519A (en) * 2018-09-27 2019-01-11 锐捷网络股份有限公司 Configuration method, device, controller and the computer storage medium of the network equipment
CN110784345A (en) * 2019-10-17 2020-02-11 杭州迪普科技股份有限公司 Network traffic processing method and device, electronic equipment and machine-readable storage medium
CN111131516A (en) * 2019-12-31 2020-05-08 中国联合网络通信集团有限公司 Service configuration method and device
CN111240768A (en) * 2020-03-11 2020-06-05 上海商米科技集团股份有限公司 Configuration parameter configuration method and device and computer storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070268516A1 (en) * 2006-05-19 2007-11-22 Jamsheed Bugwadia Automated policy-based network device configuration and network deployment
CN102594579A (en) * 2011-01-06 2012-07-18 卓思网络公司 Automatic configuration and network deployment for network devices
US20120309405A1 (en) * 2011-05-09 2012-12-06 Telefonaktiebolaget L M Ericsson (Publ) Independent configuration identities in a heterogeneous cellular communication network
CN102332989A (en) * 2011-06-21 2012-01-25 杭州华三通信技术有限公司 Method for sending configuration information and service boards
CN105991678A (en) * 2015-01-30 2016-10-05 杭州迪普科技有限公司 Distributed equipment service processing method, distributed equipment service processing device and distributed equipment
CN105591819A (en) * 2015-12-24 2016-05-18 杭州华三通信技术有限公司 Method and device of configuring network equipment
CN107332700A (en) * 2017-06-22 2017-11-07 上海掌门科技有限公司 A kind of method and apparatus for being used to configure wireless routing device
CN108011819A (en) * 2017-12-26 2018-05-08 杭州迪普科技股份有限公司 Route sending-down method and device
CN109194519A (en) * 2018-09-27 2019-01-11 锐捷网络股份有限公司 Configuration method, device, controller and the computer storage medium of the network equipment
CN110784345A (en) * 2019-10-17 2020-02-11 杭州迪普科技股份有限公司 Network traffic processing method and device, electronic equipment and machine-readable storage medium
CN111131516A (en) * 2019-12-31 2020-05-08 中国联合网络通信集团有限公司 Service configuration method and device
CN111240768A (en) * 2020-03-11 2020-06-05 上海商米科技集团股份有限公司 Configuration parameter configuration method and device and computer storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
欧洁云: "嵌入式设备中IPv6地址自动配置的实现方法", 《单片机与嵌入式系统应用》 *

Also Published As

Publication number Publication date
CN112367187B (en) 2023-07-14

Similar Documents

Publication Publication Date Title
EP3968605A1 (en) Method for providing edge service, apparatus and device
AU2017427437B2 (en) Pdu type setting method, ue policy setting method, and related entity
EP3116189B1 (en) Service link selection control method and device
US11689606B2 (en) Communication method, system and apparatus
US11431560B2 (en) Method, apparatus, and system for controlling self-optimization switch
US8930725B2 (en) Server rack system for managing power supply
US8743894B2 (en) Bridge port between hardware LAN and virtual switch
CN108924274B (en) Domain name system DNS processing method and device, storage medium and electronic equipment
US20090204725A1 (en) Wimax communication through wi-fi emulation
CN102209064B (en) Method of using VRRP to provide backup for access equipment and VRRP gateway equipment
CN113452830B (en) Batch control method of android cloud mobile phone, computer readable medium and electronic device
CN113625589B (en) Equipment control method and device, electronic equipment and storage medium
WO2021223454A1 (en) Screen projection method and system
EP3703337A1 (en) Mobile edge host-machine service notification method and apparatus
US20150163314A1 (en) Control Method, Control Device, and Process in Software Defined Network
CN110324193A (en) A kind of terminal upgrade management method and device
CN113572862A (en) Cluster deployment method and device, electronic equipment and storage medium
CN112887229A (en) Session information synchronization method and device
WO2020252724A1 (en) Log processing method and device, and computer-readable storage medium
CN109445988B (en) Heterogeneous disaster recovery method, device, system, server and disaster recovery platform
WO2015188331A1 (en) 转发控制方法、驱动器及sdn网络 forwarding control method, driver and sdn network
CN105827496A (en) Method and apparatus for managing PE device
CN104253792A (en) Substrate management controller virtual system and method
CN112367187B (en) Control method and device of frame type equipment, frame type equipment and storage medium
WO2022247575A1 (en) Interaction method and apparatus, and switching chip, medium and multi-node server

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