Message processing method, server, and storage medium

By suppressing the active transmission of messages when the vBRAS-UP device is isolated, the MAC drift problem caused by the inability of the vBRAS-UP device to communicate is resolved, ensuring the normal service forwarding of user equipment.

WO2026001584A1PCT designated stage Publication Date: 2026-01-02ZTE CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/098844
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-06-29
Filing Date
2025-06-03
Publication Date
2026-01-02

AI Technical Summary

Technical Problem

When the vBRAS-UP device is unable to communicate with the CP device, it causes users to continuously perform MAC address drift between the two UP devices, affecting normal service forwarding.

Method used

If the vBRAS-UP device is determined to be an islanded device, suppress the sending of proactively sent messages to user equipment, and only send messages in response to user equipment.

Benefits of technology

This avoids MAC address drift of user equipment between two UP devices, ensuring normal forwarding of user data and stability of services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025098844_02012026_PF_FP_ABST
    Figure CN2025098844_02012026_PF_FP_ABST
Patent Text Reader

Abstract

The present application discloses a message processing method, a server, and a storage medium. The message processing method comprises: acquiring a message to be sent, wherein the message to be sent is a message to be sent to a user device; and upon determining that a virtual broadband remote access server user plane (vBRAS-UP) device is an isolated device and a message type of the message to be sent is a proactive message type, suppressing the sending of the message to be sent to the user device.
Need to check novelty before this filing date? Find Prior Art

Description

Message processing method, server and storage medium

[0001] Cross-reference to related applications

[0002] The present application claims priority from the Chinese patent application No. 202410863862.0 filed on June 29, 2024, and entitled "Message processing method, server and storage medium", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0003] The present application belongs to the technical field of data processing, and particularly relates to a message processing method, a server and a storage medium. BACKGROUND

[0004] A virtual broadband remote access server (vBRAS) device based on separation of forwarding and control includes a vBRAS control plane (vBRAS-CP) and a vBRAS user plane (vBRAS-UP). The vBRAS-CP is responsible for access control and policy of a user, and the vBRAS-UP is responsible for completing forwarding plane functions such as user service traffic forwarding and traffic control. The CP device and the UP device communicate through a control plane interface protocol.

[0005] In the related art, in order to avoid UP device failure, pool backup is performed on the UP device by the CP device. When the UP device cannot communicate with the CP device, the CP device switches the related service of the UP device to another UP device, that is, the user is notified to perform pool backup protection switching to another UP device. However, since the original UP device can still normally forward service traffic, the user constantly performs Media Access Control (MAC) drift between the two UPs, which affects normal service forwarding of the user. SUMMARY

[0006] The present application aims to provide a message processing method, a server and a storage medium, which at least solve the problem that in the related art, when the UP device cannot communicate with the CP device but can normally forward services, the user constantly performs MAC drift between the two UPs, which affects normal service forwarding of the user.

[0007] In a first aspect, an embodiment of the present application provides a message processing method, comprising: obtaining a to-be-sent message, the to-be-sent message being a message to be sent to a user equipment; in a case where it is determined that a virtual broadband remote access server user plane (vBRAS-UP) device is an island device and a message type of the to-be-sent message is an active sending message type, suppressing sending of the to-be-sent message to the user equipment.

[0008] In a second aspect, an embodiment of the present application provides a server, comprising: a processor, a memory, and a program or instruction stored in the memory and executable on the processor, the program or instruction being executed by the processor to implement the steps of the method in the first aspect.

[0009] In a third aspect, an embodiment of the present application provides a storage medium, the storage medium storing a program or instruction, the program or instruction being executed by a processor to implement the steps of the method in the first aspect.

[0010] In a fourth aspect, an embodiment of the present application provides a program product, the program product being stored in a storage medium, the program product being executed by at least one processor to implement the steps of the method in the first aspect. BRIEF DESCRIPTION OF DRAWINGS

[0011] FIG. 1 is a flowchart of a message processing method according to an embodiment of the present application;

[0012] FIG. 2 is a schematic diagram of link failure between a UP and a CP according to an embodiment of the present application;

[0013] FIG. 3 is a schematic diagram of a message processing apparatus according to an embodiment of the present application;

[0014] FIG. 4 is a schematic diagram of a server according to an embodiment of the present application. DETAILED DESCRIPTION

