CN108123808B - Traffic management method and equipment - Google Patents

Traffic management method and equipment Download PDF

Info

Publication number
CN108123808B
CN108123808B CN201611067338.4A CN201611067338A CN108123808B CN 108123808 B CN108123808 B CN 108123808B CN 201611067338 A CN201611067338 A CN 201611067338A CN 108123808 B CN108123808 B CN 108123808B
Authority
CN
China
Prior art keywords
user
network device
bandwidth
traffic
reserved bandwidth
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.)
Active
Application number
CN201611067338.4A
Other languages
Chinese (zh)
Other versions
CN108123808A (en
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.)
XFusion Digital Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201611067338.4A priority Critical patent/CN108123808B/en
Publication of CN108123808A publication Critical patent/CN108123808A/en
Application granted granted Critical
Publication of CN108123808B publication Critical patent/CN108123808B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1432Metric aspects
    • H04L12/1435Metric aspects volume-based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1442Charging, metering or billing arrangements for data wireline or wireless communications at network operator level

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to the field of communications, and in particular, to a method, device, and system for traffic management. The method comprises the steps that first network equipment receives a first user name corresponding to a first user from second network equipment. The first network device also receives a second user name corresponding to a second user from a third network device. And if the first user name is the same as the second user name, the first network equipment performs unified management on the flow of the first user and the flow of the second user. The method and the system realize unified management of the flow of two network users at different geographic positions and reduce the management cost of operators.

Description

