CN116886161A - User service processing method, device, central switch and storage medium - Google Patents

User service processing method, device, central switch and storage medium Download PDF

Info

Publication number
CN116886161A
CN116886161A CN202310890516.7A CN202310890516A CN116886161A CN 116886161 A CN116886161 A CN 116886161A CN 202310890516 A CN202310890516 A CN 202310890516A CN 116886161 A CN116886161 A CN 116886161A
Authority
CN
China
Prior art keywords
expansion
user
interface
service
satellite unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310890516.7A
Other languages
Chinese (zh)
Inventor
胡祖松
罗向征
林茂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN202310890516.7A priority Critical patent/CN116886161A/en
Publication of CN116886161A publication Critical patent/CN116886161A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/18578Satellite systems for providing broadband data service to individual earth stations
    • H04B7/18591Arrangements for interconnecting multiple systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • H04L49/111Switch interfaces, e.g. port details

Abstract

The invention relates to the technical field of communication, and provides a user service processing method, a device, a central switch and a storage medium, which are applied to the central switch, wherein the central switch is communicated with a satellite unit through a cascade port, the satellite unit comprises a plurality of user interfaces, the satellite unit is in communication connection with a plurality of user equipment through the plurality of user interfaces, and the user interfaces are in one-to-one correspondence with the user equipment, and the method comprises the following steps: acquiring service types of a plurality of user interfaces of a satellite unit; creating one-to-one corresponding expansion interfaces according to the service types; the services of the user interface of the same service type are processed through each expansion interface. The invention effectively expands the number of the user interfaces of the satellite units managed by the central switch, thereby expanding the number of the devices which can be accessed by the satellite units.

Description

