CN117479226A - Traffic processing method, traffic processing device and communication system - Google Patents

Traffic processing method, traffic processing device and communication system Download PDF

Info

Publication number
CN117479226A
CN117479226A CN202311550848.7A CN202311550848A CN117479226A CN 117479226 A CN117479226 A CN 117479226A CN 202311550848 A CN202311550848 A CN 202311550848A CN 117479226 A CN117479226 A CN 117479226A
Authority
CN
China
Prior art keywords
user equipment
switching
target
user
link interface
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
CN202311550848.7A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202311550848.7A priority Critical patent/CN117479226A/en
Publication of CN117479226A publication Critical patent/CN117479226A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0252Traffic management, e.g. flow control or congestion control per individual bearer or channel

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a flow processing method, a device and a communication system, wherein the method is applied to a switching device, one end of the switching device is in communication connection with a base station, the other end of the switching device is in communication connection with user equipment, the user equipment comprises first user equipment and second user equipment, the first user equipment and the second user equipment are configured with the same network address and can both transmit target messages with the switching device, the target message characterizes aggregation information of the user equipment and the switching device, so that the user equipment and the switching device can agree on the knowledge of communication link aggregation based on the aggregation information, and the method comprises the following steps: if the communication link between the first user equipment and the target message is determined to be normal based on the target message transmitted by the first user equipment, transmitting target flow data to the first user equipment; and if the communication link between the first user equipment and the second user equipment is abnormal, transmitting the target flow data to the second user equipment.

Description

