Information processing method and device, broadband access server, and storage medium

By using the attribute tables of the first cascade routing information and the second cascade routing information, a cascade backup group is formed and processing priority is updated, which solves the problem that devices from different manufacturers cannot be backed up on both machines, and normal transmission of data packets is achieved and the convenience of network layout meets the operator's high availability requirements for core equipment.

CN114430310BActive Publication Date: 2024-12-24NANJING ZHONGXING XIN SOFTWARE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202011178714.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-29
Publication Date
2024-12-24
Estimated Expiration
2040-10-29

AI Technical Summary

Technical Problem

Devices between different manufacturers cannot achieve dual-machine backup, which affects the operator's network layout, and traditional equipment redundant backup solutions cannot meet the requirements of core equipment.

Method used

By using the first cascaded port attribute table of the first cascaded routing information and the second cascaded routing information, devices of different backup groups form a cascaded backup group, and no keep-alive messages are received within the preset time period. Update the attribute table to ensure the priority of data packet processing and realize the backup of the failed device.

Benefits of technology

Dual-machine backup between equipment from different manufacturers is realized, ensuring the normal transmission of data packets and the convenience of network layout, and meeting the operator's high availability requirements for core equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114430310B_ABST
    Figure CN114430310B_ABST
Patent Text Reader

Abstract

The present invention provides an information processing method and device thereof, a broadband access server, and a storage medium. The information processing method includes: in the case of receiving a data message through a second port, when a first keep-alive message from a first port of a first device is not received within a preset time period, and according to a first cascade port attribute table, it is determined that the message processing priority of the first port is the highest priority and the message processing priority of the second port is the second highest priority, then the first cascade port attribute table is updated so that the message processing priority of the second port is the highest priority, and the data message is forwarded; wherein the first cascade port attribute table includes first cascade routing information and second cascade routing information for forming a cascade backup group with the first port and the second port. According to the solution provided by an embodiment of the present invention, by utilizing the first cascade port attribute table, dual-machine backup of devices from different manufacturers is achieved, thereby facilitating the network deployment of operators.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to, but are not limited to, the field of communication technology, and in particular, to an information processing method and device thereof, a broadband access server, and a computer-readable storage medium. Background Art

[0002] With the continuous development of network technology, metropolitan area networks have gradually evolved into converged networks oriented to Internet Protocol (IP) bearer. Compared with traditional services, emerging services are more sensitive to failures and the losses caused by failures are more serious. Therefore, the traditional redundant backup of key components of equipment and link layer redundant backup can no longer meet the requirements of operators for core equipment, so dual-machine hot standby technology came into being.

[0003] Dual-machine hot standby technology is a service-layer backup solution that can perform real-time backup, smooth switching, and no user perception between devices. When performing dual-machine backup, the active device and the backup device will form an autonomous system, which completes the processing of backup events internally without changing the behavior characteristics of external devices. Users and background devices have no perception of device switching within the autonomous system. However, since the dual-machine hot standby protocols used by devices from different manufacturers are different, dual-machine backup cannot be achieved between devices from different manufacturers, which will affect the network deployment of operators. Summary of the invention

[0004] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.

[0005] The embodiments of the present invention provide an information processing method, device, broadband access server and computer-readable storage medium, which can realize dual-machine backup of equipment between different manufacturers, thereby facilitating network deployment of operators.

[0006] In a first aspect, an embodiment of the present invention provides an information processing method, which is applied to a second device, where the second device is provided with a second port belonging to a second backup group, and the method includes:

[0007] In the case where a data message is received through the second port, when no first keep-alive message is received from the first port of the first device within a preset time period, and it is determined according to the first cascade port attribute table that the message processing priority of the first port is the highest priority and the message processing priority of the second port is the second highest priority, then the first cascade port attribute table is updated so that the message processing priority of the second port is the highest priority, and the data message is forwarded;

[0008] Among them, the first port belongs to a first backup group; the first cascade port attribute table includes first cascade routing information and second cascade routing information, the first cascade routing information and the second cascade routing information are used to make the first port and the second port form a cascade backup group, the first cascade routing information is also used to indicate the message processing priority of the first port, and the second cascade routing information is also used to indicate the message processing priority of the second port; the first keep-alive message is used to enable the second device to maintain the first cascade routing information in the first cascade port attribute table.

[0009] In a second aspect, an embodiment of the present invention further provides an information processing device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the information processing method as described in the first aspect above is implemented.

[0010] In a third aspect, an embodiment of the present invention further provides a broadband access server, comprising the information processing device according to the second aspect as described above.

[0011] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the information processing method as described above.

[0012] An embodiment of the present invention includes: when a second device receives a data message through a second port, when a first keep-alive message is not received from a first port of a first device within a preset time period, and it is determined according to a first cascade port attribute table that the message processing priority of the first port is the highest priority and the message processing priority of the second port is the second highest priority, then the first cascade port attribute table is updated so that the message processing priority of the second port is the highest priority, and the data message is forwarded; wherein the second port belongs to a second backup group and the first port belongs to a first backup group; the first cascade port attribute table includes first cascade routing information and second cascade routing information, the first cascade routing information and the second cascade routing information are used to form a cascade backup group with the first port and the second port, the first cascade routing information is also used to indicate the message processing priority of the first port, and the second cascade routing information is also used to indicate the message processing priority of the second port; the first keep-alive message is used to enable the second device to maintain the first cascade routing information in the first cascade port attribute table. According to the solution provided by the embodiment of the present invention, by utilizing the first cascade port attribute table including the first cascade routing information and the second cascade routing information, the first port and the second port belonging to different backup groups form a cascade backup group, thereby realizing dual-machine backup of equipment between different manufacturers, which can facilitate the network deployment of the operator; in addition, in the case of receiving a data message through the second port, when the first keep-alive message from the first port is not received within the preset time period, it means that the first device is currently in a fault state. At this time, the second device updates the first cascade port attribute table so that the message processing priority of the second port is the highest priority, and forwards the data message through the second port, that is, the second port realizes the backup function of the message processing of the first port, thereby maintaining the normal transmission of the data message.

[0013] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.

[0015] Figure 1 is a schematic diagram of a system architecture for executing an information processing method provided by an embodiment of the present invention;

[0016] Figure 2 is a flow chart of an information processing method provided by an embodiment of the present invention;

[0017] Figure 3 is a flow chart of an information processing method provided by another embodiment of the present invention;

[0018] Figure 4 is a flow chart of an information processing method provided by another embodiment of the present invention;

[0019] Figure 5 is a flow chart of an information processing method provided by another embodiment of the present invention;

[0020] Figure 6 is a schematic diagram of the structure of a first cascade information field provided by an embodiment of the present invention;

[0021] Figure 7 is a schematic diagram of the structure of the Data field in the first cascade information field provided by another embodiment of the present invention;

[0022] Figure 8 is a flowchart of constructing a first cascade port attribute table in an information processing method provided by another embodiment of the present invention;

