CN103905235A - Interface configuration method and apparatus, network transmission device, and communication system - Google Patents
Interface configuration method and apparatus, network transmission device, and communication system Download PDFInfo
- Publication number
- CN103905235A CN103905235A CN201210581290.4A CN201210581290A CN103905235A CN 103905235 A CN103905235 A CN 103905235A CN 201210581290 A CN201210581290 A CN 201210581290A CN 103905235 A CN103905235 A CN 103905235A
- Authority
- CN
- China
- Prior art keywords
- negotiation
- network transmission
- transmission device
- channel
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 257
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000004891 communication Methods 0.000 title claims description 10
- 230000006870 function Effects 0.000 claims description 73
- 239000003550 marker Substances 0.000 claims description 60
- 230000004044 response Effects 0.000 claims description 8
- 238000001514 detection method Methods 0.000 claims description 4
- 238000004519 manufacturing process Methods 0.000 abstract description 5
- 238000003780 insertion Methods 0.000 abstract 1
- 230000037431 insertion Effects 0.000 abstract 1
- 238000006243 chemical reaction Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 230000002093 peripheral effect Effects 0.000 description 6
- 230000006855 networking Effects 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 3
- 238000011084 recovery Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 125000004122 cyclic group Chemical group 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000007493 shaping process Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Communication Control (AREA)
Abstract
The invention provides an interface configuration method. A first network transmission device negotiates with a second network transmission device, after negotiation succeeds, a corresponding function module is unlatched according to negotiation information, automatic subsequent configuration is carried out, technical personnel do not have to manufacture a special-purpose cable, the interface usability is improved, wrong cable insertion or configuration error are prevented, and an internal circuit is prevented from being damaged.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an interface configuration method and apparatus, a network transmission device, and a communication system.
Background
The present Network transmission device, such as a PTN (packet Transport Network) device, an ATN (Access Transport Network) device, an OSN (optical switch Node) device, etc., is provided with a plurality of selectable function modules, different function modules are selected according to different requirements, each function module may be connected to a peripheral device through a physical interface (hereinafter referred to as an interface), and in order to reduce the number of interfaces, the function modules are generally connected to the peripheral device in an interface multiplexing manner, that is, regardless of which function module is used, the function modules may be connected to the peripheral device through only one interface or one interface among a limited number of interfaces, that is, one interface may implement connection between the plurality of function modules in the Network transmission device and the peripheral device. For example, the network transmission device is provided with auxiliary function modules, such as an external clock function module (for clock synchronization), an external time function module (for time synchronization), and the like, and these auxiliary function modules are generally connected to the peripheral device by using an RJ45 interface, that is, a plurality of auxiliary function modules are connected to the peripheral device through an interface, specifically: if the external clock function is used, the interface can be connected with the external equipment through the RJ45 interface, and if the external clock function is used, the interface can also be connected with the external equipment through the RJ45 interface.
Since the level standards applied by the functional modules have different forms, such as E1, RS232, RS422, and other level standards, in the networking process, when two interconnected network transmission devices need to implement a certain function through a multiplexing interface, two network transmission devices need to be configured respectively, and each network device needs to configure a channel, select a functional module required by networking, and implement the level standard applied by the function, so as to meet the network requirements.
At present, the interface configuration of two interconnected network transmission devices is realized by technical personnel according to a special cable manufactured by a line sequence and manually selecting the configuration of the interface, the interface is low in usability, the configuration accuracy of the interface is low, the situation of cable plugging errors or configuration errors is easy to occur, different level butt joints are caused, and the risk of burning out a rear-stage circuit is caused.
Disclosure of Invention
The embodiment of the invention provides an interface configuration method, which aims to solve the problems that the interface configuration of two interconnected network transmission devices is realized by making a special cable by a technician and manually selecting the special cable, so that the configuration accuracy is low, and the situations of cable plugging errors or configuration errors are easy to occur.
A first aspect of the present invention provides an interface configuration method, applied to a first network transmission device provided with a first interface, including:
receiving negotiation information sent by a second network transmission device through a preset first negotiation channel, wherein the negotiation information comprises: channel number, sending/receiving information, function module type and level standard; the first negotiation channel is any one of a plurality of channels formed after a first interface of the first network transmission device and a second interface of the second network transmission device are communicated with each other;
judging whether the negotiation is successful;
after the negotiation is successful, configuring the first network transmission device according to the negotiation information, including: and opening the corresponding functional module according to the type of the functional module and the level standard, and communicating the functional module with the corresponding channel according to the channel number and the sending/receiving information.
In a first possible implementation manner of the first aspect, the receiving, by a preset first negotiation channel, negotiation information sent by a second network transmission device includes:
receiving a negotiation message sent by a second network transmission device through the first negotiation channel, wherein the negotiation message comprises: the device comprises a start marker, negotiation information data and an end marker, wherein the lowest bit of the negotiation information data is a parity bit.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the determining whether the negotiation is successful includes:
and judging whether at least one of the start marker, the end marker or the parity check bit is wrong, if so, determining that the negotiation fails, otherwise, determining that the negotiation succeeds.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the determining whether the negotiation is successful includes:
judging whether the start marker, the end marker and the parity check bit of the received negotiation message are correct or not;
when the start marker, the end marker and the parity check bit of the initially received negotiation message are all correct, judging whether the start marker, the end marker and the parity check bit of a plurality of continuously received negotiation messages are all correct;
when the start marker, the end marker and the parity check bit of a plurality of negotiation messages received continuously are judged to be correct, whether the negotiation information in the plurality of negotiation messages received continuously is consistent or not is judged, if yes, the negotiation is determined to be successful, and if not, the negotiation is determined to be failed. .
In a fourth possible implementation manner of the first aspect, after configuring the first network transmission device, the method further includes:
storing the received negotiation information and negotiation state, wherein the negotiation state is success or failure;
judging whether a preset interface configuration updating condition is met, wherein the judging whether the interface configuration updating condition is met comprises the following steps: when the negotiation states are successful for a plurality of times continuously and the negotiation information received for a plurality of times continuously is the same updated negotiation information, judging that the interface configuration updating condition is met; otherwise, judging that the interface configuration updating condition is not met;
and when the interface configuration updating condition is met, updating the interface configuration of the first network transmission equipment according to the updated negotiation information.
In a fifth possible implementation manner of the first aspect, the method further includes:
detecting the connection state of the first negotiation channel;
and when the disconnection of the first negotiation channel is detected, closing the opened functional module.
In a fifth possible implementation manner of the first aspect, the negotiation information further includes interface identification information.
With reference to the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the configuring, after the negotiation is successful, the first network transmission device according to the negotiation information includes: and starting the corresponding functional module according to the type of the functional module and the level standard, and communicating the functional module with the corresponding channel of the corresponding interface according to the interface identification information, the channel number and the sending/receiving information.
A second aspect of the present invention provides an interface configuration method applied to a second network transmission device provided with a second interface, including:
sending negotiation information to a first network transmission device through a preset first negotiation channel, wherein the negotiation information comprises: channel number, sending/receiving information, function module type and level standard;
the negotiation information is used for negotiating with a first network transmission device provided with a first interface, so that the first network transmission device is configured according to the negotiation information when the negotiation is successful;
the first negotiation channel is any one of a plurality of channels formed after the first interface of the first network transmission device and the second interface of the second network transmission device are communicated with each other.
A third aspect of the present invention provides an interface configuration apparatus applied to a first network transmission device provided with a first interface, including:
a first receiving module, configured to receive negotiation information sent by a second network transmission device through a preset first negotiation channel, where the negotiation information includes: channel number, sending/receiving information, function module type and level standard; the first negotiation channel is any one of a plurality of channels formed after a first interface of the first network transmission device and a second interface of the second network transmission device are communicated with each other;
the judging module is used for judging whether the negotiation is successful or not;
a configuration module, configured to configure the first network transmission device according to the negotiation information after the judgment module judges that the negotiation is successful, including: and opening the corresponding functional module according to the type of the functional module and the level standard, and communicating the functional module with the corresponding channel according to the channel number and the sending/receiving information.
A fourth aspect of the present invention provides a network transmission device, including a first interface, and further including the interface configuration apparatus as described above.
A fifth aspect of the present invention provides an interface configuration apparatus applied to a second network transmission device provided with a second interface, including:
a second sending module, configured to send negotiation information to the first network transmission device through a preset first negotiation channel, where the negotiation information includes: channel number, sending/receiving information, function module type and level standard;
the negotiation information is used for negotiating with a first network transmission device provided with a first interface, so that the first network transmission device is configured according to the negotiation information when the negotiation is successful;
the first negotiation channel is any one of a plurality of channels formed after the first interface of the first network transmission device and the second interface of the second network transmission device are communicated with each other.
A sixth aspect of the present invention provides a network transmission device, which includes the second interface, and further includes the interface configuration apparatus as described above.
A seventh aspect of the present invention provides a communication system comprising:
the network transmission system comprises a first network transmission device and a second network transmission device as described above, and a cable connecting the first network transmission device and the second network transmission device.
An eighth aspect of the present invention provides an interface configuration apparatus applied to a first network transmission device provided with a first interface, including:
at least one processor configured to:
receiving negotiation information sent by a second network transmission device through a preset first negotiation channel, wherein the negotiation information comprises: channel number, sending/receiving information, function module type and level standard; the first negotiation channel is any one of a plurality of channels formed after a first interface of the first network transmission device and a second interface of the second network transmission device are communicated with each other;
judging whether the negotiation is successful;
after the negotiation is successful, configuring the first network transmission device according to the negotiation information, including: opening a corresponding functional module according to the type of the functional module and the level standard, and communicating the functional module with a corresponding channel according to the channel number and the sending/receiving information;
a memory coupled with the at least one processor.
A ninth aspect of the present invention provides an interface configuration apparatus applied to a second network transmission device provided with a second interface, including:
at least one processor configured to:
sending negotiation information to a first network transmission device through a preset first negotiation channel, wherein the negotiation information comprises: channel number, sending/receiving information, function module type and level standard;
the negotiation information is used for negotiating with a first network transmission device provided with a first interface, so that the first network transmission device is configured according to the negotiation information when the negotiation is successful;
the first negotiation channel is any one of a plurality of channels formed after a first interface of the first network transmission device and a second interface of the second network transmission device are communicated with each other;
a memory coupled with the at least one processor.
The interface configuration method provided by the embodiment of the application is applied to a first network transmission device provided with a first interface, and receives negotiation information sent by a second network transmission device through a preset first negotiation channel, wherein the negotiation information comprises a channel number, sending/receiving information, a function module type and a level standard; the first negotiation channel is any one of a plurality of channels formed after a first interface of the first network transmission device and a second interface of the second network transmission device are communicated with each other; and after the negotiation is judged to be successful, the corresponding functional module is started, and the functional module is communicated with the corresponding channel according to the channel number and the sending/receiving information.
Therefore, according to the interface configuration method provided by the embodiment of the application, the first network transmission device negotiates with the second network transmission device, the corresponding function module is opened according to negotiation information and subsequent configuration is automatically performed after the negotiation is successful, a technician is not required to manufacture a special cable, the usability of the interface is improved, the cable plugging error or the configuration error is prevented, and an internal circuit is protected from being damaged.
Drawings
Fig. 1 is a flowchart of an interface configuration method according to an embodiment of the present application;
fig. 2 is a flowchart of another interface configuration method provided in an embodiment of the present application;
fig. 3 is a flowchart of another interface configuration method provided in an embodiment of the present application;
fig. 4 is a flowchart of another interface configuration method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an interface configuration apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another interface configuration apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another interface configuration apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another interface configuration apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a PTN networking device according to an embodiment of the present application.
Detailed Description
So that those skilled in the art can further understand the features and technical content of the present invention, reference is made to the following detailed description of the present invention and accompanying drawings, which are provided for reference and illustration only and are not intended to limit the present invention.
In the embodiment of the present application, the first network transmission device and the second network transmission device are connected in advance by a cable, and the cable may be a universal cable. For example, assuming that the interfaces of the first network transmission device and the second network transmission device are both RJ45 network ports, the cable may be a universal network cable such as a direct network cable or a cross network cable, and after the first device and the second device are connected by the network cable, eight channels that can be used are formed between the two interfaces. In this embodiment, the initial states of the selectable functional modules in the second network transmission device are all off states.
Referring to fig. 1, fig. 1 is a flowchart of an interface configuration method provided in an embodiment of the present application, where the interface configuration method provided in the embodiment of the present application is applied to a first network transmission device provided with a first interface, and the interface configuration method provided in the embodiment of the present application includes:
step S101: receiving negotiation information sent by a second network transmission device through a preset first negotiation channel, wherein the negotiation information comprises: channel number, sending/receiving information, function module type and level standard; the first negotiation channel is any one of a plurality of channels formed after a first interface of the first network transmission device and a second interface of the second network transmission device are communicated with each other;
in the embodiment of the application, a negotiation channel is predefined in a plurality of channels between a first interface of a first network device and a second interface of a second network device, and the negotiation channel is a serial channel;
in this embodiment, the interface of the second network transmission device is preconfigured, that is, which type of function module is used by the second network transmission device, which level standard function module is selected from among the type of function modules, and the selected function module communicates with the first network transmission device through the several channels are preconfigured, the configuration may be manually configured by a technician, after the configuration is completed, the second network transmission device may transmit negotiation information to the first network transmission device through the first negotiation channel, and the negotiation information includes: the channel number is the number of which channels the first network transmission device needs to use to communicate with the second network transmission device; transmitting and receiving information for explaining which channel is used for transmitting and which channel is used for receiving in the selected channels; the type of the function module, which function module is applied by the first network transmission equipment to communicate with the second network transmission equipment; the level standard, that is, when the first network transmission device selects the function module, what type of function module of the level standard is selected for communication with the second network transmission device, the common level standards of the function modules include E1, LVTTL, RS232, RS422, and the like, that is, after the first network transmission device determines the type of the function module, the first network transmission device selects a function module of a specific level standard from the type of function module, for example, it is assumed that the type of the selected function module is an outside time function module, and the level forms applied by outside different time function modules are different, so the configured function module is determined according to the type of the function module and the level standard.
Step S102: judging whether the negotiation is successful;
whether the negotiation is successful can be judged by judging whether the received negotiation information is correct or not, if the negotiation information is correct, the negotiation is successful, otherwise, the negotiation is failed; specifically, when determining whether the negotiation information is correct, the determination may be performed by using a parity check code or a cyclic redundancy check code (CRC code), and details are not described herein if the determination belongs to the common general knowledge in the art. If the negotiation is successful, executing step S103, otherwise, returning to step S101;
step S103: configuring the first network transmission device according to the negotiation information, including: and opening the corresponding functional module according to the type of the functional module and the level standard, and communicating the functional module with the corresponding channel according to the channel number.
Before the negotiation is successful, the first network transmission equipment closes all the selectable function modules, and after the negotiation is successful, the first network transmission equipment opens the corresponding function modules according to the types of the function modules and the level standard, and communicates the opened function modules to the channels with the corresponding channel numbers according to the channel numbers and the sending/receiving information, so that interface configuration is completed.
According to the interface configuration method provided by the embodiment of the application, the first network transmission equipment negotiates with the second network transmission equipment through the preset negotiation channel, the corresponding function module is started according to negotiation information after the negotiation is successful, the subsequent configuration is automatically performed, a technician is not required to manufacture a special cable, the usability of the interface is improved, the cable plugging error or the configuration error is prevented, and an internal circuit is protected from being damaged.
In addition, according to the embodiment of the application, only one network transmission device in the two interconnected network devices is manually configured, and the other network transmission device automatically performs corresponding configuration according to the configuration of the configured network transmission device, so that the problems that the two interconnected network devices are generally not in one area, technicians need to go to a far end for configuration, the configuration efficiency of the network transmission device is low, and a large amount of manpower and material resources are wasted are solved.
Referring to fig. 2, fig. 2 is a flowchart of another interface configuration method according to an embodiment of the present application, including:
step S201: receiving a negotiation message sent by a second network transmission device through a preset first negotiation channel, wherein the negotiation message comprises: the method comprises the steps of starting a marker, negotiation information data and a receiving marker, wherein the lowest bit of the negotiation information data is a parity check bit; the negotiation information data is negotiation information which comprises a channel number, sending/receiving information, a function module type and a level standard;
when the first network transmission device receives the negotiation information sent by the second network transmission device through the preset first negotiation channel, the first network transmission device can receive the negotiation information in a mode of receiving a negotiation message sent by the second network transmission device through the preset first negotiation channel.
The start marker and the end marker are used for identifying that the data received through the first negotiation channel is a negotiation message instead of ordinary serial port information, and therefore misjudgment and misreception are prevented.
Step S202: judging whether the negotiation message is correct or not, including: and judging whether at least one of the start marker, the end marker or the parity check bit is wrong, if so, determining that the negotiation message is wrong, and otherwise, determining that the negotiation message is correct. When the negotiation message is correct, step S203 is executed, otherwise, step S201 is executed.
That is, after determining whether the negotiation is successful, determining whether the negotiation is successful by determining whether the negotiation packet is correct.
When only one of the start marker, the end marker and the parity check bit in the negotiation message is incorrect, the negotiation message is wrong, namely, the negotiation fails, and only when the start marker, the end marker and the parity check bit are all correct, the negotiation message can be determined to be correct, namely, the negotiation succeeds.
Step S203: configuring the first network transmission device according to the negotiation information data, including: and opening the corresponding functional module according to the type of the functional module and the level standard, and communicating the functional module with the corresponding channel according to the channel number and the sending/receiving information.
Referring to fig. 3, fig. 3 is a flowchart of another interface configuration method according to an embodiment of the present application, including:
step S301: receiving a negotiation message sent by a second network transmission device through a preset first negotiation channel, wherein the negotiation message comprises: the method comprises the steps of starting a marker, negotiation information data and a receiving marker, wherein the lowest bit of the negotiation information data is a parity check bit; the negotiation information data is negotiation information which comprises a channel number, sending/receiving information, a function module type and a level standard;
step S302: judging whether the negotiation message is correct or not, including: and judging whether at least one of the start marker, the end marker or the parity check bit is wrong, if so, determining that the negotiation message is wrong, and otherwise, determining that the negotiation message is correct. When the negotiation message is correct, step S303 is executed, otherwise, step S301 is executed.
Step S303: judging whether the negotiation information in a plurality of negotiation messages received continuously is consistent, including: and judging whether the plurality of negotiation messages received continuously are correct or not, wherein the negotiation information in the negotiation messages is consistent, if so, determining that the negotiation is successful, otherwise, determining that the negotiation is failed. And when the negotiation is successful, executing the step S304, otherwise, keeping the original state.
The second network transmission equipment transmits the negotiation message to the first network transmission equipment in real time, and the second network transmission equipment negotiates each negotiation message, namely, judges whether the negotiation message is correct or not. In this step, only when the correct negotiation messages received for several consecutive times are identical (i.e. the start marker, the end marker and the negotiation information data are identical), the negotiation is considered to be successful, otherwise, the negotiation is failed. For example, the negotiation is considered to be successful only when the negotiation messages received for 3 consecutive times are the same, otherwise, the negotiation fails, which is only exemplified here, and the number of times is not limited to 3, but may be other times.
Step S304: configuring the first network transmission device according to the negotiation information data, including: and opening the corresponding functional module according to the type of the functional module and the level standard, and communicating the functional module with the corresponding channel according to the channel number and the sending/receiving information.
According to the interface configuration method provided by the embodiment of the application, the negotiation is considered to be successful when the correct and consistent negotiation message is received for a plurality of times, so that the negotiation reliability is improved, and the configuration accuracy is further ensured.
Referring to fig. 4, fig. 4 is a flowchart of another interface configuration method according to an embodiment of the present application, including:
step S401: receiving a negotiation message sent by a second network transmission device through a preset first negotiation channel, wherein the negotiation message comprises: the method comprises the steps of starting a marker, negotiation information data and a receiving marker, wherein the lowest bit of the negotiation information data is a parity check bit; the negotiation information data is negotiation information which comprises a channel number, sending/receiving information, a function module type and a level standard;
the format of the negotiation packet is described in table 1, and includes:
TABLE 1
Specifically, the negotiation information data may be 16 bits, and certainly may also be 32 bits, and the like, which is not limited herein, and the format of the negotiation information data is described below by taking the negotiation information data may be 16 bits as an example, please refer to table 2, where table 2 is the format of the negotiation information data.
TABLE 2
Wherein the least significant bit is a parity bit; bits 1-5 are used to illustrate the level criteria selected; bits 6 and 7 are used to indicate whether the selected channel is used for transmission or reception; bits 8 through 11 are used to illustrate the selected lane number; bits 12 through 15 are used to illustrate the type of functional block selected, e.g., 0001 for an external clock functional block, 0010 for an external time functional block, and so on.
Step S402: judging whether the negotiation message is correct or not, including: and judging whether at least one of the start marker, the end marker or the parity check bit is wrong, if so, determining that the negotiation message is correct, and otherwise, determining that the negotiation message is wrong. When the negotiation message is correct, step S403 is executed, otherwise, step S401 is executed.
Step S403: and judging whether the negotiation information in the negotiation messages received for a plurality of times continuously is consistent, if so, determining that the negotiation is successful, and otherwise, determining that the negotiation is failed. And when the negotiation is successful, executing the step S404, otherwise, keeping the original state.
Step S404: configuring the first network transmission device according to the negotiation information data, including: and opening the corresponding functional module according to the type of the functional module and the level standard, and communicating the functional module with the corresponding channel according to the channel number and the sending/receiving information. And after the configuration is finished, the first network transmission equipment enters a normal use state.
Step S405: storing the received negotiation information and negotiation state, wherein the negotiation state is success or failure;
since the second network transmission device sends the negotiation information to the first network transmission device in real time, in this embodiment, step S404 is to configure the first network transmission device after the first negotiation is successful.
After the first negotiation is successful (that is, the first network transmission device enters a normal use state), the subsequently received negotiation information is stored, and whether each negotiation information is correct or not is judged, so as to determine the negotiation state of each negotiation information, that is, whether the negotiation is successful or not.
Step S406: judging whether a preset interface configuration updating condition is met, wherein the judging whether the interface configuration updating condition is met comprises the following steps: when the negotiation states are successful for a plurality of times continuously and the negotiation information received for a plurality of times continuously is the same updated negotiation information, judging that the interface configuration updating condition is met; otherwise, judging that the interface configuration updating condition is not met;
step S407: and when the interface configuration updating condition is met, updating the interface configuration of the first network transmission equipment according to the updated negotiation information.
That is to say, after the first network transmission device enters the normal use state, the first network transmission device may receive the negotiation information sent by the second network transmission device in real time, and at this time, the configuration of the second network transmission device may have been changed, that is, the interface configuration of the second network transmission device is updated, and the negotiation information sent by the second network transmission device to the first network transmission device is changed accordingly, so that the first network transmission device updates the interface configuration of the first network transmission device according to the negotiation information sent by the second network transmission device, and in order to ensure the accuracy of the update, in this embodiment of the present application, if the change of the negotiation information is detected, the received negotiation information and the corresponding negotiation state are stored first instead of being updated immediately when the change of the negotiation information is detected, and updating the interface configuration of the first network transmission equipment only when the negotiation information received for a plurality of times is the same updated negotiation information and the negotiation information received for the plurality of times is correct (namely the negotiation states are successful), namely the first network transmission equipment reconfigures the first interface according to the updated negotiation information.
Preferably, in the above embodiment, the method may further include:
detecting the connection state of the first negotiation channel;
the first negotiation channel may be periodically detected to detect whether there is negotiation information, and if there is negotiation information, the first negotiation channel is indicated as a connected state, otherwise, the first negotiation channel is indicated as a disconnected state.
And when the disconnection of the first negotiation channel is detected, closing the opened functional module.
When the disconnection of the first negotiation channel is detected, the disconnection of the interface of the second network transmission equipment side is indicated, at the moment, the first network transmission equipment disconnects the started function module, and the equipment is prevented from being burnt out because the level standard of the function module of the second network transmission equipment side is higher than that of the function module of the first network transmission equipment side when the second network transmission equipment side is connected again.
When the network transmission device has a plurality of interfaces, preferably, in the above embodiment, the negotiation information may further include: interface identification information; then, after the first network transmission device receives the negotiation information sent by the second network transmission device, and after the negotiation is successful, the first network transmission device may be configured according to the negotiation information, including: and starting the corresponding functional module according to the type of the functional module and the level standard, and communicating the functional module with the corresponding channel of the corresponding interface according to the interface identification information and the channel number. Namely, the corresponding interface is selected, then the corresponding channel is selected in the selected interface, and the started functional module is communicated to the selected channel.
Preferably, in the foregoing embodiment, after the negotiation of the first network transmission device is successful, a negotiation response message may also be sent to a second network transmission device through a preset second negotiation channel, where the second negotiation channel is different from the first negotiation channel.
Preferably, in the foregoing embodiment, the negotiation channel may also be used to transmit non-negotiation information, for example, the second network transmission device may send alarm information, such as a device failure alarm and a power alarm, to the first network transmission device through the first negotiation channel.
An embodiment of the present application further provides an interface configuration method, which is applied to a second network transmission device provided with a second interface, and the interface configuration method provided in the embodiment of the present application includes:
sending negotiation information to a first network transmission device through a preset first negotiation channel, wherein the negotiation information comprises: channel number, sending/receiving information, function module type and level standard; the negotiation information is used for negotiating with a first network transmission device provided with a first interface, so that the first network transmission device is configured according to the negotiation information when the negotiation is successful; the first negotiation channel is any one of a plurality of channels formed after the first interface of the first network transmission device and the second interface of the second network transmission device are communicated with each other.
Preferably, when the second network transmission device sends the negotiation information to the first network transmission device, the negotiation information may be sent to the first network transmission device in the form of a negotiation message, and the negotiation message may include a start marker, negotiation information data, and an end marker. The negotiation information data is negotiation information which comprises a channel number, sending/receiving information, a function module type and a level standard;
preferably, in the above embodiment, the method may further include: and receiving a negotiation response message sent by the first network transmission device through a preset second negotiation channel, wherein the second negotiation channel is different from the first negotiation channel.
And sending alarm information to the first network transmission equipment through a preset first negotiation channel.
According to the interface configuration method applied to the second network transmission equipment, the negotiation information is sent to the first network transmission equipment, so that the first network transmission equipment can automatically configure the first network transmission equipment according to the negotiation information, a technical worker does not need to manufacture a special cable, the configuration precision of the interface is improved, and the probability of cable plugging errors or configuration errors is reduced.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an interface configuration apparatus according to an embodiment of the present application, where the interface configuration apparatus according to the embodiment of the present application is applied to a first network transmission device with a first interface, and includes:
a first receiving module 501, a judging module 502 and a configuration module 503; wherein,
the first receiving module 501 is connected to the first interface, and configured to receive negotiation information sent by the second network transmission device through a preset first negotiation channel, where the negotiation information includes: channel number, sending/receiving information, function module type and level standard; the first negotiation channel is any one of a plurality of channels formed after a first interface of the first network transmission device and a second interface of the second network transmission device are communicated with each other;
the judging module 502 is used for judging whether the negotiation is successful;
the configuration module 503 is configured to configure the first network transmission device according to the negotiation information after the determining module determines that the negotiation is successful, and includes: and opening the corresponding functional module according to the type of the functional module and the level standard, and communicating the functional module with the corresponding channel according to the channel number and the sending/receiving information.
According to the interface configuration device provided by the embodiment of the application, the first receiving module receives negotiation information sent by the second network transmission equipment through the preset negotiation channel, the judging module carries out negotiation, the configuration module opens the corresponding function module according to the negotiation information after the negotiation is successful and automatically carries out subsequent configuration, a technical person is not required to manufacture a special cable, the configuration precision of an interface is improved, and the probability of cable plugging errors or configuration errors is reduced.
Furthermore, in the embodiment of the application, only one network transmission device (i.e., the second network transmission device) of the two interconnected network devices is configured manually, and the other network transmission device (i.e., the first network transmission device) is configured automatically according to the configuration of the configured network transmission device, so that the problems that the two interconnected network devices are generally not in one area and need technicians to configure to a far end, the configuration efficiency of the network transmission device is low, and a large amount of manpower and material resources are wasted are solved.
On the basis of the embodiment shown in fig. 5, a schematic structural diagram of another interface configuration apparatus provided in the embodiment of the present application is shown in fig. 6:
the first receiving module 501 includes:
a first receiving unit 601, connected to the first negotiation channel, for receiving a negotiation packet sent by a second network transmission device through the first negotiation channel, where the negotiation packet includes: the device comprises a start marker, negotiation information data and an end marker, wherein the lowest bit of the negotiation information data is a parity bit.
The judging module 502 includes a first judging unit 602, a second judging unit 603, a third judging unit 604 and a first determining unit 605, wherein:
a first judging unit 602 is configured to judge whether the start marker is erroneous;
a second judging unit 603 is configured to judge whether the end marker is erroneous;
a third determining unit 604 for determining whether the parity bit is erroneous;
the first determining unit 605 is configured to determine that the negotiation fails when the first determining unit determines that the start marker is in error, or the second determining unit determines that the receiving marker is in error, or the third determining unit determines that the parity check bit is wrong, or otherwise, determine that the negotiation succeeds.
Preferably, the first receiving module 501 may further include a second receiving unit 606,
the second receiving unit 606 is connected to the first negotiation channel, and is configured to receive, through a preset first negotiation channel, alarm information sent by the second network transmission device.
On the basis of the embodiment shown in fig. 6, a schematic structural diagram of another interface configuration apparatus provided in the embodiment of the present application is shown in fig. 7, where the determining module 502 further includes:
a fourth determining unit 701, configured to determine whether negotiation information received for a plurality of consecutive times is consistent after the first determining unit determines that negotiation is successful for the plurality of consecutive times;
a second determining unit 702, configured to determine that the negotiation is successful when the fourth determining unit determines that the negotiation information received for several consecutive times is consistent, otherwise, the negotiation is failed.
Referring to fig. 8, fig. 8 is a schematic structural diagram of another interface configuration device according to an embodiment of the present application, where the interface configuration device according to the embodiment of the present application further includes:
the memory 801 is configured to store the received negotiation information and negotiation state, where the negotiation state is success or failure;
the counter 802 is configured to count negotiation information that the negotiation state stored in the memory is successful;
the updating module 803 is configured to update the configuration of the first network transmission device according to the updated negotiation information when the negotiation states are successful for several consecutive times and the received negotiation information is the same updated negotiation information for several consecutive times.
Preferably, the interface configuration apparatus provided in the embodiment of the present application may further include:
the detection module is connected with the first interface and used for detecting the communication state of the first negotiation channel;
and the control module is used for closing the opened functional module when the detection module detects that the first negotiation channel is disconnected.
And the first sending module is connected with the first interface and used for sending a negotiation response message to the second network transmission device through a preset second negotiation channel, wherein the second negotiation channel is different from the first negotiation channel.
The embodiment of the present application further provides a network transmission device, which includes the first interface and further includes the interface multiplexing apparatus as described above.
An embodiment of the present application further provides an interface configuration apparatus, which is applied to a network transmission device provided with a second interface, and includes:
a second sending module, connected to the second interface, configured to send negotiation information to the first network transmission device through a preset first negotiation channel, where the negotiation information includes: channel number, sending/receiving information, function module type and level standard;
the first negotiation channel is any one of a plurality of channels formed after the first interface of the first network transmission device and the second interface of the second network transmission device are communicated with each other.
The interface configuration apparatus provided in the embodiment of the present application may further include:
and a second receiving module, connected to the second interface, configured to receive, through a preset second negotiation channel, a negotiation response message sent by the first network transmission device, where the second negotiation channel is different from the first negotiation channel.
And the third sending module is connected with the second interface and used for sending the alarm information to the first network transmission equipment through a preset first negotiation channel.
The embodiment of the present application further provides a network transmission device, which includes a second interface, and further includes the interface configuration apparatus described above.
An embodiment of the present application further provides a communication system, including the first network transmission device and the second network transmission device as described above, and a cable connecting the first network transmission device and the second network transmission device.
Wherein the first network transmission device comprises:
a first receiving module, configured to receive negotiation information sent by a second network transmission device through a preset first negotiation channel, where the negotiation information includes: channel number, sending/receiving information, function module type and level standard; the first negotiation channel is any one of a plurality of channels formed after a first interface of the first network transmission device and a second interface of the second network transmission device are communicated with each other;
the judging module is used for judging whether the negotiation is successful or not;
a configuration module, configured to configure the first network transmission device according to the negotiation information after the judgment module judges that the negotiation is successful, including: and opening the corresponding functional module according to the type of the functional module and the level standard, and communicating the functional module with the corresponding channel according to the channel number and the sending/receiving information.
The second network transmission device includes:
a second sending module, configured to send negotiation information to the first network transmission device through a preset first negotiation channel, where the negotiation information includes: channel number, sending/receiving information, function module type and level standard;
the first negotiation channel is any one of a plurality of channels formed after the first interface of the first network transmission device and the second interface of the second network transmission device are communicated with each other.
The embodiment of the present application further provides an interface configuration apparatus, which is applied to a first network transmission device provided with a first interface, and includes at least one processor and a memory coupled to the at least one processor;
the at least one processor is configured to receive negotiation information sent by a second network transmission device through a preset first negotiation channel, where the negotiation information includes: channel number, sending/receiving information, function module type and level standard; the first negotiation channel is any one of a plurality of channels formed after a first interface of the first network transmission device and a second interface of the second network transmission device are communicated with each other;
judging whether the negotiation is successful;
after the negotiation is successful, configuring the first network transmission device according to the negotiation information, including: and opening the corresponding functional module according to the type of the functional module and the level standard, and communicating the functional module with the corresponding channel according to the channel number and the sending/receiving information.
The embodiment of the present application further provides an interface configuration apparatus, which is applied to a second network transmission device provided with a second interface, and includes at least one processor and a memory coupled to the at least one processor;
the at least one processor is configured to:
sending negotiation information to a first network transmission device through a preset first negotiation channel, wherein the negotiation information comprises: channel number, sending/receiving information, function module type and level standard;
the first negotiation channel is any one of a plurality of channels formed after the first interface of the first network transmission device and the second interface of the second network transmission device are communicated with each other.
An embodiment of the application will be described below by taking a PTN ad hoc network device as an example. The first network transmission device in this embodiment is a PTN ad hoc network device belonging to a slave device in a PTN network, and receives negotiation information from an upstream PTN (i.e., a second network transmission device belonging to a master device), and optional functional modules of the PTN ad hoc network device are an external clock module and an external time module.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a PTN networking device according to an embodiment of the present application.
The first interface is an RJ45 interface, each pin is connected with two switches, wherein, the switch 1 is used for controlling the on and off of the receiving channel; the change-over switch 2 is used for controlling the on and off of the No. 1 pin and the No. two pin of the sending channel as the access ports of the channel, and the turning-off of the change-over switch 1 and the change-over switch 2 is realized by the control of the controller.
The change-over switch 1 and the change-over switch 2 are respectively connected with a clock recovery module, a second level conversion module, a third level conversion module and a fourth level conversion module; the clock recovery module is used for recovering 2Mhz clock information from the bit signal of E1, serving as a source for clock synchronization of the post-stage processing module, and converting the level form into LVTTL; the second level conversion module converts the HZ signal of E1 from differential to single-ended 2Mhz clock information through a shaping circuit, and the clock information is used as a source for clock synchronization of a post-stage processing module and converts the level form into LVTTL; the third level conversion module is used for converting the RS232 level into an LVTTL level; the fourth level conversion module is used for converting the RS422 level into an LVTTL level; the first processing module, the second processing module, and the third processing module are used for clock synchronization, and specifically, the functions and functions of the clock recovery module, the second level conversion module, the third level conversion module, the fourth level conversion module, the first processing module, the second processing module, the third processing module, the CPU, and the protocol processing chip are the same as those in the prior art, and are not described herein again.
In the embodiment of the present application, the protection module, the first level shifting module, the parsing module, and the controller form an interface configuration device, which is used for automatically configuring an interface according to negotiation information sent by the primary PTN. The protection module applies an RS232 level form, the clamping circuit ensures that the interface configuration device works in a safe working range, the first level conversion module is used for converting the level of the RS232 form into the level of LVTTL, the analysis processing module is used for analyzing negotiation information, and the change-over switch 1 and the change-over switch 2 are controlled according to an analysis result so as to realize interface configuration.
The No. 1 pin and the No. 2 pin of the first interface are fixedly used for serial port transmission, wherein the No. 1 pin is used for receiving, and the No. 2 pin is used for sending; at the main equipment end, the No. 1 pin is used for sending, and the No. 2 pin is used for receiving; the two pins are open by default, i.e., communicate with the protection module, may negotiate with the main PTN, and default to an RS232 level configuration.
The main PTN is preset manually, and the specific work flow of the auxiliary PTN is as follows:
the main PTN receives a negotiation message sent by the main PTN through the No. 1 pin of the main PTN from the PTN through the No. 1 pin, wherein the negotiation message comprises a starting marker, negotiation information data and an ending marker;
the signal bearing the negotiation message is a level signal in an R3232 form, after the first level conversion module converts the level signal in the RS232 form into a level signal in an LVTTL form, the analysis processing module analyzes the negotiation information, whether the negotiation is successful is judged, and after the negotiation is successful, the controller controls the change-over switch 1 and/or the change-over switch 2 to start the function module and the level form corresponding to the main PTN. For example, assume that the primary PTN is configured to: the external clock function is selected with the selected HZ signal having the level criteria of E1 and the selected channel numbers of 3 and 6, then the slave PTN, when configured, also selects the external clock function with the selected HZ signal having the level criteria of E1 and communicates with the master PTN via channels 3 and 6. After configuration is completed, the slave PTN can normally communicate with the master PTN, and clock synchronization is completed.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Therefore, the above-mentioned embodiments of the present invention do not limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.
Claims (29)
1. An interface configuration method is applied to a first network transmission device provided with a first interface, and is characterized by comprising the following steps:
receiving negotiation information sent by a second network transmission device through a preset first negotiation channel, wherein the negotiation information comprises: channel number, sending/receiving information, function module type and level standard; the first negotiation channel is any one of a plurality of channels formed after a first interface of the first network transmission device and a second interface of the second network transmission device are communicated with each other;
judging whether the negotiation is successful;
after the negotiation is successful, configuring the first network transmission device according to the negotiation information, including: and opening the corresponding functional module according to the type of the functional module and the level standard, and communicating the functional module with the corresponding channel according to the channel number and the sending/receiving information.
2. The method of claim 1, wherein the receiving negotiation information sent by the second network transmission device through a preset first negotiation channel comprises:
receiving a negotiation message sent by a second network transmission device through the first negotiation channel, wherein the negotiation message comprises: the device comprises a start marker, negotiation information data and an end marker, wherein the lowest bit of the negotiation information data is a parity bit.
3. The method of claim 2, wherein the determining whether the negotiation is successful comprises:
and judging whether at least one of the start marker, the end marker or the parity check bit is wrong, if so, determining that the negotiation fails, otherwise, determining that the negotiation succeeds.
4. The method of claim 2, wherein the determining whether the negotiation is successful comprises:
judging whether the start marker, the end marker and the parity check bit of the received negotiation message are correct or not;
when the start marker, the end marker and the parity check bit of the received negotiation messages are judged to be correct, judging whether the start marker, the end marker and the parity check bit of a plurality of negotiation messages received continuously are correct or not;
when the start marker, the end marker and the parity check bit of a plurality of negotiation messages received continuously are judged to be correct, whether the negotiation information in the plurality of negotiation messages received continuously is consistent or not is judged, if yes, the negotiation is determined to be successful, and if not, the negotiation is determined to be failed.
5. The method of claim 1, wherein configuring the first network transmission device further comprises:
storing the received negotiation information and negotiation state, wherein the negotiation state is success or failure;
judging whether a preset interface configuration updating condition is met, wherein the judging whether the interface configuration updating condition is met comprises the following steps: when the negotiation states are successful for a plurality of times continuously and the negotiation information received for a plurality of times continuously is the same updated negotiation information, judging that the interface configuration updating condition is met; otherwise, judging that the interface configuration updating condition is not met;
and when the interface configuration updating condition is met, updating the interface configuration of the first network transmission equipment according to the updated negotiation information.
6. The method of claim 1, further comprising:
detecting the connection state of the first negotiation channel;
and when the disconnection of the first negotiation channel is detected, closing the opened functional module.
7. The method of claim 1, wherein the negotiation information further comprises: interface identification information.
8. The method of claim 7, wherein the configuring the first network transmission device according to the negotiation information after the negotiation is successful comprises: and starting the corresponding functional module according to the type of the functional module and the level standard, and communicating the functional module with the corresponding channel of the corresponding interface according to the interface identification information, the channel number and the sending/receiving information.
9. The method of claim 1, wherein after determining that the negotiation is successful, further comprising:
and sending a negotiation response message to the second network transmission equipment through a preset second negotiation channel, wherein the second negotiation channel is different from the first negotiation channel.
10. The method of claim 1, further comprising:
and receiving the alarm information sent by the second network transmission equipment through a preset first negotiation channel.
11. An interface configuration method is applied to a second network transmission device provided with a second interface, and is characterized by comprising the following steps:
sending negotiation information to a first network transmission device through a preset first negotiation channel, wherein the negotiation information comprises: channel number, sending/receiving information, function module type and level standard;
the negotiation information is used for negotiating with a first network transmission device provided with a first interface, so that the first network transmission device is configured according to the negotiation information when the negotiation is successful; the first negotiation channel is any one of a plurality of channels formed after the first interface of the first network transmission device and the second interface of the second network transmission device are communicated with each other.
12. The method of claim 11, further comprising:
and receiving a negotiation response message sent by the first network transmission device through a preset second negotiation channel, wherein the second negotiation channel is different from the first negotiation channel.
13. The method of claim 11, further comprising: and sending alarm information to the first network transmission equipment through a preset first negotiation channel.
14. An interface configuration device, applied to a first network transmission device provided with a first interface, includes:
a first receiving module, configured to receive negotiation information sent by a second network transmission device through a preset first negotiation channel, where the negotiation information includes: channel number, sending/receiving information, function module type and level standard; the first negotiation channel is any one of a plurality of channels formed after a first interface of the first network transmission device and a second interface of the second network transmission device are communicated with each other;
the judging module is used for judging whether the negotiation is successful or not;
a configuration module, configured to configure the first network transmission device according to the negotiation information after the judgment module judges that the negotiation is successful, including: and opening the corresponding functional module according to the type of the functional module and the level standard, and communicating the functional module with the corresponding channel according to the channel number and the sending/receiving information.
15. The apparatus of claim 14, wherein the first receiving module comprises:
a first receiving unit, configured to receive, through the first negotiation channel, a negotiation packet sent by a second network transmission device, where the negotiation packet includes: the device comprises a start marker, negotiation information data and an end marker, wherein the lowest bit of the negotiation information data is a parity bit.
16. The apparatus of claim 15, wherein the determining module comprises:
a first judgment unit operable to judge whether the start marker is erroneous;
a second judging unit configured to judge whether the end marker is erroneous;
a third judgment unit operable to judge whether the parity bit is erroneous;
a first determining unit, configured to determine that the negotiation fails when the first determining unit determines that the start marker is in error, or the second determining unit determines that the receiving marker is in error, or the third determining unit determines that the parity bit error occurs, or otherwise, determine that the negotiation succeeds.
17. The apparatus of claim 15, wherein the determining module further comprises:
a fourth judging unit, configured to judge whether negotiation information received for consecutive times is consistent after the first determining unit determines that negotiation is successful for consecutive times;
and the second determining unit is used for determining that the negotiation is successful when the fourth judging unit judges that the negotiation information received for a plurality of times is consistent, and otherwise, the negotiation is failed.
18. The apparatus of claim 14, further comprising:
the memory is used for storing the received negotiation information and negotiation state, and the negotiation state is success or failure;
the counter is used for counting the negotiation information of which the negotiation state stored in the memory is successful;
and the updating module is used for updating the configuration of the first network transmission equipment according to the updated negotiation information when the negotiation states are successful for a plurality of times and the negotiation information received for a plurality of times is the same updated negotiation information.
19. The apparatus of claim 14, further comprising:
the detection module is used for detecting the communication state of the first negotiation channel;
and the control module is used for closing the opened functional module when the detection module detects that the first negotiation channel is disconnected.
20. The apparatus of claim 14, further comprising:
a first sending module, configured to send a negotiation response message to the second network transmission device through a preset second negotiation channel, where the second negotiation channel is different from the first negotiation channel.
21. The apparatus of claim 14, wherein the first receiving module further comprises:
and the second receiving unit is used for receiving the alarm information sent by the second network transmission equipment through a preset first negotiation channel.
22. A network transmission device comprising a first interface, characterized in that it further comprises interface configuration means according to any one of claims 14 to 21.
23. An interface configuration device, applied to a second network transmission device provided with a second interface, includes:
a second sending module, configured to send negotiation information to the first network transmission device through a preset first negotiation channel, where the negotiation information includes: channel number, sending/receiving information, function module type and level standard;
the negotiation information is used for negotiating with a first network transmission device provided with a first interface, so that the first network transmission device is configured according to the negotiation information when the negotiation is successful;
the first negotiation channel is any one of a plurality of channels formed after the first interface of the first network transmission device and the second interface of the second network transmission device are communicated with each other.
24. The apparatus of claim 23, further comprising:
a second receiving module, configured to receive, through a preset second negotiation channel, a negotiation response message sent by the first network transmission device, where the second negotiation channel is different from the first negotiation channel.
25. The apparatus of claim 23, further comprising:
and the third sending module is used for sending the alarm information to the first network transmission equipment through a preset first negotiation channel.
26. A network transmission device comprising a second interface, further comprising: an interface arrangement according to any of claims 23 to 25.
27. A communication system, comprising:
the first network transmission device of claim 22;
the second network transmission device of claim 26;
and a cable connecting the first network transmission device and the second network transmission device.
28. An interface configuration device, applied to a first network transmission device provided with a first interface, includes:
at least one processor configured to:
receiving negotiation information sent by a second network transmission device through a preset first negotiation channel, wherein the negotiation information comprises: channel number, sending/receiving information, function module type and level standard; the first negotiation channel is any one of a plurality of channels formed after a first interface of the first network transmission device and a second interface of the second network transmission device are communicated with each other;
judging whether the negotiation is successful;
after the negotiation is successful, configuring the first network transmission device according to the negotiation information, including: opening a corresponding functional module according to the type of the functional module and the level standard, and communicating the functional module with a corresponding channel according to the channel number and the sending/receiving information;
a memory coupled with the at least one processor.
29. An interface configuration device, applied to a second network transmission device provided with a second interface, includes:
at least one processor configured to:
sending negotiation information to a first network transmission device through a preset first negotiation channel, wherein the negotiation information comprises: channel number, sending/receiving information, function module type and level standard;
the negotiation information is used for negotiating with a first network transmission device provided with a first interface, so that the first network transmission device is configured according to the negotiation information when the negotiation is successful;
the first negotiation channel is any one of a plurality of channels formed after a first interface of the first network transmission device and a second interface of the second network transmission device are communicated with each other;
a memory coupled with the at least one processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210581290.4A CN103905235B (en) | 2012-12-27 | 2012-12-27 | Interface allocation method, device, web-transporting device and communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210581290.4A CN103905235B (en) | 2012-12-27 | 2012-12-27 | Interface allocation method, device, web-transporting device and communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103905235A true CN103905235A (en) | 2014-07-02 |
CN103905235B CN103905235B (en) | 2017-07-14 |
Family
ID=50996391
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210581290.4A Expired - Fee Related CN103905235B (en) | 2012-12-27 | 2012-12-27 | Interface allocation method, device, web-transporting device and communication system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103905235B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104916114A (en) * | 2015-06-11 | 2015-09-16 | 福建工程学院 | System and method for publishing environmental parameter business data based on microblog |
CN105511910A (en) * | 2015-11-30 | 2016-04-20 | 北京新能源汽车股份有限公司 | Interface configuration method and device |
CN106452913A (en) * | 2016-11-22 | 2017-02-22 | 卡斯柯信号有限公司 | Fast switching method of terminal network device reuse |
CN107528772A (en) * | 2017-08-31 | 2017-12-29 | 深圳市豪恩声学股份有限公司 | Game music control box, the system and method for building voice-enabled chat scene |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101141473A (en) * | 2006-09-07 | 2008-03-12 | 杭州华三通信技术有限公司 | Multiplexing transmission apparatus and method between physical layer and media access control layer |
CN101170418A (en) * | 2007-12-05 | 2008-04-30 | 杭州华三通信技术有限公司 | Realization method, system and interface device for Ethernet electric interface compatibility |
US8233386B2 (en) * | 2009-12-23 | 2012-07-31 | Moxa, Inc. | Device that uses parameters to provide multi-channel serial data transmissions and method thereof |
CN102638589A (en) * | 2012-04-12 | 2012-08-15 | 北京星网锐捷网络技术有限公司 | Determining method of corresponding connection relation of channels, as well as related connecting ends and system |
-
2012
- 2012-12-27 CN CN201210581290.4A patent/CN103905235B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101141473A (en) * | 2006-09-07 | 2008-03-12 | 杭州华三通信技术有限公司 | Multiplexing transmission apparatus and method between physical layer and media access control layer |
CN101170418A (en) * | 2007-12-05 | 2008-04-30 | 杭州华三通信技术有限公司 | Realization method, system and interface device for Ethernet electric interface compatibility |
US8233386B2 (en) * | 2009-12-23 | 2012-07-31 | Moxa, Inc. | Device that uses parameters to provide multi-channel serial data transmissions and method thereof |
CN102638589A (en) * | 2012-04-12 | 2012-08-15 | 北京星网锐捷网络技术有限公司 | Determining method of corresponding connection relation of channels, as well as related connecting ends and system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104916114A (en) * | 2015-06-11 | 2015-09-16 | 福建工程学院 | System and method for publishing environmental parameter business data based on microblog |
CN105511910A (en) * | 2015-11-30 | 2016-04-20 | 北京新能源汽车股份有限公司 | Interface configuration method and device |
CN106452913A (en) * | 2016-11-22 | 2017-02-22 | 卡斯柯信号有限公司 | Fast switching method of terminal network device reuse |
CN106452913B (en) * | 2016-11-22 | 2020-09-01 | 卡斯柯信号有限公司 | Method for multiplexing and fast switching terminal network equipment |
CN107528772A (en) * | 2017-08-31 | 2017-12-29 | 深圳市豪恩声学股份有限公司 | Game music control box, the system and method for building voice-enabled chat scene |
CN107528772B (en) * | 2017-08-31 | 2020-05-05 | 深圳市豪恩声学股份有限公司 | Game music control box, system and method for constructing voice chat scene |
Also Published As
Publication number | Publication date |
---|---|
CN103905235B (en) | 2017-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111164923B (en) | Design for unidirectional data transmission | |
CN109993958B (en) | Data acquisition system and method of RS485 bus | |
EP2075974B1 (en) | Method and apparatus for aggregating ports | |
CN103905235B (en) | Interface allocation method, device, web-transporting device and communication system | |
US7885181B2 (en) | Ring node apparatus | |
CN104378291A (en) | Method for the redundant transmission of messages in an industrial communication network and communication device | |
EP2442488B1 (en) | Device for detecting physical link and method thereof | |
CN103312411A (en) | Method and device for detecting fault of optical fiber link | |
EP2320328B1 (en) | Operation mode switching of data card and its control method, device and data card | |
US20180219732A1 (en) | Negotiation Mode Processing Method and Intelligent Network Device | |
EP2472793A1 (en) | Method, device and system for transmitting e1 bidirectional looped network data | |
CN102970169A (en) | Equipment port failure detecting and positioning method and equipment port failure detecting and positioning system | |
CN101345584A (en) | Automatic detection method for optical fiber connection status of optical fiber communication equipments | |
CN104427012B (en) | Port negotiation method and apparatus | |
CN102598593B (en) | The communication network of addressing method and this addressing method of tool | |
CN102394734B (en) | RS 485 communication system with nonpolarized connection and control method thereof | |
KR101020053B1 (en) | Auto-detecting system for optical cable connection in the optical ethernet signal transmitting system having ring network structure | |
US10055322B2 (en) | Interpreting signals received from redundant buses | |
CN101527650B (en) | Communication management system, communication management method and communication device | |
KR20150135834A (en) | Method, link establishing device, and, link partner device for establishing link | |
JP3789295B2 (en) | Message transmission method and apparatus | |
CN103931227A (en) | Wireless transmission device, failure-information forwarding method, and failure-information notification method | |
CN102045243A (en) | Method and system for of adaptively recognizing duplex mode of network port of opposite terminal among network devices | |
CN103685043A (en) | Router, network connection recovery system and network connection recovery method | |
CN101783712B (en) | Method, user terminal and network node for identifying LTE (Long Term Evolution) version |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170714 Termination date: 20201227 |