[0015] Embodiments of the present application will be described in detail below, examples of which are shown in the drawings, wherein the same or similar notations represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and are only used to explain the present application, and cannot be understood as a limitation of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.

[0016] The terms "first", "second" in the description and claims of the present application can explicitly or implicitly include one or more of the features. In the description of the present application, unless otherwise specified, the meaning of "a plurality of" is two or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / ", generally indicates that the front and rear associated objects are in an "or" relationship.

[0017] In the description of the present application, it should be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the present application.

[0018] In the description of the present application, it should be noted that unless otherwise specified and limited, the terms "mounting", "connecting", "connecting" should be understood broadly, for example, it can be fixedly connected, or it can be detachably connected, or integrally connected; it can be mechanically connected, or it can be electrically connected; it can be directly connected, or it can be indirectly connected through an intermediate medium; it can be the communication inside two elements. For those skilled in the art, the meaning of the above terms in the present application can be understood according to the situation.

[0019] The packet processing method, server and storage medium provided by the embodiments of the present application will be described in detail below in combination with FIGS. 1-4 through embodiments and application scenarios.

[0020] FIG. 1 is a flowchart of a packet processing method provided by an embodiment of the present application. As shown in FIG. 1, the packet processing method can include the contents shown in steps 101-102.

[0021] In S101, a to-be-sent packet is obtained, and the to-be-sent packet is a packet to be sent to a user equipment.

[0022] It should be noted that the to-be-sent packet can be a packet actively sent to the user equipment, or a response packet based on the packet sent by the user equipment for feedback. The packet type can be determined according to the packet format, or it can be determined by other means, and the actual application is subject to the present embodiment.

[0023] In S102, in a case where it is determined that the virtual broadband remote access server user plane vBRAS-UP device is an island device and the message type of the to-be-sent message is an active sending message type, the to-be-sent message is suppressed from being sent to the user equipment.

[0024] The message type can include an active sending message type and a response message type.

[0025] It should be noted that the suppression of the to-be-sent message from being sent to the user equipment means that the to-be-sent message is not sent to the user equipment after being obtained, and the to-be-sent message can be discarded.

[0026] In the embodiments of the present application, the to-be-sent message is first obtained, and the to-be-sent message is a message to be sent to the user equipment. Then, in a case where it is determined that the virtual broadband remote access server user plane vBRAS-UP device is an island device and the message type of the to-be-sent message is an active sending message type, the to-be-sent message is suppressed from being sent to the user equipment. In the embodiments of the present application, the active sending message is suppressed from being sent to the user equipment after it is determined that the vBRAS-UP device is an island device. The active sending message can be interacted with the user equipment without being sent to the user equipment under the premise of normal maintenance of user data forwarding. Thus, the normal sending of user data can be ensured, and the situation that the user constantly performs MAC drift between two vBRAS-UP devices can be avoided.

[0027] In a possible implementation of the present application, after the to-be-sent message is obtained, the message processing method can further include: detecting the state of the vBRAS-UP device; and in a case where the state of the vBRAS-UP device is an island state, detecting the message type of the to-be-sent message, the message type including an active sending message type and a response message type.

[0028] The active sending message type refers to a message that is actively sent by the vBRAS-UP device to the user equipment, and the response message type refers to a message that is generated in response to a user message sent by the user equipment.

[0029] For example, an address resolution protocol (ARP) request is an active sending message type, and an ARP response message is a response message type.

[0030] In the embodiment, in the case of obtaining a to-be-sent packet, the state of the vBRAS-UP device is first detected to determine whether the state of the vBRAS-UP device is an island state, and in the case of detecting that the state of the vBRAS-UP device is the island state, it is further detected whether the packet type of the to-be-sent packet is the active sending packet type or the response packet type, and in the case of the state of the vBRAS-UP device being the island state and the packet type of the to-be-sent packet being the active sending packet type, the sending of the to-be-sent packet is inhibited. Since the vBRAS-UP device determined as the island device does not actively send packets to the user equipment, after the user equipment accesses other vBRAS-UP devices, the user equipment can directly establish a connection with the other vBRAS-UP devices and send packets to the other vBRAS-UP devices, and thus the MAC address drift does not occur, and the normal service forwarding of the user equipment is ensured.