[0023] Fig. 9 is a schematic diagram of the structure of a first cascade port attribute table provided by an embodiment of the present invention;

[0024] Fig.10 is a flow chart of an information processing method provided by another embodiment of the present invention;

[0025] Fig.11 is a flowchart of maintaining a first cascade port attribute table in an information processing method provided by another embodiment of the present invention;

[0026] Fig.12 is a flowchart of maintaining a first cascade port attribute table in an information processing method provided by another embodiment of the present invention;

[0027] Fig.13 It is a flowchart of an information processing method provided by another embodiment of the present invention. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0029] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0030] The present invention provides an information processing method and device thereof, a broadband access server, and a computer-readable storage medium. By utilizing a first cascade port attribute table including first cascade routing information and second cascade routing information, a first port and a second port belonging to different backup groups form a cascade backup group, thereby realizing dual-machine backup of equipment between different manufacturers, thereby facilitating network deployment of operators; in addition, in the case of receiving a data message through the second port, when no first keep-alive message from the first port is received within a preset time period, it indicates that the first device is currently in a fault state. At this time, the second device updates the first cascade port attribute table so that the message processing priority of the second port is the highest priority, and forwards the data message through the second port, that is, the second port realizes the backup function of the message processing of the first port, thereby maintaining the normal transmission of the data message.

[0031] The embodiments of the present invention are further described below in conjunction with the accompanying drawings.

[0032] like Figure 1 As shown, Figure 1 FIG. 1 is a schematic diagram of a system architecture for executing an information processing method provided by an embodiment of the present invention. Figure 1 In the example, the system architecture includes a first broadband access server (Broadband Remote Access Server, BRAS) 110, a second BRAS 120, a third BRAS 130, a fourth BRAS 140, a first access aggregation device 150, a second access aggregation device 160, a first core router 170, a second core router 180, a third core router 190 and a fourth core router 200, and the first BRAS 110, the second BRAS 120, the third BRAS 130 and the fourth BRAS 140 are in the same network domain.

[0033] Among them, the first BRAS110 and the third BRAS130 are devices of the first manufacturer, the first BRAS110 is provided with a first port 111 and a third port 112, the third BRAS130 is provided with a fifth port 131 and a seventh port 132, the first port 111 of the first BRAS110 and the fifth port 131 of the third BRAS130 form a first backup group through the private dual-machine hot standby protocol of the first manufacturer to synchronize the service data sent by the user terminal; the third port 112 of the first BRAS110 and the seventh port 132 of the third BRAS130 form a third backup group through the private dual-machine hot standby protocol of the first manufacturer to synchronize the service data sent by the user terminal.

[0034] Among them, the second BRAS120 and the fourth BRAS140 are devices of the second manufacturer, the second BRAS120 is provided with a second port 121 and a fourth port 122, the fourth BRAS140 is provided with a sixth port 141 and an eighth port 142, the second port 121 of the second BRAS120 and the sixth port 141 of the fourth BRAS140 form a second backup group through the private dual-machine hot standby protocol of the second manufacturer to synchronize the service data sent by the user terminal; the fourth port 122 of the second BRAS120 and the eighth port 142 of the fourth BRAS140 form a fourth backup group through the private dual-machine hot standby protocol of the second manufacturer to synchronize the service data sent by the user terminal.

[0035] Among them, the first access aggregation device 150 is respectively connected to the first port 111 of the first BRAS 110, the second port 121 of the second BRAS 120, the fifth port 131 of the third BRAS 130 and the sixth port 141 of the fourth BRAS 140; the second access aggregation device 160 is respectively connected to the third port 112 of the first BRAS 110, the fourth port 122 of the second BRAS 120, the seventh port 132 of the third BRAS 130 and the eighth port 142 of the fourth BRAS 140; the first BRAS 110 is respectively connected to the first core router 170 and the second core router 180; the third BRAS 130 is respectively connected to the first core router 170 and the second core router 180; the second BRAS 120 is respectively connected to the third core router 190 and the fourth core router 200; the fourth BRAS 140 is respectively connected to the third core router 190 and the fourth core router 200.

[0036] Among them, any port of any device among the first BRAS110, the second BRAS120, the third BRAS130 and the fourth BRAS140 connected to the access aggregation device can send protocol messages to any port of other devices connected to the access aggregation device via multicast, such as sending User Datagram Protocol (UDP) messages.

[0037] Among them, the first BRAS110, the second BRAS120, the third BRAS130 and the fourth BRAS140 are all provided with a cascade deployment module, a cascade message negotiation module and a cascade port traffic processing module. Among them, the cascade deployment module is used to process the operation and maintenance management (OAM) command line, cascade group configuration information, priority configuration information, etc.; the cascade message negotiation module is used to send cascade negotiation messages to other devices, and the cascade negotiation messages carry but are not limited to new cascade messages, deleted cascade messages, updated cascade messages and cascade keep-alive messages, etc.; the cascade port traffic processing module is used to support the logical judgment processing related to cascade ports and dual-machine backup, so as to process the traffic data of the port. In addition, when any one of the first BRAS110, the second BRAS120, the third BRAS130 and the fourth BRAS140 receives a cascade negotiation message, a cascade port attribute table can be constructed according to the message carried by the cascade negotiation message and the related messages stored locally in the device, wherein the cascade port attribute table records the cascade negotiation information of the port, and the cascade negotiation information includes but is not limited to cascade port information, cascade group information, cascade priority information and other information.

[0038] The system architecture and application scenarios described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. Those skilled in the art will appreciate that with the evolution of the system architecture and the emergence of new application scenarios, the technical solutions provided by the embodiments of the present invention are equally applicable to similar technical problems.

[0039] It can be understood by those skilled in the art that Figure 1 The structure of the system architecture shown in the figure does not constitute a limitation on the embodiments of the present invention, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0040] Based on the structure of the above system architecture, various embodiments of the information processing method of the present invention are proposed.

[0041] like Figure 2 As shown, Figure 2is a flow chart of an information processing method provided by an embodiment of the present invention, the information processing method is applied to a second device, and the second device is provided with a second port (eg Figure 1 The second port 121 of the second BRAS 120 shown in the figure), the information processing method includes but is not limited to the following steps:

[0042] Step S110, in the case where a data packet is received through the second port, when the first keep-alive message from the first port of the first device is not received within a preset time period, and it is determined according to the first cascade port attribute table that the message processing priority of the first port is the highest priority and the message processing priority of the second port is the second highest priority, then the first cascade port attribute table is updated so that the message processing priority of the second port is the highest priority, and the data packet is forwarded.

[0043] It should be noted that the first port belongs to the first backup group; the first cascade port attribute table includes first cascade routing information and second cascade routing information, the first cascade routing information and the second cascade routing information are used to form a cascade backup group for the first port and the second port, the first cascade routing information is also used to indicate the message processing priority of the first port, and the second cascade routing information is also used to indicate the message processing priority of the second port; the first keep-alive message is used to enable the second device to maintain the first cascade routing information in the first cascade port attribute table.