Traffic management method and equipment
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for traffic management.
Background
When the network service of the home user is opened by an operator, the network account of the user is bound with the geographic position of the user, and the home user is connected with the network by matching the user name and the password of the network account. The operator manages and charges the user flow by taking the home user as a unit. The same family user uses the same user name to open the internet access service at different geographic positions, and the operator carries out independent management and charging on the flow of two network users with different geographic positions. The operator cannot perform unified traffic management on the same user family in different geographic positions.
Disclosure of Invention
The embodiment of the invention provides a method, equipment and a system for traffic management, which are used for solving the technical problem that an operator cannot uniformly manage the traffic of network users at different geographic positions.
In a first aspect, an embodiment of the present invention provides a method for traffic management, where the method includes:
the first network equipment receives the first user name sent by the second network equipment. The first username corresponds to a first user. The first user connects to the internet through the second network device.
And the first network equipment receives the second user name sent by the third network equipment. The second username corresponds to a second user. The second user connects to the internet through a third network device.
When the first network equipment determines that the first user name is the same as the second user name, the first network equipment performs unified traffic management on the first user and the second user.
When a home user transacts internet access service, an operator binds a network account of the user with the home geographical position of the user, so that the operator cannot uniformly manage the traffic of the user at different geographical positions. According to the scheme, the first network equipment receives the first user name and the second user name, and if the first user name is the same as the second user, the first network equipment performs unified management on the flow of the two users. The operator can realize unified flow management on the family users at different geographic positions, the management cost of the operator is reduced, and convenience is provided for the users.
In one possible design, a first network device establishes a first open flow (OPENFLOW) control channel with a second network device. The first network device receives the first username sent by the second network device through the first OPENFLOW control channel.
And the first network equipment and the third network equipment establish a second OPENFLOW control channel, and the first network equipment receives a second user name sent by the third network equipment through the second OPENFLOW control channel.
The network user establishes an open flow control channel with the first network device, and convenience is provided for the user to send a user name.
In one possible design, the performing, by the first network device, unified traffic management on the first user and the second user includes:
the first network equipment receives a first traffic statistic value sent by the second network equipment, wherein the first traffic statistic value is a user traffic statistic value of a first user on the second network equipment.
The first network equipment receives a second traffic statistic value sent by third network equipment, wherein the second traffic statistic value is a user traffic statistic value of a second user on the third network equipment.
The first network equipment sets the first user and the second user to belong to the same user group, and sets the user group name as the first user name or the second user name.
And adding the first flow statistic value and the second flow statistic value to obtain a third flow statistic value.
And sending the user group name and the third flow statistic value to a charging server, and triggering the charging server to charge the user group.
The flow of two users with the same user name and located at different geographic positions is merged and managed, the charging is unified, and the management cost of an operator can be reduced.
In one possible design, the performing, by the first network device, unified traffic management on the first user and the second user includes:
the first network equipment receives a first reserved bandwidth and a first real-time bandwidth which are sent by the second network equipment. The first reserved bandwidth is a reserved bandwidth of the first user on the second network device. The first real-time bandwidth is a real-time bandwidth of the first user on the second network device.
And the first network equipment receives the second reserved bandwidth and the second real-time bandwidth which are sent by the third network equipment. The second reserved bandwidth is a reserved bandwidth of the second user on the third network device. The second real-time bandwidth is a real-time bandwidth of the second user on the third network device.
And when the first network device determines that the first real-time bandwidth exceeds a first threshold and the second real-time bandwidth is lower than a second threshold, increasing the first reserved bandwidth by a specific value to obtain a third reserved bandwidth, and decreasing the second reserved bandwidth by the specific value to obtain a fourth reserved bandwidth.
And the first network device sends the third reserved bandwidth value to the second network device, so as to guide the second network device to receive the traffic of the first user according to the third reserved bandwidth value.
And the first network device sends the fourth reserved bandwidth value to the third network device, so as to guide the third network device to receive the traffic of the second user according to the fourth reserved bandwidth value.
When the user name of the first user is the same as that of the second user, the first user and the second user in different geographic positions can realize bandwidth sharing. The management cost of an operator can be reduced, and the bandwidth utilization rate can be improved.
In one possible design, the first username is a username when the first user dials via a Point to Point Protocol over Ethernet (PPPoE).
The second user name is the user name of the second user when the second user dials through PPPoE.
The first user and the second user in different geographic locations may send a username at PPPoE dialing to the first network device. If the user name of the first user is the same as that of the second user, the traffic of the first user and the traffic of the second user can be managed uniformly. The scheme provides an implementation mode for the identification of the first user name and the second user name.
In a second aspect, a first network device is provided, the first network device comprising: a receiving unit and a processing unit.
The receiving unit is used for receiving the first user name sent by the second network equipment. The first user name corresponds to the first user and receives a second user name sent by the third network equipment. The second username corresponds to and is received by the second user. The first user connects to the internet through the second network device. The second user connects to the internet through a third network device.
The processing unit is used for carrying out unified flow management on the first user and the second user when the first user name and the second user name received by the receiving unit are determined to be the same.
In one possible design, the apparatus further includes a setup unit;
the establishing unit is used for establishing a first OPENFLOW control channel with the second network device, establishing a second OPENFLOW control channel with the third network device, receiving a first user name sent by the second network device through the first OPENFLOW control channel, and receiving a second user name sent by the third network device through the second OPENFLOW control channel.
In a possible design, the receiving unit is further configured to receive a first traffic statistic sent by the second network device, and receive a second traffic statistic sent by the third network device. The first traffic statistic is a user traffic statistic of the first user on the first network device. The second traffic statistic is a user traffic statistic of the second user on the second network device.
The processing unit is further used for setting the first user and the second user to belong to the same user group and setting the user group name as the first user name and the second user name. And adding the first flow statistic value and the second flow statistic value to obtain a third user flow statistic value. And sending the user group name and the third user flow statistic value to a charging server, and triggering the charging server to charge the user group.
In one possible design, the receiving unit is further configured to receive a first reserved bandwidth and a first real-time bandwidth transmitted by a second network device, and receive a second reserved bandwidth and a second real-time bandwidth transmitted by a third network device. The first reserved bandwidth is a reserved bandwidth of the first user on the second network device. The first real-time bandwidth is a real-time bandwidth of the first user on the second network device. The second reserved bandwidth is a reserved bandwidth of the second user on the third network device. The second real-time bandwidth is a real-time bandwidth of the second user on the third network device.
And the processing unit is further used for determining that the first real-time bandwidth exceeds a first threshold value. And when the second real-time bandwidth is lower than a second threshold value, increasing the first reserved bandwidth value by a specific value to obtain a third reserved bandwidth value, and decreasing the second reserved bandwidth value by the specific value to obtain a fourth reserved bandwidth value. And sending the third reserved bandwidth value to the second network device, so as to guide the second network device to receive the traffic of the first user according to the third reserved bandwidth value. And sending the fourth reserved bandwidth value to the third network device, so as to guide the third network device to receive the traffic of the second user according to the fourth reserved bandwidth value.
In one possible design, the first username is the username when the first user dials via PPPoE.
The second user name is the user name of the second user when the second user dials through PPPoE.
In a third aspect, a traffic management system is provided, the system comprising: a first network device, a second network device, and a third network device.
The first network device is used for receiving the first user name sent by the second network device and receiving the second user name sent by the third network device. And when the first user name is determined to be the same as the second user name, carrying out unified flow management on the first user and the second user. The second username corresponds to a second user. The second user connects to the internet through a third network device. The first username corresponds to a first user. The first user connects to the internet through the second network device.
The second network device is configured to send the first username to the first network device.
The third network device is configured to send the second username to the first network device.
In one possible design, the first network device is configured to establish a first OPENFLOW control channel with a second network device and a second OPENFLOW control channel with a third network device. And the first network equipment receives the second user name sent by the third network equipment through the second OPENFLOW control channel. The first network device receives the first username sent by the second network device through the first OPENFLOW control channel.
In one possible design, the first network device is further configured to receive a first traffic statistic sent by the second network device, and receive a second traffic statistic sent by the third network device. And setting the first user and the second user to belong to the same user group. And setting the user group name as a first user name or a second user name. And adding the first flow statistic value and the second flow statistic value to obtain a third flow statistic value. And sending the user group name and the third flow statistic value to a charging server. And triggering the charging server to charge the user group. The second traffic statistic is the user traffic statistic of the second user on the third network device. The first traffic statistic is a user traffic statistic of the first user on the second network device.
The second network device is used for sending the first traffic statistic value to the first network device.
The third network device is configured to send the second traffic statistic to the first network device.
In one possible design, the first network device is further configured to receive a first reserved bandwidth and a first real-time bandwidth transmitted by the second network device. And the first network equipment receives the second reserved bandwidth and the second real-time bandwidth which are sent by the third network equipment. When the first network device determines that the first real-time bandwidth exceeds a first threshold value and the second real-time bandwidth is lower than a second threshold value, the first network device increases the first reserved bandwidth by a specific value to obtain a third reserved bandwidth, decreases the second reserved bandwidth by the specific value to obtain a fourth reserved bandwidth, and sends the third reserved bandwidth to the second network device, so as to guide the second network device to receive the traffic of the first user according to the third reserved bandwidth, and sends the fourth reserved bandwidth to the third network device, so as to guide the third network device to receive the traffic of the second user according to the fourth reserved bandwidth. The second reserved bandwidth is a reserved bandwidth of the second user on the third network device. The second real-time bandwidth is a real-time bandwidth of the second user on the third network device. The first reserved bandwidth is a reserved bandwidth of the first user on the second network device. The first real-time bandwidth is a real-time bandwidth of the first user on the second network device.
The second network device is further configured to send the first reserved bandwidth and the first user real-time bandwidth to the first network device.
The third network device is further configured to send the second reserved bandwidth and the second user real-time bandwidth to the first network device.
In one possible design, the first username is the username when the first user dials via PPPoE.
The second user name is the user name of the second user when the second user dials through PPPoE.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a schematic diagram of a possible application scenario provided in the embodiment of the present application.
Fig. 2 is a flowchart illustrating a method for traffic management according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of a first network device for traffic management according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of another first network device for traffic management according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a system according to an embodiment of the present application.
Detailed Description
Embodiments of the present invention will be described below with reference to the accompanying drawings.
In the embodiment of the present application, the first user and the second user refer to users handling network services in a family unit. When an operator opens a network service for a home user, the geographic position of the home user is bound with a network account, and the network account of the user comprises a user name and a password. The user connects to the network by authenticating the username and password.
In the embodiment of the application, the reserved bandwidth refers to a bandwidth which is used by an operator to limit the maximum bandwidth used by a user and can ensure that the user traffic can still reach even when congestion occurs. For example, the reserved bandwidth of a user following 100BASE-TX is 10 megabits per second (Mbps), and the maximum transmission rate of the reserved bandwidth of the user is 10 Mbps.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application. The first user 104 sends a request message for surfing the internet to the first network device through the second network device 102. After receiving the internet access request message of the first user 104, the first network device 101 sends an internet access confirmation message to the first user 104 through the second network device 102. The first user 104 connects to the network 106 through the second network device 102. The second user 105 sends a request message for surfing the internet to the first network device through the third network device 103. After receiving the internet access request message of the second user 105, the first network device 101 sends an internet access confirmation message to the second user 105 through the third network 103. The second user 105 connects to the network 106 through the third network device 103.
The above scheme has the following problems: the first user and the second user are in different geographical locations, so that the operator cannot uniformly manage the traffic of the first user and the traffic of the second user. For example, when the first user 104 and the second user 105 belong to the same family user and surf the internet through the same network account, the operator cannot combine and calculate the traffic of the first user 104 and the second user 105 to be charged uniformly, and cannot share the bandwidth of the first user 104 and the second user 105.
In order to solve the above problem, as shown in fig. 1, in an application scenario provided in the embodiment of the present application, a first user 104 sends a first username to a first network device 101 through a second network device 102. The second user 105 sends a second username to the first network device 101 through the third network device 103. If the first network device 101 determines that the first user name is the same as the second user name, the first network device 101 manages traffic of the first user 104 and the second user 105 in a unified manner. The unified management of the traffic of the users in different geographic positions by the operator is realized.
For example, the first network device 101 may be a network function virtualization device, such as a virtual network engine device. The second network device 102 and the third network device 103 may be forwarding devices, such as routers, defined in the OPENFLOW protocol. The first user 104 sends a first username corresponding to the first user to the second network device 102. The second user 105 sends a second username corresponding to the second user 104 to the third network device 103. After the virtual network engine device 101 receives the first user name and the second user name, if the first user name is the same as the second user name, the virtual network engine device 101 manages the traffic of the first user and the traffic of the second user in a unified manner.
Fig. 2 shows a flow chart of a method for traffic management according to an embodiment of the present application. For example, the method may be applied to the application scenario shown in fig. 1. 101 in fig. 1 may be a first network device involved in the method shown in fig. 2, 102 in fig. 1 may be a second network device involved in the method shown in fig. 2, and 103 in fig. 1 may be a third network device involved in the method shown in fig. 2. The method shown in fig. 2 comprises the following steps.
S201, the first network device receives a first user name sent by a second network device, the first user name corresponds to a first user, and the first user is connected with the Internet through the second network device.
The first user sends the first user name corresponding to the first user to the second network equipment, and the first user realizes network connection through the access protocol processing and user management of the second network equipment. The first network equipment receives the first user name sent by the second network equipment.
For example, a first network device establishes a first OPENFLOW control channel with the second network device, and the first network device receives a first username sent by the second network device through the first OPENFLOW channel.
For example, the second network device may send a username for the first user to PPPoE dial to the first network device. The first network equipment receives a user name of PPPoE dialing of the first user sent by the second network user.
S202, the first network equipment receives a second user name sent by third network equipment, the second user name corresponds to a second user, and the second user is connected with the Internet through the third network equipment.
And the second user sends a second user name corresponding to the second user to the third network equipment, and the second user realizes network connection through the access protocol processing and user management of the third network equipment. And the first network equipment receives the second user name sent by the third network equipment.
For example, the first network device establishes a second OPENFLOW control channel with the third network device, and the first network device receives the second username sent by the third network device through the second OPENFLOW channel.
For example, the second network device may send a username for the first user to PPPoE dial to the first network device. The first network equipment receives a user name of PPPoE dialing of the first user sent by a third network user.
S203, when the first user name is the same as the second user name, the first network device performs unified traffic management on the first user and the second user.
Specifically, if the first network device determines that the user names of the first user and the second user are the same, the first network device performs unified management on the traffic of the first user and the traffic of the second user.
For example, a first network device obtains a first username of a first user of a PPPoE dial-up network. The first network equipment obtains a second user name of a second user PPPoE dial-up networking. And if the first user name is the same as the second user name, the first network equipment uniformly manages the flow of the first user and the flow of the second user.
According to the scheme, the first network device receives the first user name sent by the second network device and the second user name sent by the third network device. And if the user names are the same, uniformly managing the traffic of the first user and the second user. Therefore, unified flow management can be performed on the home users in different geographic positions, the management cost of an operator is reduced, and convenience is provided for the users.
Optionally, the performing, by the first network device, unified traffic management on the first user and the second user includes:
the first network device receives a first traffic statistic value sent by the second network device, wherein the first traffic statistic value is a user traffic statistic value of the first user on the second network device.
And the first network equipment receives a second traffic statistic value sent by the third network equipment, wherein the second traffic statistic value is a user traffic statistic value of the second user on the third network equipment.
And the first network equipment sets the first user and the second user to belong to the same user group, and sets the user group name as the first user name or the second user.
And adding the first flow statistic value and the second flow statistic value to obtain a third flow statistic value.
And sending the user group name and the third flow statistic value to a charging server, and triggering the charging server to charge the user group.
Specifically, the second network device sends the internet traffic statistics of the first user to the first network device, and the third network device also sends the internet traffic statistics of the second user to the first network device. The first network equipment sets a first user and a second user with the same user name as a same user group, and sets the group name of the user group as the first user name or the second user name. After receiving the first user internet traffic statistic sent by the second network device and the second user internet traffic statistic sent by the third network device, the first network device adds the two traffic statistics to obtain a third traffic statistic. And the first network equipment sends the obtained third flow statistic and the group name of the user group to a charging server, so that the charging server performs unified charging on the third flow statistic according to the group name of the user group, and the charging of the user group by the charging server comprises the internet surfing expense of the first user and the internet surfing expense of the second user. The unified charging of the traffic of the first user and the traffic of the second user in different geographic positions by an operator is realized, and the management cost of the operator is reduced.
And if the first user name is the same as the second user name, merging and calculating the flow of the first user and the second user, uniformly charging, and reducing the management cost of an operator.
Optionally, the performing, by the first network device, unified traffic management on the first user and the second user includes:
and the first network equipment receives a first reserved bandwidth and a first real-time bandwidth which are sent by the second network equipment, wherein the first reserved bandwidth is a reserved bandwidth of the first user on the second network equipment. The first real-time bandwidth is a real-time bandwidth of the first user on the second network device.
And the first network device receives a second reserved bandwidth and a second real-time bandwidth which are sent by the third network device, wherein the second reserved bandwidth is a reserved bandwidth of the second user on the third network device, and the second real-time bandwidth is a real-time bandwidth of the second user on the third network device.
And when the first network device determines that the first real-time bandwidth exceeds a first threshold and the second real-time bandwidth is lower than a second threshold, increasing the first reserved bandwidth by a specific value to obtain a third reserved bandwidth, and decreasing the second reserved bandwidth by the specific value to obtain a fourth reserved bandwidth.
And the first network device sends the third reserved bandwidth value to the second network device, so as to instruct the second network device to receive the traffic of the first user according to the third reserved bandwidth value.
And the first network device sends the fourth reserved bandwidth value to the third network device, so as to instruct the third network device to receive the traffic of the second user according to the fourth reserved bandwidth value.
Specifically, the first network device receives a first real-time bandwidth value and a first reserved bandwidth value sent by the second network device, and receives a second real-time bandwidth value and a first reserved bandwidth value sent by the third network device. When the first real-time bandwidth of the first user exceeds the set first threshold, it indicates that the second network device may be in a congestion state, and when the second real-time bandwidth of the second user is lower than the second threshold of the device, it indicates that the third network device may be in an idle state, at this time, the first network device sends a part of reserved bandwidth of the second user to the second device, so as to guide the second network device to receive the traffic of the first user according to the increased reserved bandwidth, so that the first user may share the second reserved bandwidth of the second user.
For example, the real-time bandwidth of the first user received by the first network device and sent by the second network device is 11Mbps, and the reserved bandwidth of the first user received by the first network device and sent by the second network device is 15 Mbps. The second network device also receives a first threshold value sent by the second network device, wherein the first threshold value is 9 Mbps. The real-time bandwidth 11Mbps of the first user already exceeds the set first threshold of 9Mbps, which may cause congestion in the traffic of the first user. The real-time bandwidth of the second user, which is received by the first network device and sent by the third network device, is 1Mbps, and the reserved bandwidth of the second user, which is received by the first network device and sent by the third network device, is 8 Mbps. The second network device also receives a second threshold value sent by the third network device, wherein the second threshold value is 5Mbps, and the second real-time bandwidth 1Mbps of the second user is lower than the second threshold value of the device by 5Mbps, indicating that the third network device is in an idle state. The first network device may allocate 4Mbps of the reserved bandwidth 8Mbps of the second user to the second network device, so as to instruct the second network device to receive 11Mbps of traffic of the first user according to the increased reserved bandwidth 19Mbps, so that the first user and the second user may share the reserved bandwidth.
Under the condition that the first user name is the same as the second user name, if the real-time bandwidth of the first user is smaller than a set first threshold value and the real-time bandwidth of the second user is larger than a set second threshold value, the first network device can share part of the reserved bandwidth of the first user with the second user for use, and user experience is improved.
Fig. 3 provides a schematic diagram of a first network device for traffic management. For example, the first network device in fig. 3 may be used to perform all the steps of the method shown in fig. 2. The first network device of fig. 3 may be used to implement the first network device 101 of fig. 1. The first network device 300 includes: a receiving unit 301 and a processing unit 302.
The receiving unit 301 is configured to receive a first username sent by a second network device and a second username sent by a third network device. The first username corresponds to a first user. The second username corresponds to a second user. And the first user is connected with the Internet through the second network equipment. And the second user is connected with the Internet through the third network equipment.
The processing unit 302 is configured to perform unified traffic management on the first user and the second user when the first user name and the second user name received by the receiving unit 301 are the same.
Optionally, the apparatus further includes a establishing unit 303.
The establishing unit 303 is configured to establish a first OPENFLOW control channel with the second network device, establish a second OPENFLOW control channel with the third network device, receive the first username sent by the second network device through the first OPENFLOW control channel, and receive the second username sent by the third network device through the second OPENFLOW control channel.
Optionally, the receiving unit 301 is further configured to receive a first traffic statistic sent by the second network device, and receive a second traffic statistic sent by the third network device. The first traffic statistic is the user traffic statistic of the first user on the second network device. The second traffic statistic is the user traffic statistic of the second user on the third network device.
The processing unit 302 is further configured to set that the first user and the second user belong to the same user group, and set the user group name as the first user name or the second user name. And adding the first flow statistic value and the second flow statistic value to obtain a third user flow statistic value. And sending the user group name and the third user flow statistic value to a charging server, and triggering the charging server to charge the user group.
Optionally, the receiving unit 301 is further configured to receive a first reserved bandwidth and a first real-time bandwidth sent by the second network device, and receive a second reserved bandwidth and a second real-time bandwidth sent by the third network device, where the first reserved bandwidth is a reserved bandwidth of the first user on the second network device, the first real-time bandwidth is a real-time bandwidth of the first user on the second network device, the second reserved bandwidth is a reserved bandwidth of the second user on the third network device, and the second real-time bandwidth is a real-time bandwidth of the second user on the third network device.
The processing unit 302 is further configured to increase the first reserved bandwidth value by a specific value to obtain a third reserved bandwidth value when it is determined that the first real-time bandwidth exceeds a first threshold and the second real-time bandwidth is lower than a second threshold. And reducing the second reserved bandwidth value by the specific value to obtain a fourth reserved bandwidth value, and sending the third reserved bandwidth value to the second network device. For directing the second network device to receive traffic of the first user according to the third reserved bandwidth value. And sending the fourth reserved bandwidth value to the third network device, so as to instruct the third network device to receive the traffic of the second user according to the fourth reserved bandwidth value.
Optionally, the first username is a username when the first user dials through a point-to-point protocol over ethernet PPPoE.
And the second user name is the user name of the second user when the second user dials through PPPoE.
Fig. 4 is a schematic structural diagram of another first network device for traffic management according to an embodiment of the present application. For example, the first network device in fig. 4 may be used to perform the method shown in fig. 2. The first network device in fig. 4 may be used to implement the functionality of the first network device 101 in fig. 1 in particular.
As shown in fig. 4, the first network device 400 includes a processor 401 and a network interface 402.
Optional first network device 400 also includes memory 403.
The processor 401 may include, but is not limited to, one or more of a Central Processing Unit (CPU), a Network Processor (NP), an application-specific integrated circuit (ASIC), or a Programmable Logic Device (PLD). The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
The network Interface 402 may be a wired Interface, such as a Fiber Distributed Data Interface (FDDI) Interface or an Ethernet Interface.
The memory 403 may be, but is not limited to, a content-addressable memory (CAM), such as a Ternary CAM (TCAM) or a random-access memory (RAM).
The memory 403 may also be integrated in the processor 401. If the memory 403 and the processor 401 are separate devices, the memory 403 and the processor 401 may be connected, for example, the memory 403 and the processor 401 may communicate via a bus. The network interface 402 and the processor 401 may communicate via a bus, and the network interface 402 may be directly connected to the processor 401.
The processor 401 is configured to perform:
the first username sent by the second network device and the second username sent by the third network device are received through the network interface 402. The first user corresponds to the first user, and the first user listens to the second network equipment to connect with the network. The second user name corresponds to a second user, and the second user is connected with the Internet through the third network equipment.
When the first user name is the same as the second user name, uniformly managing the flow of the first user and the flow of the second user;
for other additional functions that the first network device 400 can implement and the interaction process with other devices, please refer to the description of the control device in the method embodiment, which is not described herein again.
Fig. 5 provides a system architecture diagram of traffic management. For example, the first network device 501 in fig. 5 may be used to perform all the steps of the method shown in fig. 2. The first network device 501 in fig. 5 may be used to implement the first network device 101 in fig. 1. Second network device 502 in fig. 5 may be used to implement second network device 102 in fig. 1 in particular. The third network device 503 in fig. 5 may be used to implement the third network device 103 in fig. 1. The first network device 501 in fig. 5 may be used to implement the first network device 300 in fig. 3. The first network device 501 in fig. 5 may be used to implement the first network device 400 in fig. 4. The system comprises: a first network device 501, a second network device 502, and a third network device 503.
The first network device 501 is configured to receive a first username sent by the second network device 502 and a second username sent by the third network device 503, and perform unified traffic management on the first user and the second user when it is determined that the first username and the second username are the same. The second username corresponds to a second user. The second user connects to the internet through the third network device 503, and the first username corresponds to the first user. The first user connects to the internet through the second network device 502.
The second network device 502 is configured to send the first username to the first network device 501.
The third network device 503 is configured to send the second username to the first network device 501.
Optionally, the first network device 501 is further configured to establish a first OPENFLOW control channel with the second network device 502, establish a second OPENFLOW control channel with the third network device 503, receive the second username sent by the third network device 503 through the second OPENFLOW control channel, and receive the first username sent by the second network device 502 through the first OPENFLOW control channel.
Optionally, the first network device 501 is further configured to receive a first flow statistic sent by the second network device 502, receive a second flow statistic sent by the third network device 503, set that the first user and the second user belong to the same user group, set that the user group name is the first user name or the second user name, add the first flow statistic and the second flow statistic to obtain a third flow statistic, send the user group name and the third flow statistic to a charging server, and trigger the charging server to charge the user group. The second traffic statistic is the user traffic statistic of the second user on the third network device 503. The first traffic statistic is the user traffic statistic of the first user on the second network device 502.
The second network device 502 is configured to send the first traffic statistic to the first network device 501.
The third network device 503 is configured to send the second traffic statistic to the first network device 501.
Optionally, the first network device 501 is further configured to receive a first reserved bandwidth and a first real-time bandwidth sent by the second network device 502, receive a second reserved bandwidth and a second real-time bandwidth sent by the third network device 503, determine that the first real-time bandwidth exceeds a first threshold, and when the second real-time bandwidth is lower than a second threshold, increase the first reserved bandwidth by a specific value to obtain a third reserved bandwidth, decrease the second reserved bandwidth by the specific value to obtain a fourth reserved bandwidth, send the third reserved bandwidth to the second network device 502, be used to instruct the second network device 502 to receive traffic of the first user according to the third reserved bandwidth, send the fourth reserved bandwidth to the third network device 503, be used to instruct the third network device 503 to receive traffic of the second user according to the fourth reserved bandwidth, the second reserved bandwidth is a reserved bandwidth of the second user on the third network device 503, the second real-time bandwidth is a real-time bandwidth of the second user on the third network device 503, the first reserved bandwidth is a reserved bandwidth of the first user on the second network device 502, and the first real-time bandwidth is a real-time bandwidth of the first user on the second network device 502.
The second network device 502 is further configured to send the first reserved bandwidth and the first user real-time bandwidth to the first network device 501.
The third network device 503 is further configured to send the second reserved bandwidth and the second user real-time bandwidth to the first network device 501.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method of traffic management, the method comprising:
a first network device receives a first user name sent by a second network device through a first open flow OPENFLOW control channel between the first network device and the second network device, wherein the first user name corresponds to a first user, and the first user is connected with the Internet through the second network device;
the first network device receives a second user name sent by a third network device through a second OPENFLOW control channel between the first network device and the third network device, wherein the second user name corresponds to a second user, and the second user is connected with the Internet through the third network device;
when the first network device determines that the first user name is the same as the second user name, the first network device performs unified traffic management on the first user and the second user.
2. The method of claim 1, wherein the unified traffic management of the first user and the second user by the first network device comprises:
the first network equipment receives a first traffic statistic value sent by the second network equipment, wherein the first traffic statistic value is a user traffic statistic value of the first user on the second network equipment;
the first network device receives a second traffic statistic sent by the third network device, where the second traffic statistic is a user traffic statistic of the second user on the third network device;
the first network equipment sets the first user and the second user to belong to the same user group, and sets the user group name as the first user name or the second user name;
adding the first flow statistic and the second flow statistic to obtain a third flow statistic;
and sending the user group name and the third flow statistic value to a charging server, and triggering the charging server to charge the user group.
3. The method of claim 1, wherein the unified traffic management of the first user and the second user by the first network device comprises:
the first network device receives a first reserved bandwidth and a first real-time bandwidth sent by the second network device, wherein the first reserved bandwidth is a reserved bandwidth of the first user on the second network device, and the first real-time bandwidth is a real-time bandwidth of the first user on the second network device;
the first network device receives a second reserved bandwidth and a second real-time bandwidth which are sent by the third network device, wherein the second reserved bandwidth is a reserved bandwidth of the second user on the third network device, and the second real-time bandwidth is a real-time bandwidth of the second user on the third network device;
when the first network device determines that the first real-time bandwidth exceeds a first threshold and the second real-time bandwidth is lower than a second threshold, increasing the first reserved bandwidth by a specific value to obtain a third reserved bandwidth, and decreasing the second reserved bandwidth by the specific value to obtain a fourth reserved bandwidth;
the first network device sends the third reserved bandwidth value to the second network device, so as to instruct the second network device to receive the traffic of the first user according to the third reserved bandwidth value;
and the first network device sends the fourth reserved bandwidth value to the third network device, so as to instruct the third network device to receive the traffic of the second user according to the fourth reserved bandwidth value.
4. The method according to claim 1 or 2, wherein the first username is a username when the first user dials a number via point-to-point protocol over ethernet PPPoE;
and the second user name is the user name of the second user when the second user dials through PPPoE.
5. A first network device, comprising: a receiving unit and a processing unit; wherein the content of the first and second substances,
the receiving unit is configured to receive a first username sent by a second network device through a first OPENFLOW control channel between the first network device and the second network device, and receive a second username sent by a third network device through a second OPENFLOW control channel between the first network device and the third network device, where the first username corresponds to a first user, the second username corresponds to a second user, the first user is connected to the internet through the second network device, and the second user is connected to the internet through the third network device;
the processing unit is configured to perform unified traffic management on the first user and the second user when it is determined that the first user name and the second user name received by the receiving unit are the same.
6. The first network device of claim 5,
the receiving unit is further configured to receive a first traffic statistic sent by the second network device, and receive a second traffic statistic sent by the third network device, where the first traffic statistic is a user traffic statistic of the first user on the second network device, and the second traffic statistic is a user traffic statistic of the second user on the third network device;
the processing unit is further configured to set that the first user and the second user belong to the same user group, set the user group name as the first user name or the second user name, add the first traffic statistics value and the second traffic statistics value to obtain a third user traffic statistics value, send the user group name and the third user traffic statistics value to a charging server, and trigger the charging server to charge the user group.
7. The first network device of claim 5,
the receiving unit is further configured to receive a first reserved bandwidth and a first real-time bandwidth sent by the second network device, and receive a second reserved bandwidth and a second real-time bandwidth sent by the third network device, where the first reserved bandwidth is a reserved bandwidth of the first user on the second network device, the first real-time bandwidth is a real-time bandwidth of the first user on the second network device, the second reserved bandwidth is a reserved bandwidth of the second user on the third network device, and the second real-time bandwidth is a real-time bandwidth of the second user on the third network device;
the processing unit is further configured to, when it is determined that the first real-time bandwidth exceeds a first threshold and the second real-time bandwidth is lower than a second threshold, increase the first reserved bandwidth by a specific value to obtain a third reserved bandwidth, decrease the second reserved bandwidth by the specific value to obtain a fourth reserved bandwidth, send the third reserved bandwidth to the second network device, to instruct the second network device to receive the traffic of the first user according to the third reserved bandwidth, send the fourth reserved bandwidth to the third network device, and to instruct the third network device to receive the traffic of the second user according to the fourth reserved bandwidth.
8. A system for traffic management, comprising: a first network device, a second network device, and a third network device; wherein the content of the first and second substances,
the first network device is configured to receive a first username sent by the second network device through a first OPENFLOW control channel between the first network device and the second network device and a second username sent by the third network device through a second OPENFLOW control channel between the first network device and the third network device, and when it is determined that the first username and the second username are the same, perform unified traffic management on the first user and the second user, where the second username corresponds to the second user, the second user is connected to the internet through the third network device, the first username corresponds to the first user, and the first user is connected to the internet through the second network device;
the second network device is configured to send the first username to the first network device;
the third network device is configured to send the second username to the first network device.
9. The system of claim 8,
the first network device is further configured to receive a first traffic statistic sent by the second network device, receive a second traffic statistic sent by the third network device, set that the first user and the second user belong to the same user group, set that the user group name is the first user name or the second user name, add the first traffic statistic and the second traffic statistic to obtain a third traffic statistic, send the user group name and the third traffic statistic to a charging server, trigger the charging server to charge the user group, where the second traffic statistic is a user traffic statistic of the second user on the third network device, and the first traffic statistic is a user traffic statistic of the first user on the second network device;
the second network equipment is used for sending a first flow statistic value to the first network equipment;
the third network device is configured to send a second traffic statistic to the first network device.
10. The system of claim 8,
the first network device is further configured to receive a first reserved bandwidth and a first real-time bandwidth sent by the second network device, receive a second reserved bandwidth and a second real-time bandwidth sent by the third network device, determine that the first real-time bandwidth exceeds a first threshold, and when the second real-time bandwidth is lower than a second threshold, increase the first reserved bandwidth by a specific value to obtain a third reserved bandwidth, decrease the second reserved bandwidth by the specific value to obtain a fourth reserved bandwidth, send the third reserved bandwidth to the second network device, instruct the second network device to receive traffic of the first user according to the third reserved bandwidth, send the fourth reserved bandwidth to the third network device, instruct the third network device to receive traffic of the second user according to the fourth reserved bandwidth, the second reserved bandwidth is a reserved bandwidth of the second user on the third network device, the second real-time bandwidth is a real-time bandwidth of the second user on the third network device, the first reserved bandwidth is a reserved bandwidth of the first user on the second network device, and the first real-time bandwidth is a real-time bandwidth of the first user on the second network device;
the second network device is further configured to send the first reserved bandwidth and the first user real-time bandwidth to the first network device;
the third network device is further configured to send the second reserved bandwidth and the second user real-time bandwidth to the first network device.
CN201611067338.4A 2016-11-28 2016-11-28 Traffic management method and equipment Active CN108123808B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611067338.4A CN108123808B (en) 2016-11-28 2016-11-28 Traffic management method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611067338.4A CN108123808B (en) 2016-11-28 2016-11-28 Traffic management method and equipment