[0031] That is, in the case of obtaining a to-be-sent packet, the state of the vBRAS-UP device is first detected, if the vBRAS-UP device is in a normal state, the obtained to-be-sent packet is directly sent to the user equipment, and it is not necessary to detect the packet type of the to-be-sent packet, that is, the step of detecting the packet type of the to-be-sent packet can be omitted; if the vBRAS-UP device is in an island state, the packet type of the to-be-sent packet is further detected, if the packet type of the to-be-sent packet is a response packet, the to-be-sent packet can be directly sent to the user equipment, and if the packet type of the to-be-sent packet is an active sending packet type, the sending of the to-be-sent packet is inhibited, and thus the MAC address drift does not occur after the user equipment accesses other vBRAS-UP devices, and the service of the user equipment can be normally forwarded.

[0032] In a possible implementation of the present application, after obtaining a to-be-sent packet, the packet processing method can further include: detecting the packet type of the to-be-sent packet, the packet type including an active sending packet type and a response packet type; and in the case of the packet type being the active sending packet type, detecting the state of the vBRAS-UP device.

[0033] That is, in addition to the above-mentioned embodiment of first detecting the state of the vBRAS-UP device and then detecting the packet type of the to-be-sent packet, the packet type of the to-be-sent packet can be first detected, and in the case of the packet type of the to-be-sent packet being the active sending packet type, the state of the vBRAS-UP device is further detected, and in the case of the packet type of the to-be-sent packet being the active sending packet type and the state of the vBRAS-UP device being the island state, the sending of the to-be-sent packet is inhibited. The normal service forwarding of the user equipment can be ensured, and the MAC address drift does not occur.

[0034] That is, in the case of obtaining a to-be-sent packet, the packet type of the to-be-sent packet can be detected first, if the packet type is a response type, the obtained to-be-detected packet is directly sent to the user equipment, without detecting the state of the vBRAS-UP equipment, that is, the step of detecting the state of the vBRAS-UP equipment can be omitted; if the packet type is an active sending packet type, the state of the vBRAS-UP equipment is further detected, if the state of the vBRAS-UP equipment is a normal state, the to-be-sent packet can be directly sent to the user equipment, if the state of the vBRAS-UP equipment is an island state, the to-be-sent packet is inhibited from being sent, so as to ensure the normal service forwarding of the user equipment and avoid MAC address drift.

[0035] In other embodiments, other methods can also be used, for example, in order to quickly determine whether the obtained to-be-sent packet can be sent to the user equipment, the state of the vBRAS-UP equipment and the packet type of the to-be-sent packet can be detected at the same time, as long as it is determined whether the obtained to-be-sent packet can be sent to the user equipment, the present embodiment is not limited, and the actual application is used as the criterion.

[0036] In a possible embodiment of the present application, after detecting the state of the vBRAS-UP equipment, the packet processing method can further include: in the case where the state of the vBRAS-UP equipment is a normal state, sending the to-be-sent packet to the user equipment.

[0037] That is, in the case where the state of the vBRAS-UP equipment is a normal state, it means that the vBRAS-UP equipment is normal, at this time the to-be-sent packet can be directly sent to the user equipment. The normal communication between the vBRAS-UP equipment and the user equipment is ensured.

[0038] In a possible embodiment of the present application, after detecting the packet type of the to-be-sent packet, the packet processing method can further include: in the case where the packet type is a response packet type, sending the to-be-sent packet to the user equipment, the to-be-sent packet being a packet generated in response to a user packet sent by the user equipment.

[0039] In the present embodiment, if the packet type is detected as a response packet type, the to-be-sent packet can be directly sent to the user equipment. That is, in the case where the vBRAS-UP equipment is an island device, the present embodiment only inhibits the packet actively sent to the user equipment, and does not inhibit the packet generated in response to the user packet sent by the user equipment. In the case where the vBRAS-UP equipment is an island device but the user equipment is not accessed to other vBRAS-UP equipment, the vBRAS-UP equipment can normally reply to the user equipment, maintain the normal interaction with the user equipment, and avoid the situation where the user equipment cannot work.

[0040] In a possible implementation of the present application, detecting the state of the vBRAS-UP device can include: detecting a communication state between the vBRAS-UP device and a virtual broadband remote access server control plane vBRAS-CP device; and determining that the state of the vBRAS-UP device is an island state in a case where the communication state is abnormal.

