CN108270638B - Error correction method and device based on internet access transmission and internet access transmission equipment - Google Patents

Error correction method and device based on internet access transmission and internet access transmission equipment Download PDF

Info

Publication number
CN108270638B
CN108270638B CN201710001938.9A CN201710001938A CN108270638B CN 108270638 B CN108270638 B CN 108270638B CN 201710001938 A CN201710001938 A CN 201710001938A CN 108270638 B CN108270638 B CN 108270638B
Authority
CN
China
Prior art keywords
network port
configuration
vlan
message
port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710001938.9A
Other languages
Chinese (zh)
Other versions
CN108270638A (en
Inventor
张凯
周瑾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201710001938.9A priority Critical patent/CN108270638B/en
Priority to PCT/CN2017/120324 priority patent/WO2018127024A1/en
Publication of CN108270638A publication Critical patent/CN108270638A/en
Application granted granted Critical
Publication of CN108270638B publication Critical patent/CN108270638B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/10Current supply arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received

Landscapes

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

Abstract

An error correction method and device based on internet access transmission and internet access transmission equipment are disclosed. The error correction method based on internet access transmission comprises the following steps: detecting that a configuration network port is inconsistent with a patch cord network port, adding the patch cord network port into a Virtual Local Area Network (VLAN) where the configuration network port is located, and sending VLAN configuration information of the patch cord network port to a switching chip; after receiving a message sent by an opposite terminal device through the exchange chip, inquiring the corresponding relation between a configuration port and a VLAN according to the information of the VLAN carried in the message, after inquiring the configuration port corresponding to the VLAN, carrying the information of the configuration port in the message and forwarding the message for protocol processing. The technical scheme can ensure normal data transmission when the configuration network port of the multi-network-port equipment is inconsistent with the actual plug-in network port.

Description

Error correction method and device based on internet access transmission and internet access transmission equipment
Technical Field
The present invention relates to communications technologies, and in particular, to an error correction method and apparatus based on internet access transmission, and an internet access transmission device.
Background
In order to meet the high-capacity requirement of future communication, a plurality of network ports are designed for the base station master control single board at present to improve the transmission bandwidth. However, the single boards with multiple network ports add complexity to data configuration and physical networking.
Since the configuration of the transmitted data and the field engineering operations are performed separately, it may happen that: the network port number configured on the multi-network-port single board is inconsistent with the network port number of the actual plug wire. In this case, the message received by the base station is received from the actual patch cord network port, and is inconsistent with the configured network port for transmitting data, and the protocol processing module discards the message received by the network port which is not configured, so that the communication between the base station and the opposite-end transmission device is interrupted.
As shown in fig. 1, in the related art, an internet access management module configures four internet accesses (e.g., an a access, a B access, a C access, and a D access) on a switch chip to different Virtual Local Area Networks (VLANs), where the a access corresponds to a VLAN1, the B access corresponds to a VLAN2, the C access corresponds to a VLAN3, and the D access corresponds to a VLAN4, and establishes a mapping relationship between a VLAN identifier and an internet access number. When receiving a message, the switching chip determines a VLAN corresponding to a receiving network port according to the mapping relation between the VLAN identification and the network port number, the message is marked with a VLAN label and is sent to a network port management module through an inner network port (H port), the network port management module determines the network port number of the receiving network port according to the mapping relation between the VLAN identification and the network port number, the message is forwarded to a protocol processing module, the message carries the network port number, and the protocol processing module carries out protocol processing according to transmission configuration configured on the network port.
When the internet access is plugged incorrectly or the internet access configuration is incorrect, for example, the protocol processing module configures the transmission configuration of the a access, but the worker inserts the internet cable into the B access and does not insert the internet cable into the a access. In this case, when receiving the message, the VLAN identifier in the message sent by the switch chip to the network port management module is the identifier (VLAN 2) of the VLAN in which the patch cord network port is located, the network port management module determines the network port number (port B) according to the mapping relationship between the VLAN identifier and the network port number, and forwards the message to the protocol processing module, where the network port number (port B) is carried, and the protocol processing module finds that there is no transmission configuration of the port B, and directly discards the message, thereby causing transmission interruption. Similarly, when sending a message, the message sent by the protocol processing module to the network port management module carries the network port number of the a port, the network port management module determines the VLAN corresponding to the a port according to the mapping relationship between the VLAN identifier and the network port number, and forwards the message to the switching chip, where the VLAN identifier (VLAN 1) is carried, and the switching chip determines the network port number (a port) according to the mapping relationship between the VLAN identifier and the network port number, but since the a port is not plugged with a network cable, the message is actually not sent out, which results in transmission interruption.
In the related art, when the configuration network port is inconsistent with the actual plug network port, the problem that the configuration is modified manually or the network cable is plugged again is solved, manpower and material resources are wasted, and the station opening efficiency of the base station is influenced.
Disclosure of Invention
The application provides an error correction method and device based on network port transmission and network port transmission equipment, which can guarantee normal data transmission when a configuration network port of multi-network-port equipment is inconsistent with an actual plug-in network port.
The embodiment of the invention provides an error correction method based on network port transmission, which comprises the following steps:
detecting that a configuration network port is inconsistent with a plug-in network port, adding the plug-in network port into a Virtual Local Area Network (VLAN) where the configuration network port is located, and sending VLAN configuration information of the plug-in network port to a switching chip;
after receiving a message sent by an opposite terminal device through the exchange chip, inquiring the corresponding relation between a configuration port and a VLAN according to the information of the VLAN carried in the message, and after inquiring the configuration port corresponding to the VLAN, carrying the information of the configuration port in the message and forwarding the message for protocol processing.
The embodiment of the invention also provides an error correction device based on network port transmission, which comprises:
the configuration module is used for detecting that a configuration port is inconsistent with a plug port, adding the plug port into a Virtual Local Area Network (VLAN) where the configuration port is located, and sending VLAN configuration information of the plug port to a switching chip;
and the transmission processing module is used for inquiring the corresponding relation between the configuration port and the VLAN according to the information of the VLAN carried in the message after receiving the message sent by the opposite terminal equipment through the exchange chip, carrying the information of the configuration port in the message after inquiring the configuration port corresponding to the VLAN, and forwarding the message for protocol processing.
An embodiment of the present invention further provides an error correction device for internet access transmission, including: a memory and a processor;
the memory is used for storing a program for internet port transmission error correction, and when the program for internet port transmission error correction is read and executed by the processor, the following operations are executed:
detecting that a configuration network port is inconsistent with a patch cord network port, adding the patch cord network port into a Virtual Local Area Network (VLAN) where the configuration network port is located, and sending VLAN configuration information of the patch cord network port to a switching chip;
after receiving a message sent by an opposite terminal device through the exchange chip, inquiring the corresponding relation between a configuration port and a VLAN according to the information of the VLAN carried in the message, after inquiring the configuration port corresponding to the VLAN, carrying the information of the configuration port in the message and forwarding the message for protocol processing.
The embodiment of the invention also provides an error correction method based on the internet access transmission, which is applied to the internet access transmission equipment and comprises the following steps:
the network port management module detects that a configuration network port is inconsistent with a patch cable network port, adds the patch cable network port into a Virtual Local Area Network (VLAN) where the configuration network port is located, and sends VLAN configuration information of the patch cable network port to a switching chip;
after receiving a message sent by an opposite terminal device from a patch cord network port, a switching chip carries information of a VLAN (virtual local area network) corresponding to the patch cord network port in the message and forwards the message to a network port management module;
after receiving a message from a switching chip, the network port management module queries the corresponding relation between a configuration network port and a VLAN according to the information of the VLAN carried in the message, and after querying the configuration network port corresponding to the VLAN, carries the information of the configuration network port in the message and forwards the message to a protocol processing module;
after receiving the message from the network port management module, the protocol processing module queries the protocol configuration information corresponding to the configuration network port according to the information of the configuration network port carried in the message and performs protocol processing on the message.
An embodiment of the present invention further provides an internet access transmission device, including:
the protocol processing module is used for inquiring the protocol configuration information corresponding to the configuration network port according to the information of the configuration network port carried in the message and carrying out protocol processing on the message after receiving the message from the network port management module;
the network port management module is used for detecting that a configuration network port is inconsistent with a plug-in network port, adding the plug-in network port into a Virtual Local Area Network (VLAN) where the configuration network port is located, and sending VLAN configuration information of the plug-in network port to a switching chip; after receiving a message from a switching chip, inquiring the corresponding relation between a configuration network port and a VLAN according to the information of the VLAN carried in the message, after inquiring the configuration network port corresponding to the VLAN, carrying the information of the configuration network port in the message and forwarding the message to a protocol processing module;
and the switching chip is used for carrying the information of the VLAN corresponding to the plug wire network port in the message and forwarding the information to the network port management module after receiving the message sent by the opposite terminal equipment from the plug wire network port.
Compared with the prior art, in the embodiment of the invention, the network port management module detects that the configured network port is inconsistent with the plug-in network port, adds the plug-in network port into the VLAN where the configured network port is located, and sends the VLAN configuration information of the plug-in network port to the exchange chip; if the network port management module receives a message from the exchange chip, the network port management module inquires the corresponding relation between the network port and the VLAN according to the information of the VLAN carried in the message, after the configuration network port corresponding to the VLAN is inquired, the message carries the information of the configuration network port and is forwarded to the protocol processing module, and the protocol processing module processes the message. The technical scheme of the embodiment of the invention can ensure normal data transmission when the configuration network port of the multi-network-port equipment is inconsistent with the actual plug-in network port.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is a schematic diagram of a multi-port device receiving and sending a message when a configuration port and a patch port are not consistent in the prior art;
fig. 2 is a flowchart of an error correction method based on internet access transmission according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a base station main control board in application example 1 receiving and sending a message when a configuration network port and a patch cable network port are not consistent;
fig. 4 is a schematic diagram of a configuration flow in an error correction method based on internet access transmission according to application example 1 of the present invention;
fig. 5 is a schematic diagram of a flow of receiving a message in an error correction method based on internet access transmission according to application example 1 of the present invention;
fig. 6 is a schematic diagram of a message sending flow in an error correction method based on internet access transmission according to application example 1 of the present invention;
fig. 7 is a schematic diagram of an error correction apparatus based on internet access transmission according to a second embodiment of the present invention;
fig. 8 is a flowchart of an error correction method (applied to an internet access transmission device) based on internet access transmission according to a fourth embodiment of the present invention;
fig. 9 is a schematic diagram of an internet access transmission apparatus according to a fifth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
Example one
As shown in fig. 2, an error correction method based on internet access transmission includes:
s210, detecting that a configuration port is inconsistent with a patch cord port, adding the patch cord port into a Virtual Local Area Network (VLAN) where the configuration port is located, and sending VLAN configuration information of the patch cord port to a switching chip;
s220, after receiving a message sent by an opposite terminal device through the exchange chip, inquiring the corresponding relation between a configuration port and a VLAN according to the information of the VLAN carried in the message, after inquiring the configuration port corresponding to the VLAN, carrying the information of the configuration port in the message and forwarding the message for protocol processing;
in this embodiment, the configuration portal is a portal that the protocol processing module can identify and configure to transmit configuration information; the plug wire net mouth is a net mouth into which a net wire is inserted; the switching chip comprises a plurality of network ports;
the switching chip, the network port management module and the protocol processing chip are positioned on the network port transmission equipment; the portal transport device may for example: the base station main control single board.
In one embodiment, before the portal management module detects that the configured portal is inconsistent with the plugged portal, the method further comprises:
acquiring configuration information for configuring an internet access, wherein the configuration information comprises: configuring an identifier of a network port and an identifier of a Virtual Local Area Network (VLAN) added by the network port;
establishing a corresponding relation between the configuration network port and the VLAN according to the configuration information of the configuration network port;
sending the VLAN configuration information of the configuration network port to a switching chip;
in this embodiment, the detecting, by the portal management module, that the configured portal is inconsistent with the patch portal includes:
after the information of the plug wire network port is obtained, if the network port identification of the plug wire network port is inconsistent with the network port identification of the configuration network port, judging that the configuration network port is inconsistent with the plug wire network port;
after the packet is forwarded to the protocol processing module, the protocol processing module can query the transmission configuration information of the configuration network port and then process the received packet because the packet carries the information of the configuration network port. Such a processing mechanism can ensure that data reception is performed normally.
In one embodiment, after sending the VLAN configuration information of the patch portal to a switch chip, the method further includes:
after receiving a message to be sent to an opposite terminal device, inquiring the corresponding relation between a configured port and a VLAN according to the information of the configured port carried in the message, after inquiring the VLAN corresponding to the configured port, carrying the information of the VLAN in the message and forwarding the message to the exchange chip to be sent to the opposite terminal device;
after the message is sent to the switching chip, the switching chip can determine the forwarding port by inquiring the information of the port corresponding to the VLAN because the message carries the information of the VLAN. When the plug-in network port and the configuration network port are the same network port, the forwarding network port is the configuration network port, and when the plug-in network port and the configuration network port are not the same network port, the forwarding network port is the configuration network port and the plug-in network port.
Because the configuration net mouth and the plug-in net mouth are in the same VLAN, if the determined forwarding net mouth is the configuration net mouth and the plug-in net mouth, the message can be actually sent out from the plug-in net mouth because the configuration net mouth is not plugged in the net line. Such a processing mechanism can guarantee normal data transmission.
The present embodiment is described below using an example (application example 1). As shown in fig. 3, the base station main control board includes a switch chip, an internet access management module, and a protocol processing module. The switch chip includes a plurality of network ports, such as: the switching chip comprises an A port, a B port, a C port and a D port, wherein the A port, the B port, the C port and the D port are used for transmitting and receiving data after being inserted into a network cable and belong to an external network port, and in addition, the switching chip is also provided with an internal network port H which is communicated with a network port management module through the H port. The network port management module is also connected with the protocol processing module.
As shown in fig. 4, the configuration flow in the error correction method based on internet access transmission in this example includes the following steps 401 to 405:
step S401, a protocol processing module determines a network port on an exchange chip as a configuration network port, configures transmission-related configuration information for the configuration network port, and notifies a network port management module of the information of the configuration network port;
for example, the protocol processing module determines an a port on the switch chip as a configuration network port;
step S402, after receiving the information of configuring the network port, the network port management module allocates a virtual local area network for the configuring network port, and establishes a corresponding relation between the configuring network port and the virtual local area network; sending the VLAN configuration information of the configuration network port to a switching chip;
for example, the network port management module configures a virtual local area network corresponding to the port a as VLAN1;
after receiving the VLAN configuration information of the configuration network port, the exchange chip establishes a corresponding relation between the configuration network port (A port) and the VLAN1;
step S403, the network port management module detects that a B port on the exchange chip is inserted into a network cable;
step S404, the network port management module judges whether the plug network port and the configuration network port are the same network port, if not, the step S405 is executed;
the configuration network port and the plug network port are not the same network port because the plug network port is the port B and the configuration network port is the port A;
step S405, the network port management module adds the plug-in network port to the virtual local area network where the configuration network port is located, and sends VLAN configuration information of the plug-in network port (B port) to the exchange chip;
after a plug-in network port (port B) is added into a virtual local area network (VLAN 1) where the configuration network port (port A) is located, the virtual local area network corresponding to the port B is also VLAN1;
after receiving VLAN configuration information of the plug wire network port, the exchange chip establishes a corresponding relation between the plug wire network port (port B) and the VLAN1; that is, the port a and the port B both correspond to the same virtual local area network (VLAN 1).
As shown in fig. 5, when the patch port does not coincide with the configuration port, the flow of receiving data in the error correction method based on port transmission in this example includes the following steps 501 to 503:
step S501, the exchange chip receives a message from a plug-in network port (port B), inquires a virtual local area network corresponding to the plug-in network port (port B), marks a label of the virtual local area network for the message and sends the label to a network port management module;
the port B corresponds to VLAN1, so the exchange chip marks the message with VLAN1 label;
step S502, after receiving the message from the exchange chip, the network port management module inquires the corresponding relation between the configured network port and the VLAN according to the information of the VLAN carried in the message, inquires the configured network port corresponding to the VLAN, carries the information of the configured network port in the message, and sends the message to the protocol processing module;
the message carries a VLAN1 label, the network port management module inquires that the configured network port corresponding to the VLAN1 is the A port according to the VLAN1, and the message carries information of the A port;
step S503, after the protocol processing module receives the message, inquiring the transmission configuration information of the configuration network interface according to the information of the configuration network interface carried in the message, and processing the message according to the inquired transmission configuration information;
the message carries information of an A port, and the protocol processing module can process the message of the A port, so that the message can be normally received.
Therefore, although the message is actually received from the patch cord port (port B), and the patch cord port and the configuration port are not the same port, the processing mechanism in the embodiment of the present invention can shield the difference between the port a and the port B from the protocol processing module, so that when the patch cord port and the configuration port are not consistent, the received data is not affected.
As shown in fig. 6, when the patch port is not consistent with the configured port, the flow of sending data in the error correction method based on port transmission in this example includes the following steps 601 to 603:
step S601, a protocol processing module wants to send a message through a configuration network port (A port), the message carries information of the configuration network port, and the message is sent to a network port management module;
the protocol processing module carries information of an A port in a message to be sent;
step S602, after receiving the message from the protocol processing module, the gateway management module queries the corresponding relationship between the configured gateway and the VLAN according to the information of the configured gateway (A gateway) carried in the message, and after querying the VLAN corresponding to the configured gateway, carries the information of the VLAN in the message and forwards the message to the switch chip;
the message carries information of an A port, a VLAN corresponding to the A port is inquired to be VLAN1 according to the information of the A port, and a VLAN1 label is marked in the message;
step S603, after receiving the message, the switching chip queries the information of the target network port corresponding to the VLAN according to the information of the VLAN carried in the message, forwards the message according to the queried information of the target network port, and forwards the message to the target network port;
the message carries a VLAN1 label, the exchange chip inquires that two corresponding target network ports are provided according to the VLAN1, the two corresponding target network ports are an A port and a B port respectively, and the message is sent to the A port and the B port simultaneously.
Therefore, although the message is originally intended to be sent from the configured port (port a), actually, the port a is not plugged with a network cable, and the network cable is plugged into the port B, the processing mechanism of the embodiment of the present invention can shield the difference between the port a and the port B from the protocol processing module, so that when the plugged port and the configured port are not consistent, sending data is also performed normally.
The error correction method shields the plug wire error for the upper protocol processing module, the protocol processing module processes the packet according to the normal message when receiving and sending the packet, the success rate of the base station opening is greatly improved, the complexity of the base station configuration and operation is reduced, the operation and maintenance cost is reduced, and the customer satisfaction is finally improved.
Example two
As shown in fig. 7, an error correction apparatus based on internet access transmission includes:
a configuration module 701, configured to detect that a configuration portal is inconsistent with a patch cord portal, add the patch cord portal to a virtual local area network VLAN where the configuration portal is located, and send VLAN configuration information of the patch cord portal to a switch chip;
a transmission processing module 702, configured to, after receiving a message sent by an opposite-end device through the switch chip, query a corresponding relationship between a configured portal and a VLAN according to information of the VLAN carried in the message, and after querying a configured portal corresponding to the VLAN, carry information of the configured portal in the message and forward the message for protocol processing.
In this embodiment, the configuration module is further configured to obtain configuration information for configuring the internet access, where the configuration information includes: configuring an identifier of a network port and an identifier of a Virtual Local Area Network (VLAN) added by the network port; establishing a corresponding relation between the configuration network port and the VLAN according to the configuration information of the configuration network port; and sending the VLAN configuration information of the configuration network port to a switching chip.
In this embodiment, the transmission processing module is further configured to, after receiving a packet to be sent to an opposite-end device, query a corresponding relationship between a configured port and a VLAN according to information of the configured port carried in the packet, after querying the VLAN corresponding to the configured port, carry information of the VLAN in the packet and forward the packet to the switch chip to be sent to the opposite-end device.
EXAMPLE III
The present embodiment further provides an error correction apparatus for internet access transmission, including: a memory and a processor;
the memory is used for storing a program for internet port transmission error correction, and when the program for internet port transmission error correction is read and executed by the processor, the following operations are executed:
detecting that a configuration network port is inconsistent with a patch cord network port, adding the patch cord network port into a Virtual Local Area Network (VLAN) where the configuration network port is located, and sending VLAN configuration information of the patch cord network port to a switching chip;
after receiving a message sent by an opposite terminal device through the exchange chip, inquiring the corresponding relation between a configuration port and a VLAN according to the information of the VLAN carried in the message, and after inquiring the configuration port corresponding to the VLAN, carrying the information of the configuration port in the message and forwarding the message for protocol processing.
Example four
As shown in fig. 8, this embodiment further provides an error correction method based on internet access transmission, which is applied to an internet access transmission device, and includes:
s801, when the network port management module detects that a configured network port is inconsistent with a patch cord network port, adding the patch cord network port into a Virtual Local Area Network (VLAN) where the configured network port is located, and sending VLAN configuration information of the patch cord network port to a switching chip;
s802, after receiving a message sent by an opposite terminal device from a patch cord network port, a switching chip carries VLAN information corresponding to the patch cord network port in the message and forwards the VLAN information to a network port management module;
s803, after receiving the message from the exchange chip, the network port management module queries the corresponding relationship between the configured network port and the VLAN according to the information of the VLAN carried in the message, and after querying the configured network port corresponding to the VLAN, carries the information of the configured network port in the message and forwards the message to the protocol processing module;
s804, after the protocol processing module receives the message from the network port management module, the protocol processing module inquires the protocol configuration information corresponding to the configuration network port according to the information of the configuration network port carried in the message and carries out protocol processing on the message.
In this embodiment, before the portal management module detects that the configured portal is inconsistent with the plugged portal, the method further includes:
the protocol processing module sends configuration information for configuring the internet access to the internet access management module, wherein the configuration information comprises: configuring an identifier of a network port and an identifier of a Virtual Local Area Network (VLAN) added into the network port;
the network port management module establishes a corresponding relation between the configured network port and the VLAN according to the configuration information of the configured network port, and sends the VLAN configuration information of the configured network port to the exchange chip.
In this embodiment, after the network port management module sends VLAN configuration information of the patch network port to the switch chip, the method further includes:
the protocol processing module sends a message to the network port management module, and the message carries information for configuring the network port;
after receiving a message from a protocol processing module, the network port management module queries the corresponding relation between a configured network port and a VLAN according to the information of the configured network port carried in the message, and after querying the VLAN corresponding to the configured network port, carries the information of the VLAN in the message and forwards the message to a switching chip;
after receiving the message from the network port management module, the switching chip determines a corresponding forwarding network port according to the information of the VLAN carried in the message; when the plug-in network port and the configuration network port are the same network port, the forwarding network port is the configuration network port, and when the plug-in network port and the configuration network port are not the same network port, the forwarding network port is the configuration network port and the plug-in network port.
EXAMPLE five
As shown in fig. 9, this embodiment further provides an internet access transmission device, including:
a protocol processing module 901, configured to, after receiving a message from the network port management module, query, according to information of a configured network port carried in the message, protocol configuration information corresponding to the configured network port, and perform protocol processing on the message;
the network port management module 902 is configured to detect that a configured network port is inconsistent with a patch cable network port, add the patch cable network port to a virtual local area network VLAN where the configured network port is located, and send VLAN configuration information of the patch cable network port to a switch chip; after receiving a message from a switching chip, inquiring the corresponding relation between a configuration port and a VLAN according to the information of the VLAN carried in the message, after inquiring the configuration port corresponding to the VLAN, carrying the information of the configuration port in the message and forwarding the message to a protocol processing module;
the switching chip 903 is configured to receive a message sent by an opposite end device from a patch cord network port, carry information of a VLAN corresponding to the patch cord network port in the message, and forward the information to the network port management module.
In this embodiment, the protocol processing module is further configured to determine a configuration portal, and send configuration information of the configuration portal to the portal management module, where the configuration information includes: configuring an identifier of a network port and an identifier of a Virtual Local Area Network (VLAN) added by the network port;
the network port management module is also used for establishing a corresponding relation between the configured network port and the VLAN according to the configuration information of the configured network port and sending the VLAN configuration information of the configured network port to the exchange chip.
In this embodiment, the protocol processing module is further configured to send a message to the network port management module, where the message carries information for configuring the network port;
the network port management module is further configured to, after receiving a message from the protocol processing module, query a correspondence between a configured network port and a VLAN according to information of the configured network port carried in the message, after querying the VLAN corresponding to the configured network port, carry information of the VLAN in the message, and forward the message to the switch chip;
the switching chip is also used for determining a corresponding forwarding network port according to the VLAN information carried in the message after receiving the message from the network port management module; when the plug-in network port and the configuration network port are the same network port, the forwarding network port is the configuration network port, and when the plug-in network port and the configuration network port are not the same network port, the forwarding network port is the configuration network port and the plug-in network port.
In this embodiment, the network port transmission device is a base station main control board.
Although the embodiments of the present invention have been described above, the above description is only for the purpose of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. An error correction method based on internet access transmission comprises the following steps:
detecting that a configuration network port is inconsistent with a patch cord network port, adding the patch cord network port into a Virtual Local Area Network (VLAN) where the configuration network port is located, and sending VLAN configuration information of the patch cord network port to a switching chip, wherein the configuration network port is a network port which can be identified and configured by a protocol processing module for transmitting configuration information, the patch cord network port is a network port into which a network cord is inserted, and the switching chip comprises a plurality of network ports;
after receiving a message sent by an opposite terminal device through the exchange chip, inquiring the corresponding relation between a configuration port and a VLAN according to the information of the VLAN carried in the message, after inquiring the configuration port corresponding to the VLAN, carrying the information of the configuration port in the message and forwarding the message for protocol processing;
after sending the VLAN configuration information of the patch cord network port to the switch chip, the method further includes:
after receiving a message to be sent to an opposite terminal device, inquiring the corresponding relation between a configuration port and a VLAN according to the information of the configuration port carried in the message, after inquiring the VLAN corresponding to the configuration port, carrying the information of the VLAN in the message and forwarding the message to the exchange chip to send the message to the opposite terminal device.
2. The method of claim 1, wherein prior to detecting that the configuration portal is inconsistent with the patch portal, the method further comprises:
acquiring configuration information for configuring a network port, wherein the configuration information comprises: configuring an identifier of a network port and an identifier of a Virtual Local Area Network (VLAN) added into the network port;
establishing a corresponding relation between the configuration network port and the VLAN according to the configuration information of the configuration network port;
and sending the VLAN configuration information of the configuration network port to a switching chip.
3. The method of claim 2, wherein:
the detecting that the configuration net port is inconsistent with the plug wire net port comprises:
after the information of the plug wire network port is obtained, if the network port identification of the plug wire network port is inconsistent with the network port identification of the configuration network port, the configuration network port is judged to be inconsistent with the plug wire network port.
4. An error correction device based on internet access transmission comprises:
the configuration module is used for detecting that a configuration network port is inconsistent with a patch cord network port, adding the patch cord network port into a Virtual Local Area Network (VLAN) where the configuration network port is located, and sending VLAN configuration information of the patch cord network port to a switching chip, wherein the configuration network port is a network port which can be identified and configured by a protocol processing module for transmitting configuration information, the patch cord network port is a network port into which a network cord is inserted, and the switching chip comprises a plurality of network ports;
a transmission processing module, configured to, after receiving a message sent by an opposite-end device through the switch chip, query a correspondence between a configured network port and a VLAN according to information of the VLAN carried in the message, and after querying the configured network port corresponding to the VLAN, carry information of the configured network port in the message and forward the message for protocol processing;
the transmission processing module is further configured to, after receiving a packet to be sent to an opposite-end device, query a correspondence between a configured port and a VLAN according to information of the configured port carried in the packet, after querying the VLAN corresponding to the configured port, carry information of the VLAN in the packet, and forward the packet to the switch chip to send the packet to the opposite-end device.
5. The apparatus of claim 4, wherein:
the configuration module is further configured to acquire configuration information for configuring the internet access, where the configuration information includes: configuring an identifier of a network port and an identifier of a Virtual Local Area Network (VLAN) added into the network port; establishing a corresponding relation between the configuration network port and the VLAN according to the configuration information of the configuration network port; and sending the VLAN configuration information of the configuration network port to a switching chip.
6. An error correction apparatus for internet access transmission, comprising: a memory and a processor;
the method is characterized in that:
the memory is used for storing a program for internet port transmission error correction, and when the program for internet port transmission error correction is read and executed by the processor, the program performs the following operations:
detecting that a configuration network port is inconsistent with a patch cord network port, adding the patch cord network port into a Virtual Local Area Network (VLAN) where the configuration network port is located, and sending VLAN configuration information of the patch cord network port to a switching chip, wherein the configuration network port is a network port which can be identified and configured by a protocol processing module for transmitting configuration information, the patch cord network port is a network port into which a network cord is inserted, and the switching chip comprises a plurality of network ports;
after receiving a message sent by an opposite terminal device through the exchange chip, inquiring the corresponding relation between a configuration port and a VLAN according to the information of the VLAN carried in the message, after inquiring the configuration port corresponding to the VLAN, carrying the information of the configuration port in the message and forwarding the message for protocol processing;
after sending the VLAN configuration information of the patch cord network port to the switch chip, under the condition that a message to be sent to an opposite terminal device is received, according to the information of the configuration network port carried in the message, inquiring the correspondence between the configuration network port and the VLAN, after inquiring the VLAN corresponding to the configuration network port, carrying the VLAN information in the message, and forwarding the message to the switch chip to be sent to the opposite terminal device.
7. An error correction method based on network port transmission is applied to network port transmission equipment and comprises the following steps:
the method comprises the steps that an internet access management module detects that a configuration internet access is inconsistent with a patch cord internet access, the patch cord internet access is added into a Virtual Local Area Network (VLAN) where the configuration internet access is located, VLAN configuration information of the patch cord internet access is sent to an exchange chip, wherein the configuration internet access is an internet access which can be identified and configured by a protocol processing module and used for transmitting configuration information, the patch cord internet access is an internet access into which a network cord is inserted, and the exchange chip comprises a plurality of internet accesses;
after receiving a message sent by an opposite terminal device from a patch cord network port, a switching chip carries information of a VLAN (virtual local area network) corresponding to the patch cord network port in the message and forwards the information to a network port management module;
after receiving a message from an exchange chip, the gateway management module queries the corresponding relation between a configured gateway and a VLAN according to information of the VLAN carried in the message, and after querying the configured gateway corresponding to the VLAN, carries the information of the configured gateway in the message and forwards the message to a protocol processing module;
after receiving the message from the network port management module, the protocol processing module inquires protocol configuration information corresponding to the configuration network port according to the information of the configuration network port carried in the message and performs protocol processing on the message;
after the network port management module sends VLAN configuration information of the patch network port to a switch chip, the method further includes:
the protocol processing module sends a message to the network port management module, and the message carries information for configuring the network port;
after receiving a message from a protocol processing module, the network port management module queries the corresponding relationship between a configuration network port and a VLAN according to the information of the configuration network port carried in the message, and after querying the VLAN corresponding to the configuration network port, carries the information of the VLAN in the message and forwards the message to a switching chip;
after receiving the message from the network port management module, the switching chip determines a corresponding forwarding network port according to the VLAN information carried in the message; when the plug-in network port and the configuration network port are the same network port, the forwarding network port is the configuration network port, and when the plug-in network port and the configuration network port are not the same network port, the forwarding network port is the configuration network port and the plug-in network port.
8. The method of claim 7, wherein before the portal management module detects that the configured portal is inconsistent with the patch portal, the method further comprises:
the protocol processing module sends configuration information for configuring the internet access to the internet access management module, wherein the configuration information comprises: configuring an identifier of a network port and an identifier of a Virtual Local Area Network (VLAN) added into the network port;
the network port management module establishes a corresponding relation between the configured network port and the VLAN according to the configuration information of the configured network port, and sends the VLAN configuration information of the configured network port to the exchange chip.
9. An internet port transport apparatus comprising:
the protocol processing module is used for inquiring protocol configuration information corresponding to the configuration network port according to information of the configuration network port carried in the message and carrying out protocol processing on the message after receiving the message from the network port management module, wherein the configuration network port is a network port which can be identified and configured by the protocol processing module for transmitting the configuration information, the plug network port is a network port into which a network cable is inserted, and the exchange chip comprises a plurality of network ports;
the network port management module is used for detecting that a configuration network port is inconsistent with a patch cable network port, adding the patch cable network port into a Virtual Local Area Network (VLAN) where the configuration network port is located, and sending VLAN configuration information of the patch cable network port to a switching chip; after receiving a message from a switching chip, inquiring the corresponding relation between a configuration port and a VLAN according to the information of the VLAN carried in the message, after inquiring the configuration port corresponding to the VLAN, carrying the information of the configuration port in the message and forwarding the message to a protocol processing module;
the switching chip is used for carrying information of the VLAN corresponding to the plug wire network port in the message and forwarding the information to the network port management module after receiving the message sent by the opposite terminal equipment from the plug wire network port;
the protocol processing module is further configured to send a message to the network port management module, where the message carries information for configuring a network port;
the network port management module is further configured to, after receiving a message from the protocol processing module, query a corresponding relationship between a configured network port and a VLAN according to information of the configured network port carried in the message, and after querying the VLAN corresponding to the configured network port, carry information of the VLAN in the message and forward the message to the switch chip;
the switching chip is also used for determining a corresponding forwarding network port according to the VLAN information carried in the message after receiving the message from the network port management module; when the plug wire network port and the configuration network port are the same network port, the forwarding network port is the configuration network port, and when the plug wire network port and the configuration network port are not the same network port, the forwarding network port is the configuration network port and the plug wire network port.
10. The portal transport apparatus of claim 9, wherein:
the protocol processing module is further configured to determine a configuration portal, and send configuration information of the configuration portal to the portal management module, where the configuration information includes: configuring an identifier of a network port and an identifier of a Virtual Local Area Network (VLAN) added into the network port;
the network port management module is also used for establishing a corresponding relation between the configured network port and the VLAN according to the configuration information of the configured network port and sending the VLAN configuration information of the configured network port to the exchange chip.
11. The portal transport apparatus of claim 9 or 10, wherein:
the network port transmission equipment is a base station main control single board.
CN201710001938.9A 2017-01-03 2017-01-03 Error correction method and device based on internet access transmission and internet access transmission equipment Active CN108270638B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710001938.9A CN108270638B (en) 2017-01-03 2017-01-03 Error correction method and device based on internet access transmission and internet access transmission equipment
PCT/CN2017/120324 WO2018127024A1 (en) 2017-01-03 2017-12-29 Error correction method, device based on network port transmission and network port transmission equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710001938.9A CN108270638B (en) 2017-01-03 2017-01-03 Error correction method and device based on internet access transmission and internet access transmission equipment

Publications (2)

Publication Number Publication Date
CN108270638A CN108270638A (en) 2018-07-10
CN108270638B true CN108270638B (en) 2022-10-28

Family

ID=62771467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710001938.9A Active CN108270638B (en) 2017-01-03 2017-01-03 Error correction method and device based on internet access transmission and internet access transmission equipment

Country Status (2)

Country Link
CN (1) CN108270638B (en)
WO (1) WO2018127024A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235148B (en) * 2020-10-20 2023-10-10 平安证券股份有限公司 VLAN configuration detection method, VLAN configuration detection device, electronic equipment and storage medium
CN112929183B (en) * 2021-01-26 2023-01-20 北京百度网讯科技有限公司 Intelligent network card, message transmission method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010028553A1 (en) * 2008-09-10 2010-03-18 华为技术有限公司 Method, single board and system for port configuration management
CN103401728A (en) * 2013-07-29 2013-11-20 华为技术有限公司 Method and device used for detecting inter-equipment interface connection
CN104158768A (en) * 2014-07-01 2014-11-19 汉柏科技有限公司 Method and system for extending network interfaces, and method for receiving and sending message
CN106034090A (en) * 2015-03-20 2016-10-19 联想(北京)有限公司 Information processing method and switch

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710468A (en) * 2011-03-28 2012-10-03 华为技术有限公司 Customer service access method and system and access equipment
CN102185775B (en) * 2011-05-10 2016-06-22 中兴通讯股份有限公司 Identify method and the multiport Ethernet interface device of multiport Ethernet interface device port
US20120294192A1 (en) * 2011-05-19 2012-11-22 Hitachi, Ltd. Method and apparatus of connectivity discovery between network switch and server based on vlan identifiers
US9154409B2 (en) * 2013-05-29 2015-10-06 Avaya Inc. Method for debugging private VLAN

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010028553A1 (en) * 2008-09-10 2010-03-18 华为技术有限公司 Method, single board and system for port configuration management
CN103401728A (en) * 2013-07-29 2013-11-20 华为技术有限公司 Method and device used for detecting inter-equipment interface connection
CN104158768A (en) * 2014-07-01 2014-11-19 汉柏科技有限公司 Method and system for extending network interfaces, and method for receiving and sending message
CN106034090A (en) * 2015-03-20 2016-10-19 联想(北京)有限公司 Information processing method and switch

Also Published As

Publication number Publication date
CN108270638A (en) 2018-07-10
WO2018127024A1 (en) 2018-07-12

Similar Documents

Publication Publication Date Title
CN111478862B (en) Remote data mirroring system and method
US20090201943A1 (en) Method for transferring test messages and network element device
CN106255226B (en) Network connection processing method and device
CN110855568B (en) Message forwarding method and system
CN104683210A (en) Automatic tunnel establishing method and device
CN116418647A (en) Method, device and equipment for receiving and transmitting network management information
CN108270638B (en) Error correction method and device based on internet access transmission and internet access transmission equipment
EP3032782B1 (en) Packet transmission method and apparatus
CN112953857B (en) Method for testing internal channel between boards and distributed network equipment
US20040001513A1 (en) Network element, and associated method, for facilitating communication of data between elemental devices
EP4250649A1 (en) Packet forwarding method and apparatus, and network system
US20210167993A1 (en) Method, device, and system for determining generic routing encapsulation gre tunnel identifier
CN109218176B (en) Message processing method and device
CN107547341B (en) Access method and device of virtual extensible local area network VXLAN
CN104320322A (en) Message control method and equipment
CN108282383B (en) Method and equipment for realizing fault processing
US6721319B1 (en) Network system
CN103634213A (en) Message forwarding method
CN111064592A (en) Local area network software updating method and USB device
US20190036817A1 (en) Transport network control apparatus, communication system, forwarding node control method, and program
CN104168132A (en) Fault diagnosis method, equipment and system
US9438744B2 (en) Method and data transmission device for data transmission within an xDSL data transmission system connecting at least two ethernet networks via xDSL links
CN114157350A (en) Optical fiber misconnection detection method and system
CN105959393A (en) Automatic card production method and device
CN106331899A (en) Noninductive tandem connection processing method for No.7 signaling network

Legal Events

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