CN116016326A - Switch traffic transmission method, device, equipment and medium - Google Patents

Switch traffic transmission method, device, equipment and medium Download PDF

Info

Publication number
CN116016326A
CN116016326A CN202211572800.1A CN202211572800A CN116016326A CN 116016326 A CN116016326 A CN 116016326A CN 202211572800 A CN202211572800 A CN 202211572800A CN 116016326 A CN116016326 A CN 116016326A
Authority
CN
China
Prior art keywords
switch
traffic
wireless module
forwarding link
forwarding
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.)
Pending
Application number
CN202211572800.1A
Other languages
Chinese (zh)
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.)
Inspur Cisco Networking Technology Co Ltd
Original Assignee
Inspur Cisco Networking Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Cisco Networking Technology Co Ltd filed Critical Inspur Cisco Networking Technology Co Ltd
Priority to CN202211572800.1A priority Critical patent/CN116016326A/en
Publication of CN116016326A publication Critical patent/CN116016326A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the specification discloses a method, a device, equipment and a medium for transmitting switch traffic, which comprise the following steps: connecting the wireless module to the switch through a preset interface; transmitting parameter information of the switch to the wireless module; and when the switch transmits the traffic to the appointed equipment, the wireless module receives the traffic of the switch and forwards the traffic to the appointed equipment. The embodiment of the specification can directly enable the switch to have the wireless module capability, simplify the link, unify the processing of all information by the switch, simplify the related information flow and simplify the abnormal probability.

Description