User service processing method, device, central switch and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for processing a user service, a central switch, and a storage medium.
Background
The traditional three-layer network architecture comprises a core layer, a convergence layer and an access layer, and because each layer is required to be subjected to service control, the problems of complex deployment, high cost, incapability of flexible expansion of terminals and the like exist. In order to reduce networking cost, simplify network operation and maintenance, protect user investment and allow large-scale user terminals to flexibly access, the current novel network architecture is increasingly developed towards the direction of network hierarchy flattening and network control centralization. The network architecture of the intelligent central switch and the satellite units is developed rapidly, and the network architecture is characterized in that network control is concentrated in the intelligent central switch, user access is distributed to distributed satellite units, the user access scale is increased, network operation and maintenance is further simplified, networking cost is reduced, and network iteration upgrading is facilitated.
A physical downlink cascade port of the central switch is connected with an uplink interface of the satellite unit, and is used as a physical link of an expansion interface channel to map a user interface of the satellite unit with a virtual expansion interface of the central switch through an expansion identifier.
Because an expansion interface needs to occupy a hardware interface resource, and the hardware interface resource on the central switch is limited, the number of user interfaces of the satellite unit that can be managed by the central switch is greatly limited, and thus the number of devices that can be accessed by the satellite unit is limited.
Disclosure of Invention
The invention aims to provide a user service processing method, a device, a central switch and a storage medium, which can effectively expand the number of user interfaces of a satellite unit managed by the central switch, and further expand the number of devices which can be accessed by the satellite unit.
Embodiments of the invention may be implemented as follows:
in a first aspect, the present invention provides a method for processing a user service, applied to a central switch, where the central switch communicates with a satellite unit through a cascade port, the satellite unit includes a plurality of user interfaces, the satellite unit is communicatively connected to a plurality of user devices through a plurality of user interfaces, and the user interfaces and the user devices are in one-to-one correspondence, and the method includes:
Acquiring service types of a plurality of user interfaces of the satellite unit;
creating one-to-one expansion interfaces according to the service types;
and processing the service from the user interfaces of the same service type through each expansion interface.
In an alternative embodiment, the step of creating a one-to-one expansion interface according to the service type includes:
setting a corresponding expansion identifier for each service type;
establishing a mapping relation between the expansion interfaces, the cascade ports and the expansion identifiers, wherein each expansion interface corresponds to one cascade port and one expansion identifier;
and configuring a mapping relation between the service types and the expansion identifiers for the satellite units, wherein each service type corresponds to one expansion identifier.
In an alternative embodiment, the number of the satellite units is one, the number of the service types is a plurality, and the processing the service of the user interface with the same service type through each expansion interface includes:
receiving an uplink message from a corresponding expansion interface according to an expansion identifier of the uplink message sent by the satellite unit, wherein the uplink message is generated by the satellite unit according to a service message received through any user interface, and the uplink message comprises the expansion identifier determined by the satellite unit according to the service type of the user interface receiving the service message;
And carrying out service processing on the uplink message.
In an alternative embodiment, the central switch is further in communication with a remote device, the method further comprising:
receiving a downlink message sent by the remote equipment;
and searching a forwarding table according to the destination address in the downlink message, determining an output interface matched with the downlink message as an expansion interface, marking the downlink message with an expansion identifier corresponding to the matched expansion interface, and sending the downlink message through the matched expansion interface.
In an alternative embodiment, the satellite units are a plurality, and the plurality of satellite units are communicatively connected with the central switch through a cascade switch, and the method further includes:
and configuring a mapping relation between each satellite unit and the extension identifier for the cascade switch, wherein each satellite unit corresponds to at least one extension identifier, and one extension identifier corresponds to one satellite unit.
In an optional implementation manner, the plurality of satellite units are connected with the central switch in a communication manner through a cascade switch, each service type is provided with a corresponding extension identifier, the central switch is established with a plurality of extension interfaces, a one-to-one interface identifier mapping relationship exists between the extension interfaces and the cascade ports and between the extension identifiers, and the satellite units are configured with a type identifier mapping relationship between the service type and the extension identifiers in a one-to-one correspondence manner, and the method further comprises:
Receiving an uplink message sent by the cascade switch, wherein the uplink message is an uplink message sent by any one of the plurality of satellite units received by the cascade switch, the uplink message is generated by the service message received by any one of the satellite units through any one of the user interfaces, and the uplink message comprises an extension identifier determined by the any one of the satellite units according to the service type of any one of the user interfaces and the type identifier mapping relation;
and receiving the uplink message from the corresponding expansion interface according to the mapping relation of the expansion identifier and the interface identifier in the uplink message, and carrying out service processing on the uplink message.
In an alternative embodiment, the central switch is further in communication with a remote device, the tandem switch is configured with a satellite unit identity mapping relationship between each of the satellite units and the extended identity, and the method further comprises:
receiving a downlink message sent by the remote equipment;
and searching a forwarding table according to a destination address in the downlink message, determining an output interface matched with the downlink message as an expansion interface, marking the downlink message with an expansion identifier corresponding to the matched expansion interface, transmitting the downlink message to the cascade switch through the matched expansion interface, searching the forwarding table by the cascade switch according to a destination MAC address in the service message to obtain the output interface, and transmitting the downlink message from the output interface to the satellite unit for forwarding.
In a second aspect, the present invention provides a user service processing apparatus, applied to a central switch, where the central switch communicates with a satellite unit through a cascade port, the satellite unit includes a plurality of user interfaces, the satellite unit is communicatively connected to a plurality of user devices through a plurality of user interfaces, and the user interfaces and the user devices are in one-to-one correspondence, and the apparatus includes:
the acquisition module is used for acquiring service types of a plurality of user interfaces of the satellite unit;
the optimizing module is used for creating one-to-one corresponding expansion interfaces according to the service types;
the optimizing module is further configured to process services from the user interfaces of the same service type through each of the extension interfaces.
In a third aspect, the present invention provides a central switch, comprising a processor and a memory, the memory being configured to store a program, the processor being configured to implement the user traffic processing method according to any one of the preceding embodiments when the program is executed.
In a fourth aspect, the present invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the user traffic handling method of any of the preceding embodiments.
Compared with the prior art, the user service processing method, the device, the central switch and the storage medium provided by the embodiment of the invention have the advantages that the one-to-one corresponding expansion interfaces are created according to the service types of the user interfaces, and the service of the user interfaces with the same service type is processed through each expansion interface, so that the user interfaces with the same service type can meet the communication requirement by sharing one expansion interface, the expansion interfaces can be fully utilized, the hardware resources occupied by the expansion interfaces are saved, the number of the user interfaces of the satellite units managed by the central switch is effectively expanded, and the number of the devices which can be accessed by the satellite units is further expanded.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an extended interface technology according to an embodiment of the present invention.
Fig. 2 is a block diagram of a central switch according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating a user service processing method according to an embodiment of the present invention.
Fig. 4 is an exemplary diagram of an optimized expansion interface according to an embodiment of the present invention.
Fig. 5 is an exemplary diagram of another optimized expansion interface according to an embodiment of the present invention.
Fig. 6 is a schematic diagram of MLAG networking according to an embodiment of the present invention.
Fig. 7 is an exemplary diagram of an optimized extension interface applicable to an MLAG scenario according to an embodiment of the present invention.
Fig. 8 is a block diagram of an embodiment of a user service processing apparatus according to the present invention.
Icon: 10-a central exchange; 11-a processor; 12-memory; 13-bus; 14-a communication interface; a 20-satellite unit; 30-user equipment; 100-user service processing means; 110-an acquisition module; 120-an optimization module; 130-forwarding module.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
In the description of the present invention, it should be noted that, if the terms "upper", "lower", "inner", "outer", and the like indicate an azimuth or a positional relationship based on the azimuth or the positional relationship shown in the drawings, or the azimuth or the positional relationship in which the inventive product is conventionally put in use, it is merely for convenience of describing the present invention and simplifying the description, and it is not indicated or implied that the apparatus or element referred to must have a specific azimuth, be configured and operated in a specific azimuth, and thus it should not be construed as limiting the present invention.
Furthermore, the terms "first," "second," and the like, if any, are used merely for distinguishing between descriptions and not for indicating or implying a relative importance.
It should be noted that the features of the embodiments of the present invention may be combined with each other without conflict.
Referring to fig. 1, fig. 1 is an exemplary schematic diagram of an extended interface technology provided by an embodiment of the present invention, in fig. 1, a cascade port (te 0/1) of a central switch 10 and an uplink interface (te 0/1) of a satellite unit 20 are connected to form a physical link capable of communicating (as shown by a solid line between the central switch 10 and the satellite unit 20 in fig. 1), a user interface of the satellite unit 20 is connected to a user device 30, and the user device 30 may be a PC, a server, a wireless AP (Wireless Access Point, a wireless access point), a printer, a mobile terminal, or the like.
To multiplex the physical links (shown in solid lines in fig. 1), an extension identifier is set for each of the user interfaces of the satellite units 20, and one extension identifier corresponds to one virtual extension interface on the central switch, i.e. each of the user interfaces of the satellite units 20 and the extension interface of the central switch 10 are mapped to form a virtual data channel (e.g. a dashed line between the central switch 10 and the satellite units 20 in fig. 1) by means of the extension identifier. In fig. 1, there are 8 user devices 30, which are communicatively connected to the satellite unit 20 via 8 user interfaces (user interface gi 0/1-user interface gi 0/8) of the satellite unit 20, and for each user interface, 8 expansion interfaces (expansion interfaces gi 100/1-expansion interfaces gi 100/8) corresponding to the user interfaces are created on the central exchange 10. The virtual data channels indicated by the multiple broken lines share the same physical link indicated by the solid line when the actual data transmission is performed, and the physical link is used as an expansion interface channel.
For example, taking the user interface gi0/1 as an example in fig. 1, for the uplink traffic, the satellite unit 20 receives the uplink traffic sent by the user equipment 30 through the user interface gi0/1, marks the uplink traffic with an extension identifier 1, sends the uplink traffic to the central switch 10 through the extension interface channel, and the central switch 10 maps to the corresponding extension interface gi100/1 through the extension identifier 1; for downlink traffic, the central switch 10 finds the expansion interface gi100/1 as an outgoing interface according to the forwarding principle of the switch for the downlink traffic of the user interface gi0/1 of the satellite unit 20, the downlink traffic is marked with the expansion identifier 1, the downlink traffic is sent to the satellite unit 20 through the expansion interface channel, the satellite unit 20 identifies the expansion identifier 1 and sends the expansion identifier 1 from the user interface gi0/1 to the corresponding user equipment 30, thereby forwarding the uplink traffic and the downlink traffic is realized. The satellite unit 20 is only responsible for transparent forwarding of access traffic, and all traffic control, traffic control is done by the central switch 10. Thus, the network centralized control and the user distributed access are realized. Between the central exchange 10 and the satellite units 20, an auto-discovery and management protocol is run, including auto-discovery of the satellite units 20, user interface reporting and status management of the satellite units 20, extended identification allocation and maintenance of the user interfaces of the satellite units 20, etc.
It should be noted that, if the central switch 10 has a plurality of cascade ports and is capable of supporting a greater number of expansion interfaces, the central switch 10 may implement physical connection through the plurality of cascade ports and the plurality of satellite units 20, and one physical link exists between one cascade port and one satellite unit 20, and traffic forwarding between the central switch 10 and the corresponding satellite unit 20 is implemented by multiplexing the physical link.
As one implementation manner, the central switch 10 and the satellite unit 20 are externally presented as a distributed device, and one satellite unit 20 is a plug and play service board card of the distributed device, as another implementation manner, the central switch 10 and the satellite unit 20 may be mutually independent devices, so as to form a distributed system.
In the expansion technology of fig. 1, since each user interface corresponds to one expansion interface, and one expansion interface needs to occupy one hardware resource, the number of expansion interfaces that can be provided is greatly limited by the chip hardware specification limit. In view of this, embodiments of the present invention provide a method, an apparatus, a central switch, and a storage medium for processing a user service, which can fully utilize an expansion interface, save hardware resources occupied by the expansion interface, expand the number of user interfaces of a satellite unit managed by the central switch, and further expand the number of user devices that can be accessed by the satellite unit, and will be described in detail below.
Referring to fig. 2, fig. 2 is a block diagram of a central switch 10 according to an embodiment of the present invention, where the central switch 10 includes a processor 11, a memory 12, a bus 13, and a communication interface 14, and the processor 11, the memory 12, and the communication interface 14 are connected through the bus 13.
The processor 11 may be an integrated circuit chip with signal processing capabilities. In implementation, the user traffic handling method may be implemented by means of integrated logic circuits of hardware in the processor 11 or instructions in the form of software. The processor 11 may be a general-purpose processor including a CPU (Central Processing Unit ), NP (Network Processor, network processor), and the like; but also DSP (Digital Signal Processing, digital signal processor), ASIC (Application Specific Integrated Circuit ), FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
The memory 12 is used to store programs, such as the user service processing apparatus 100 in the following embodiment. Subscriber services processing device 100 includes at least one software functional module that may be stored in memory 12 in the form of software or firmware (firmware) or cured in the OS (Operating System) of central switch 10. After receiving the execution instruction, the processor 11 executes a program to implement the user service processing method disclosed in the present embodiment.
Referring to fig. 3, fig. 3 is a flowchart illustrating an example of a user service processing method provided by the embodiment of the present invention, and the method further provides a user service processing method applied to the central switch 10 in fig. 2, and includes the following steps:
step S101, acquiring service types of a plurality of user interfaces of a satellite unit.
In this embodiment, after planning the service type of the user interface according to the actual requirement of service deployment, the network planner configures the service type of the satellite unit user interface, where the configuration may be implemented on the controller, and then issued to the central switch by the controller, or may directly configure the service type locally in the central switch. The service type may be voice, video, print service, etc., e.g. a total of 8 user interfaces, user interface 1-user interface 3 is voice service, user interface 4-user interface 6 is video service, user interface 7-user interface 8 is print service, the service types of these 8 user interfaces include 3 types: voice, video, and printing. In the embodiment of the invention, the central switch can acquire the service type in the local configuration.
Step S102, creating one-to-one expansion interfaces according to the service types.
In this embodiment, one expansion interface corresponds to one service type, and a message with the same service type is processed through the same expansion interface, so that a user interface with the same service type only needs to correspond to one expansion interface, and occupies one hardware resource.
Step S103, the business of the user interface of the same business type is processed through each expansion interface.
According to the method provided by the embodiment, the user interfaces of the same service type can meet the communication requirement by sharing one expansion interface, so that the expansion interfaces are fully utilized, the hardware resources occupied by the expansion interfaces are saved, the number of the user interfaces of the satellite units managed by the central switch is effectively expanded, and the number of devices which can be accessed by the satellite units is further expanded.
In this embodiment, creating the one-to-one expansion interface includes creating a correspondence between the expansion interface and a service type, including configuration of a central switch and configuration of a satellite unit, where a specific implementation manner is:
setting a corresponding expansion identifier for each service type;
establishing a mapping relation between the expansion interfaces, the cascade ports and the expansion identifiers, wherein each expansion interface corresponds to one cascade port and one expansion identifier;
And configuring a mapping relation between the service types and the extension identifiers for the satellite units, wherein each service type corresponds to one extension identifier.
In this embodiment, the extension identifier can uniquely characterize a mapping relationship between the extension interface and the service type (or the user interface corresponding to the service type). Different satellite units may use the same extended identity. Depending on the hardware support of the device, the extension identifier may employ different techniques. For example, VLAN TAG technology (Virtual Local Area Network, virtual local area network TAG technology) is used, that is, the original data from the user interface is forwarded to the central switch 10 by adding a layer of VLAN TAG at the satellite unit 20, and the corresponding expansion interface is found by means of the VLAN TAG.
In order to more clearly illustrate the user service processing method of the first mode, please refer to fig. 4, fig. 4 is an exemplary diagram of an optimized expansion interface provided by the embodiment of the present invention, in fig. 4, there are 4 user interfaces of the satellite unit 20, each user interface is connected with a PC, the user interfaces of the PC1-PC2 are one service type, the user interfaces of the PC3-PC4 are another service type, the expansion identifier 2 is corresponding, the expansion identifier 1 corresponds to the expansion interface gi100/1 of the central switch, and the expansion identifier 2 corresponds to the expansion interface gi100/2 of the central switch.
After the processing of the first mode, each service type is provided with a corresponding extension identifier, the central switch creates a plurality of extension interfaces, and based on the optimization mode of the first mode, the embodiment also provides an implementation mode of the forwarding process of the uplink message and the downlink message in the optimization mode:
for the uplink message, one implementation manner is as follows:
receiving an uplink message from a corresponding expansion interface according to an expansion identifier of the uplink message sent by the satellite unit, wherein the uplink message is generated by the satellite unit according to a service message received through any user interface, and the uplink message comprises the expansion identifier determined by the satellite unit according to the service type of the user interface for receiving the service message; and the central switch performs service processing on the uplink message. Generally, there are two modes of service processing for the uplink message by the central switch, one is that the service is processed after the message processing is performed by the local uplink CPU; the other is to forward the uplink message directly, for example, to the remote device through an uplink interface.
In this embodiment, if the uplink packet is a packet that needs to be sent by the user equipment 30 through the central switch 10, the forwarding path is: the specific forwarding process of the user equipment 30-satellite unit 20-central switch 10 is as follows: the user equipment 30 sends the service message to the user interface of the satellite unit 20, the satellite unit 20 receives the service message through the user interface, determines the expansion identifier corresponding to the service type according to the service type of the user interface, the satellite unit 20 obtains the uplink message after marking the determined expansion identifier for the service message, and sends the uplink message to the central switch 10, and the central switch 10 finds the matched uplink interface to forward to the remote equipment by searching the forwarding table after receiving the uplink message through the expansion interface.
For the downlink message, one implementation is:
receiving a downlink message sent by remote equipment;
searching a forwarding table according to a destination address in the downlink message, determining an output interface matched with the downlink message as an expansion interface, marking the downlink message with an expansion identifier corresponding to the matched expansion interface, and sending the downlink message through the matched expansion interface.
In this embodiment, the downlink message is a message received by the central switch 10 and required to be sent to the user equipment 30, and the downlink message received by the central switch 10 is sent by a remote device, where the remote device may be a remote data center service, a server service, or the like. After the central switch 10 receives the downlink message sent by the remote device, its forwarding path is: the specific forwarding process of the central switch 10-satellite unit 20-user equipment 30 is as follows: the central exchange 10 searches the forwarding table according to the destination address in the downlink message, determines the output interface of the downlink message as an expansion interface, marks the expansion identifier corresponding to the matched expansion interface on the downlink message, sends the downlink message to the satellite unit 20 through the matched expansion interface, searches the user interface corresponding to the satellite unit according to the destination MAC address in the service message, hands the downlink message to the corresponding user interface, and the satellite unit 20 strips off the expansion identifier in the downlink message to obtain the service message and sends the service message to the corresponding user equipment.
In the first embodiment, the number of the satellite units 20 that the central switch 10 can connect may still not meet the requirement due to the limitation of the hardware of the central switch 10, so as to further expand the number of the satellite units 20 that the central switch 10 can connect, and further expand the number of the devices that the satellite units 20 can access, the embodiment further provides another implementation manner of creating a one-to-one expansion interface, namely, the second embodiment:
in the second mode, a cascade switch is introduced, and the central switch 10 is connected with a plurality of satellite units 20 through the cascade switch, so that the number of satellite units 20 that the central switch 10 can be connected with can be increased, and besides the mapping relationship between the expansion interface and the expansion identifier, the mapping relationship between the service type and the expansion identifier is configured for each satellite unit 20, the cascade switch is also configured.
The second mode is implemented in the same way as the first mode, that is: setting a corresponding expansion identifier for each service type; and establishing a mapping relation between the expansion interfaces, the cascade ports and the expansion identifiers, wherein each expansion interface corresponds to one cascade port and one expansion identifier.
In addition, for each satellite unit 20, in the second mode, a mapping relationship between a service type and an extension identifier corresponding to the satellite unit is configured for each satellite unit, and each service type corresponds to one extension identifier. For example, satellite unit 1 has 3 service types corresponding to extension id 1-extension id 3, respectively, and satellite unit 2 has 3 service types corresponding to extension id 4-extension id 6, respectively.
Since the second mode introduces a tandem switch, in order to enable the tandem switch to forward normally between the central switch 10 and the satellite unit 20, the tandem switch needs to be configured, and one implementation mode is as follows:
and configuring a mapping relation between each satellite unit and the expansion identifier for the cascade switch, wherein each satellite unit corresponds to at least one expansion identifier, and one expansion identifier corresponds to one satellite unit.
In order to more clearly illustrate the user service processing method of the second mode, please refer to fig. 5, fig. 5 is an exemplary diagram of another optimized expansion interface provided by the embodiment of the present invention, in fig. 5, the central switch 10 is connected to two satellite units 20 (satellite unit 1 and satellite unit 2) through a cascade switch, two user interfaces in the user interfaces of each satellite unit 20 are connected to a PC, the satellite unit 1 is connected to a PC11 and a PC12, the satellite unit 2 is connected to a PC21 and a PC22, the user interfaces corresponding to 4 PCs are different service types, and respectively correspond to the expansion identifier 1-the expansion identifier 4.
It should be noted that fig. 5 is only an example, and in fact, the cascade switch may also connect to more satellite units 20, and each satellite unit may also connect to more devices, where hardware allows.
It should be further noted that, since the cascaded switch in fig. 5 only needs to perform message transparent transmission, the configuration requirement is not high, and adding the cascaded switch does not increase excessive cost.
After the second mode is processed, each service type is provided with a corresponding extension identifier, a plurality of extension interfaces are established by the central switch, one-to-one interface identifier mapping relations exist between the extension interfaces and the cascade ports as well as between the extension identifiers, the satellite units are configured with one-to-one type identifier mapping relations between the service types and the extension identifiers, the cascade switch is configured with satellite unit identifier mapping relations between each satellite unit and the extension identifiers, and based on the second mode optimization mode, the implementation mode of the forwarding process of the uplink message and the downlink message in the second mode is further provided:
for the uplink message, one implementation manner is as follows:
receiving an uplink message sent by a cascade switch, wherein the uplink message is an uplink message sent by any satellite unit in a plurality of satellite units received by the cascade switch, the uplink message is generated by any satellite unit through a service message received by any user interface, and the uplink message comprises an extension identifier determined by any satellite unit according to the service type and type identifier mapping relation of any user interface;
And receiving the uplink message from the corresponding expansion interface according to the mapping relation between the expansion identifier and the interface identifier in the uplink message, and carrying out service processing on the uplink message.
In this embodiment, the forwarding path of the uplink packet is: the specific forwarding process of the user equipment 30-satellite unit 20-cascading exchanger-central exchanger 10 is as follows: the user equipment 30 sends the service message to the user interface of the satellite unit 20, the satellite unit 20 receives the service message through the user interface, determines the expansion identifier according to the service type and the type identifier mapping relation of the user interface, the satellite unit 20 obtains the uplink message after marking the determined expansion identifier for the service message, and sends the uplink message to the cascade switch, the cascade switch transmits the uplink message to the central switch 10, and the central switch 10 determines the uplink expansion interface from a plurality of expansion interfaces according to the expansion identifier and the interface identifier mapping relation in the uplink message and forwards the uplink message through the uplink expansion interface.
For the downlink message, one implementation is:
receiving a downlink message sent by remote equipment;
according to the destination address in the downlink message, searching a forwarding table, determining an output interface matched with the downlink message as an expansion interface, marking the downlink message with an expansion identifier corresponding to the matched expansion interface, transmitting the downlink message to a cascade switch through the matched expansion interface, searching the forwarding table by the cascade switch according to the destination MAC address in the service message to obtain the output interface, and transmitting the downlink message from the output interface to a satellite unit for forwarding.
In this embodiment, after the central switch 10 receives the downlink packet sent by the remote device, its forwarding path is: the specific forwarding process of the central switch 10-cascade switch-satellite unit 20-user equipment 30 is as follows: the central switch 10 searches the forwarding table according to the destination address in the downlink message, determines the output interface matched with the downlink message as an expansion interface, marks the expansion identifier corresponding to the matched expansion interface on the downlink message, sends the downlink message to the cascade switch through the downlink expansion interface, searches the forwarding table according to the destination MAC address in the service message to obtain the output interface, sends the downlink message from the output interface to the satellite unit for forwarding, and the satellite unit searches the user interface corresponding to the satellite unit according to the destination MAC address in the service message, and peels off the expansion identifier in the downlink message to obtain the service message and sends the service message to the corresponding user equipment 30.
In this embodiment, in order to improve service reliability during actual networking, a common manner is to perform device-level backup, and for device-level backup, an MLAG technology (Multi-Chassis Link Aggregation, cross-device link aggregation technology) is widely used, and the technology is mainly based on the principle that two central devices independently operate, a cross-device aggregation protocol is operated between two devices, a primary-standby state is maintained, an access device uses link aggregation, two uplink devices are respectively connected to two MLAG devices (refer to devices operating the MLAG technology), the two MLAG devices are respectively connected to the device under link aggregation ports, the link aggregation ports need to be configured with the same MLAG GroupID, link aggregation of the two ag devices is identified, the external presentation is the same link aggregation, and the link aggregation SystemID externally advertised by the two MLAG devices is a unified SystemID after protocol, so that the two MLAG devices are virtual devices in view of the access device. Thus, when two MLAG devices operate normally, the traffic of the access device is shared between the two MLAG devices, and when one of the two MLAG devices fails, the access device only forwards the traffic from the normal one of the two MLAG devices, so as to achieve the reliability of the device level, please refer to fig. 6, fig. 6 is a schematic view of MLAG networking provided by the embodiment of the present invention, in fig. 6, the MLAG master device and the MLAG slave device communicate through an MLAG protocol, the MLAG master device and the MLAG slave device are both connected with the access device in communication, corresponding to link 1 and link 2 in fig. 6, the access device is connected with PC1 and PC2 through different access interfaces, and the link 1 and link 2 are configured with the same ag mlgroupid, i.e., ag mlgroup 100, so that, for the access device, the MLAG master device and the ag slave device are one device, and the access device do not sense two devices in one master and one slave state.
Based on the MLAG networking of fig. 6, if the user service processing method provided by this embodiment is used in the networking, this embodiment provides an implementation manner, aiming at the network architecture of the central switch and the satellite unit, in order to achieve device-level backup, based on the MLAG technology, that is, two central switches form the MLAG, the upper link of the satellite unit adopts dual uplink, and distributes and connects two MLAG devices, because the number of expansion interfaces that need to be expanded by the central switch is relatively large (such as 4000), the link aggregation group of the devices is limited by hardware, and the number is limited (generally 512 at maximum), and the current existing technology makes the architecture limited in use. The specific method comprises the following steps: after the MLAG upper expansion interface management protocol detects that the satellite unit is on line, an instruction is issued, the satellite unit adds an uplink interface into a default link aggregation group, and the two uplink interfaces are aggregated into one aggregation group by adopting a static link. After the MLAG Master device (namely a main central switch) detects satellite units, a corresponding number of virtual expansion interfaces are automatically generated according to the number of user ports of the satellite units and an abstract interface service classification mode, MLAG GroupID is allocated to each virtual expansion interface, then the MLAG GroupID, satellite unit identifiers and satellite unit interface serial numbers are synchronized to the MLAG Slave device (namely a standby central switch), after the MLAG Slave device receives the information, the MLAG Slave device searches for expansion interfaces with the same satellite unit identifiers created by the device through the satellite unit identifiers, finds out the corresponding expansion interfaces according to the satellite unit identifier interface serial numbers, distributes the MLAG GroupID to the corresponding expansion interfaces, and forms a pair of virtual static link aggregation groups to communicate with the static link aggregation groups of the satellite units.
Referring to fig. 7, fig. 7 is an exemplary diagram of an optimized expansion interface suitable for an MLAG scenario provided by the embodiment of the present invention, in fig. 7, a main central switch and a standby central switch are in communication with a same satellite unit through an MLAG protocol, the main central switch and the standby central switch are in communication connection with each other through respective physical links, PC1 and PC2 are connected through different access interfaces of the satellite unit, service types of the two access interfaces are different, corresponding to an expansion identifier 1 and an expansion identifier 2 respectively, the main central switch has two expansion interfaces (an expansion interface gi100/1 and an expansion interface gi 100/2), corresponding to two access interfaces of the satellite unit (an access interface gi0/1 and an access interface gi 0/2) respectively, the expansion interfaces gi100/1 of the main central switch and the expansion interface gi1 of the standby central switch are set to be the same, i.e. the main central switch gid is set to be the same for the satellite unit, i.e. the main central switch gid is a Group of the same, and the standby central switch is a Group ag 100, i.e. the main central switch is set to be the same for the main central ag 100.
By using the user service processing method provided by the embodiment, the central switch can be connected with a larger-scale satellite unit number, a larger-scale user access number and a service access number. Under the network architecture, the satellite unit is only responsible for data forwarding and is not responsible for service control, such as 802.1X service, all service control is concentrated in a central switch, and high requirements are put on the performance of the central switch, which can restrict the actual effective scale of the network architecture. As an implementation way, the service unloading can be performed on the high-consumption service of the central switch, such as 802.1X service, which relates to the service managed by user authentication, authorization, charging and the like, and the service is unloaded onto other special service acceleration processing cards, so that the performance problem of the central switch is solved.
In order to perform the above-described embodiments and corresponding steps in each of the possible implementations, an implementation of a block example diagram of the user service handling apparatus 100 is given below. Referring to fig. 8, fig. 8 is a block diagram illustrating an embodiment of a user service processing apparatus according to the present invention. It should be noted that, the basic principle and the technical effects of the user service processing apparatus 100 provided in this embodiment are the same as those of the foregoing embodiments, and for brevity, this embodiment is not mentioned in the section.
The user service processing device 100 is applied to a central switch, the central switch communicates with a satellite unit through a cascade port, the satellite unit comprises a plurality of user interfaces, the satellite unit is in communication connection with a plurality of user equipment through the plurality of user interfaces, the user interfaces and the user equipment are in one-to-one correspondence, and the device comprises an acquisition module 110, an optimization module 120 and a forwarding module 130.
An acquisition module 110 is configured to acquire service types of a plurality of user interfaces of the satellite unit.
The optimizing module 120 is configured to create one-to-one expansion interfaces according to the service types;
the optimizing module 120 is further configured to process the service of the user interface of the same service type through each extension interface.
In an alternative embodiment, the optimization module 120 is specifically configured to: setting a corresponding expansion identifier for each service type; establishing a mapping relation between the expansion interfaces, the cascade ports and the expansion identifiers, wherein each expansion interface corresponds to one cascade port and one expansion identifier; and configuring a mapping relation between the service types and the extension identifiers for the satellite units, wherein each service type corresponds to one extension identifier.
In an alternative embodiment, the satellite unit is one, the service types are multiple, and the forwarding module 130 is configured to: receiving an uplink message from a corresponding expansion interface according to an expansion identifier of the uplink message sent by the satellite unit, wherein the uplink message is generated by the satellite unit according to a service message received through any user interface, and the uplink message comprises the expansion identifier determined by the satellite unit according to the service type of the user interface for receiving the service message; and carrying out service processing on the uplink message. Generally, there are two modes of service processing for the uplink message by the central switch, one is that the service is processed after the message processing is performed by the local uplink CPU; the other is to forward the uplink message directly, for example, to the remote device through an uplink interface. The forwarding module 130 is specifically configured to forward the uplink message to the CPU so that the CPU can process the uplink message, or forward the uplink message directly to the remote device.
In an alternative embodiment, the central switch is further in communication with a remote device, and the forwarding module 130 is configured to: receiving a downlink message sent by remote equipment; searching a forwarding table according to a destination address in the downlink message, determining an output interface matched with the downlink message as an expansion interface, marking the downlink message with an expansion identifier corresponding to the matched expansion interface, and sending the downlink message through the matched expansion interface.
In an alternative embodiment, the plurality of satellite units are connected to the central switch through the cascade switch, and the optimizing module 120 is further configured to: and configuring a mapping relation between each satellite unit and the expansion identifier for the cascade switch, wherein each satellite unit corresponds to at least one expansion identifier, and one expansion identifier corresponds to one satellite unit.
In an alternative embodiment, the plurality of satellite units are connected with the central switch in a communication manner through the cascade switch, each service type is provided with a corresponding extension identifier, the central switch establishes a plurality of extension interfaces, a one-to-one interface identifier mapping relationship exists between the extension interfaces and the cascade ports as well as between the extension interfaces, the satellite units are configured with a type identifier mapping relationship between the service type and the extension identifier, and the forwarding module 130 is further configured to: receiving an uplink message sent by a cascade switch, wherein the uplink message is an uplink message sent by any satellite unit in a plurality of satellite units received by the cascade switch, the uplink message is generated by any satellite unit through a service message received by any user interface, and the uplink message comprises an extension identifier determined by any satellite unit according to the service type and type identifier mapping relation of any user interface; and receiving the uplink message from the corresponding expansion interface according to the mapping relation between the expansion identifier and the interface identifier in the uplink message, and carrying out service processing on the uplink message.
In an alternative embodiment, the central switch is further in communication with a remote device, and the tandem switch is configured with a satellite unit identifier mapping relationship between each satellite unit and the extended identifier, and the forwarding module 130 is further configured to: receiving a downlink message sent by remote equipment; according to the destination address in the downlink message, searching a forwarding table, determining an output interface matched with the downlink message as an expansion interface, marking the downlink message with an expansion identifier corresponding to the matched expansion interface, sending the downlink message to a cascade switch through the matched expansion interface, searching the forwarding table by the cascade switch according to the destination MAC address in the service message to obtain the output interface, and sending the downlink message to a satellite unit through the output interface for forwarding.
An embodiment of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the user service processing method of any of the foregoing embodiments.
In summary, the embodiments of the present invention provide a method, an apparatus, a central switch, and a storage medium for processing a user service, where the central switch is applied to the central switch, and the central switch communicates with a satellite unit through a cascade port, where the satellite unit includes a plurality of user interfaces, and the satellite unit is communicatively connected to a plurality of user devices through a plurality of user interfaces, and the user interfaces are in one-to-one correspondence with the user devices, where the method includes: acquiring service types of a plurality of user interfaces of a satellite unit; creating one-to-one corresponding expansion interfaces according to the service types; the services of the user interface of the same service type are processed through each expansion interface. Compared with the prior art, the embodiment has at least the following advantages: the limitation of hardware resources of the central switch is broken through, so that the user scale and the service scale borne by the network architecture are expanded by several times, and the further popularization and application of the network architecture are facilitated; the embodiment of the invention is flexible and simple to implement, can be upgraded and expanded on the existing networking architecture, and further reduces the implementation and operation cost of networking.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the scope of the present invention should be included in the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (10)