[0041] The number of vBRAS-CP devices can be one, two or more, that is, to avoid the situation that the vBRAS-CP device is damaged and the vBRAS-UP device becomes an island, a networking mode of two vBRAS-CP devices or a networking mode of multiple vBRAS-CP devices can be set, that is, a networking mode of connecting the vBRAS-UP device to two vBRAS-CP devices or multiple vBRAS-CP devices. The number of vBRAS-CP devices is not limited in the embodiment, and is subject to actual application.

[0042] In the embodiment, the vBRAS-UP device becomes an island device in a case where communication between the vBRAS-UP device and the vBRAS-CP device is abnormal. That is, in a case where the vBRAS-CP device cannot receive a packet of the vBRAS-UP device, it is determined that the vBRAS-UP device is abnormal, and at this time, the vBRAS-CP device transfers a user device connected to the vBRAS-UP device to another vBRAS-UP device to ensure normal service forwarding of the user device.

[0043] In a possible implementation of the present application, the communication state abnormality includes at least one of the following: a link abnormality between the vBRAS-UP device and the vBRAS-CP device; and the vBRAS-UP device not receiving a keep-alive packet of the vBRAS-CP device within a preset time period.

[0044] That is, the reason for causing the vBRAS-UP device to become an island device can be a communication state exception, which can be a link exception between the vBRAS-UP device and the vBRAS-CP device, that is, a connection interruption between the vBRAS-UP device and the vBRAS-CP device, the vBRAS-CP device cannot receive the message sent by the vBRAS-UP device, and cannot send the message to the vBRAS-UP device. In this case, the vBRAS-CP device is in a normal state, in order to ensure the normal work of the user device, the vBRAS-UP device no longer actively sends the message to the user device, the vBRAS-CP device can transfer the user device connected with the vBRAS-UP device to other vBRAS-UP device, the user device and the other vBRAS-UP device perform forwarding and protocol interaction, and the original island vBRAS-UP device will not make the user device re-cut back to the island vBRAS-UP device because it will not actively send the message.

[0045] The communication state exception can also be an exception of the vBRAS-CP device. Since the vBRAS-CP device fails, the vBRAS-CP device cannot notify the user device connected with the vBRAS-UP device to perform protection switching, at this time, the vBRAS-UP device in the island state continues to maintain the connection with the user device, and keeps the normal forwarding of the service of the user device that has been online, that is, the vBRAS-UP device can respond to the user message sent by the user device.

[0046] That is, in the case of obtaining the to-be-sent message, the state of the vBRAS-UP device can be determined based on the communication state between the vBRAS-UP device and the vBRAS-CP device, in the case that the communication state between the vBRAS-UP device and the vBRAS-CP device is a normal state, it is indicated that the state of the vBRAS-UP device is a normal state, and in the case of a communication state exception, it is indicated that the state of the vBRAS-UP device is an island state.

[0047] In a possible implementation of the present application, detecting the state of the vBRAS-UP device can include: querying whether the vBRAS-UP device exists a state mark; in the case that the state mark is an island state mark, determining that the vBRAS-UP device is an island device.

[0048] In the embodiment, in addition to determining whether the vBRAS-UP device is an island device by detecting the state of the vBRAS-UP device in the above embodiment, whether the vBRAS-UP device is an island device can also be determined by querying whether the vBRAS-UP device has a state mark, that is, when there is a state mark that is an island state mark, it is determined that the vBRAS-UP device is an island device. That is, after the vBRAS-UP device becomes an island device, the vBRAS-UP device can be marked with an island state mark to indicate that the state of the vBRAS-UP device is an island state, thereby inhibiting the active sending of messages to the user device.

[0049] In an example, the vBRAS-UP device can be marked with an island state mark in response to the state of the vBRAS-UP device being an island state.

[0050] In the embodiment, after detecting that the state of the vBRAS-UP device is an island state, the vBRAS-UP device is marked with an island state mark to facilitate subsequent determination of whether the vBRAS-UP device is an island device, that is, in addition to determining the communication state between the vBRAS-UP device and the vBRAS-CP device as provided in the above embodiment, the state of the vBRAS-UP device can also be determined by querying the state mark of the vBRAS-UP device.

[0051] That is, when the to-be-sent message is obtained, the vBRAS-UP device can be first detected to determine whether it is an island device, that is, the vBRAS-UP device can be determined to be an island device by determining the communication state between the vBRAS-UP device and the vBRAS-CP device, at which time the sending of the to-be-sent message to the user device needs to be inhibited, and in this case, the state of the vBRAS-UP device is not marked.