Switch traffic transmission method, device, equipment and medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for transmitting traffic of a switch.
Background
A switch is a network device used for forwarding traffic messages. The switch may provide an unshared electrical signal path for any two network nodes that access the switch.
Switches currently have a primary physical port that communicates by directly linking other devices via fiber optic or twisted pair. There is a need to widen the traffic delivery pattern of the switch so that the switch can better deliver traffic.
Disclosure of Invention
One or more embodiments of the present disclosure provide a method, an apparatus, a device, and a medium for transmitting a switch traffic, which are used to solve the technical problem set forth in the background art.
One or more embodiments of the present disclosure adopt the following technical solutions:
one or more embodiments of the present disclosure provide a method for transmitting traffic of a switch, including:
connecting the wireless module to the switch through a preset interface;
transmitting parameter information of the switch to the wireless module;
and when the switch transmits the traffic to the appointed equipment, the wireless module receives the traffic of the switch and forwards the traffic to the appointed equipment.
Optionally, before the receiving, by the wireless module, the traffic of the switch, the method further includes:
determining a forwarding link of the traffic according to a preset forwarding link selection rule, wherein the forwarding link comprises a first forwarding link for forwarding the traffic by a wireless module and a second forwarding link for forwarding the traffic by a wired port;
and executing the receiving of the flow of the switch through the wireless module when the forwarding link is the first forwarding link.
Optionally, before determining the forwarding link of the traffic according to a preset forwarding link selection rule, the method further includes:
and setting a forwarding link selection rule through an equivalent routing protocol so that the first forwarding link and the second forwarding route forward the traffic according to the equivalent routing protocol.
Optionally, before determining the forwarding link of the traffic according to a preset forwarding link selection rule, the method further includes:
setting a forwarding link selection rule through a floating routing protocol, so that the first forwarding link is used as a standby link and forwards the traffic through the first forwarding link when the second forwarding link fails or is occupied, or the second forwarding link is used as a standby link and forwards the traffic through the second forwarding link when the first forwarding link fails or is occupied.
Optionally, the sending the relevant parameter information of the switch to the wireless module includes:
virtual network card output is driven through Linux;
and sending the parameter information to the wireless module through the network card so that the network card associates the wireless module with a switch.
Optionally, the parameter information includes an IP address of the switch.
Optionally, the wireless module is a 5G module.
One or more embodiments of the present disclosure provide a switch traffic transmission device, including:
the module connecting unit is used for connecting the wireless module to the switch through a preset interface;
an information transmitting unit that transmits parameter information of the switch to the wireless module;
and the flow transmission unit is used for receiving the flow of the switch through the wireless module and forwarding the flow to the appointed equipment when the switch transmits the flow to the appointed equipment.
One or more embodiments of the present disclosure provide a switch traffic transmission device, including:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
connecting the wireless module to the switch through a preset interface;
transmitting parameter information of the switch to the wireless module;
and when the switch transmits the traffic to the appointed equipment, the wireless module receives the traffic of the switch and forwards the traffic to the appointed equipment.
One or more embodiments of the present specification provide a non-volatile computer storage medium storing computer-executable instructions configured to:
connecting the wireless module to the switch through a preset interface;
transmitting parameter information of the switch to the wireless module;
and when the switch transmits the traffic to the appointed equipment, the wireless module receives the traffic of the switch and forwards the traffic to the appointed equipment.
The above-mentioned at least one technical scheme that this description embodiment adopted can reach following beneficial effect:
the embodiment of the specification can directly enable the switch to have the wireless module capability, simplify the link, unify the processing of all information by the switch, simplify the related information flow and simplify the abnormal probability.
Drawings
In order to more clearly illustrate the embodiments of the present description or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some of the embodiments described in the present description, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. In the drawings:
fig. 1 is a flow diagram of a method for transmitting traffic of a switch according to one or more embodiments of the present disclosure;
fig. 2 is a schematic structural diagram of a switch traffic transmission system according to one or more embodiments of the present disclosure;
fig. 3 is a schematic structural diagram of a switch traffic transmission device according to one or more embodiments of the present disclosure;
fig. 4 is a schematic structural diagram of a switch traffic transmission device according to one or more embodiments of the present disclosure.
Detailed Description
The embodiment of the specification provides a method, a device, equipment and a medium for transmitting switch traffic.
In order to make the technical solutions in the present specification better understood by those skilled in the art, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present disclosure.
Fig. 1 is a schematic flow diagram of a method for transmitting switch traffic according to one or more embodiments of the present disclosure, where the flow may be performed by a switch traffic transmission system. Some input parameters or intermediate results in the flow allow for manual intervention adjustments to help improve accuracy.
The method flow steps of the embodiment of the present specification are as follows:
s102, connecting the wireless module to a switch through a preset interface.
In this embodiment of the present disclosure, the preset interface may be an m.2 interface or a USB interface. The m.2 interface is a host interface scheme, and can be compatible with multiple communication protocols, such as sata, PCIe, USB, HSIC, UART, SMBus.
And S104, the parameter information of the switch is sent to the wireless module.
In this embodiment of the present disclosure, the Linux may be used to drive the virtual network card, and then the parameter information is sent to the wireless module through the network card, so that the network card associates the wireless module with the switch, and the subsequent switch may transmit the traffic to the designated device through the wireless module. Wherein the parameter information may comprise an IP address of the switch.
S106, when the switch transmits the traffic to the appointed equipment, the wireless module receives the traffic of the switch and forwards the traffic to the appointed equipment.
In this embodiment of the present disclosure, before receiving, by the wireless module, a traffic of the switch, a forwarding link of the traffic may be determined according to a preset forwarding link selection rule, where the forwarding link includes a first forwarding link that forwards the traffic by the wireless module and a second forwarding link that forwards the traffic by a wired port; and when the forwarding link is the first forwarding link, the traffic of the switch can be received through the wireless module.
In this embodiment of the present disclosure, before determining the forwarding link of the traffic according to a preset forwarding link selection rule, the forwarding link selection rule may be set by an equivalent routing protocol, so that the first forwarding link and the second forwarding route forward the traffic according to the equivalent routing protocol. In the process, the wireless module establishes load sharing help transmission with the switch port so as to share the transmission flow pressure of the wired port.
In this embodiment of the present disclosure, before determining the forwarding link of the traffic according to a preset forwarding link selection rule, the forwarding link selection rule may be set by using a floating routing protocol, so that the first forwarding link is used as a backup link and the traffic is forwarded through the first forwarding link when the second forwarding link fails or is occupied, or the second forwarding link is used as a backup link and the traffic is forwarded through the second forwarding link when the first forwarding link fails or is occupied. In the process, a floating route is established, and the wireless module can be used as a standby link to enhance the link stability, or a wired port transmission mode is used as the standby link to enhance the link stability.
In the embodiment of the present specification, the wireless module may be a 5G module.
It should be noted that, in the embodiment of the present disclosure, the switch and the 5G module may be directly combined, so that the switch may directly use 5G communication through a simple 5G communication module, without requiring a complete 5G device, thereby reducing cost and space occupation.
In this embodiment, the 5G device is connected to the switch port, so that the switch has 5G capability. If the switch port is connected with the 5G device, there will be problems of increasing network complexity and occupying ports to affect other services. The embodiment of the specification can directly enable the switch to have 5G communication capability, simplify links, unify all information processed by the switch, simplify related information flow and simplify abnormal probability.
In the example of the present specification, the specific embodiment may refer to the schematic structural diagram of the switch traffic transmission system shown in fig. 2, where the switch traffic transmission system is connected to the CPU of the switch through an m.2 interface or a USB interface. A network card can be virtually obtained through Linux driving to control and connect the 5G module, dial up networking is carried out, and parameters such as ip addresses are distributed. And the flow related to the 5G module is forwarded by the CPU. The 5G module is externally connected to the 5G network, so that the switch equipment can directly exchange information with the 5G network.
In practical application, the 5G module can be used as an expansion port of the switch to access the 5G network. The 5G module and the switch port can establish load sharing help transmission through the equivalent route to share the port flow pressure. A floating route may also be established, with the 5G module as a backup link to enhance link stability.
After having the direct 5G communication ability, the switch also can more flexible reply has the application scenario of 5G demand. Or an open configuration, the switch may be managed directly through the 5G network.
The 5G communication module is directly used for being applicable to a 5G switch, so that the network link structure can be simplified, and the influence of the problem of a connecting device on the network link can be reduced in the more direct communication industry.
The extra 5G communication interface can also help the switch to share the traffic and reduce the port burden or back up the traffic to enhance the stability, and the switch can more flexibly cope with different application scenes.
Fig. 3 is a schematic structural diagram of a device for transmitting traffic of a switch according to one or more embodiments of the present disclosure, where the device includes: a module connection unit 302, an information transmission unit 304, and a traffic transmission unit 306.
A module connection unit 302 for connecting the wireless module to the switch through a preset interface;
an information transmitting unit 304 that transmits the parameter information of the switch to the wireless module;
and the traffic transmission unit 306 receives the traffic of the switch through the wireless module and forwards the traffic to the appointed equipment when the switch transmits the traffic to the appointed equipment.
Fig. 4 is a schematic structural diagram of a switch traffic transmission device according to one or more embodiments of the present disclosure, including:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
connecting the wireless module to the switch through a preset interface;
transmitting parameter information of the switch to the wireless module;
and when the switch transmits the traffic to the appointed equipment, the wireless module receives the traffic of the switch and forwards the traffic to the appointed equipment.
One or more embodiments of the present specification provide a non-volatile computer storage medium storing computer-executable instructions configured to:
connecting the wireless module to the switch through a preset interface;
transmitting parameter information of the switch to the wireless module;
and when the switch transmits the traffic to the appointed equipment, the wireless module receives the traffic of the switch and forwards the traffic to the appointed equipment.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for apparatus, devices, non-volatile computer storage medium embodiments, the description is relatively simple, as it is substantially similar to method embodiments, with reference to the section of the method embodiments being relevant.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
The foregoing is merely one or more embodiments of the present description and is not intended to limit the present description. Various modifications and alterations to one or more embodiments of this description will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, or the like, which is within the spirit and principles of one or more embodiments of the present description, is intended to be included within the scope of the claims of the present description.