1. The utility model provides a user service processing method which is characterized in that is applied to central switch, central switch communicates with satellite unit through cascading port, satellite unit includes a plurality of user interfaces, satellite unit is through a plurality of user interfaces and a plurality of user equipment communication connection, user interface and user equipment one-to-one, the method includes:
acquiring service types of a plurality of user interfaces of the satellite unit;
creating one-to-one expansion interfaces according to the service types;
and processing the service of the user interface of the same service type through each expansion interface.
2. The user service processing method of claim 1, wherein the step of creating a one-to-one expansion interface according to the service type comprises:
Setting a corresponding expansion identifier for each service type;
establishing a mapping relation between the expansion interfaces, the cascade ports and the expansion identifiers, wherein each expansion interface corresponds to one cascade port and one expansion identifier;
and configuring a mapping relation between the service types and the expansion identifiers for the satellite units, wherein each service type corresponds to one expansion identifier.
3. The method for processing user traffic according to claim 2, wherein said satellite unit is one, said traffic type is a plurality, said processing traffic of user interfaces of the same traffic type through each of said expansion interfaces comprises:
receiving an uplink message from a corresponding expansion interface according to an expansion identifier of the uplink message sent by the satellite unit, wherein the uplink message is generated by the satellite unit according to a service message received through any user interface, and the uplink message comprises the expansion identifier determined by the satellite unit according to the service type of the user interface receiving the service message;
and carrying out service processing on the uplink message.
4. A user traffic handling method according to claim 3, wherein said central switch is further in communication with a remote device, said method further comprising:
Receiving a downlink message sent by the remote equipment;
and searching a forwarding table according to the destination address in the downlink message, determining an output interface matched with the downlink message as an expansion interface, marking the downlink message with an expansion identifier corresponding to the matched expansion interface, and sending the downlink message through the matched expansion interface.
5. The subscriber service processing method according to claim 2, wherein said satellite units are plural, and plural said satellite units are communicatively connected to said central switch through a cascade switch, said method further comprising:
and configuring a mapping relation between each satellite unit and the extension identifier for the cascade switch, wherein each satellite unit corresponds to at least one extension identifier, and one extension identifier corresponds to one satellite unit.
6. The method for processing user service according to claim 2, wherein the plurality of satellite units are provided, the plurality of satellite units are in communication connection with the central switch through a cascade switch, each service type is provided with a corresponding extension identifier, the central switch is established with a plurality of extension interfaces, a one-to-one interface identifier mapping relationship exists between the extension interfaces and the cascade ports and between the extension identifiers, and the satellite units are configured with a one-to-one type identifier mapping relationship between the service types and the extension identifiers, and the method further comprises:
Receiving an uplink message sent by the cascade switch, wherein the uplink message is an uplink message sent by any one of a plurality of satellite units received by the cascade switch, the uplink message is generated by the service message received by any one satellite unit through any user interface thereof, and the uplink message comprises an extension identifier determined by the any one satellite unit according to the service type of any user interface and the type identifier mapping relation;
and receiving the uplink message from the corresponding expansion interface according to the mapping relation of the expansion identifier and the interface identifier in the uplink message, and carrying out service processing on the uplink message.
7. The subscriber service processing method of claim 6, wherein said central switch is further in communication with a remote device, said tandem switch configured with a satellite unit identity mapping relationship between each of said satellite units and said extended identity, said method further comprising:
receiving a downlink message sent by the remote equipment;
and searching a forwarding table according to a destination address in the downlink message, determining an output interface matched with the downlink message as an expansion interface, marking the downlink message with an expansion identifier corresponding to the matched expansion interface, transmitting the downlink message to the cascade switch through the matched expansion interface, searching the forwarding table by the cascade switch according to a destination MAC address in the service message to obtain the output interface, and transmitting the downlink message from the output interface to the satellite unit for forwarding.
8. A user service processing apparatus, applied to a central switch, the central switch communicating with a satellite unit through a cascade port, the satellite unit including a plurality of user interfaces, the satellite unit being communicatively connected to a plurality of user devices through a plurality of user interfaces, the user interfaces and the user devices being in one-to-one correspondence, the apparatus comprising:
the acquisition module is used for acquiring service types of a plurality of user interfaces of the satellite unit;
the optimizing module is used for creating one-to-one corresponding expansion interfaces according to the service types;
and the optimizing module is also used for processing the business of the user interface with the same business type through each expansion interface.
9. A central exchange comprising a processor and a memory, the memory for storing a program, the processor for implementing the user traffic handling method of any of claims 1-7 when the program is executed.
10. A computer readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, implements the user traffic handling method according to any of claims 1-7.
CN202310890516.7A 2023-07-19 2023-07-19 User service processing method, device, central switch and storage medium Pending CN116886161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310890516.7A CN116886161A (en) 2023-07-19 2023-07-19 User service processing method, device, central switch and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310890516.7A CN116886161A (en) 2023-07-19 2023-07-19 User service processing method, device, central switch and storage medium

