CN102195821B - Method for configuring network equipment - Google Patents
Method for configuring network equipment Download PDFInfo
- Publication number
- CN102195821B CN102195821B CN201110175225.7A CN201110175225A CN102195821B CN 102195821 B CN102195821 B CN 102195821B CN 201110175225 A CN201110175225 A CN 201110175225A CN 102195821 B CN102195821 B CN 102195821B
- Authority
- CN
- China
- Prior art keywords
- network equipment
- terminal equipment
- equipment
- network
- connection
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000005540 biological transmission Effects 0.000 claims description 20
- 238000013515 script Methods 0.000 claims description 12
- 230000001066 destructive effect Effects 0.000 claims description 10
- 238000005299 abrasion Methods 0.000 abstract 1
- 230000002035 prolonged effect Effects 0.000 abstract 1
- 230000015572 biosynthetic process Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 1
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention discloses a method for configuring network equipment. The method comprises the following steps of: initializing a serial port; receiving a connection request sent by terminal equipment; when the connection state of the network equipment waiting for connection establishment is null, establishing connection between the terminal equipment needing to establish connection and the network equipment waiting for connection establishment and setting the connection state of the network equipment waiting for connection establishment to be non-null; and receiving configuration information transmitted by connected terminal equipment, transmitting the configuration information to corresponding network equipment, receiving feedback information returned by the connected network equipment and transmitting the feedback information to corresponding terminal equipment. In the method for configuring the network equipment disclosed by the invention, the terminal equipment is connected with the network equipment through a network equipment controller, the configuration of the network equipment is realized, the connection relation between a serial port of the network equipment and a serial port of the network equipment controller is not changed, and the inserting and the pulling of a serial port line are avoided, so that abrasion of the serial port of the network equipment and the serial port of the network equipment controller is reduced, and the service life is prolonged.
Description
Technical field
The technical field that administers and maintains that the invention belongs to the network equipment, relates in particular to a kind of method for configuring network equipment.
Background technology
At teaching field, network specialty is a professional technique that practicality is strong, student often needs by doing it yourself, in person operating and could grasp deeply relevant knowledge technical ability, school thus demand input substantial contribution sets up network laboratories, makes the content of courses abundanter by introducing real hardware device.Present stage, each universities and colleges all foundation in various degree relevant network laboratories, introduced the various network device including switch, router, fire compartment wall and wireless device, hardware environment is substantially perfect.
In teaching process, need student based on heterogeneous networks structure, each network equipment to be configured, sharpen understanding with this.At present, for the configuration of the network equipment, all realize by controlling entablature (abbreviation serial ports), concrete layoutprocedure is: by Serial Port Line, the serial ports of the serial ports of terminal equipment and the network equipment is connected, send configuration information by terminal equipment to the network equipment afterwards, the network equipment completes configuration according to the configuration information receiving.
But, when above-mentioned collocation method is applied to laboratory environment, there is following problem: network configuration is often built by multiple network equipments, and in terminal equipment, often only there are two serial ports, this causes in the time that the multiple network equipments in network configuration are configured respectively, need to frequently Serial Port Line be extracted from the serial ports of terminal equipment or the serial ports of the network equipment, in addition, in teaching process, have a large amount of students tests simultaneously, different students will be configured the network equipment in same set of network configuration by terminal equipment separately, need to frequently Serial Port Line be extracted from the serial ports of terminal equipment or the serial ports of the network equipment, in the serial ports of terminal equipment or the serial ports of the network equipment, plug Serial Port Line frequently, can cause terminal equipment serial ports, the wearing and tearing of network equipment serial ports and Serial Port Line, shorten its useful life.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of method for configuring network equipment, can avoid plugging the problem of Serial Port Line in configure network devices process, reduce the wearing and tearing to terminal equipment serial ports, network equipment serial ports and Serial Port Line, extend its useful life.
For achieving the above object, the invention provides following technical scheme:
A kind of method for configuring network equipment, for network equipment controller, described network equipment controller comprises multiple serial ports, the serial ports of described network equipment controller is connected with the serial ports of the network equipment by Serial Port Line, described network equipment controller is connected with terminal equipment by Ethernet, and described method comprises:
According to the type of the network equipment being connected with described serial ports, described serial ports is carried out to initialization;
Receive the connection request that described terminal equipment sends, described connection request comprises the IP address of described network equipment controller and the port numbers of the network equipment to be connected;
Described in judging, whether the connection status of the network equipment to be connected is empty, in the time that the connection status of the described network equipment wait connecting is sky, the terminal equipment that will connect and described in connect between the network equipment to be connected, and the connection status of the network equipment described to be connected is set to non-NULL;
Receive the configuration information of the terminal equipment transmission having connected and be sent to the corresponding network equipment, the feedback information that the network equipment that reception has connected simultaneously returns is also sent to corresponding terminal equipment.
As can be seen here, in method for configuring network equipment disclosed by the invention, terminal equipment connects by network equipment controller and the network equipment, realize the configuration to the network equipment, in whole layoutprocedure, the annexation between the serial ports of the network equipment and network equipment controller serial ports remains unchanged, and has avoided the plug to Serial Port Line, reduce thus the wearing and tearing to network equipment serial ports and network equipment controller serial ports, extended useful life.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the flow chart of a kind of method for configuring network equipment disclosed by the invention;
Fig. 2 is the flow chart of another kind of method for configuring network equipment disclosed by the invention;
Fig. 3 is the flow chart of another kind of method for configuring network equipment disclosed by the invention;
Fig. 4 is a kind of flow chart of realizing the method for viewing and emulating disclosed by the invention;
Fig. 5 is a kind of method flow diagram of realizing assistance disclosed by the invention;
Fig. 6 is the flow chart of a kind of method that realizes forced interruption disclosed by the invention;
Fig. 7 is the flow chart of a kind of method that builds network configuration disclosed by the invention;
Fig. 8 is that one disclosed by the invention is carried out initialized flow chart to network equipment controller serial ports;
Fig. 9 is a kind of flow chart that sends configuration information disclosed by the invention.
Embodiment
In the prior art, by Serial Port Line, the serial ports of terminal equipment is directly connected with the serial ports of the network equipment, sends configuration information afterwards by terminal equipment to the network equipment, the network equipment completes configuration according to the configuration information receiving.The network laboratories of each universities and colleges arranges the understanding of knowwhy in order to deepen student, student will be configured various network device based on various network configuration in network laboratories, due to the serial ports quantity that builds the quantity of the network equipment of network configuration and have much larger than every station terminal equipment, so when in the process that student is configured the network equipment forming in network configuration, after completing the configuration of a certain the network equipment, the Serial Port Line of terminal equipment must be extracted from the serial ports of current network equipment, and insert the serial ports of another network equipment, or the Serial Port Line of terminal equipment is extracted from the serial ports of terminal equipment, and insert the Serial Port Line of another network equipment, could be configured it afterwards, especially when a large amount of students are in the time that terminal equipment is separately configured the network equipment in turn, to plug frequently Serial Port Line.
The present invention is in order to solve the shortcoming of prior art, another kind of thinking is proposed: the network equipment controller with multiple serial ports is set, the serial ports of this network equipment controller is connected with the serial ports of the network equipment by Serial Port Line, and terminal equipment is connected with network equipment controller by Ethernet, student is by sending connection request to network equipment controller, set up being connected between terminal equipment and the network equipment, send configuration information by network equipment controller to the network equipment afterwards, complete the configuration to the network equipment, in the process that the multiple network equipments that form network configuration are configured, the annexation of network equipment serial ports and network equipment controller serial ports remains unchanged, avoid the plug of Serial Port Line, solve thus the wearing and tearing to network equipment serial ports and terminal equipment serial ports that in prior art, frequent plug Serial Port Line causes, reach the object that extends its useful life.
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The invention discloses a kind of method for configuring network equipment, can avoid plugging the problem of Serial Port Line in configure network devices process, reduce the wearing and tearing to terminal equipment serial ports, network equipment serial ports and Serial Port Line, extend its useful life.
Referring to Fig. 1, the flow chart that Fig. 1 is a kind of method for configuring network equipment disclosed by the invention, comprising:
Step S11: serial ports is carried out to initialization according to the type of the network equipment being connected with serial ports.
Step S12: the connection request that receiving terminal apparatus sends.
The connection request that terminal equipment sends comprises the IP address of network equipment controller and the port numbers of the network equipment to be connected.For example: it is 2001 to 2008 that network equipment controller connects each network equipment port, user is at terminal equipment input telnet x.x.x.x 2001, x.x.x.x represents network equipment controller network interface IP address, 2001 port numbers for the network equipment to be connected.
Step S13: whether the connection status that judges the network equipment to be connected is empty, if connection status is empty, execution step S14, if connection status non-NULL, execution step S16.
According to the data transmit-receive principle of serial ports, TX (transmission), the RX (reception) in serial ports just can not be connected use by other once pin is occupied, disconnects unless this connects.Therefore, in the time that the connection status of certain network equipment is non-NULL (this network equipment has been set up and has been connected with terminal equipment), just can not be again and other-end equipment connection.
Step S14: connect between the terminal equipment that will connect and the network equipment to be connected, and the connection status of the network equipment to be connected is set to non-NULL.
Step S15: receive the configuration information of the terminal equipment transmission having connected and be sent to the corresponding network equipment, the feedback information that the network equipment that reception has connected simultaneously returns is also sent to corresponding terminal equipment.
Set up after the connection between terminal equipment and the network equipment, the configuration information that terminal equipment sends can transfer to the network equipment by network equipment controller, the network equipment is configured according to the configuration information receiving, and the feedback information of generation after configuration is completed is sent to terminal equipment by network equipment controller.
Step S16: send outstanding message to the terminal equipment that will connect.
If user asks the network equipment connecting to set up and be connected with other-end equipment, now network equipment controller sends outstanding message to the terminal equipment at user place.
The above-mentioned disclosed method for configuring network equipment of the present invention, terminal equipment connects by network equipment controller and the network equipment, realize the configuration to the network equipment, in whole layoutprocedure, annexation between network equipment serial ports and network equipment controller serial ports remains unchanged, avoid the plug to Serial Port Line, reduced thus the wearing and tearing to network equipment serial ports and network equipment controller serial ports, extended useful life.
In addition, when the network equipment being configured in network laboratories based on prior art, the length of the Serial Port Line providing due to manufacturer is shorter, terminal equipment must be placed on network equipment district, now many network equipments not only will be placed by network equipment district, also to place terminal equipment, cause network equipment district very crowded, and in scheme disclosed by the invention, as long as network equipment controller is placed on to network equipment district, terminal equipment can be positioned over the clear area in laboratory, or is positioned over other regions away from laboratory.
Referring to Fig. 2, the flow chart that Fig. 2 is another kind of method for configuring network equipment disclosed by the invention, comprising:
Step S21: serial ports is carried out to initialization according to the type of the network equipment being connected with serial ports.
Step S22: the connection request that receiving terminal apparatus sends.
Step S13: whether the connection status that judges the network equipment to be connected is empty, if empty, execution step S24, if not empty, execution step S26.
Step S24: connect between the terminal equipment that will connect and the network equipment to be connected, and the connection status of the network equipment to be connected is set to non-NULL.
Step S25: receive the configuration information of the terminal equipment transmission having connected and be sent to the corresponding network equipment, the feedback information that the network equipment that reception has connected simultaneously returns is also sent to corresponding terminal equipment.
Step S26: send relevant information to the terminal equipment that will connect.
This relevant information comprises: the configuration information that the terminal equipment having connected with the network equipment to be connected sends; The feedback information that the network equipment to be connected returns.
TX (transmission), RX (reception) in the serial ports of the network equipment just can not be connected use by other once pin is occupied, disconnects unless this connects.Therefore, in the time that the connection status of certain network equipment is non-NULL (this network equipment has been set up and has been connected with terminal equipment), just can not be again and other-end equipment connection.Owing to being subject to the restriction in funds and place, can not in network laboratories, configure one or more network equipment for each student, cannot guarantee that each student personally operates on classroom.
Method for configuring network equipment disclosed by the invention, in the time that certain student is configured the network equipment, other students that cannot operate can see the layoutprocedure for this network equipment equally, and layoutprocedure is viewed and emulated.Be described in conjunction with specific embodiments.
After terminal equipment m and network equipment A connect, other-end equipment cannot be connected with network equipment A before this connection disconnects, when the network equipment receives after the requirement and the connection request that connects of network equipment A that terminal equipment n sends, the connection status of judging network equipment A is non-NULL, now, the configuration information that terminal equipment m sends, and the feedback information that network equipment A returns is all sent to terminal equipment n through network equipment controller, use the user of terminal equipment n to view and emulate the layoutprocedure of network equipment A.
Referring to Fig. 3, the flow chart that Fig. 3 is another kind of method for configuring network equipment disclosed by the invention, comprising:
Step S31: serial ports is carried out to initialization according to the type of the network equipment being connected with serial ports.
Step S32: the connection request that receiving terminal apparatus sends.
Step S33: whether the connection status that judges the network equipment to be connected is empty, if empty, execution step S34, if not empty, execution step S36.
Step S34: connect between the terminal equipment that will connect and the network equipment to be connected, and the connection status of the network equipment to be connected is set to non-NULL.
Step S35: receive the configuration information of the terminal equipment transmission having connected and be sent to the corresponding network equipment, the feedback information that the network equipment that reception has connected simultaneously returns is also sent to corresponding terminal equipment.
Step S36: send the information of viewing and emulating to the terminal equipment that will connect.
Step S37: the reply message that the terminal equipment that reception will connect returns for this information of viewing and emulating.
Step S38: judge whether reply message is to agree to the information of viewing and emulating, if agree to the information of viewing and emulating, execution step S39, if refusal is viewed and emulated information, execution step S310.
Step S39: send relevant information to the terminal equipment that will connect.
This relevant information comprises: the configuration information that the terminal equipment having connected with this network equipment to be connected sends; The feedback information that the network equipment to be connected returns.
Step S310: send outstanding message to the terminal equipment that will connect.
According to the method for configuring network equipment shown in Fig. 3, when the network equipment connecting when terminal equipment request has connected with other-end equipment, send to the terminal equipment of this transmission connection request the information of viewing and emulating by network equipment controller, use the user of this terminal equipment can select to continue to wait for, or enter the state of viewing and emulating, be different from the mode that shown in Fig. 2, in method, force users enters the state of viewing and emulating.
In force, student can also be in the connection of having set up, the connection that autonomous selection will be viewed and emulated.Refer to Fig. 4, Fig. 4 is a kind of flow chart of realizing the method for viewing and emulating disclosed by the invention.Comprise:
Step S41: the request of viewing and emulating that receiving terminal apparatus sends.
This is viewed and emulated request and comprises the IP address of network equipment controller and the mark of connection to be viewed and emulated.Concrete, this mark can be the user name of the terminal equipment in this connection to be viewed and emulated, sequence number or IP address, can also be the port numbers of the network equipment in this connection to be viewed and emulated.
Step S42: terminal equipment from request to transmission that view and emulate sends relevant information.
This relevant information comprises the feedback information that the network equipment in configuration information and this connection to be viewed and emulated that terminal equipment in connection to be viewed and emulated sends returns.
The method of viewing and emulating according to the realization shown in Fig. 4, user can view and emulate request by transmission, and the layoutprocedure during certain has been connected is is viewed and emulated.In the time that user will view and emulate certain classmate's operating process, user name, sequence number or the IP address of the terminal equipment that this classmate can be used are sent to network equipment controller as the mark of connection to be viewed and emulated; In the time that user will view and emulate the layoutprocedure of certain network equipment, the port numbers of equipment on this network can be sent to network equipment controller, the terminal equipment that network equipment controller sends to this user to use the relevant information producing in this connection.
After certain student is setting up being connected of terminal equipment and the network equipment, cannot complete the configuration to this network equipment time, can transfer the authority that this network equipment is configured to other classmate.Refer to Fig. 5, Fig. 5 is a kind of method flow diagram of realizing assistance disclosed by the invention, comprising:
Step S51: receive the assistance request of the terminal equipment transmission having connected.
Step S52: judge whether that terminal equipment viewing and emulating current connection of having set up, if so, perform step S54, if not, perform step S53.
Step S53: judge whether that terminal equipment wait connects with the network equipment in current being connected of having set up, if so, perform step S54, if not, wait for.
Step S54: disconnect and send terminal equipment and being connected of the network equipment of assisting request, and connect viewing and emulating or wait between the terminal equipment connecting and the network equipment being disconnected.
User set up after being connected of terminal equipment and the network equipment, the network equipment is configured in process, if this user is unfamiliar with this operation, can not complete configuration time, can send the request of assisting to network equipment controller, disconnect being connected of current terminal equipment and the network equipment by network equipment controller, and connect between the terminal equipment connecting in wait or the terminal equipment of viewing and emulating and this network equipment being disconnected, the right that this network equipment is configured is shifted.
Preferably, after step S54, also comprise:
Step S55: assist the terminal equipment of request to send relevant information to sending.
This relevant information comprises the configuration information of the terminal equipment transmission in newly-established connection and the feedback information that the network equipment returns.
Assist the terminal equipment of request to be disconnected with after being connected of the network equipment when sending, the terminal equipment that the feedback information that the configuration information that the terminal equipment in newly-established connection can be sent and the network equipment return sends to this to be disconnected.Describe in conjunction with specific embodiments.
After terminal equipment m and network equipment A connect, if use the user of terminal equipment m cannot complete the configuration to network equipment A, now user can send to the network equipment controller request of assisting by terminal equipment m, network equipment controller judges whether that other terminal equipment is connected with network equipment A in wait, or whether there are other network equipments viewing and emulating the connection of terminal equipment m and network equipment A formation, if terminal equipment n connects with network equipment A in wait, or the connection of terminal equipment m and network equipment A formation is viewed and emulated, now, being connected between network equipment controller disconnected end equipment m and network equipment A, set up afterwards being connected between terminal equipment n and network equipment A, and the configuration information that terminal equipment n is sent and the feedback information that returns of network equipment A send to terminal equipment m, terminal equipment m views and emulates layoutprocedure.
In force, certain station terminal equipment is set up with after being connected of the network equipment, may be for a long time in without mode of operation, if this terminal equipment does not initiatively disconnect, other-end equipment also cannot connect with this network equipment, this can cause very large waste to resource, for fear of the generation of this situation, the invention provides a kind of method that can realize forced interruption.
Referring to Fig. 6, Fig. 6 is the flow chart of a kind of method that realizes forced interruption disclosed by the invention.Comprise:
Step S61: the forced interruption request that receiving terminal apparatus sends.
This forced interruption request comprises the mark that is required the connection of carrying out forced interruption, this mark can be user name, sequence number or the IP address that is required to carry out the terminal equipment in the connection of forced interruption, can be also the port numbers that is required to carry out the network equipment in the connection of forced interruption.
Step S62: whether the priority that judges the terminal equipment that sends forced interruption request higher than the priority that is required to carry out the terminal equipment in the connection of forced interruption, if so, perform step S63, if not, finishes.
Step S63: disconnect.
This forced interruption function can be realized by the keeper in laboratory, the terminal equipment that keeper uses is set and has higher priority.In the time that keeper finds that certain connects long time no operations, can generate by the terminal equipment at its place the forced interruption request of the mark that comprises this connection, and this forced interruption request is sent to network equipment controller, when network equipment controller receives after forced interruption request, the terminal equipment of judging this forced interruption request of transmission has higher priority, now this connection is disconnected.Afterwards, other-end equipment can be set up and being connected of this network equipment, and avoids causing the wasting of resources.
In method for configuring network equipment disclosed by the invention, before described serial ports being carried out to initialization according to the type of the network equipment being connected with serial ports, also comprise the step that builds network configuration, as shown in Figure 7, comprising:
Step S71: receive the structure request that comprises network configuration that user sends;
Step S72: the topological structure script that obtains network configuration.
In network equipment controller, store the topological structure script of multiple network structure, topological structure script comprises the command script collection of each network equipment in described network configuration.
Step S73: send corresponding command script collection to each network equipment.
After the network equipment receives topological structure script, complete the modification of topological structure according to this topological structure script.
When keeper or teacher build network configuration before at school, only need to send the structure request that includes network configuration yet to be built to network equipment controller, network equipment controller will be named accordingly set of scripts to be sent to each network equipment according to this request and just can complete network configuration and build, compared with existing mode of building network configuration by manual line, time can be shortened, and the situation of wiring error can be avoided occurring.
In above-mentioned each method, according to the type of the network equipment being connected with serial ports, serial ports is carried out to initialized process as shown in Figure 8, comprising:
Step S81: the type of determining the network equipment being connected with serial ports.
Step S82: according to the type of the network equipment, baud rate, data rate and the parity check bit of setting up serial ports.
In addition, if the configuration information that terminal equipment sends comprises destructive data, when network equipment controller is sent to this configuration information after the network equipment, can cause damage to the network equipment of normal operation.For fear of destructive data, the network equipment is caused damage, when network equipment controller receives after configuration information, detect this configuration information.Detailed process as shown in Figure 9, comprising:
Step S91: the configuration information that receives the terminal equipment transmission having connected;
Step S92: judge in configuration information whether comprise destructive instruction, if comprise destructive instruction, execution step S93, if do not comprise destructive instruction, execution step S94.
In network equipment controller, store destructive instruction set, network equipment controller is compared with the instruction set prestoring for every instruction in the configuration information receiving, if this instruction is contained in the instruction set prestoring, think that this instruction is destructive instruction.
Step S93: delete this configuration information, send information to terminal equipment.
Step S94: configuration information is sent to the corresponding network equipment.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment, between each embodiment identical similar part mutually referring to.
To the above-mentioned explanation of the disclosed embodiments, make professional and technical personnel in the field can realize or use the present invention.To be apparent for those skilled in the art to the multiple modification of these embodiment, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.
Claims (10)
1. a method for configuring network equipment, it is characterized in that, for network equipment controller, described network equipment controller comprises multiple serial ports, the serial ports of described network equipment controller is connected with the serial ports of the network equipment by Serial Port Line, described network equipment controller is connected with terminal equipment by Ethernet, and described method comprises:
Network equipment controller carries out initialization according to the type of the network equipment being connected with described serial ports to described serial ports;
Network equipment controller receives the connection request that described terminal equipment sends, and described connection request comprises the IP address of described network equipment controller and the port numbers of the network equipment to be connected;
Described in network equipment controller judges, whether the connection status of the network equipment to be connected is empty, in the time that the connection status of the described network equipment wait connecting is sky, the terminal equipment that will connect and described in connect between the network equipment to be connected, and the connection status of the network equipment described to be connected is set to non-NULL;
Network equipment controller receives the configuration information of the terminal equipment transmission having connected and is sent to the corresponding network equipment, and the feedback information that the network equipment that reception has connected simultaneously returns is also sent to corresponding terminal equipment.
2. method for configuring network equipment according to claim 1, is characterized in that, in the time that the connection status of the described network equipment wait connecting is not sky, sends outstanding message to the terminal equipment that will connect.
3. method for configuring network equipment according to claim 1, it is characterized in that, in the time that the connection status of the described network equipment wait connecting is not sky, send relevant information to the described terminal equipment that will connect, described relevant information comprise configuration information that the terminal equipment that connects with the network equipment described to be connected sends and described in the feedback information that returns of the network equipment to be connected.
4. method for configuring network equipment according to claim 1, it is characterized in that, in the time that the connection status of the described network equipment wait connecting is not sky, send to the described terminal equipment that will connect the information of viewing and emulating, and the reply message that described in receiving, the terminal equipment that will connect returns for the described information of viewing and emulating, in the time that described reply message is viewed and emulated information for agreement, send relevant information to the described terminal equipment that will connect, in the time that described reply message is viewed and emulated information for refusal, send outstanding message to the described terminal equipment that will connect, described relevant information comprises the configuration information that the terminal equipment that connects with the network equipment described to be connected sends, and described in the feedback information that returns of the network equipment to be connected.
5. method for configuring network equipment according to claim 1, it is characterized in that, described terminal equipment connecting and described in connect between the network equipment to be connected, and after the connection status of the network equipment described to be connected is set to the step of non-NULL, also comprise:
The request of viewing and emulating that receiving terminal apparatus sends, describedly view and emulate request and comprise the IP address of described network equipment controller and the mark of connection to be viewed and emulated, described in described in being designated the terminal equipment in connection to be viewed and emulated user name or described in the port numbers of the network equipment in connection to be viewed and emulated;
Terminal equipment from request to transmission that view and emulate sends relevant information, the configuration information that the terminal equipment described in described relevant information comprises in connection to be viewed and emulated sends and described in the feedback information that returns of the network equipment in connection to be viewed and emulated.
6. method for configuring network equipment according to claim 1, it is characterized in that, described terminal equipment connecting and described in connect between the network equipment to be connected, and after the connection status of the network equipment described to be connected is set to the step of non-NULL, also comprise:
Receive the assistance request of the terminal equipment transmission having connected;
Judge whether that terminal equipment viewing and emulating current connection of having set up, or whether have terminal equipment to wait for to connect with the network equipment in current being connected of having set up;
When there being terminal equipment, current connection of having set up is being viewed and emulated, or there is terminal equipment to wait for while connecting with the network equipment in current being connected of having set up, disconnect and send terminal equipment and being connected of the network equipment of assisting request, and connect viewing and emulating or wait between the terminal equipment connecting and the network equipment being disconnected.
7. method for configuring network equipment according to claim 6, is characterized in that, also comprises:
Assist the terminal equipment of request to send relevant information to described transmission, described relevant information comprises the configuration information of the terminal equipment transmission in newly-established connection and the feedback information that the network equipment returns.
8. method for configuring network equipment according to claim 1, it is characterized in that, described terminal equipment connecting and described in connect between the network equipment to be connected, and after the connection status of the network equipment described to be connected is set to the step of non-NULL, further comprise:
The forced interruption request that receiving terminal apparatus sends, described forced interruption request comprises the mark that is required the connection of carrying out forced interruption;
When the priority of terminal equipment that sends forced interruption request is when being required to carry out the priority of the terminal equipment in the connection of forced interruption, disconnect described connection.
9. method for configuring network equipment according to claim 1, is characterized in that, before described serial ports being carried out to initialization according to the type of the network equipment being connected with described serial ports, also comprises the step that builds network configuration, is specially:
Receive the structure request that comprises network configuration that user sends;
Obtain the topological structure script of described network configuration, described topological structure script comprises the command script collection of each network equipment in described network configuration;
Send corresponding command script collection to described each network equipment.
10. method for configuring network equipment according to claim 1, is characterized in that, receives the configuration information of the terminal equipment transmission having connected and be sent to the corresponding network equipment to be specially:
Receive the configuration information of the terminal equipment transmission having connected;
Judge in described configuration information whether comprise destructive instruction, if do not comprise destructive instruction, described configuration information is sent to the corresponding network equipment, if comprise destructive instruction, delete this configuration information, and send information to described terminal equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110175225.7A CN102195821B (en) | 2011-06-27 | 2011-06-27 | Method for configuring network equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110175225.7A CN102195821B (en) | 2011-06-27 | 2011-06-27 | Method for configuring network equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102195821A CN102195821A (en) | 2011-09-21 |
CN102195821B true CN102195821B (en) | 2014-07-02 |
Family
ID=44603243
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110175225.7A Expired - Fee Related CN102195821B (en) | 2011-06-27 | 2011-06-27 | Method for configuring network equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102195821B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106445767A (en) * | 2016-10-11 | 2017-02-22 | 郑州云海信息技术有限公司 | Method for setting IP and time of RAID type IO in memory |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103532738B (en) * | 2013-09-26 | 2016-07-06 | 福建星网锐捷网络有限公司 | The defining method of a kind of port connection relationship and device |
CN110266788A (en) * | 2019-06-14 | 2019-09-20 | 中国人民解放军陆军工程大学 | Method for automatically configuring network parameters of equipment |
CN110944063B (en) * | 2019-12-10 | 2021-11-30 | 航天新长征大道科技有限公司 | Programmable logic control device connection method, control system and readable medium |
CN114095943B (en) * | 2021-11-02 | 2025-03-25 | 北京天融信网络安全技术有限公司 | A method for deploying network equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6389464B1 (en) * | 1997-06-27 | 2002-05-14 | Cornet Technology, Inc. | Device management system for managing standards-compliant and non-compliant network elements using standard management protocols and a universal site server which is configurable from remote locations via internet browser technology |
CN1645328A (en) * | 2001-09-20 | 2005-07-27 | 松下电器产业株式会社 | Compiling device and method |
CN1945542A (en) * | 2006-11-01 | 2007-04-11 | 北京中星微电子有限公司 | Embedded software developing method and system |
CN101924655A (en) * | 2010-08-23 | 2010-12-22 | 中兴通讯股份有限公司 | A method and device supporting multi-serial port terminal login |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101621440B (en) * | 2009-05-22 | 2011-08-10 | 浙江天正电气股份有限公司 | Remote multi-path serial port communication mapping system |
-
2011
- 2011-06-27 CN CN201110175225.7A patent/CN102195821B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6389464B1 (en) * | 1997-06-27 | 2002-05-14 | Cornet Technology, Inc. | Device management system for managing standards-compliant and non-compliant network elements using standard management protocols and a universal site server which is configurable from remote locations via internet browser technology |
CN1645328A (en) * | 2001-09-20 | 2005-07-27 | 松下电器产业株式会社 | Compiling device and method |
CN1945542A (en) * | 2006-11-01 | 2007-04-11 | 北京中星微电子有限公司 | Embedded software developing method and system |
CN101924655A (en) * | 2010-08-23 | 2010-12-22 | 中兴通讯股份有限公司 | A method and device supporting multi-serial port terminal login |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106445767A (en) * | 2016-10-11 | 2017-02-22 | 郑州云海信息技术有限公司 | Method for setting IP and time of RAID type IO in memory |
Also Published As
Publication number | Publication date |
---|---|
CN102195821A (en) | 2011-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102195821B (en) | Method for configuring network equipment | |
CN103782649B (en) | Wireless L AN connection handoff via docking system and generic network device driver | |
CN101867505B (en) | A network simulation method and device | |
CN103281752A (en) | WIFI (wireless fidelity) network access method and device, electronic equipment and communication system | |
CN102273147A (en) | Self-configuring asymmetric communication link | |
CN103281759A (en) | WIFI (wireless fidelity) network access method and device, electronic equipment and communication system | |
CN104919436A (en) | Wireless docking service with direct connection to peripherals | |
CN104303491A (en) | Devices and methods for facilitating direct pairing in a wireless docking system | |
JP2001345817A (en) | Control terminal equipment for radio equipment, radio system and method of configuring multimedia system | |
CN102857959A (en) | Test device and test method for mobile communication terminal | |
CN102420891A (en) | Mobile terminal and test method, equipment and system thereof | |
CN103338210A (en) | AP (Access Point) emulation analog system based on CAPWAP (Control and Provisioning of Wireless Access Points) protocol | |
CN105959968A (en) | Wifi configuration method and device | |
US20060291385A1 (en) | Environment dependent network connection switching setting system and method | |
CN109120969A (en) | A kind of the throwing screen method, apparatus and throwing screen equipment of multimedia content | |
EP3493611B1 (en) | Method and system for organising mesh network | |
CN104426715A (en) | Distributed testing tool control method | |
CN104378372B (en) | The method of electronic equipment and operation electronic equipment for communicating in a network | |
CN105101061A (en) | Bluetooth communication realization method by means of AT command | |
CN102098467A (en) | Method and device for realizing bilateral control of television terminal | |
CN110798355A (en) | Network distribution method and device for intelligent socket, intelligent socket and storage medium | |
CN110247941B (en) | Method and system for switching use state of terminal | |
CN103023940A (en) | Method and device for transmitting data between PC (Personal Computer) and mobile terminal | |
CN203027289U (en) | System for realizing serial communication among computer, host computer and slave computer | |
CN111294155B (en) | Adapter, data transmission system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: Method for configuring network equipment Effective date of registration: 20160218 Granted publication date: 20140702 Pledgee: Bank of Communications Ltd Jilin branch Pledgor: Zhongruan Jida Information Technology Co., Ltd., Jilin Registration number: 2016220000001 |
|
PLDC | Enforcement, change and cancellation of contracts on pledge of patent right or utility model | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140702 Termination date: 20180627 |
|
CF01 | Termination of patent right due to non-payment of annual fee |