Claims (10)

1. A method for transmitting traffic in a switch, the method comprising:
connecting the wireless module to the switch through a preset interface;
transmitting parameter information of the switch to the wireless module;
and when the switch transmits the traffic to the appointed equipment, the wireless module receives the traffic of the switch and forwards the traffic to the appointed equipment.
2. The method of claim 1, wherein prior to receiving traffic of the switch by the wireless module, the method further comprises:
determining a forwarding link of the traffic according to a preset forwarding link selection rule, wherein the forwarding link comprises a first forwarding link for forwarding the traffic by a wireless module and a second forwarding link for forwarding the traffic by a wired port;
and executing the receiving of the flow of the switch through the wireless module when the forwarding link is the first forwarding link.
3. The method of claim 2, wherein the determining the forwarding link for the traffic is preceded by a preset forwarding link selection rule, the method further comprising:
and setting a forwarding link selection rule through an equivalent routing protocol so that the first forwarding link and the second forwarding route forward the traffic according to the equivalent routing protocol.
4. The method of claim 2, wherein the determining the forwarding link for the traffic is preceded by a preset forwarding link selection rule, the method further comprising:
setting a forwarding link selection rule through a floating routing protocol, so that the first forwarding link is used as a standby link and forwards the traffic through the first forwarding link when the second forwarding link fails or is occupied, or the second forwarding link is used as a standby link and forwards the traffic through the second forwarding link when the first forwarding link fails or is occupied.
5. The method of claim 1, wherein said sending the switch related parameter information to the wireless module comprises:
virtual network card output is driven through Linux;
and sending the parameter information to the wireless module through the network card so that the network card associates the wireless module with a switch.
6. The method according to any of claims 1-5, wherein the parameter information comprises an IP address of the switch.
7. The method of any of claims 1-5, wherein the wireless module is a 5G module.
8. A switch traffic transmission device, the device comprising:
the module connecting unit is used for connecting the wireless module to the switch through a preset interface;
an information transmitting unit that transmits parameter information of the switch to the wireless module;
and the flow transmission unit is used for receiving the flow of the switch through the wireless module and forwarding the flow to the appointed equipment when the switch transmits the flow to the appointed equipment.
9. A switch traffic transmission device, comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
connecting the wireless module to the switch through a preset interface;
transmitting parameter information of the switch to the wireless module;
and when the switch transmits the traffic to the appointed equipment, the wireless module receives the traffic of the switch and forwards the traffic to the appointed equipment.
10. A non-transitory computer storage medium storing computer-executable instructions configured to:
connecting the wireless module to the switch through a preset interface;
transmitting parameter information of the switch to the wireless module;
and when the switch transmits the traffic to the appointed equipment, the wireless module receives the traffic of the switch and forwards the traffic to the appointed equipment.
CN202211572800.1A 2022-12-08 2022-12-08 Switch traffic transmission method, device, equipment and medium Pending CN116016326A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211572800.1A CN116016326A (en) 2022-12-08 2022-12-08 Switch traffic transmission method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211572800.1A CN116016326A (en) 2022-12-08 2022-12-08 Switch traffic transmission method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN116016326A true CN116016326A (en) 2023-04-25