[0052] The vBRAS-UP device can also be determined to be an island device first, for example, the state of the vBRAS-UP device can be determined to be an island state by the communication state between the BRAS-UP device and the vBRAS-CP device, at which time the vBRAS-UP device is marked with an island state mark, and when the to-be-sent message is obtained, the state mark is queried to be an island state mark, and then the sending of the to-be-sent message to the user device is inhibited.

[0053] Further, in a case that the to-be-sent message is acquired, whether the vBRAS-UP device is an island device can be detected, for example, a state of the vBRAS-UP device can be determined to be an island state through a communication state between the BRAS-UP device and the vBRAS-CP device, at this time, the vBRAS-UP device is marked as an island state, so that in a subsequent determination of whether the vBRAS-UP device is an island device, the state of the vBRAS-UP device can be inquired to determine, and sending the to-be-sent message to the user device is inhibited.

[0054] In a possible implementation of the present application, after the vBRAS-UP device is marked as an island state, the message processing method can further include: in a case that a keep-alive message of the vBRAS-CP device is received, canceling the island state marking of the vBRAS-UP device.

[0055] The keep-alive message of the vBRAS-CP device indicates that the vBRAS-CP device is in a normal state, and a link between the vBRAS-UP device and the vBRAS-CP device is also normal, at this time, the vBRAS-UP device is no longer an island device, and the island state marking of the vBRAS-UP device can be canceled, so that the vBRAS-UP device can normally send the to-be-sent message of the active sending message type to the user device when the to-be-sent message is received. At this time, the vBRAS-CP device can select to migrate the user device back to the original vBRAS-UP device or keep in other vBRAS-UP devices according to the original vBRAS-UP device and other vBRAS-UP devices, and the actual application is used as the criterion, and the present embodiment is not limited.

[0056] In a possible implementation of the present application, after the sending of the to-be-sent message to the user device is inhibited, the message processing method can further include: in a case that the vBRAS-UP device recovers from the island device to the normal device and the to-be-sent message is acquired again, sending the to-be-sent message to the user device.

[0057] That is, after the vBRAS-UP device recovers to the normal state, the to-be-sent message is received again, and whether the to-be-sent message is of the active sending message type or the response message type does not need to be distinguished, and the to-be-sent message can be directly sent to the user device without inhibition. That is, the normal communication with the user device is maintained.

[0058] In an embodiment of the present application, as shown in FIG. 2, the CP device includes CP1 and CP2, and the CP1 and the CP2 are hot backup to each other; the UP device includes UP1 and UP2, and the UP1 and the UP2 are pool backup to each other; the user device is connected to the UP1 and the UP2, and the UP1 and the UP2 are connected to the CP1 and the CP2 respectively.

[0059] In the case that both CP devices are normal and the island is caused by link failure between UP and CP, the link connection between UP1 and CP1 and CP2 is disconnected, UP1 becomes an island device, at this time, CP1 and CP2 cannot keep alive with UP1, after the keep-alive time arrives, CP1 and CP2 notify the user device to switch traffic to UP2 device. After UP1 becomes an island, UP1 device sets an island state flag, and actively sends a message for suppression, if no user message sent by the user device is received, no protocol message is actively sent. The user device migrates to UP2 device based on the notification of the CP device, and establishes a connection with UP2 device, the user device MAC address is learned to UP2 device, and service traffic is forwarded from UP2 device. Since the user device service has been cut from UP1, no user protocol message is sent to UP1 device, UP1 device no longer actively sends a protocol message to the user device, and MAC address drift is not caused, that is, the user device does not perform a link establishment action with UP1, and user traffic can be maintained stable forwarding in UP2 device.

[0060] In the case that both CP devices are abnormal and the island is caused by abnormal CP devices, CP1 and CP2 devices are abnormal, UP1 cannot be connected with CP1 and CP2, and UP1 becomes an island device. After UP1 becomes an island, UP1 device sets an island state flag, and actively sends a message for suppression, if no user message sent by the user device is received, no protocol message is actively sent. At this time, since the CP device is faulty, the CP device cannot notify the user device to switch service, the user device service continues to maintain connection with UP1, and UP1 receives user protocol and keep-alive messages, and responds to the user protocol and keep-alive messages according to the island setting. Since the user device continues to interact with UP1 device, the user device MAC address is learned on UP1 device, and service traffic continues to maintain forwarding on UP1 device, and since the CP cannot respond, new user service cannot be online, and old users will perform service forwarding based on the user forwarding table saved on the existing UP1.