Publications (1)

Publication Number Publication Date
CN116886161A true CN116886161A (en) 2023-10-13

Family

ID=88269597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310890516.7A Pending CN116886161A (en) 2023-07-19 2023-07-19 User service processing method, device, central switch and storage medium

Country Status (1)

Country Link
CN (1) CN116886161A (en)

Similar Documents

Publication Publication Date Title
KR101472399B1 (en) Method, system and controlling bridge for obtaining port extension topology information
US6804721B2 (en) Multi-point link aggregation spoofing
US5809028A (en) Protocol converter for a wireless telecommunications system
US5961588A (en) Handling of commands passed between the server and client stations of a telecommunications system
US20080045254A1 (en) Method and Apparatus for Maximizing Resource Utilization of Base Stations in a Communication Network
CN102056184B (en) Radio remote unit link self-adaption method and device
US8238358B2 (en) Ring network, communication device, and operational management method used for the ring network and communication device
US20100290391A1 (en) Apparatus and method for accessing multiple wireless networks
EP0882341A1 (en) A control system for a telecommunications system
WO1997031452A1 (en) A control system for a telecommunications system
CN109327360B (en) Port multiplexing method and device
US11758391B2 (en) User equipment (UE) identification in a wireless communication network
WO2018098696A1 (en) Integrated access system
CN116886161A (en) User service processing method, device, central switch and storage medium
CN100515138C (en) Transmission control method for wireless network and base station
US10944625B2 (en) Bearer configuration method and related products
CN114401324B (en) Message forwarding method, network equipment and system
CN102427381A (en) Satellite base station system
CN102869045B (en) A kind of data transmission method and system
CN100391177C (en) Method for extending virtual Local area network number in exchanging equipment
CN113747451A (en) Base station host, base station system and communication method
CN113795047B (en) Downlink energy saving method, system, computer equipment and storage medium
CN110971358A (en) Activating method for repeated transmission, terminal and network side equipment
CN109451520B (en) Mesh node stacking multi-channel communication extension method for wireless equipment PIPE interconnection
JP2000201163A (en) Distribution type network node

Legal Events

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