[0044] In one embodiment, the second device may store a first cascade port attribute table, which includes first cascade routing information and second cascade routing information, wherein the first cascade routing information and the second cascade routing information are used to form a cascade backup group for the first port and the second port, and the first cascade routing information is also used to indicate the message processing priority of the first port, and the second cascade routing information is also used to indicate the message processing priority of the second port. It should be noted that the first cascade port attribute table stored by the second device can be obtained in different ways, for example, it can be obtained by manual editing, or it can be obtained by the first device and the second device through communication and negotiation, and this embodiment does not specifically limit this.

[0045] In one embodiment, since the second device stores a first cascade port attribute table including first cascade routing information and second cascade routing information, and the first cascade routing information and the second cascade routing information are used to form a cascade backup group with the first port and the second port, the first port and the second port belonging to different backup groups can form a cascade backup group, thereby realizing dual-machine backup of equipment between different manufacturers, which can facilitate the network deployment of operators. In addition, in the case of receiving a data message through the second port, when the first keep-alive message from the first port is not received within a preset time period, it means that the first device is currently in a fault state. At this time, the second device can update the first cascade port attribute table so that the message processing priority of the second port is the highest priority, and forward the data message through the second port, that is, the second port realizes the backup function of the message processing of the first port, so as to maintain the normal transmission of the data message.

[0046] It should be noted that, after the ports between different devices form a cascade backup group according to the cascade port attribute table, these ports will periodically send keep-alive messages through multicast to notify other devices in the same cascade backup group of the working status of the port or the device where the port is located. For example, in this embodiment, after the first port and the second port form a cascade backup group according to the first cascade port attribute table, the first port will periodically send the first keep-alive message to the second port through multicast so that the second device maintains the first cascade routing information in the first cascade port attribute table, that is, maintains the cascade backup relationship between the first port and the second port. If the keep-alive message of one of the ports in the same cascade backup group is lost or the keep-alive message is not sent, it means that the port is abnormal or the device where the port is located is down. At this time, the other ports in the same cascade backup group will update the cascade port attribute table maintained by themselves, for example, the table entry content of the port where the keep-alive message is lost or the keep-alive message is not sent is deleted or deactivated in the cascade port attribute table, and the cascade priorities of the remaining ports in the cascade backup group will change. For example, in this embodiment, when it is determined according to the first cascade port attribute table that the message processing priority of the first port of the first device is the highest priority in the current cascade backup group, and the message processing priority of the second port of the second device is the second highest priority in the current cascade backup group, and when the second port does not receive the first keep-alive message multicast by the first port of the first device within a preset time period, it will be considered that the first port of the first device is abnormal or the first device is down. In order to ensure the normal transmission of business data and the normal execution of dual-machine backup, the second device will update the first cascade port attribute table so that the message processing priority of the second port is the highest priority, that is, the second device will be updated to the main cascade device in the current cascade backup group. Therefore, when a data message is received through the second port, the second port, as the port of the main cascade device in the current cascade backup group, will forward the data message, thereby realizing the backup function of the message processing of the first port, so that the normal transmission of the data message can be maintained.

[0047] It is worth noting that the preset time period can be appropriately selected according to actual application conditions, and this embodiment does not specifically limit this.

[0048] In addition, in one embodiment, updating the first cascade port attribute table in step S110 so that the message processing priority of the second port is the highest priority can be implemented in different ways. For example, the first cascade routing information in the first cascade port attribute table can be deleted so that the message processing priority of the second port is the highest priority; or, the first cascade routing information in the first cascade port attribute table can be changed so that the message processing priority of the second port is the highest priority; or, the second cascade routing information in the first cascade port attribute table can be changed so that the message processing priority of the second port is the highest priority; or, the first cascade routing information in the first cascade port attribute table can be deactivated so that the message processing priority of the second port is the highest priority.

[0049] It should be noted that when the method of deleting the first cascade routing information in the first cascade port attribute table is adopted to make the message processing priority of the second port the highest priority, since the first cascade routing information used to indicate that the message processing priority of the first port is the highest priority is deleted, therefore, in the remaining information in the current first cascade port attribute table, the message processing priority corresponding to the second cascade routing information is changed from the original second highest priority to the highest priority, that is, the message processing priority of the second port becomes the highest priority. When the method of changing the first cascade routing information in the first cascade port attribute table is adopted to make the message processing priority of the second port the highest priority, the message processing priority corresponding to the first cascade routing information can be directly changed to a higher priority than the message processing priority corresponding to the second cascade routing information, thereby achieving the purpose of making the message processing priority of the second port the highest priority. When the second cascade routing information in the first cascade port attribute table is changed so that the message processing priority of the second port is the highest priority, the message processing priority corresponding to the second cascade routing information can be directly changed to a lower priority than the message processing priority corresponding to the first cascade routing information, thereby achieving the purpose of making the message processing priority of the second port the highest priority. When the first cascade routing information is deactivated so that the message processing priority of the second port is the highest priority, since the first cascade routing information used to indicate that the message processing priority of the first port is the highest priority is deactivated, that is, the first cascade routing information does not work. Therefore, in the remaining information in the current first cascade port attribute table, the message processing priority corresponding to the second cascade routing information is changed from the original second highest priority to the highest priority, that is, the message processing priority of the second port becomes the highest priority.

[0050] In addition, in one embodiment, referring to Figure 3 The information processing method may also include but is not limited to the following steps:

[0051] Step S120, when a data message is received through the second port, when a first keep-alive message is received within a preset time period, and the message processing priority of the second port is determined to be the highest priority according to the second cascade routing information in the first cascade port attribute table, the data message is forwarded.

[0052] In one embodiment, when the second device receives the first keep-alive message within a preset time period, it indicates that the first device is in a normal working state. At this time, when the message processing priority of the second port is determined to be the highest priority according to the second cascade routing information in the first cascade port attribute table, it indicates that the second device is the main cascade device in the current cascade backup group, and the second port is the port of the main cascade device in the current cascade backup group. Therefore, when a data message is received through the second port, the second port will forward the data message.

[0053] In addition, in one embodiment, referring to Figure 4 The information processing method may also include but is not limited to the following steps:

[0054] Step S130, when a data message is received through the second port, when a first keep-alive message is received within a preset time period and the message processing priority of the second port is determined to be non-highest priority according to the second cascade routing information in the first cascade port attribute table, the data message is discarded.

[0055] It is worth noting that step S130 in this embodiment and Figure 3 Step S120 in the illustrated embodiment is a parallel technical solution.