[0061] The embodiment of the application further provides a message processing method, applied to a vBRAS-CP device, and including: in the case that a first vBRAS-UP device does not send a keep-alive message to the vBRAS-CP device within a preset time period, switching a user device connected with the first vBRAS-UP device to a second vBRAS-UP device.

[0062] That is, after the first vBRAS-UP device becomes an island, the vBRAS-CP device migrates the user device connected with the first vBRAS-UP device to the second vBRAS-UP device, to ensure normal service forwarding of the user device.

[0063] In a possible implementation of the present application, in the case that the first vBRAS-UP device receives the keep-alive packet, the user device is switched back to the first vBRAS-UP device or kept connected to the second vBRAS-UP device according to the first vBRAS-UP device and the second vBRAS-UP device.

[0064] That is, in the case that the vBRAS-UP device is no longer an island device, the vBRAS-CP device can select to migrate the user device back to the original vBRAS-UP device or keep it in the other vBRAS-UP device according to the original vBRAS-UP device and the other vBRAS-UP device, and the actual application is subject to the actual application, which is not limited in the present embodiment.

[0065] The present application also provides a packet processing method applied to a user device, comprising: in the case that a migration notification of a vBRAS-CP device is received, disconnecting from a first vBRAS-UP device and establishing a connection with a second vBRAS-UP device; and in the case that the migration notification of the vBRAS-CP device is not received, keeping the connection with the first vBRAS-UP device and sending packets and protocols to the first vBRAS-UP device.

[0066] That is, the user device can migrate services according to the notification of the vBRAS-CP device to ensure normal service forwarding, and if the notification is not received, the user device continues to connect with the original vBRAS-UP device and normally sends packets and protocols to the original vBRAS-UP device.

[0067] In a possible implementation of the present application, in the case that the first vBRAS-UP device becomes an island device, the response packet based on the packets and protocols of the first vBRAS-UP device is received, but the packet actively sent by the first vBRAS-UP device cannot be received. To ensure that the user device can perform normal service forwarding, the MAC drift between the two vBRAS-UP devices does not occur.

[0068] The present application suppresses the active sending behavior of the protocol packet when the vBRAS-UP device becomes an island, that is, no matter what the cause of the vBRAS-UP device island is, the network can stably forward the service traffic, and the network service damage due to MAC address drift in the related art does not occur. The present application can effectively improve the forwarding stability of the vBRAS-UP device, and when the vBRAS-CP device becomes an island, the user data forwarding can be normally maintained, which can effectively improve the stability of the network and improve the network use perception of the user.

[0069] Fig. 3 is a schematic diagram of a packet processing apparatus provided by an embodiment of the present application. As shown in Fig. 3, the packet processing apparatus can include an obtaining module 301 and a processing module 302.

[0070] The obtaining module 301 is configured to obtain a to-be-sent packet, the to-be-sent packet being a packet to be sent to a user equipment; and the processing module 302 is configured to, in a case where it is determined that a virtual broadband remote access server user plane vBRAS-UP device is an island device and a packet type of the to-be-sent packet is an active sending packet type, refrain from sending the to-be-sent packet to the user equipment.

[0071] In an embodiment of the present application, the obtaining module 301 first obtains a to-be-sent packet, the to-be-sent packet being a packet to be sent to a user equipment, and then the processing module 302, in a case where it is determined that a virtual broadband remote access server user plane vBRAS-UP device is an island device and a packet type of the to-be-sent packet is an active sending packet type, refrains from sending the to-be-sent packet to the user equipment. In the embodiment of the present application, after it is determined that the vBRAS-UP device is an island device, the active sending packet is refrained from being sent to the user equipment, which can refrain from actively interacting with the user equipment on the premise of normally maintaining user data forwarding, thereby ensuring normal sending of user data and avoiding the situation that the user constantly performs MAC drift between two vBRAS-UP devices.

[0072] In a possible implementation of the present application, the packet processing apparatus can further include a first detection module and a second detection module.