Traffic processing method, traffic processing device and communication system
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a traffic processing method, apparatus, and communications system.
Background
The user plane function (UserPlane Function, UPF) is an important component of the 3gpp 5G core network system architecture, and is mainly responsible for the routing and forwarding related functions of the 5G core network user plane data packets. UPF plays an important role in 5G low latency, large bandwidth edge computation and network slicing techniques. Two UPFs (also called primary and standby UPFs) are deployed as master-slave devices on the core network, so that the reliability of the user plane data amount can be fully ensured. How to forward traffic to the UPF that is currently running and ensuring that communications are not interrupted has become a major issue.
Disclosure of Invention
In view of this, the present application provides the following technical solutions:
a traffic handling method applied to a switching device, one end of the switching device being communicatively connected to a base station, the other end of the switching device being communicatively connected to a user device, the user device comprising a first user device and a second user device, the first user device and the second user device being configured with the same network address and each being capable of transmitting a target message with the switching device, the target message characterizing aggregation information capable of interacting between the user device and the switching device, such that the user device and the switching device are capable of agreeing upon knowledge of a communication link aggregation based on the aggregation information, the method comprising:
if the communication link between the first user equipment and the first user equipment is determined to be normal based on the target message transmitted by the first user equipment, transmitting target flow data to the first user equipment;
and if the communication link between the target flow data and the first user equipment is abnormal, transmitting the target flow data to second user equipment.
Optionally, the switching device at least includes a first link interface and a second link interface, where the first link interface is used to be communicatively connected with the first user device, and the second link port is used to be communicatively connected with the second user device, and when the first link interface is in an operational state, the second link interface is in a non-operational state, and further includes:
and if the communication link between the first user equipment and the first link interface is abnormal, switching the first link interface from the running state to the non-running state, and switching the second link interface from the non-running state to the running state.
Optionally, the determining that the communication link between the first ue and the second ue is normal based on the target packet transmitted with the first ue includes:
if the first user equipment sends the target message to the switching equipment, determining whether the target message is received within a target duration;
and if so, determining that the communication link with the first user equipment is normal.
Optionally, the switching the first link interface from the operation state to the non-operation state includes:
if the target message sent by the first user equipment is not received within the target time, switching the first link interface from an operation state to a waiting state;
switching the second link interface from a non-operation state to an operation state, and transmitting a target message to second user equipment through the second link interface;
and if the second user equipment receives the target message within the target time, switching the first link interface from a waiting state to a non-running state.
Optionally, the transmitting the target traffic data to the first user equipment includes:
resolving and obtaining a network address of the first user equipment;
transmitting the network address to the base station, so that the base station transmits target traffic data to first user equipment based on the network address; wherein transmitting the target traffic data to a second user equipment comprises: the base station transmits target traffic data to a second user device based on the network address.
Optionally, the method further comprises:
circularly detecting a second link interface in an operation state;
and if the detection result shows that the target message sent by the first user equipment connected based on the second link interface is not received within the target time, switching the second link interface from the running state to the non-running state.
A traffic handling apparatus, the apparatus being applied to a switching device, one end of the switching device being communicatively connected to a base station, the other end of the switching device being communicatively connected to a user device, the user device comprising a first user device and a second user device, the first user device and the second user device being configured with a same network address and each being capable of transmitting a target message with the switching device, the target message characterizing aggregation information capable of interacting between the user device and the switching device, such that knowledge of communication link aggregation by the user device and the switching device based on the aggregation information is consistent, the apparatus comprising:
the first transmission unit is used for transmitting target flow data to the first user equipment if the communication link between the first transmission unit and the first user equipment is determined to be normal based on the target message transmitted by the first user equipment;
and the second transmission unit is used for transmitting the target flow data to the second user equipment if the communication link between the second user equipment and the first user equipment is abnormal.
A communication system, comprising:
the switching equipment and the user equipment comprise first user equipment and second user equipment;
one end of the switching equipment is in communication connection with the base station, and the other end of the switching equipment is in communication connection with the user equipment; the first user equipment and the second user equipment are configured with the same network address and can both transmit target messages with the switching equipment, and the target messages represent aggregation information capable of interacting the user equipment and the switching equipment so that the user equipment and the switching equipment can agree on the knowledge of communication link aggregation based on the aggregation information;
the switching device is configured to, if it is determined that a communication link between the switching device and the first user device is normal based on the target packet transmitted to the first user device, transmit target traffic data to the first user device; and if the communication link between the target flow data and the first user equipment is abnormal, transmitting the target flow data to second user equipment.
Optionally, the switching device at least includes a first link interface and a second link interface, where the first link interface is used to be communicatively connected with the first user device, and the second link port is used to be communicatively connected with the second user device, and when the first link interface is in an operation state, the second link interface is in a non-operation state;
the switching device is further configured to: and if the communication link between the first user equipment and the first link interface is abnormal, switching the first link interface from the running state to the non-running state, and switching the second link interface from the non-running state to the running state.
Optionally, the first device is configured to send a target packet to the switching device;
and the switching equipment is used for determining that the communication link between the switching equipment and the first user equipment is normal if the target message is received within the target time length.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a communication system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a flow processing method according to an embodiment of the present application;
fig. 3 is a schematic diagram of a communication scenario provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a flow processing device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application and in the above-described figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those elements but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the application provides a traffic processing method, which is applied to the field of communication, and can ensure that service traffic is accurately forwarded to corresponding master equipment when user equipment comprises the master equipment and slave equipment, thereby improving communication efficiency.
Referring to fig. 1, a schematic structural diagram of a communication system provided in this embodiment of the present application is provided, where the communication system includes a switching device 10 and a user device 20, the user device includes a first user device 201 and a second user device 202, one end of the switching device 10 is communicatively connected to a base station, the other end of the switching device 10 is respectively connected to the first user device 201 and the second user device 202, and the first user device 201 and the second user device are configured with the same network address and can both transmit a target packet with the switching device 10. The target message representation can interact aggregation information of the user equipment and the switching equipment so that the user equipment and the switching equipment can agree on the knowledge of communication link aggregation based on the aggregation information, namely, after the switching equipment successfully transmits the target message with the user equipment, the switching equipment can determine whether a communication link between the switching equipment and the user equipment is normal or not, and if the communication link is normal, the switching equipment can be used for subsequent transmission of target traffic, wherein the target traffic refers to traffic data needing to be transmitted between a base station and the user equipment. The target message is a message which can be generated based on a corresponding communication protocol, so that the transmitting double-side can determine whether the transmission link is normal or not based on the target message, for example, the target message is a message generated based on an LACP (Link Aggregation Control Protocol ), the LACP protocol is divided into a dynamic mode and a static mode, the dynamic mode mainly uses LACP protocol protection interaction judgment to detect the state of the link, and the static mode mainly judges the state of the link through whether a port is opened or not. Thus, the status of the communication link may be determined by the user equipment transmitting the target message with the switching device based on the knowledge of the aggregation of the communication links by the aggregation information.
The first user equipment can be a master device, the second user equipment can be a slave device of the first user equipment, and the first user equipment and the second user equipment have the same network address, so that no matter the first user equipment or the second user equipment is working, the address resolution protocol is unchanged for a base station or a switching device, and no network address drift phenomenon occurs for the switching device.
Correspondingly, referring to fig. 2, a flow chart of a flow processing method provided in an embodiment of the present application may include the following steps:
s201, if the communication link between the first user equipment and the first user equipment is determined to be normal based on the target message transmitted by the first user equipment, transmitting target flow data to the first user equipment.
S202, if the communication link between the first user equipment and the second user equipment is abnormal, transmitting the target flow data to the second user equipment.
When the switching device and the first user device transmit the target message, the first user device may be a target message receiving end or a target message transmitting end. When the first user equipment is used as a sending end of the target message, and the switching equipment is used as a receiving end of the target message, after receiving the target message sent by the first user equipment, the switching equipment analyzes the target message to obtain communication link aggregation information corresponding to the target message, and if the knowledge of the communication link aggregation based on the aggregation information agrees, the communication link between the first user equipment and the second user equipment is normal, the target flow data sent by the base station can be transmitted to the first user equipment. If the analysis result shows that the communication link between the two is abnormal, the method switches to the standby equipment of the first user equipment, namely the second user equipment, and transmits the target flow data to the second user equipment.
In order to facilitate the switching between the first user equipment and the second user equipment, in the embodiment of the present application, the state of a communication link between the first user equipment and the second user equipment is determined by the switching device, and the transmission of the target traffic data is performed based on a normal communication link. In one implementation manner in this embodiment of the present application, the switching device includes at least a first link interface and a second link interface, where the first link interface is configured to be communicatively connected to the first user equipment, and the second link port is configured to be communicatively connected to the second user equipment, and when the first link interface is in an operational state, the second link interface is in a non-operational state. This may enable the switching device to automatically forward traffic data based on the state of the link interface. Thus, the method further comprises: and if the communication link between the first user equipment and the first link interface is abnormal, switching the first link interface from the running state to the non-running state, and switching the second link interface from the non-running state to the running state.
The link interfaces corresponding to the running state representation are opened, and the link states corresponding to the non-running state representation are closed. The link state is determined through the target message transmitted between the switching equipment and the user equipment, so that the corresponding interface state is controlled, the corresponding link state can be determined after the corresponding interface state is detected later, and the transmission of the flow data is more accurately carried out. For example, the first link interface and the second link interface may be LACP ports, which are configured, and the switching device includes a plurality of ports for inputting and/or outputting traffic data to the user device. In practical application, the state of each LACP link of the current device can be determined according to the current state of the LACP port, and when the state of the LACP port is detected to be in a closed state, it is indicated that the LACP link corresponding to the port has a fault, and the transmission of traffic data cannot be performed through the link.
In the embodiment of the application, before transmitting the target traffic data, whether the communication link between the switching device and the user equipment is normal or not can be determined by transmitting the target message between the switching device and the user equipment. If the receiving duration is exceeded, it is indicated that the target message cannot be received normally, i.e. the communication link is abnormal. Correspondingly, in an embodiment, the determining that the communication link with the first user equipment is normal based on the target message transmitted with the first user equipment includes: if the first user equipment sends the target message to the switching equipment, determining whether the target message is received within a target duration; and if so, determining that the communication link with the first user equipment is normal.
Further, switching the first link interface from the operational state to the non-operational state includes: if the target message sent by the first user equipment is not received within the target time, switching the first link interface from the running state to the waiting state; switching the second link interface from the non-operation state to the operation state, and transmitting the target message to the second user equipment through the second link interface; and if the second user equipment receives the target message within the target time, switching the first link interface from a waiting state to a non-running state. When the time for transmitting the target message with the first user equipment is over, the corresponding interface state enters a waiting state, such as waiting for whether the target message can be received or not for a period of time. And transmitting a target message through the second link interface, if the target message is successfully transmitted through the second link interface in the target time length, determining the state of the second link interface as an operation state, and switching the first link interface from a waiting state to a non-operation state at the moment.
Because the network addresses of the first user equipment and the second user equipment are the same, after knowing the network addresses, the target traffic data can be transmitted to the corresponding first user equipment or second user equipment. In one embodiment, the transmitting the target traffic data to the first user equipment includes:
resolving and obtaining a network address of the first user equipment;
transmitting the network address to the base station, so that the base station transmits target traffic data to the first user equipment based on the network address.
Wherein transmitting the target traffic data to a second user equipment comprises: the base station transmits target traffic data to a second user device based on the network address.
In order to ensure the accuracy and efficiency of data transmission, the state of each link can be circularly detected, and the state of the corresponding interface is switched, so that the subsequent flow data transmission is facilitated. In one embodiment, the method further comprises:
circularly detecting a second link interface in an operation state;
and if the detection result shows that the target message sent by the first user equipment connected based on the second link interface is not received within the target time, switching the second link interface from the running state to the non-running state.
The status of the various interfaces may be checked in a round robin fashion to match the more accurate status for each interface. For example, when the second link interface is currently in an operation state, if the transmission of the target message through the second link interface is overtime in the next detection period, the operation state of the second link interface is switched to a non-operation state.
Referring to fig. 3, a schematic diagram of a communication scenario is provided in an embodiment of the present application. In the communication scenario in fig. 3 is a primary and backup UPF (user plane function) device scenario, where one UPF is a primary user equipment and the other is a backup user equipment, traffic data needs to be transmitted between the base station and the user equipment. In fig. 3, the switch device is denoted by SW, the primary user device is denoted by upf, the standby user device is denoted by upf, and the link state is determined between the switch device SW and the user device by LACP (link aggregation control protocol) transmission messages.
Specifically, the LACP aggregation interface is opened on the switch device SW, and the opposite end of the LACP is simulated on upf. Only the master upf interacts LACP protocol messages with the switching device, and only one of the 2 member interfaces of the switching device, which is the interface corresponding to the master upf, enters an operational state, and at this time, traffic is sent to the master upf. When the main upf fails, the interface that interacts with the main upf will timeout to enter a waiting state, and upf from the other interface (i.e. the standby upf interface) will start interacting with the LACP protocol, so that the switching device switches the standby upf interface from the non-operating state to the operating state, and the base station forwards the traffic to the standby upf. Wherein both upf use the same LACP system identification Information (ID) and priority and the interface uses the same network address including an IP address (InternetProtocol Address ) and a MAC address (MediaAccess ControlAddress, media access control address).
Since the interfaces of the two user devices are configured with exactly the same IP address and will use exactly the same mac address, whether the primary or backup upf is in operation, the address resolution protocol (ARP, address ResolutionProtocol) is constant for the base station or gateway and no mac address drift occurs for the switching device at both interfaces. And the accuracy of flow data transmission is improved.
In another embodiment of the present application, referring to fig. 4, the apparatus is applied to a switching device, where one end of the switching device is communicatively connected to a base station, and the other end of the switching device is communicatively connected to a user device, where the user device includes a first user device and a second user device, and the first user device and the second user device are configured with the same network address and are each capable of transmitting a target packet with the switching device, and the target packet characterizes aggregation information capable of interacting between the user device and the switching device, so that knowledge of aggregation of communication links by the user device and the switching device can be consistent based on the aggregation information, where the apparatus includes:
a first transmission unit 301, configured to, if it is determined that a communication link with the first user equipment is normal based on the target packet transmitted with the first user equipment, transmit target traffic data to the first user equipment;
and the second transmission unit 302 is configured to transmit the target traffic data to a second user equipment if it is determined that the communication link between the second user equipment and the first user equipment is abnormal.
Optionally, the switching device includes at least a first link interface and a second link interface, where the first link interface is configured to be communicatively connected to the first user device, and the second link port is configured to be communicatively connected to the second user device, and when the first link interface is in an operational state, the second link interface is in a non-operational state, and the apparatus further includes:
and the state switching unit is used for switching the first link interface from the running state to the non-running state and switching the second link interface from the non-running state to the running state if the communication link between the first link interface and the first user equipment is abnormal.
Optionally, the first transmission unit includes:
the first determining subunit is configured to determine whether the target packet is received within a target duration if the first user equipment sends the target packet to the switching device;
and the second determining subunit is used for determining that the communication link with the first user equipment is normal if the communication link with the first user equipment is normal.
Optionally, the state switching unit includes:
a first switching subunit, configured to switch, if a target packet sent by a first user equipment is not received within a target time, the first link interface from an operation state to a waiting state;
the first transmission subunit is used for switching the second link interface from a non-operation state to an operation state and transmitting a target message to second user equipment through the second link interface;
and the second switching subunit is used for switching the first link interface from the waiting state to the non-running state if the second user equipment receives the target message within the target time.
Optionally, the first transmission unit is specifically configured to:
resolving and obtaining a network address of the first user equipment;
transmitting the network address to the base station, so that the base station transmits target traffic data to first user equipment based on the network address;
wherein the second transmission unit is specifically configured to: the base station transmits target traffic data to a second user device based on the network address.
Optionally, the apparatus further comprises:
the detection unit is used for circularly detecting the second link interface in the running state; and if the detection result shows that the target message sent by the first user equipment connected based on the second link interface is not received within the target time, switching the second link interface from the running state to the non-running state.
It should be noted that, the specific implementation of each unit and sub-unit in this embodiment may refer to the corresponding content in the foregoing, which is not described in detail herein.
Correspondingly, in the embodiment of the application, there is also provided a communication system, which includes:
the switching equipment and the user equipment comprise first user equipment and second user equipment;
one end of the switching equipment is in communication connection with the base station, and the other end of the switching equipment is in communication connection with the user equipment; the first user equipment and the second user equipment are configured with the same network address and can both transmit target messages with the switching equipment, and the target messages represent aggregation information capable of interacting the user equipment and the switching equipment so that the user equipment and the switching equipment can agree on the knowledge of communication link aggregation based on the aggregation information;
the switching device is configured to, if it is determined that a communication link between the switching device and the first user device is normal based on the target packet transmitted to the first user device, transmit target traffic data to the first user device; and if the communication link between the target flow data and the first user equipment is abnormal, transmitting the target flow data to second user equipment.
Optionally, the switching device at least includes a first link interface and a second link interface, where the first link interface is used to be communicatively connected with the first user device, and the second link port is used to be communicatively connected with the second user device, and when the first link interface is in an operation state, the second link interface is in a non-operation state;
the switching device is further configured to: and if the communication link between the first user equipment and the first link interface is abnormal, switching the first link interface from the running state to the non-running state, and switching the second link interface from the non-running state to the running state.
Optionally, the first device is configured to send a target packet to the switching device;
and the switching equipment is used for determining that the communication link between the switching equipment and the first user equipment is normal if the target message is received within the target time length.
Optionally, the first user equipment is configured to send a target packet to the switching device;
the switching device is configured to switch the first link interface from an operation state to a waiting state if the target message sent by the first user equipment is not received within a target time; switching the second link interface from a non-operation state to an operation state, and transmitting a target message to second user equipment through the second link interface; and if the second user equipment receives the target message within the target time, switching the first link interface from a waiting state to a non-running state.
Optionally, the switching device is further configured to:
resolving and obtaining a network address of the first user equipment;
transmitting the network address to the base station, so that the base station transmits target traffic data to first user equipment based on the network address; wherein transmitting the target traffic data to a second user equipment comprises: the base station transmits target traffic data to a second user device based on the network address.
Optionally, the switching device is further configured to:
circularly detecting a second link interface in an operation state;
and if the detection result shows that the target message sent by the first user equipment connected based on the second link interface is not received within the target time, switching the second link interface from the running state to the non-running state.
In another embodiment of the present application, there is also provided a readable storage medium having stored thereon a computer program which, when executed by a processor, implements a flow processing method as set forth in any one of the above.
In another embodiment of the present application, there is further provided a switching device, one end of the switching device is communicatively connected to a base station, the other end of the switching device is communicatively connected to a user device, the user device includes a first user device and a second user device, the first user device and the second user device are configured with the same network address, and each of the first user device and the second user device is capable of transmitting a target packet with the switching device, the target packet characterizes aggregation information capable of interacting with the switching device, so that the user device and the switching device can agree on a knowledge of communication link aggregation based on the aggregation information, and the switching device is configured to:
if the communication link between the first user equipment and the first user equipment is determined to be normal based on the target message transmitted by the first user equipment, transmitting target flow data to the first user equipment;
and if the communication link between the first user equipment and the second user equipment is abnormal, transmitting the target flow data to the second user equipment.
Optionally, the switching device at least includes a first link interface and a second link interface, where the first link interface is used to be communicatively connected with the first user device, the second link port is used to be communicatively connected with the second user device, and when the first link interface is in an operational state, the second link interface is in a non-operational state, and the switching device is used to:
and if the communication link between the first user equipment and the first link interface is abnormal, switching the first link interface from the running state to the non-running state, and switching the second link interface from the non-running state to the running state.
Optionally, the determining that the communication link between the first ue and the second ue is normal based on the target packet transmitted with the first ue includes:
if the first user equipment sends the target message to the switching equipment, determining whether the target message is received within a target duration;
and if so, determining that the communication link with the first user equipment is normal.
Optionally, the switching the first link interface from the operation state to the non-operation state includes:
if the target message sent by the first user equipment is not received within the target time, switching the first link interface from an operation state to a waiting state;
switching the second link interface from a non-operation state to an operation state, and transmitting a target message to second user equipment through the second link interface;
and if the second user equipment receives the target message within the target time, switching the first link interface from a waiting state to a non-running state.
Optionally, the transmitting the target traffic data to the first user equipment includes:
resolving and obtaining a network address of the first user equipment;
transmitting the network address to the base station, so that the base station transmits target traffic data to first user equipment based on the network address; wherein transmitting the target traffic data to a second user equipment comprises: the base station transmits target traffic data to a second user device based on the network address.
Optionally, the switching device is further configured to:
circularly detecting a second link interface in an operation state;
and if the detection result shows that the target message sent by the first user equipment connected based on the second link interface is not received within the target time, switching the second link interface from the running state to the non-running state.
It should be noted that, the specific implementation of the switching device in this embodiment may refer to the corresponding content in the foregoing, which is not described in detail herein.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A traffic handling method applied to a switching device, one end of the switching device being communicatively connected to a base station, the other end of the switching device being communicatively connected to a user device, the user device comprising a first user device and a second user device, the first user device and the second user device being configured with the same network address and each being capable of transmitting a target message with the switching device, the target message characterizing aggregation information capable of interacting between the user device and the switching device, such that the user device and the switching device are capable of agreeing upon knowledge of a communication link aggregation based on the aggregation information, the method comprising:
if the communication link between the first user equipment and the first user equipment is determined to be normal based on the target message transmitted by the first user equipment, transmitting target flow data to the first user equipment;
and if the communication link between the first user equipment and the second user equipment is abnormal, transmitting the target flow data to the second user equipment.
2. The method of claim 1, the switching device comprising at least a first link interface for communication connection with the first user device and a second link interface for communication connection with a second user device, the second link interface being in a non-operational state when the first link interface is in an operational state, further comprising:
and if the communication link between the first user equipment and the first link interface is abnormal, switching the first link interface from the running state to the non-running state, and switching the second link interface from the non-running state to the running state.
3. The method of claim 2, the determining that the communication link with the first user equipment is normal based on the target message transmitted with the first user equipment, comprising:
if the first user equipment sends the target message to the switching equipment, determining whether the target message is received within a target duration;
and if so, determining that the communication link with the first user equipment is normal.
4. The method of claim 3, the switching the first link interface from an operational state to a non-operational state comprising:
if the target message sent by the first user equipment is not received within the target time, switching the first link interface from an operation state to a waiting state;
switching the second link interface from a non-operation state to an operation state, and transmitting a target message to second user equipment through the second link interface;
and if the second user equipment receives the target message within the target time, switching the first link interface from a waiting state to a non-running state.
5. The method of claim 1, the transmitting the target traffic data to the first user device, comprising:
resolving and obtaining a network address of the first user equipment;
transmitting the network address to the base station, so that the base station transmits target traffic data to first user equipment based on the network address; wherein transmitting the target traffic data to a second user equipment comprises: the base station transmits target traffic data to a second user device based on the network address.
6. The method of claim 2, the method further comprising:
circularly detecting a second link interface in an operation state;
and if the detection result shows that the target message sent by the first user equipment connected based on the second link interface is not received within the target time, switching the second link interface from the running state to the non-running state.
7. A traffic handling apparatus, the apparatus being applied to a switching device, one end of the switching device being communicatively connected to a base station, the other end of the switching device being communicatively connected to a user device, the user device comprising a first user device and a second user device, the first user device and the second user device being configured with a same network address and each being capable of transmitting a target message with the switching device, the target message characterizing aggregation information capable of interacting between the user device and the switching device, such that knowledge of communication link aggregation by the user device and the switching device based on the aggregation information is consistent, the apparatus comprising:
the first transmission unit is used for transmitting target flow data to the first user equipment if the communication link between the first transmission unit and the first user equipment is determined to be normal based on the target message transmitted by the first user equipment;
and the second transmission unit is used for transmitting the target flow data to the second user equipment if the communication link between the second user equipment and the first user equipment is abnormal.
8. A communication system, comprising:
the switching equipment and the user equipment comprise first user equipment and second user equipment;
one end of the switching equipment is in communication connection with the base station, and the other end of the switching equipment is in communication connection with the user equipment; the first user equipment and the second user equipment are configured with the same network address and can both transmit target messages with the switching equipment, and the target messages represent aggregation information capable of interacting the user equipment and the switching equipment so that the user equipment and the switching equipment can agree on the knowledge of communication link aggregation based on the aggregation information;
the switching device is configured to, if it is determined that a communication link between the switching device and the first user device is normal based on the target packet transmitted to the first user device, transmit target traffic data to the first user device; and if the communication link between the target flow data and the first user equipment is abnormal, transmitting the target flow data to second user equipment.
9. The communication system of claim 8, the switching device comprising at least a first link interface for communication connection with the first user device and a second link interface for communication connection with a second user device, the second link interface being in a non-operational state when the first link interface is in an operational state;
the switching device is further configured to: and if the communication link between the first user equipment and the first link interface is abnormal, switching the first link interface from the running state to the non-running state, and switching the second link interface from the non-running state to the running state.
10. The communication system of claim 9, the first device to send a target message to the switching device;
and the switching equipment is used for determining that the communication link between the switching equipment and the first user equipment is normal if the target message is received within the target time length.
CN202311550848.7A 2023-11-20 2023-11-20 Traffic processing method, traffic processing device and communication system Pending CN117479226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311550848.7A CN117479226A (en) 2023-11-20 2023-11-20 Traffic processing method, traffic processing device and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311550848.7A CN117479226A (en) 2023-11-20 2023-11-20 Traffic processing method, traffic processing device and communication system