[0056] In one embodiment, when the second device receives the first keep-alive message within a preset time period, it indicates that the first device is in normal working state. At this time, when the message processing priority of the second port is determined to be non-highest priority according to the second cascade routing information in the first cascade port attribute table, it indicates that the second device is a backup cascade device in the current cascade backup group, and the second port is the port of the backup cascade device in the current cascade backup group. Therefore, when a data message is received through the second port, the second port will discard the data message instead of forwarding the data message.

[0057] In addition, in one embodiment, referring to Figure 5 Before receiving the data message through the second port, the information processing method may also include but is not limited to step S140, step S150 and step S160.

[0058] Step S140: acquiring, through the second port, a first protocol message multicast by the first port, wherein the first protocol message carries first cascade routing information.

[0059] In one embodiment, the first protocol message multicasted by the first port of the first device may be a message carried on the UDP protocol in a multicast manner, or may be a message carried on other protocols in a multicast manner, such as a message carried on a protocol formed in response to the evolution of the system architecture or the emergence of new application scenarios. This embodiment does not specifically limit this.

[0060] In one embodiment, the first port of the first device belongs to the first backup group (eg Figure 1 As shown in the figure, the first port 111 of the first BRAS 110, the second port of the second device belongs to the second backup group, and the first device and the second device are devices of different manufacturers. Since the first protocol message carries the first cascade routing information corresponding to the first port, when the second device receives the first cascade routing information carried by the first protocol message, the first port and the second port can form a cascade backup group according to the first cascade routing information in the subsequent steps, thereby realizing dual-machine backup between devices of different manufacturers, which can facilitate the network deployment of operators.

[0061] In one embodiment, the first cascade routing information includes but is not limited to a first port number corresponding to the first port, a first cascade group identifier corresponding to the first port, and a first cascade priority corresponding to the first port; the first protocol message is provided with a first port information field and a first cascade information field, wherein the first cascade information field is provided with a first cascade group identifier field and a first attribute field. The first cascade group identifier field carries the first cascade group identifier, the first attribute field carries the first cascade priority, and the first port information field carries the first port number.

[0062] In one embodiment, the first cascade information field may also be provided with a first information type field, and the first information type field carries first cascade type information corresponding to the first port, and is used to indicate the type of the first protocol message.

[0063] In one embodiment, the first protocol message may be a UDP protocol message using multicast mode. Since the UDP protocol message itself is provided with a first port information field for carrying the first port number, a first cascade information field may be added to the UDP protocol message so that the UDP protocol message can carry the first cascade group identifier and the first cascade priority.

[0064] The following is a specific example:

[0065] In an example, when the first protocol message is a UDP protocol message in a multicast mode, a first cascade information field may be added to the first protocol message, and the first cascade information field is provided with a first cascade group identification field and a first attribute field. Figure 6 , Figure 6 The structure of the first cascade information field carrying the first cascade type information, the first cascade group identifier and the first cascade priority is given as an example. In the structure of the first cascade information field, the explanations of the main fields are as follows:

[0066] Ver: Version number field, occupies 1 byte, used to indicate the protocol version number;

[0067] Message Type: The message type field occupies 1 byte and is used to indicate the role type of this protocol message. Specifically, when the value is 0x01, it indicates that the role type of this protocol message is to add cascade routing information; when the value is 0x02, it indicates that the role type of this protocol message is to delete cascade routing information; when the value is 0x03, it indicates that the role type of this protocol message is to update cascade routing information; when the value is 0x04, it indicates that this protocol message is a keep-alive message (for example, Figure 2 The first keep-alive message in the illustrated embodiment);

[0068] Message Length: 2 bytes, used to indicate the total length of the message in this protocol.

[0069] Cascade-Group-ID: Cascade group identification field, occupies 4 bytes, used to indicate the ID number of the cascade group to which the port sending the protocol message belongs;

[0070] Data: attribute field, in variable-length TLV format, used to carry the message information of this protocol message.

[0071] In the structure of the first cascade information field, the Message Type field is the first information type field, the Cascade-Group-ID field is the first cascade group identification field, and the Data field is the first attribute field. Figure 7 , in the Data field, mainly includes the following fields:

[0072] Type: occupies 2 bytes and is used to indicate the attribute type of data or the attribute of the business information table;

[0073] Length: occupies 2 bytes and is used to indicate the length of the Data field, excluding the Type field and the Length field.

[0074] Value: used to carry data information. It can be customized and added according to actual needs, and cooperates with the content of the Type field to represent the specific information of the data.

[0075] As an example, when the Type field takes a value of 0, the Value field can be filled with the IP address of the cascade device (for example, the IP address of the first device); when the Type field takes a value of 1, the Value field can be filled with the priority of the cascade device (for example, the first cascade priority corresponding to the first port). It is worth noting that there can be multiple Data fields, and multiple Data fields are linked in sequence to carry complete message information. For example, the number of Data fields is 2, one of which carries the first cascade priority, and the other Data field carries the IP address of the first device.

[0076] It is worth noting that the first port number corresponding to the first port can be carried in the UDP message header of the UDP protocol message and can be defined according to existing network specifications, and this embodiment does not make any specific limitation to this.

[0077] Therefore, even if the first port of the first device belongs to the first backup group (eg Figure 1 The first port 111 of the first BRAS110 shown in the figure, the second port of the second device belongs to the second backup group, and the first device and the second device are devices of different manufacturers, but since the first protocol message carries the first cascade routing information corresponding to the first port, and the first cascade routing information at least includes the first cascade type information, the first port number, the first cascade group identifier and the first cascade priority, therefore, when the second device receives the first cascade routing information carried by the first protocol message, it can form a cascade backup group with the first port according to the first cascade type information, the first port number, the first cascade group identifier and the first cascade priority in subsequent steps, thereby realizing dual-machine backup between devices of different manufacturers, thereby facilitating the network deployment of operators.

[0078] Step S150: Acquire second cascade routing information.

[0079] In one embodiment, the second cascade routing information may include a second port number corresponding to the second port, a second cascade group identifier corresponding to the second port, and a second cascade priority corresponding to the second port, which is not specifically limited in this embodiment. In addition, the second device may be pre-configured with the second cascade routing information corresponding to the second port, so the second device can directly obtain the second port number, the second cascade group identifier, and the second cascade priority information in the second cascade routing information, so that it is convenient to form a cascade backup group with the first port according to the second port number, the second cascade group identifier, and the second cascade priority information and the first cascade type information, the first port number, the first cascade group identifier, and the first cascade priority information in the subsequent steps, so as to realize dual-machine backup of devices between different manufacturers, so as to facilitate the network deployment of operators.

[0080] In one embodiment, the second device may be pre-configured with a cascade routing information table, which may record the second cascade routing information corresponding to the second port and the cascade routing information corresponding to other ports of the second device. Therefore, the second device may obtain the second cascade routing information corresponding to the second port by reading the cascade routing information table.

[0081] Step S160: construct a first cascade port attribute table according to the second cascade routing information and the first cascade routing information in the first protocol message.

[0082] In one embodiment, since the second cascade routing information includes information such as the second port number corresponding to the second port, the second cascade group identifier corresponding to the second port, and the second cascade priority corresponding to the second port, and the first cascade routing information includes information such as the first port number corresponding to the first port, the first cascade group identifier corresponding to the first port, and the first cascade priority corresponding to the first port, the first port and the second port can form a cascade backup group according to the second cascade routing information and the first cascade routing information, and construct a first cascade port attribute table corresponding to the cascade backup group, so that in subsequent steps, the second port can perform relevant processing on the data message according to the first cascade port attribute table.

[0083] In one embodiment, by adopting the information processing method including the above steps S140, S150 and S160, when the first port of the first device and the second port of the second device belong to different backup groups, when the second device obtains the first protocol message multicast by the first port of the first device through the second port, and the first protocol message carries the first cascade routing information corresponding to the first port, the second device can form a cascade backup group with the first port and the second port according to the second cascade routing information corresponding to the second port and the first cascade routing information in the first protocol message, and construct a first cascade port attribute table corresponding to the cascade backup group, so that when the second device receives a data message through the second port, it can process the data message according to the first cascade port attribute table. Therefore, by using the first protocol message carrying the first cascade routing information, a cascade backup group can be formed between the ports of devices belonging to different backup groups, for example, a cascade backup group can be formed between the ports of devices of different manufacturers, so that dual-machine backup of devices between different manufacturers can be achieved, which can facilitate the network deployment of operators.

[0084] It is worth noting that the first device where the first port belonging to the first backup group is located and the second device where the second port belonging to the second backup group is located can be installed in the same machine room or in different locations. For example, the first device and the second device are in different cities. It is only necessary for the first device and the second device to be connected to the same access aggregation device. In addition, the network domain where the first device and the second device are located can also include multiple other devices. These devices in the network domain can be distributed in different cities. A third backup group, a fourth backup group, and even an Nth backup group can be formed between the ports of these devices. Different backup groups can form cascade backup groups by adopting the information processing method including the above steps S140, S150, and S160.

[0085] In addition, in one embodiment, referring to Figure 8 Step S160 may include but is not limited to the following steps:

[0086] Step S161: when the first cascade type information is newly added cascade information, a first cascade port attribute table is constructed according to the first port number, the first cascade group identifier, the first cascade priority, the second port number, the second cascade group identifier and the second cascade priority.

[0087] In one embodiment, when the first cascade type information carried in the first protocol message obtained through the second port is newly added cascade information, that is, when Figure 6 When the value of the Message Type field in the illustrated embodiment is 0x01, it indicates that the first port of the first device wishes to form a cascade backup group with the second port of the second device. At this time, the second device can form a cascade backup group with the first port number, the first cascade group identifier, the second port number, and the second cascade group identifier. For example, when the first cascade group identifier corresponding to the first port of the first device and the second cascade group identifier of the second port pre-configured in the second device are not the same, the first port and the second port cannot form a cascade backup group; when the first cascade group identifier corresponding to the first port of the first device and the second cascade group identifier of the second port pre-configured in the second device are the same, the first port and the second port can form a cascade backup group, thereby realizing dual-machine backup between the first port and the second port.

[0088] In one embodiment, after the first port and the second port form a cascade backup group, a first cascade port attribute table corresponding to the cascade backup group can be constructed according to the first port number, the first cascade group identifier, the first cascade priority, the second port number, the second cascade group identifier and the second cascade priority, so that the data packets transmitted to the first port and the second port can be processed accordingly according to the first cascade port attribute table.

[0089] In one embodiment, if Fig. 9 As shown, the structure of the first cascade port attribute table is given as an example. In this structure, the first cascade port attribute table may include port number information, manufacturer information, Virtual Router Redundancy Protocol (VRRP) group information, VRRP priority information and cascade group information. Among them, ports with the same table content in the VRRP group information will form a dual-machine hot standby in the related art; the cascade group information includes a cascade group identifier (such as Fig. 9 The "first cascade backup group" in Fig. 9 The ports with the same cascade group ID will form a cascade backup group and have a dual-machine backup function. The cascade priority indicates the priority of the ports in the cascade backup group in processing data packets.

[0090] In addition, in one embodiment, referring to Fig.10 The information processing method may also include but is not limited to the following steps:

[0091] Step S170, receiving, through the second port, a second protocol message multicasted by the first port, wherein the second protocol message carries second cascade type information and third cascade routing information;

[0092] Step S180: Maintain the first cascade port attribute table according to the second cascade type information and the third cascade routing information.

[0093] In one embodiment, the third cascade routing information may also include information such as port number, cascade group identifier, cascade priority, and cascade type information. After the first port and the second port form a cascade backup group, when the second device receives the second protocol message multicast by the first port of the first device through the second port, and the second protocol message carries the second cascade type information and the third cascade routing information, the second device may maintain the first cascade port attribute table according to the second cascade type information and the third cascade routing information in the second protocol message.

[0094] In one embodiment, the second cascade type information may be deletion of cascade information or update of cascade information, which is not specifically limited in this embodiment. For example, when the second cascade type information is deletion of cascade information, the specific operation of maintaining the first cascade port attribute table may be deletion of the table item content corresponding to the first port in the first cascade port attribute table (for example, the first cascade routing information); when the second cascade type information is update of cascade information, the specific operation of maintaining the first cascade port attribute table may be update of the table item content corresponding to the first port in the first cascade port attribute table using the third cascade routing information.

[0095] It is worth noting that the second protocol message in this embodiment is also a UDP protocol message like the first protocol message in the above embodiment, and the second protocol message and the first protocol message have the same message structure. For the specific message structure of the second protocol message, refer to the above-mentioned Figure 6 and Figure 7 The message structure shown is not repeated here.

[0096] In addition, in one embodiment, referring to Fig.11 Step S180 may include but is not limited to the following steps:

[0097] Step S181: when the second cascade type information is to delete the cascade information, the first cascade routing information in the first cascade port attribute table is deleted.

[0098] In one embodiment, when the second device receives the second protocol message multicasted by the first port of the first device through the second port, when the second cascade type information is to delete the cascade information, for example Figure 6 When the value of the Message Type field in the illustrated embodiment is 0x02, it indicates that the function of the second protocol message is to delete the content of the entry corresponding to the first port in the first cascade port attribute table (for example, the first cascade routing information). Therefore, the second device can delete the content of the entry corresponding to the first port in the first cascade port attribute table according to the indication of the second cascade type information.

[0099] In addition, in one embodiment, referring to Fig.12 Step S180 may also include but is not limited to the following steps:

[0100] Step S182: when the second cascade type information is to update the cascade information, the first cascade routing information in the first cascade port attribute table is updated according to the third cascade routing information.

[0101] It is worth noting that step S182 in this embodiment and Fig.11 Step S181 in the illustrated embodiment is a parallel technical solution.

[0102] In one embodiment, when the second device receives the second protocol message multicasted by the first port of the first device through the second port, when the second cascade type information is update cascade information, for example Figure 6 When the value of the Message Type field in the illustrated embodiment is 0x03, it indicates that the function of the second protocol message is to update the content of the entry corresponding to the first port in the first cascade port attribute table (for example, the first cascade routing information). Therefore, the second device can update the content of the entry corresponding to the first port in the first cascade port attribute table using the third cascade routing information according to the indication of the second cascade type information.

[0103] In addition, in one embodiment, referring to Fig.13 The information processing method may also include but is not limited to the following steps:

[0104] Step S210, a third protocol message carrying second cascade routing information is externally multicasted through the second port, so that the first device that receives the third protocol message through the first port builds a second cascade port attribute table including the first cascade routing information and the second cascade routing information in the third protocol message according to the first cascade routing information and the second cascade routing information, and enables the first device to process the data message according to the second cascade port attribute table when receiving the data message through the first port.

[0105] In one embodiment, while the second device obtains the first protocol message multicasted by the first port of the first device through the second port, the second port of the second device also sends a third protocol message to the outside through multicast. In this process, the second device can first construct a third protocol message according to the second cascade routing information corresponding to the second port, and then multicast the third protocol message to the outside through the second port. It is worth noting that the third protocol message in this embodiment is also a UDP protocol message like the first protocol message in the above embodiment, and the third protocol message and the first protocol message have the same message structure. For the specific message structure of the third protocol message, please refer to the above-mentioned Figure 6 and Figure 7 The message structure shown is not repeated here.

[0106] In one embodiment, the second device multicasts a third protocol message carrying the second cascade routing information externally through the second port. When the first port of the first device receives the third protocol message, the first device can form a cascade backup group with the first port and the second port according to the second cascade routing information in the third protocol message and the first cascade routing information corresponding to the first port pre-configured by the first device, and construct a second cascade port attribute table corresponding to the cascade backup group, so that when the first device receives a data message through the first port, it can process the data message according to the second cascade port attribute table. Therefore, when the first port of the first device and the second port of the second device belong to different backup groups, by using the third protocol message carrying the second cascade routing information, a cascade backup group can be formed between the ports of the devices belonging to different backup groups, for example, a cascade backup group can be formed between the ports of the devices of different manufacturers, so that dual-machine backup of the devices between different manufacturers can be realized, which can facilitate the network deployment of the operator.

[0107] It is worth noting that the structure of the second cascade port attribute table in this embodiment is similar to Fig. 9 The structure of the first cascade port attribute table in the embodiment shown is the same. For the specific structure of the second cascade port attribute table, reference can be made to the above-mentioned Fig. 9 The table structure shown will not be repeated here.

[0108] In addition, in one embodiment, the information processing method may also include but is not limited to the following steps:

[0109] A fourth protocol message carrying third cascade type information and fourth cascade routing information is externally multicasted through the second port, so that a first device that receives the fourth protocol message through the first port maintains a second cascade port attribute table according to the third cascade type information and fourth cascade routing information in the fourth protocol message.

[0110] In one embodiment, the fourth cascade routing information may also include information such as a port number, a cascade group identifier, a cascade priority, and a cascade type information. After the first port and the second port form a cascade backup group, when the first device receives a fourth protocol message multicast by the second port of the second device through the first port, and the fourth protocol message carries the third cascade type information and the fourth cascade routing information, the first device may maintain the second cascade port attribute table according to the third cascade type information and the fourth cascade routing information in the fourth protocol message.

[0111] In one embodiment, the third cascade type information may also be deletion of cascade information or update of cascade information, which is not specifically limited in this embodiment. For example, when the third cascade type information is deletion of cascade information, the specific operation of maintaining the second cascade port attribute table may be deletion of the table item content corresponding to the second port in the second cascade port attribute table; when the third cascade type information is update of cascade information, the specific operation of maintaining the second cascade port attribute table may be update of the table item content corresponding to the second port in the second cascade port attribute table using the fourth cascade routing information.

[0112] It is worth noting that the fourth protocol message in this embodiment is also a UDP protocol message like the first protocol message in the above embodiment, and the fourth protocol message and the first protocol message have the same message structure. For the specific message structure of the fourth protocol message, refer to the above-mentioned Figure 6 and Figure 7 The message structure shown is not repeated here.

[0113] In addition, in one embodiment, the information processing method may also include but is not limited to the following steps:

[0114] The second keep-alive message is multicast externally through the second port, so that the first device that receives the second keep-alive message through the first port maintains the entry content corresponding to the second port in the second cascade port attribute table according to the second keep-alive message.

[0115] In one embodiment, after the first port and the second port form a cascade backup group, when the first device receives a second keep-alive message multicast by the second port of the second device through the first port, the first device can maintain the second cascade routing information in the second cascade port attribute table according to the second keep-alive message.

[0116] It is worth noting that the second keep-alive message in this embodiment is also a UDP protocol message like the first protocol message in the above embodiment, and the second keep-alive message and the first protocol message have the same message structure. For the specific message structure of the second keep-alive message, refer to the above-mentioned Figure 6 and Figure 7 The message structure shown is not repeated here.

[0117] In one embodiment, the second keep-alive message may also include information such as a port number, a cascade group identifier, a cascade priority, and a cascade type information. It is worth noting that the main difference between the second keep-alive message and the third protocol message and the fourth protocol message is that the cascade type information in the second keep-alive message is a keep-alive message, for example Figure 6 The value of the Message Type field in the illustrated embodiment is 0x04. The ports forming the cascade backup group need to send keep-alive messages regularly to ensure that the ports forming the cascade backup group are in an activated state and maintain the table entry content in the corresponding cascade port attribute table, so that the ports in the cascade backup group can perform data message processing during dual-machine backup according to the table entry content in the cascade port attribute table.

[0118] In order to more clearly illustrate the specific steps and processes of the information processing method in each of the above embodiments, specific examples are provided below for illustration.

[0119] Example 1:

[0120] like Figure 1As shown, the first port 111 of the first BRAS110 and the fifth port 131 of the third BRAS130 form a first backup group through the private dual-machine hot standby protocol of the first manufacturer, and the third port 112 of the first BRAS110 and the seventh port 132 of the third BRAS130 form a third backup group through the private dual-machine hot standby protocol of the first manufacturer; the second port 121 of the second BRAS120 and the sixth port 141 of the fourth BRAS140 form a second backup group through the private dual-machine hot standby protocol of the second manufacturer, and the fourth port 122 of the second BRAS120 and the eighth port 142 of the fourth BRAS140 form a fourth backup group through the private dual-machine hot standby protocol of the second manufacturer.

[0121] Port cascading is respectively deployed on the first BRAS 110 and the third BRAS 130 of the first manufacturer, wherein the first port 111 of the first BRAS 110 is deployed in the first cascade backup group, and the cascade priority is 1; the fifth port 131 of the third BRAS 130 is deployed in the first cascade backup group, and the cascade priority is 1. Port cascading is respectively deployed on the second BRAS 120 and the fourth BRAS 140 of the second manufacturer, wherein the second port 121 of the second BRAS 120 is deployed in the first cascade backup group, and the cascade priority is 7; the sixth port 141 of the fourth BRAS 140 is deployed in the first cascade backup group, and the cascade priority is 7.

[0122] After the deployment of the above cascade information is completed, each port sends a UDP protocol message carrying the cascade type information as the newly added cascade information through multicast. Specifically:

[0123] The first port 111 sends a UDP protocol message carrying the following information: Ver=0X01, Message Type=0X01, Cascade-Group-ID=0X01, IP address=IP address of the first BRAS 110, cascade priority=0X01;

[0124] The fifth port 131 sends a UDP protocol message carrying the following information: Ver=0X01, Message Type=0X01, Cascade-Group-ID=0X01, IP address=IP address of the third BRAS 130, cascade priority=0X01;

[0125] The second port 121 sends a UDP protocol message carrying the following information: Ver=0X01, Message Type=0X01, Cascade-Group-ID=0X01, IP address=IP address of the second BRAS 120, cascade priority=0X07;

[0126] The sixth port 141 sends a UDP protocol message carrying the following information: Ver=0X01, Message Type=0X01, Cascade-Group-ID=0X01, IP address=IP address of the fourth BRAS 140, cascade priority=0X07.

[0127] When each port receives the UDP protocol message multicast by other ports, each port will form a corresponding cascade backup group according to its own cascade routing information and the cascade routing information in the received UDP protocol message. For example, the first port 111 of the first BRAS110 is deployed in the first cascade backup group, and the cascade group identifier in the UDP protocol message multicast by the second port 121 of the second BRAS120 is 0X01, which means that the first port 111 and the second port 121 are both deployed in the first cascade backup group, so the first port 111 and the second port 121 can be added to the first cascade backup group.

[0128] When each port is added to the corresponding cascade backup group, each port will build and maintain its own cascade port attribute table based on its own cascade routing information and the cascade routing information in the received UDP protocol message, and forward or discard data messages according to the preset logic based on its own cascade port attribute table.

[0129] Specifically, refer to Figure 1 and Fig. 9When the first port 111 of the first BRAS 110 receives data traffic sent by the terminal user, the first port 111 determines that the port is the primary cascade port of the first cascade backup group according to the cascade port attribute table, and the first port 111 determines that the port is the primary port in the first backup group, so the first port 111 performs forwarding processing of the data traffic. When the fifth port 131 of the third BRAS 130 receives data traffic sent by the terminal user, the fifth port 131 determines that the port is the primary cascade port of the first cascade backup group according to the cascade port attribute table, but the fifth port 131 determines that the port is the backup port in the first backup group, so the fifth port 131 does not process the data traffic and discards the data traffic. When the second port 121 of the second BRAS 120 receives data traffic sent by the terminal user, the second port 121 determines that the port is the backup cascade port of the first cascade backup group according to the cascade port attribute table, and when the primary cascade port (i.e., the first port 111) works normally, the second port 121 does not process the data traffic and discards the data traffic. When the sixth port 141 of the fourth BRAS 140 receives data traffic sent by the terminal user, the sixth port 141 determines that the port is a backup cascade port of the first cascade backup group according to the cascade port attribute table. When the main cascade port (i.e., the first port 111) works normally, the sixth port 141 does not process the data traffic and discards the data traffic.

[0130] When the first access aggregation device 150 sends the data traffic of the terminal user to the first port 111, the fifth port 131, the second port 121 and the sixth port 141 at the same time, these four ports will receive the data traffic of the terminal user. When the first BRAS 110 is down, the first port 111 will not receive the data traffic of the terminal user. When the fifth port 131 receives the data traffic of the terminal user, the fifth port 131 determines that the port is the main cascade port of the first cascade backup group and the backup port in the first backup group according to the cascade port attribute table, but because the first BRAS 110 has been down, the fifth port 131 will be upgraded to the main port in the first backup group, so the fifth port 131 will forward the data traffic. When the second port 121 receives the data traffic of the terminal user, the second port 121 determines that the port is the backup cascade port of the first cascade backup group according to the cascade port attribute table. When the main cascade port (i.e., the fifth port 131) works normally, the second port 121 does not process the data traffic and discards the data traffic. When the sixth port 141 receives data traffic from the terminal user, the sixth port 141 determines that the port is a backup cascade port of the first cascade backup group according to the cascade port attribute table. When the main cascade port (i.e., the fifth port 131) works normally, the sixth port 141 does not process the data traffic and discards the data traffic.

[0131] When the first access aggregation device 150 sends the data traffic of the terminal user to the first port 111, the fifth port 131, the second port 121 and the sixth port 141 at the same time, these four ports will receive the data traffic of the terminal user. When the first BRAS 110 is down, the first port 111 will not receive the data traffic of the terminal user. When the third BRAS 130 is also down, the fifth port 131 will not receive the data traffic of the terminal user. At this time, when the second BRAS 120 and the fourth BRAS 140 detect that the first BRAS 110 and the third BRAS 130 are both down, the second BRAS 120 and the fourth BRAS 140 will be upgraded to the main cascade device of the first cascade backup group. At this time, when the second port 121 receives the data traffic of the terminal user, the second port 121 determines that the port is the main cascade port of the first cascade backup group according to the cascade port attribute table, and is the main port in the second backup group, so the second port 121 will forward the data traffic. When the sixth port 141 receives data traffic from the terminal user, the sixth port 141 determines that this port is the main cascade port of the first cascade backup group according to the cascade port attribute table, but the sixth port 141 determines that this port is the backup port in the second backup group. Therefore, the sixth port 141 does not process the data traffic and discards the data traffic.

[0132] In addition, an embodiment of the present invention further provides an information processing device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor.

[0133] The processor and the memory may be connected via a bus or other means.

[0134] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0135] It should be noted that the information processing device in this embodiment can be set in Figure 1 The first BRAS 110, the second BRAS 120, the third BRAS 130 or the fourth BRAS 140 in the system architecture of the embodiment shown in the figure, the information processing device in the embodiment and the Figure 1The first BRAS 110 , the second BRAS 120 , the third BRAS 130 or the fourth BRAS 140 in the system architecture of the illustrated embodiment have the same inventive concept, so these embodiments have the same implementation principle and technical effect, which will not be described in detail here.

[0136] The non-transient software program and instructions required to implement the information processing method of the above embodiment are stored in the memory. When executed by the processor, the information processing method of the above embodiment is executed, for example, the above described Figure 2 Step S110 of the method, Figure 3 Step S120 of the method, Figure 4 Step S130 of the method, Figure 5 Steps S140 to S160 of the method, Figure 8 Step S161 of the method, Fig.10 Steps S170 to S180 of the method, Fig.11 Step S181 of the method, Fig.12 Step S182 of the method, Fig.13 Method step S210 in .

[0137] In addition, an embodiment of the present invention further provides a broadband access server, which includes the information processing device in the above-mentioned embodiment.

[0138] It should be noted that the broadband access server in this embodiment includes the information processing device in the above-mentioned embodiment, and can be configured as follows: Figure 1 The first BRAS 110, the second BRAS 120, the third BRAS 130 or the fourth BRAS 140 in the system architecture of the embodiment shown in the figure, the broadband access server in this embodiment and the Figure 1 The first BRAS 110 , the second BRAS 120 , the third BRAS 130 or the fourth BRAS 140 in the system architecture of the illustrated embodiment belong to the same inventive concept, so these embodiments have the same implementation principle and technical effect, which will not be described in detail here.

[0139] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0140] In addition, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions. The computer-executable instructions are executed by a processor or a controller, for example, by a processor in the above-mentioned device embodiment, so that the above-mentioned processor can execute the information processing method in the above-mentioned embodiment, for example, execute the above-mentioned Figure 2 Step S110 of the method, Figure 3 Step S120 of the method, Figure 4 Step S130 of the method, Figure 5 Steps S140 to S160 of the method, Figure 8 Step S161 of the method, Fig.10 Steps S170 to S180 of the method, Fig.11 Step S181 of the method, Fig.12 Step S182 of the method, Fig.13 Method step S210 in .

[0141] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0142] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions without violating the spirit of the present invention. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present invention.