[0073] The first detection module is configured to detect a state of the vBRAS-UP device; and the second detection module is configured to, in a case where the state of the vBRAS-UP device is an island state, detect a packet type of the to-be-sent packet, the packet type including an active sending packet type and a response packet type.

[0074] In a possible implementation of the present application, the packet processing apparatus can further include a third detection module and a fourth detection module.

[0075] The third detection module is configured to detect a packet type of the to-be-sent packet, the packet type including an active sending packet type and a response packet type; and the fourth detection module is configured to, in a case where the packet type is the active sending packet type, detect a state of the vBRAS-UP device.

[0076] In a possible implementation of the present application, the packet processing apparatus can further include a first sending module.

[0077] The first sending module is configured to send the to-be-sent packet to the user equipment in the case that the state of the vBRAS-UP device is normal.

[0078] In one possible implementation of the present application, the packet processing apparatus can further include a second sending module.

[0079] The second sending module is configured to send the to-be-sent packet to the user equipment in the case of the packet type, the to-be-sent packet being a packet generated in response to a user packet sent by the user equipment.

[0080] In one possible implementation of the present application, the first detection module and the fourth detection module are configured to detect a communication state between the vBRAS-UP device and a virtual wideband remote access server control plane (vBRAS-CP) device, and determine that the state of the vBRAS-UP device is an island state in the case that the communication state is abnormal.

[0081] In one possible implementation of the present application, the abnormal communication state includes at least one of the following: an abnormal link between the vBRAS-UP device and the vBRAS-CP device; and the vBRAS-UP device not receiving a keep-alive packet from the vBRAS-CP device within a preset time period.

[0082] In one possible implementation of the present application, the first detection module and the fourth detection module are configured to query whether the vBRAS-UP device has a state marker, and determine that the vBRAS-UP device is an island device in the case that the state marker is an island state marker.

[0083] In one possible implementation of the present application, the packet processing apparatus can further include a marking module.

[0084] The marking module is configured to mark the vBRAS-UP device as an island state in response to the state of the vBRAS-UP device being an island state.

[0085] In one possible implementation of the present application, the packet processing apparatus can further include a canceling module.

[0086] The canceling module is configured to cancel the island state marker of the vBRAS-UP device in the case that a keep-alive packet from the vBRAS-CP device is received.

[0087] In one possible implementation of the present application, the packet processing apparatus can further include a third sending module.

[0088] The third sending module is configured to send the to-be-sent packet to the user equipment when the vBRAS-UP device recovers from the island device to the normal device and the to-be-sent packet is acquired again.

[0089] The packet processing apparatus provided by the embodiments of the present application can implement each process of the method embodiments of FIGS. 1-2 and achieve the same technical effects. To avoid repetition, details are not described herein.

[0090] As shown in FIG. 4, the embodiments of the present application further provide a server 400, which includes a processor 401, a memory 402, and a program or instruction stored in the memory 402 and executable on the processor 401. The program or instruction is executed by the processor 401 to implement each process of the packet processing method embodiments described above and achieve the same technical effects. To avoid repetition, details are not described herein.

[0091] The embodiments of the present application further provide a storage medium, which stores a program or instruction. The program or instruction is executed by a processor to implement each process of the packet processing method embodiments provided by any of the above embodiments and achieve the same technical effects. To avoid repetition, details are not described herein.

[0092] The processor is the processor in the server described in the above embodiments. The storage medium includes a computer storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0093] The embodiments of the present application further provide a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is configured to execute a program or instruction to implement each process of the packet processing method embodiments described above and achieve the same technical effects. To avoid repetition, details are not described herein.

[0094] It should be understood that the chip mentioned in the embodiments of the present application can also be referred to as a system-level chip, a system chip, a chip system, or a system-on-chip chip.

[0095] The embodiments of the present application further provide a computer program / program product, which is stored in a storage medium. The computer program / program product is executed by at least one processor to implement each process of the packet processing method embodiments described above and achieve the same technical effects. To avoid repetition, details are not described herein.

[0096] The embodiment of the application further provides a processing device configured to execute the processes of the above packet processing method embodiment and achieve the same technical effects. To avoid repetition, details are not described herein.