Publications (2)

Publication Number Publication Date
CN108123808A CN108123808A (en) 2018-06-05
CN108123808B true CN108123808B (en) 2021-04-09

Family

ID=62225011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611067338.4A Active CN108123808B (en) 2016-11-28 2016-11-28 Traffic management method and equipment

Country Status (1)

Country Link
CN (1) CN108123808B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150338A (en) * 2021-03-29 2022-10-04 华为技术有限公司 Message flow control method, device, equipment and computer readable storage medium
CN114138810B (en) * 2022-01-27 2022-04-12 中国民航信息网络股份有限公司 Access flow statistical method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795302A (en) * 2010-02-10 2010-08-04 中兴通讯股份有限公司 Method and system for identifying group users
CN102148689A (en) * 2010-02-09 2011-08-10 中兴通讯股份有限公司 Policy and charging rules function entity selection method, device and system
CN103457872A (en) * 2013-05-31 2013-12-18 华为技术有限公司 Bandwidth control strategy distribution method and bandwidth control method, device and system
CN104753729A (en) * 2013-12-27 2015-07-01 中国移动通信集团公司 Data flow determining method, user terminal and enterprise management and control platform
CN105515793A (en) * 2014-09-23 2016-04-20 中国电信股份有限公司 On-line charging processing method and system, Openflow controller and Openflow switch
EP3059934A1 (en) * 2015-02-19 2016-08-24 Vodafone IP Licensing Limited Group messaging system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9648487B2 (en) * 2015-01-06 2017-05-09 Acer Incorporated Method and device for grouping user equipments in proximity services restricted discovery

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148689A (en) * 2010-02-09 2011-08-10 中兴通讯股份有限公司 Policy and charging rules function entity selection method, device and system
CN101795302A (en) * 2010-02-10 2010-08-04 中兴通讯股份有限公司 Method and system for identifying group users
CN103457872A (en) * 2013-05-31 2013-12-18 华为技术有限公司 Bandwidth control strategy distribution method and bandwidth control method, device and system
CN104753729A (en) * 2013-12-27 2015-07-01 中国移动通信集团公司 Data flow determining method, user terminal and enterprise management and control platform
CN105515793A (en) * 2014-09-23 2016-04-20 中国电信股份有限公司 On-line charging processing method and system, Openflow controller and Openflow switch
EP3059934A1 (en) * 2015-02-19 2016-08-24 Vodafone IP Licensing Limited Group messaging system