Claims

1. An information processing method, applied to a second device, wherein the second device is provided with a second port belonging to a second backup group, the method comprising: In the case where a data message is received through the second port, when no first keep-alive message is received from the first port of the first device within a preset time period, and it is determined according to the first cascade port attribute table that the message processing priority of the first port is the highest priority and the message processing priority of the second port is the second highest priority, then the first cascade port attribute table is updated so that the message processing priority of the second port is the highest priority, and the data message is forwarded; Among them, the first port belongs to a first backup group; the first cascade port attribute table includes first cascade routing information and second cascade routing information, the first cascade routing information and the second cascade routing information are used to make the first port and the second port form a cascade backup group, the first cascade routing information is also used to indicate the message processing priority of the first port, and the second cascade routing information is also used to indicate the message processing priority of the second port; the first keep-alive message is used to enable the second device to maintain the first cascade routing information in the first cascade port attribute table.

2. The method according to claim 1, characterized in that Also includes: In the case where a data message is received through the second port, when the first keep-alive message is received within a preset time period and it is determined that the message processing priority of the second port is the highest priority according to the second cascade routing information in the first cascade port attribute table, the data message is forwarded; or, In the case where a data packet is received through the second port, when the first keep-alive packet is received within a preset time period and it is determined that the packet processing priority of the second port is not the highest priority according to the second cascade routing information in the first cascade port attribute table, the data packet is discarded.