[0097] It should be noted that, in this document, the terms "comprises", "comprising", or any other variant thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element preceded by "comprises... a" does not, without more constraints, foreclose the existence of additional identical elements in the process, method, article, or apparatus that comprises the element. In addition, it should be noted that the scope of the methods and apparatus of the present embodiments are not limited by the order of the steps or the sequences of the steps, as some steps can occur in different orders and / or concurrently with other steps besides those that are described. Furthermore, features described with respect to some examples can be combined in other examples.

[0098] From the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned method embodiments can be realized by means of software and a necessary general hardware platform, and of course, can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk), and includes a plurality of instructions for causing a terminal (which can be a mobile phone, a computer, a server, or a network device) to execute the methods described in the various embodiments of the present application.

[0099] The embodiments of the present application are described above in combination with the accompanying drawings, but the present application is not limited to the above specific embodiments, and the above specific embodiments are merely illustrative rather than limiting, and those skilled in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the protection scope of the claims, and all of them belong to the protection scope of the present application.

Claims

1. A message processing method, comprising: Obtain the message to be sent, which is the message to be sent to the user equipment; If it is determined that the Virtual Broadband Remote Access Server User Plane vBRAS-UP device is an isolated device and the message type of the message to be sent is an active message type, the sending of the message to be sent to the user equipment is suppressed.

2. The method according to claim 1, wherein, After obtaining the message to be sent, the method further includes: Detect the status of the vBRAS-UP device; When the vBRAS-UP device is in an isolated state, the message type of the message to be sent is detected, and the message type includes active message type and response message type.

3. The method according to claim 1, wherein, After obtaining the message to be sent, the method further includes: The message type of the message to be sent is detected, and the message type includes active message type and response message type; When the message type is an actively sent message type, the status of the vBRAS-UP device is detected.

4. The method according to claim 2 or 3, wherein, After detecting the status of the vBRAS-UP device, the method further includes: When the vBRAS-UP device is in a normal state, the message to be sent is sent to the user equipment.

5. The method according to claim 2 or 3, wherein, After detecting the message type of the message to be sent, the method further includes: When the message type is a response message type, the message to be sent is sent to the user equipment, and the message to be sent is a message generated in response to a user message sent by the user equipment.

6. The method according to claim 2 or 3, wherein, The detection of the status of the vBRAS-UP device includes: Detect the communication status between the vBRAS-UP device and the vBRAS-CP device on the control plane of the virtual broadband remote access server; In the event of an abnormal communication status, the vBRAS-UP device is determined to be in an isolated state.

7. The method according to claim 6, wherein, The communication status anomaly includes at least one of the following: The link between the vBRAS-UP device and the vBRAS-CP device is abnormal; The vBRAS-UP device did not receive a keep-alive message from the vBRAS-CP device within the preset time period.

8. The method according to claim 2 or 3, wherein, The detection of the status of the vBRAS-UP device includes: Query whether the vBRAS-UP device has a status flag; If the status flag is an islanded status flag, the vBRAS-UP device is determined to be an islanded device.

9. The method according to claim 8, wherein, Before acquiring the message to be sent, the method includes: In response to the vBRAS-UP device being in an islanded state, an islanded state marker is set for the vBRAS-UP device.

10. The method according to claim 9, wherein, After marking the vBRAS-UP device as islanded, the method further includes: Upon receiving a keep-alive message from the vBRAS-CP device, cancel the islanded status flag of the vBRAS-UP device.

11. The method according to claim 1, wherein, After suppressing the transmission of the message to be sent to the user equipment, the method further includes: When the vBRAS-UP device recovers from the isolated device to a normal device and obtains the message to be sent again, it sends the message to be sent to the user equipment.

12. A server comprising a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the method as claimed in any one of claims 1 to 11.

13. A storage medium storing a program or instructions that, when executed by a processor, implement the steps of the method as claimed in any one of claims 1 to 11.

14. A program product stored in a storage medium, the program product being executed by at least one processor to implement the steps of the method as claimed in any one of claims 1 to 11.

Citation Information

Patent Citations

  • Master-standby switching method, system control unit and communication system

    CN102257759A

  • Message processing method in the process of PPPoE authentication and related equipment

    CN104852974A

  • Backup method, device and equipment for forwarding / control separation of BRAS (Broadband Remote Access Server) and machine readable storage medium

    CN108512703A

  • Message processing method and device, and storage medium

    CN113037599A

  • Message transmission method, device, equipment, system and computer readable storage medium

    CN118264536A