Publications (1)

Publication Number Publication Date
CN117479226A true CN117479226A (en) 2024-01-30

Family

ID=89631174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311550848.7A Pending CN117479226A (en) 2023-11-20 2023-11-20 Traffic processing method, traffic processing device and communication system

Country Status (1)

Country Link
CN (1) CN117479226A (en)

Similar Documents

Publication Publication Date Title
EP1919138B1 (en) A method for implementing backup of the uplink
CN100459601C (en) Method for realizing active/standby gateway apparatus in network
EP1391079B1 (en) Method and system for implementing a fast recovery process in a local area network
EP2536066A1 (en) Link detecting method, apparatus and system
CN100561977C (en) Fast rerouting method during a kind of a plurality of ports share transmission link
CN100589408C (en) A communication network connection method and its device
CN101132320A (en) Method for detecting interface trouble and network node equipment
CN101595686A (en) Trigger the flow analysis at intermediate equipment place
JP2006352259A (en) Device and method for detecting network failure
CN101425942A (en) Method, apparatus and system for bidirectional forwarding detection implementation
EP3029883B1 (en) Network protection method and apparatus, next-ring node, and system
CN101197733A (en) Automatic detection method and device for network connectivity
EP2822234A1 (en) Relay device, relay device control method, and network system
CN102447639B (en) A kind of policy routing method and device
US20090006650A1 (en) Communication device, communication method, communication interface, and program product
CN101808021A (en) Fault detection method, device and system, message statistical method and node equipment
CN111030877A (en) Main/standby equipment switching method and device
CN101808043B (en) Method and device for detecting service message forwarding state of TRUNK members
CN101702712A (en) Detection technology and voice call backup linkage method and device thereof
US20070115838A1 (en) Method and system for loop-back and continue in packet-based network
CN112543128B (en) Bidirectional forwarding detection control packet for indicating maintenance mode operation
CN101848165B (en) The method recovered after controlling interrupted communication link and interface board
CN110224916B (en) Message processing method and device and message packaging method, device and system
CN117479226A (en) Traffic processing method, traffic processing device and communication system
WO2022007861A1 (en) Failure notification method 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