Family

ID=86034553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211572800.1A Pending CN116016326A (en) 2022-12-08 2022-12-08 Switch traffic transmission method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN116016326A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204090163U (en) * 2014-09-04 2015-01-07 杭州快越科技有限公司 Multidimensional multi-functional multi-frequency terminal equipment access device
US10715411B1 (en) * 2019-02-17 2020-07-14 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Altering networking switch priority responsive to compute node fitness
CN111917655A (en) * 2020-08-10 2020-11-10 深圳市灰色科技有限公司 Fifth generation mobile communication routing module
CN115442184A (en) * 2022-08-29 2022-12-06 天翼云科技有限公司 Access system and method, access server, system and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204090163U (en) * 2014-09-04 2015-01-07 杭州快越科技有限公司 Multidimensional multi-functional multi-frequency terminal equipment access device
US10715411B1 (en) * 2019-02-17 2020-07-14 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Altering networking switch priority responsive to compute node fitness
CN111917655A (en) * 2020-08-10 2020-11-10 深圳市灰色科技有限公司 Fifth generation mobile communication routing module
CN115442184A (en) * 2022-08-29 2022-12-06 天翼云科技有限公司 Access system and method, access server, system and storage medium

Similar Documents

Publication Publication Date Title
CN111343019B (en) Reconnection method, reconnection device and storage medium
CN102957623B (en) A kind of maintaining method of neighborhood of border gate protocol and equipment
CN110868278B (en) Method for dual-computer redundancy of communication front-end processor of rail transit comprehensive monitoring system
CN101989953A (en) Method and equipment for sending bidirectional forwarding detection message
CN107948063B (en) Method for establishing aggregation link and access equipment
JPH03273352A (en) On-line information processor
CN113794618B (en) Redundant network communication method and device based on virtual network card and terminal equipment
CN110324202B (en) Method and device for detecting line quality
CN109981437B (en) Multi-data center intercommunication method based on VPC and related equipment
CN116016326A (en) Switch traffic transmission method, device, equipment and medium
CN111431668B (en) Baud rate switching method based on multi-node UART communication, air conditioning system and processor
CN113261249A (en) Data transmission method, related equipment and computer storage medium
CN112583746B (en) Cell transmission method and device, storage medium and electronic device
JP4612529B2 (en) Communication device and redundant system switching method
US10735310B2 (en) Controller, method for adjusting flow rule, and network communication system
CN110572440B (en) Method and device for data transmission, household appliance and storage medium
CN112463670A (en) Storage controller access method and related device
US11876555B2 (en) Failure determination system and failure determination method
CN112887201A (en) VRRP (virtual router redundancy protocol) -based interface updating method and device and storage medium
CN111181766A (en) Redundant FC network system and method for realizing dynamic configuration of switch
CN111131496A (en) Communication transfer method, system, device and medium based on identification information
CN214480674U (en) Bridge and combined network
CN112948180B (en) Board-level hot standby method based on master control management
CN115842777A (en) Routing method and related equipment
CN111107663B (en) Data transmission method and device, storage medium and electronic device

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