Also Published As

Publication number Publication date
CN108123808A (en) 2018-06-05

Similar Documents

Publication Publication Date Title
US10958555B2 (en) Real-time application-driven synthetic probing
US11770309B2 (en) On-demand probing for quality of experience metrics
US11005729B2 (en) Satisfying service level agreement metrics for unknown applications
US10560352B2 (en) Subscriber-aware TWAMP data monitoring in computer networks
RU2571377C2 (en) System and method of control of services, advanced nodeb and data packet network gateway
CN106303751B (en) Method and system for realizing directional flow packet
EP3758409A1 (en) Data traffic processing method and related network device
CN101237332A (en) Billing method, billing system and traffic statistical device
EP3456006A1 (en) Improved resource usage in a multipath network
CN108123808B (en) Traffic management method and equipment
CN206313803U (en) A kind of router for realizing network game acceleration
CN111953611A (en) Traffic distribution method and device in hybrid access network
JP4678652B2 (en) P2P traffic monitoring control apparatus and method
EP2966899B1 (en) Hqos control method, rsg, and hqos control system
CN106921588B (en) Flow control method, device and equipment
CN101087232B (en) An access method, system and device based on Ethernet point-to-point protocol
US9277014B2 (en) Handling of auxiliary NAS
CN108337182B (en) Report load sharing method and network equipment
CN107113186A (en) The method and public service entity of data transfer in unified machine to machine system
US20220070736A1 (en) Traffic steering device
CN112714072A (en) Method and device for adjusting sending rate
CN112714071A (en) Data sending method and device
US20230164037A1 (en) Network Access Method, Apparatus, and System
RU125007U1 (en) WIRELESS INFORMATION ROUTING SYSTEM
CN113691410B (en) Network performance data acquisition method, device and server

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211227

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: xFusion Digital Technologies Co., Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.