3. The method according to claim 1, characterized in that The updating of the first cascade port attribute table so that the message processing priority of the second port is the highest priority includes: Deleting the first cascade routing information in the first cascade port attribute table so that the message processing priority of the second port is the highest priority; or, Modify the first cascade routing information in the first cascade port attribute table so that the message processing priority of the second port is the highest priority; or, Modify the second cascade routing information in the first cascade port attribute table so that the message processing priority of the second port is the highest priority; or, The first cascade routing information in the first cascade port attribute table is deactivated so that the message processing priority of the second port is the highest priority.

4. The method according to claim 1, characterized in that: Before receiving the data message through the second port, the method further includes: Acquire, through the second port, a first protocol message multicast by the first port, wherein the first protocol message carries the first cascade routing information; Acquire the second cascade routing information; The first cascade port attribute table is constructed according to the second cascade routing information and the first cascade routing information in the first protocol message.

5. The method according to claim 4, characterized in that The first cascade routing information includes a first port number corresponding to the first port, a first cascade group identifier corresponding to the first port, and a first cascade priority corresponding to the first port; The first protocol message is provided with a first port information field and a first cascade information field, the first cascade information field is provided with a first cascade group identification field and a first attribute field, the first cascade group identification field carries the first cascade group identification, the first attribute field carries the first cascade priority, and the first port information field carries the first port number.

6. The method according to claim 5, characterized in that The first cascade information field is further provided with a first information type field, the first information type field carrying the first cascade type information corresponding to the first port; the second cascade routing information includes a second port number corresponding to the second port, a second cascade group identifier corresponding to the second port, and a second cascade priority corresponding to the second port; The step of constructing the first cascade port attribute table according to the second cascade routing information and the first cascade routing information in the first protocol message includes: When the first cascade type information is newly added cascade information, the first cascade port attribute table is constructed according to the first port number, the first cascade group identifier, the first cascade priority, the second port number, the second cascade group identifier and the second cascade priority.

7. The method according to any one of claims 1 to 6, characterized in that: Also includes: receiving, through the second port, a second protocol message multicasted by the first port, wherein the second protocol message carries second cascade type information and third cascade routing information; The first cascade port attribute table is maintained according to the second cascade type information and the third cascade routing information.

8. The method according to claim 7, characterized in that The maintaining the first cascade port attribute table according to the second cascade type information and the third cascade routing information includes: When the second cascade type information is to delete cascade information, deleting the first cascade routing information in the first cascade port attribute table; or, When the second cascade type information is update cascade information, the first cascade routing information in the first cascade port attribute table is updated according to the third cascade routing information.

9. The method according to any one of claims 1 to 6, characterized in that: Also includes: A third protocol message carrying the second cascade routing information is externally multicasted through the second port, so that the first device that receives the third protocol message through the first port builds a second cascade port attribute table including the first cascade routing information and the second cascade routing information in the third protocol message according to the first cascade routing information and the second cascade routing information in the third protocol message, and so that the first device processes the data message according to the second cascade port attribute table when receiving the data message through the first port.

10. The method according to claim 9, characterized in that Also includes: A fourth protocol message carrying third cascade type information and fourth cascade routing information is externally multicasted through the second port, so that the first device that receives the fourth protocol message through the first port maintains the second cascade port attribute table according to the third cascade type information and the fourth cascade routing information in the fourth protocol message.

11. The method according to claim 9, characterized in that Also includes: The second keep-alive message is multicast externally through the second port, so that the first device that receives the second keep-alive message through the first port maintains the second cascade routing information in the second cascade port attribute table according to the second keep-alive message.

12. An information processing device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the information processing method according to any one of claims 1 to 11 when executing the computer program.

13. A broadband access server, characterized in that: Includes the information processing device as claimed in claim 12.

14. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the information processing method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Port backup method, device and system for service access router

    CN101841432A

  • Router backup set managing method, router and system

    CN104506429A

  • Data-link switching method and apparatus and data-link switching device

    WO2018108149A1

  • Capacity updating method and apparatus for distributed device

    WO2018161632A1