WO2016115853A1 - 用户设备ue处理方法及装置 - Google Patents

用户设备ue处理方法及装置 Download PDF

Info

Publication number
WO2016115853A1
WO2016115853A1 PCT/CN2015/084723 CN2015084723W WO2016115853A1 WO 2016115853 A1 WO2016115853 A1 WO 2016115853A1 CN 2015084723 W CN2015084723 W CN 2015084723W WO 2016115853 A1 WO2016115853 A1 WO 2016115853A1
Authority
WO
WIPO (PCT)
Prior art keywords
forwarding device
message
keep
controller
charging
Prior art date
Application number
PCT/CN2015/084723
Other languages
English (en)
French (fr)
Inventor
刘仓明
张征
王怀滨
洪先进
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP15878524.6A priority Critical patent/EP3249881A4/en
Priority to US15/543,892 priority patent/US10476807B2/en
Publication of WO2016115853A1 publication Critical patent/WO2016115853A1/zh

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/1403Architecture for metering, charging or billing
    • H04L12/1407Policy-and-charging control [PCC] architecture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/33Flow control; Congestion control using forward notification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/66Policy and charging system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/42Centralised routing

Definitions

  • the present invention relates to the field of communications, and in particular, to a user equipment UE processing method and apparatus.
  • SDN is a new network innovation architecture proposed by the clean slate research group of Stanford University. Its core technology, OpenFlow, separates the control plane of the network device from the data plane.
  • the forwarding device is standardized and the control plane is centralized. All control functions can be passed.
  • the centralized control plane is programmed to implement without the need to upgrade the forwarding plane, thus achieving flexible control of network traffic and providing a good platform for innovation of core networks and applications.
  • the core concept of SDN is control forwarding separation, standardization of forwarding equipment, fooling, centralized control plane, and all control functions can be programmed through a centralized control plane without upgrading the forwarding plane.
  • SDN has global information, which can optimize the path based on global information, so that global requirements with slow response can be realized faster through the new algorithm.
  • SDN has a unified computing entity and algorithm, which can avoid the problem of excessive network impact caused by router upgrades.
  • SDN provides a better application interface through software definition, which enables the application to manage the network better.
  • SDN can simplify the complex requirements of the control plane and management plane of the device, so that the device can concentrate on forwarding, thus speeding up the technological innovation.
  • the OpenFlow switch converts the packet forwarding process that is completely controlled by the switch/router into an OpenFlow switch (OpenFlow Switch) and a control server (Controller), thereby implementing data forwarding and routing control. Separation.
  • the controller can control the flow table in the OpenFlow switch by pre-specified interface operations, thereby achieving the purpose of controlling data forwarding. Therefore, OpenFlow has opened up a path of network innovation.
  • the OpenFlow switch consists of a flow table (Flowtable), a secure channel, and an OpenFlow protocol.
  • the network device maintains a FlowTable and forwards it only according to the FlowTable.
  • the generation, maintenance, and delivery of the Flowtable itself are completely implemented by an external controller. The operator can decide which granularity to use.
  • a flow table consists of a large number of flow entries, and each flow entry is a forwarding rule.
  • the data packet entering the switch is obtained by querying the flow table to obtain the forwarded destination port and corresponding operations.
  • SDN/OpenFlow technology is leading the way to traditional, closed networks. Most operators and equipment manufacturers have already carried out corresponding development and pilot operation work, and the problems encountered are gradually raised and discussed.
  • the broadband user access device is also an important part of its management. Centralized management of users can save a lot of equipment resources, operation and maintenance resources and improve equipment utilization, and achieve more flexible management methods for users.
  • the maintenance and management of the network forwarding device can be implemented from the SDN controller, but the management of a single user becomes a problem that needs to be solved.
  • Each network forwarding device can carry tens of thousands or even hundreds of thousands of users. If the controller also implements the keep-alive detection and other management functions of the user, a large amount of controller resources are wasted, a huge amount of bandwidth is wasted, and even normal network service operations are affected.
  • the embodiment of the invention provides a method and a device for processing a user equipment UE, so as to at least solve the problem that a large amount of resources are wasted in the management of the user equipment in the related art.
  • a user equipment UE processing method including: a forwarding device receiving an indication message sent by a controller for managing the UE; and the forwarding device according to the received The indication message performs management processing on the UE.
  • the forwarding processing performed by the forwarding device on the UE according to the received indication message includes at least one of the following: the forwarding device performs a keep-alive detection process on the UE; and the forwarding device performs the UE on the UE. Perform billing processing.
  • the forwarding device performs the keep-alive detection process on the UE, where the forwarding device receives the first prompt message sent by the controller, where the first prompt message carries the UE Performing a keep-alive field for the keep-alive detection; the forwarding device determines whether to perform keep-alive detection on the UE according to the keep-alive field; and if the determination result is yes, the forwarding device keeps the UE alive Detection.
  • the forwarding device performs the keep-alive detection on the UE, where the forwarding device sends the online detection packet to the UE in a predetermined period defined in the keep-alive field.
  • the online detection packet is used to test whether the UE is online. If the forwarding device receives the response message sent by the UE in response to the online detection packet within a predetermined time, the forwarding is performed. The device determines that the UE is online; and/or, the forwarding device does not receive the response message within the predetermined time, or the idle time after the first prompt message is sent is greater than the first prompt message. In the case of the set idle timeout value, it is determined that the UE is not online.
  • the method further includes: the forwarding device sending, to the controller, a first notification message that carries the identifier information of the UE, where the first notification message is used to notify The controller sends a request message to the server according to the identifier information, where the request message is used to request the server to release the resources occupied by the UE, and in the case of charging the UE, stop the The UE performs charging processing.
  • the forwarding device performs the charging process on the UE, where the forwarding device receives the second prompt message sent by the controller, where the second prompt message carries the charging for the user equipment UE.
  • the control device determines whether to perform charging on the UE according to the control word; if the determination result is yes, the forwarding device performs charging processing on the UE.
  • the forwarding device performing the charging process on the UE includes: the forwarding device sending, to the controller, a second notification message carrying data information used for charging the UE, where The second notification message is used to notify the controller to send an update message to the server according to the data information, where the update message is used to request the server to update the charging data of the UE.
  • a user equipment UE processing method including: the controller determines to manage the user equipment UE by using the forwarding device; and the controller sends the information to the forwarding device for The indication message that the UE performs management, where the indication message is used to instruct the forwarding device to perform management processing on the UE according to the received indication message.
  • the controller determines that the UE is managed by the forwarding device, including at least one of the following: the controller determines to perform a keep-alive detection process on the UE by using the forwarding device; Performing charging processing on the UE by using the forwarding device.
  • the method further includes: the controller sending a first prompt message to the forwarding device, where the first prompt The message carries a keep-alive field for performing keep-alive detection on the UE, where the first prompt message is used to prompt the transfer
  • the transmitting device performs keep-alive detection on the UE when it is determined to perform keep-alive detection on the UE according to the keep-alive field.
  • the method further includes: the controller receiving a first notification message sent by the forwarding device, where the first notification message is carried The identifier information of the UE, where the notification message is sent by the forwarding device after determining that the UE is offline; the controller sends a request message to the server according to the identifier information, where the request message is used by The server is requested to release resources occupied by the UE.
  • the method further includes: the controller sending a second prompt message to the forwarding device, where the second prompt The message carries a control word for charging the user equipment UE, and the second prompt message is used to prompt the forwarding device to perform charging on the UE according to the control word, and perform the performing on the UE. Billing processing.
  • the controller further includes: receiving, by the controller, a second notification message that is sent by the forwarding device and carries data information for charging the UE; And the controller sends an update message to the server according to the data information, where the update message is used to request the server to update charging data of the UE.
  • a user equipment (UE) processing device is further provided, which is applied to a forwarding device, and includes: a receiving module, configured to receive an indication message that is sent by the controller for managing the UE. And a management processing module, configured to perform management processing on the UE according to the received indication message.
  • a receiving module configured to receive an indication message that is sent by the controller for managing the UE.
  • a management processing module configured to perform management processing on the UE according to the received indication message.
  • the management processing module includes at least one of the following: a keep-alive detection sub-module configured to perform a keep-alive detection process on the UE; and an accounting processing sub-module configured to perform a charging process on the UE.
  • the keep-alive detection sub-module includes: a first receiving unit, configured to receive a first prompt message sent by the controller, where the first prompt message carries a keep-alive to the UE a keep-alive field that is detected; the first determining unit is configured to determine, according to the keep-alive field, whether to perform keep-alive detection on the UE; and the keep-alive detecting unit is configured to, if the determination result is yes, to the UE Perform a keep-alive test.
  • the keep-alive detection unit includes: a first sending sub-unit, configured to send an online probe packet to the UE in a predetermined period defined in the keep-alive field, where the online probe packet is used Determining whether the UE is online; determining a subunit, configured to determine, when the UE sends a response message sent by the UE in response to the online detection packet, within a predetermined time, determining that the UE is online, and determining to perform the UE a billing process; and/or an end subunit, configured to not receive the response message or the number within the predetermined time If the idle time after the prompt message is sent is greater than the idle timeout value set in the first prompt message, it is determined that the UE is offline, and the charging process is ended for the UE.
  • the device further includes: a second sending subunit, configured to send, to the controller, a first notification message carrying the identifier information of the UE, where the first notification message is used to notify the The controller sends a request message to the server according to the identifier information, where the request message is used to request the server to release resources occupied by the UE.
  • a second sending subunit configured to send, to the controller, a first notification message carrying the identifier information of the UE, where the first notification message is used to notify the The controller sends a request message to the server according to the identifier information, where the request message is used to request the server to release resources occupied by the UE.
  • the charging processing sub-module includes: a second receiving unit, configured to receive a second prompt message sent by the controller, where the second prompt message carries a control for charging the user equipment UE
  • the second determining unit is configured to determine whether to charge the UE according to the control word; and the charging processing unit is configured to perform charging processing on the UE when the determination result is yes.
  • the charging processing sub-module includes: a sending unit, configured to send, to the controller, a second notification message carrying data information used for charging the UE, where the second notification message And configured to notify the controller to send an update message to the server according to the data information, where the update message is used to request the server to update the charging data of the UE.
  • a user equipment (UE) processing apparatus is further provided, which is applied to a controller, and includes: a determining module, configured to determine that the user equipment UE is managed by the forwarding device; and the sending module is set to Sending, to the forwarding device, an indication message for managing the UE, where the indication message is used to instruct the forwarding device to perform management processing on the UE according to the received indication message.
  • a determining module configured to determine that the user equipment UE is managed by the forwarding device
  • the sending module is set to Sending, to the forwarding device, an indication message for managing the UE, where the indication message is used to instruct the forwarding device to perform management processing on the UE according to the received indication message.
  • the determining module includes at least one of the following: a first determining submodule configured to determine to perform keepalive detection processing on the UE by using the forwarding device; and a second determining submodule configured to determine to pass the forwarding The device performs charging processing on the UE.
  • the device further includes: a first sending submodule, configured to send a first prompt message to the forwarding device, where the first prompt message carries a keepalive word for performing keepalive detection on the UE And the first prompt message is used to prompt the forwarding device to perform keep-alive detection on the UE if it is determined to perform keep-alive detection on the UE according to the keep-alive field.
  • a first sending submodule configured to send a first prompt message to the forwarding device, where the first prompt message carries a keepalive word for performing keepalive detection on the UE
  • the first prompt message is used to prompt the forwarding device to perform keep-alive detection on the UE if it is determined to perform keep-alive detection on the UE according to the keep-alive field.
  • the device further includes: a first receiving submodule, configured to receive a first notification message sent by the forwarding device, where the first notification message carries identifier information of the UE, the notification message
  • the second sending submodule is configured to send a request message to the server according to the identifier information, where the request message is used to request the server to release the The resources occupied by the UE.
  • the device further includes: a sending sub-module, configured to send a second prompt message to the forwarding device, where the second prompt message carries a control word for charging the user equipment UE, The second prompt message is used to prompt the forwarding device to perform charging processing on the UE when determining, according to the control word, that the UE is charged.
  • a sending sub-module configured to send a second prompt message to the forwarding device, where the second prompt message carries a control word for charging the user equipment UE, The second prompt message is used to prompt the forwarding device to perform charging processing on the UE when determining, according to the control word, that the UE is charged.
  • the device further includes: a second receiving submodule, configured to receive a second notification message that is sent by the forwarding device and carries data information for charging the UE; and a third sending submodule, setting And sending an update message to the server according to the data information, wherein the update message is used to request the server to update charging data of the UE.
  • a second receiving submodule configured to receive a second notification message that is sent by the forwarding device and carries data information for charging the UE
  • a third sending submodule setting And sending an update message to the server according to the data information, wherein the update message is used to request the server to update charging data of the UE.
  • the forwarding device receives the indication message that is sent by the controller for managing the UE, and the forwarding device performs management processing on the UE according to the received indication message, and the forwarding device is used.
  • the management of the UE solves the problem that a large amount of resources is wasted in the management of the user equipment in the related technology, which reduces the load of the network controller and saves a large amount of network resources.
  • FIG. 1 is a flowchart 1 of a method for processing a user equipment UE according to an embodiment of the present invention
  • FIG. 2 is a second flowchart of a method for processing a user equipment UE according to an embodiment of the present invention
  • FIG. 3 is a block diagram 1 of a user equipment UE processing apparatus according to an embodiment of the present invention.
  • FIG. 4 is a block diagram 1 of a user equipment UE processing apparatus according to a preferred embodiment of the present invention.
  • FIG. 5 is a block diagram 2 of a user equipment UE processing apparatus according to a preferred embodiment of the present invention.
  • FIG. 6 is a block diagram 3 of a user equipment UE processing apparatus according to a preferred embodiment of the present invention.
  • FIG. 7 is a second block diagram of a user equipment UE processing apparatus according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a DHCP broadband user access apparatus according to a preferred embodiment of the present invention.
  • FIG. 9 is a flowchart of DHCP broadband user access according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of PPPoE broadband user access according to an embodiment of the present invention.
  • FIG. 11 is a flowchart of DHCPv6 broadband user access according to an embodiment of the present invention.
  • FIG. 12 is a flow diagram of user billing in accordance with a preferred embodiment of the present invention.
  • FIG. 1 is a flowchart 1 of a user equipment UE processing method according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
  • Step S102 The forwarding device receives an indication message that is sent by the controller and is used to manage the UE.
  • Step S104 The forwarding device performs management processing on the UE according to the received indication message.
  • the forwarding device receives the indication message that is sent by the controller for managing the UE.
  • the forwarding device performs management processing on the UE according to the received indication message, and the UE is managed by the forwarding device.
  • the management of user equipment in the related art has a problem of a large amount of waste of resources, which reduces the load of the network controller and saves a large amount of network resources.
  • the management process of the UE by the forwarding device according to the received indication message includes at least one of the following: the forwarding device performs a keep-alive detection process on the UE; and the forwarding device performs a charging process on the UE.
  • the forwarding device performs the keep-alive detection processing on the UE.
  • the forwarding device receives the first prompt message sent by the controller, where the first prompt message carries the pair.
  • the UE performs a keep-alive field for keep-alive detection; the forwarding device determines whether to perform keep-alive detection on the UE according to the keep-alive field; and if the determination result is yes, the forwarding device performs keep-alive detection on the UE.
  • the forwarding device performs a keep-alive detection on the UE.
  • the forwarding device sends an online detection packet to the UE in a predetermined period defined in the keep-alive field, where the online detection The packet is used to test whether the UE is online; if the forwarding device receives the response message sent by the UE in response to the online detection packet within a predetermined time, the forwarding device determines that the UE is online; and/or, the forwarding If the device does not receive the response message within the predetermined time period or the idle time after the first prompt message is sent is greater than the idle timeout value preset in the first prompt message, the device determines that the UE is offline.
  • the forwarding device After determining that the UE is offline, the forwarding device sends a first notification message carrying the identifier information of the UE to the controller, where the first notification message is used to notify the controller to send the identifier to the server according to the identifier information.
  • Sending a request message where the request message is used to request the server to release the resources occupied by the UE, and in the case of charging the UE, stop performing charging processing on the UE.
  • the forwarding device performs the charging processing on the UE.
  • the forwarding device receives the second prompt message sent by the controller, where the second prompt message carries the user equipment.
  • the UE performs a charging control word; the forwarding device determines whether to charge the UE according to the control word; if the determination result is yes, the forwarding device performs charging processing on the UE.
  • the manner in which the forwarding device performs the charging processing on the UE may include: the forwarding device sends a second notification message carrying the data information used for charging the UE to the controller, where the second notification message is used to notify the The controller sends an update message to the server according to the data information, where the update message is used to request the server to update the charging data of the UE.
  • FIG. 2 is a second flowchart of a user equipment UE processing method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
  • Step S202 the controller determines to manage the user equipment UE by using the forwarding device.
  • step S204 the controller sends an indication message for managing the UE to the forwarding device, where the indication message is used to indicate that the forwarding device performs management processing on the UE according to the received indication message.
  • the controller determines that the user equipment UE is managed by the forwarding device, and the controller sends an indication message for managing the UE to the forwarding device, where the indication message is used to indicate that the forwarding device is received according to the The indication message is used to manage the UE, which solves the problem that the management of the user equipment in the related art has a large amount of waste of resources, reduces the load of the network controller, and saves a large amount of network resources.
  • Determining, by the controller, that the UE is managed by the forwarding device at least one of the following: the controller determines to perform a keep-alive detection process on the UE by using the forwarding device; and the controller determines to perform charging processing on the UE by using the forwarding device .
  • the controller After the controller determines to perform the keep-alive detection process on the UE by using the forwarding device, the controller sends a first prompt message to the forwarding device, where the first prompt message carries the keep-alive detection of the UE.
  • the first prompt message In the keep-alive field, the first prompt message is used to prompt the forwarding device to perform keep-alive detection on the UE if it is determined to perform keep-alive detection on the UE according to the keep-alive field.
  • the controller After the controller sends the first prompt message to the forwarding device, the controller receives the first notification message sent by the forwarding device, where the first notification message carries the identifier information of the UE, and the notification message is The forwarding device sends the request message after determining that the UE is offline. The controller sends a request message to the server according to the identifier information, where the request message is used to request the server to release the resource occupied by the UE.
  • the controller After the controller determines to perform the charging process on the UE by using the forwarding device, the controller sends a second prompt message to the forwarding device, where the second prompt message carries the charging for the user equipment UE. a control word, the second prompt message is used to prompt the forwarding device to perform charging processing on the UE when determining, according to the control word, the UE to perform charging.
  • the controller After the second prompt message is sent to the forwarding device, the controller receives a second notification message that is sent by the forwarding device and carries data information for charging the UE; the controller sends the data to the server according to the data information.
  • An update message wherein the update message is used to request the server to update the charging data of the UE.
  • FIG. 3 is a block diagram of a user equipment UE processing apparatus according to an embodiment of the present invention.
  • the receiving module 32 is configured to receive an indication message that is sent by the controller for managing the UE.
  • the management processing module 34 is configured to perform management processing on the UE according to the received indication message.
  • the management processing module 34 includes at least one of the following:
  • the keep-alive detection sub-module 42 is configured to perform a keep-alive detection process on the UE;
  • the charging processing sub-module 44 is configured to perform charging processing on the UE.
  • FIG. 5 is a block diagram 2 of a user equipment UE processing apparatus according to a preferred embodiment of the present invention.
  • the keep-alive detection sub-module 42 includes:
  • the first receiving unit 52 is configured to receive a first prompt message sent by the controller, where the first prompt message carries a keep-alive field for performing keep-alive detection on the UE;
  • the first determining unit 54 is configured to determine, according to the keep-alive field, whether to perform keep-alive detection on the UE;
  • the keep-alive detecting unit 56 is configured to perform keep-alive detection on the UE when the determination result is YES.
  • the keep-alive detection unit 56 includes: a first sending sub-unit, configured to send an online probe packet to the UE in a predetermined period defined in the keep-alive field, where the online probe packet is used to test whether the UE is online Determining a subunit, configured to receive, in a predetermined time, a response sent by the UE in response to the online probe message In the case of the information, the UE is determined to be online, and the charging process is determined for the UE; and/or the ending subunit is configured to receive the response message or the first prompt message after the predetermined message is delivered. If the idle time is greater than the idle timeout value preset in the first prompt message, it is determined that the UE is offline, and the charging process is terminated for the UE.
  • the apparatus further includes: a second sending subunit, configured to send, to the controller, a first notification message carrying the identification information of the UE, where the first notification message is used to notify the controller according to the identifier
  • the information sends a request message to the server, where the request message is used to request the server to release the resources occupied by the UE.
  • FIG. 6 is a block diagram 3 of a user equipment UE processing apparatus according to a preferred embodiment of the present invention.
  • the billing processing sub-module 44 includes:
  • the second receiving unit 62 is configured to receive a second prompt message that is sent by the controller, where the second prompt message carries a control word for charging the user equipment UE;
  • the second determining unit 64 is configured to determine, according to the control word, whether to charge the UE;
  • the charge processing unit 66 is configured to perform charge processing on the UE when the determination result is YES.
  • the charging processing sub-module 44 includes: a sending unit, configured to send, to the controller, a second notification message carrying data information for charging the UE, where the second notification message is used to notify the The controller sends an update message to the server according to the data information, where the update message is used to request the server to update the charging data of the UE.
  • FIG. 7 is a block diagram 2 of a user equipment UE processing apparatus according to an embodiment of the present invention. As shown in FIG. 7, the method includes:
  • the determining module 72 is configured to determine that the user equipment UE is managed by the forwarding device;
  • the sending module 74 is configured to send an indication message for managing the UE to the forwarding device, where the indication message is used to indicate that the forwarding device performs management processing on the UE according to the received indication message.
  • the foregoing determining module 72 includes at least one of the following: a first determining submodule configured to determine that the UE is subjected to keepalive detection processing by the forwarding device; and a second determining submodule configured to determine to perform the UE by using the forwarding device Billing processing.
  • the device further includes: a first sending sub-module, configured to send a first prompt message to the forwarding device, where the first prompt message carries a keep-alive field for performing keep-alive detection on the UE, where the One mention The message is used to prompt the forwarding device to perform keep-alive detection on the UE if it is determined to perform keep-alive detection on the UE according to the keep-alive field.
  • a first sending sub-module configured to send a first prompt message to the forwarding device, where the first prompt message carries a keep-alive field for performing keep-alive detection on the UE, where the One mention The message is used to prompt the forwarding device to perform keep-alive detection on the UE if it is determined to perform keep-alive detection on the UE according to the keep-alive field.
  • the device further includes: a first receiving submodule, configured to receive a first notification message sent by the forwarding device, where the first notification message carries identifier information of the UE, where the notification message is that the forwarding device is After the UE is determined to be offline, the second sending sub-module is configured to send a request message to the server according to the identifier information, where the request message is used to request the server to release the resource occupied by the UE.
  • a first receiving submodule configured to receive a first notification message sent by the forwarding device, where the first notification message carries identifier information of the UE, where the notification message is that the forwarding device is After the UE is determined to be offline
  • the second sending sub-module is configured to send a request message to the server according to the identifier information, where the request message is used to request the server to release the resource occupied by the UE.
  • the device further includes: a sending sub-module, configured to send a second prompt message to the forwarding device, where the second prompt message carries a control word for charging the user equipment UE, the second The prompt message is used to prompt the forwarding device to perform charging processing on the UE when it is determined that the UE is charged according to the control word.
  • a sending sub-module configured to send a second prompt message to the forwarding device, where the second prompt message carries a control word for charging the user equipment UE, the second The prompt message is used to prompt the forwarding device to perform charging processing on the UE when it is determined that the UE is charged according to the control word.
  • the device further includes: a second receiving submodule, configured to receive a second notification message that is sent by the forwarding device and carries data information for charging the UE; and the third sending submodule is configured to be configured according to the The data information sends an update message to the server, wherein the update message is used to request the server to update the billing data of the UE.
  • FIG. 8 is a schematic diagram of a DHCP broadband user access device according to a preferred embodiment of the present invention.
  • the method includes: a DHCP client, a forwarding device, an SDN/Openflow controller, and a DHCP service application, wherein the DHCP client is In one form of the user equipment UE, the UE may also be a PPPoE client and a DHCPv6 client.
  • the forwarding device may be a router and/or a switch. The following is a case where the UE is a DHCP client, a PPPoE client, or a DHCPv6 client. The embodiments of the invention are further described.
  • the embodiment of the present invention is further described by taking the indication message as a flow entry as an example.
  • the flow table entry delivered by the virtualization controller is extended, and the keep-alive time value field is added.
  • the forwarding device receives the flow entry sent by the controller, and determines whether to send the online detection packet to the broadband access user equipment according to the value of the keepalive time in the flow entry. If the broadband access user equipment answers the online detection packet, the forwarding device forwards the packet. The device determines that the broadband access user equipment is online. Otherwise, it determines that the broadband access user equipment goes offline and notifies the virtualization controller, and the controller notifies the broadband access service application, and the broadband access service application stops charging the broadband access user. And release the resources occupied by the broadband access device.
  • the added field is a field added in the flow entry of the virtualized network controller to the forwarding device, and the added field is used as the keep-alive time value, which is determined by the virtualized network controller according to the processing of the broadband user access service application. Whether to issue.
  • the increased keep-alive duration field is identified and processed on the forwarding device, and the forwarding device determines the keep-alive duration value sent by the controller, and determines whether to perform user keep-alive detection according to the keep-alive duration value.
  • the forwarding device performs the user keep-alive detection according to the value of the keep-alive time.
  • the user equipment After the user does not answer the probe packet or the accumulated time of the unsent stream exceeds the timeout field existing in the flow table, it is determined that the user equipment is offline and forwarded. Device judgment user equipment If the user is offline, the user item in the flow table is deleted, and a notification message is sent to the controller, and the notification message carries the offline user keyword information. After receiving the offline message of the user, the virtualized network controller notifies the broadband access service application, and the broadband access service application finds the user according to the deleted user information, performs offline processing on the user, and stops the operation and release of the user.
  • the occupied resources, wherein the virtualized network includes but is not limited to an SDN network.
  • the broadband user access protocol used includes, but is not limited to, Dynamic Host Configuration Protocol (DHCP), Point-to-Point Protocol over Ethernet (PPPoE), and broadband access.
  • DHCP Dynamic Host Configuration Protocol
  • PGPoE Point-to-Point Protocol over Ethernet
  • broadband access The service application completes authentication, authorization, and accounting for broadband access users and other related work.
  • the detection packet sent by the forwarding device to the broadband access user equipment includes, but is not limited to, an ARP (Address Resolution Protocol), an Echo Request packet of a PPPoE, and the like.
  • ARP Address Resolution Protocol
  • Echo Request packet of a PPPoE and the like.
  • the offline situation of the broadband user equipment can be detected at the first time, and the controller is notified to release the corresponding user resources in time; the load of the virtualized network controller is greatly reduced, and the broadband user equipment is avoided by the controller. Detect huge bandwidth waste caused by massive users.
  • the keepalive time value field is added to the flow entry by extending the flow table of the virtualized network controller.
  • the value of the keep-alive time value exists in the flow entry of the virtualized network controller to the forwarding device.
  • the forwarding device determines whether to actively send the probe packet according to the value of the keep-alive time.
  • the forwarding device deletes the idle flow table because the flow entry is idle. After the item is notified, the virtualized network controller is notified, and the controller notifies the broadband access service application, and the broadband access service application extracts keywords from the deleted flow entry information, finds the user information, stops charging and releasing the user. resource of.
  • FIG. 9 is a flowchart of DHCP broadband user access according to an embodiment of the present invention. As shown in FIG. 9, the DHCP broadband access includes the following steps:
  • Step S902 The DHCP client sends a DHCP protocol packet to the forwarding device.
  • Step S904 the DHCP protocol packet is sent to the DHCP service application by using the forwarding device.
  • Step S906 the DHCP service application notifies the SDN controller to send a flow entry.
  • Step S908 The SDN controller communicates with the forwarding device through the openflow protocol, and sends a flow entry.
  • the content of the flow entry includes an Ethernet type (0x0806), an ARP operation code (2), and an ARP source IP address (the DHCP service application is assigned to The IP address of the DHCP client, the ARP source MAC address (the hardware address of the DHCP client device), the idle timeout value of the flow entry, and the keepalive time value.
  • the forwarding device determines whether to send the active detection packet according to the value of the keep-alive time in the flow entry. If the value of the keep-alive duration is 0, the forwarding device does not actively send the probe packet. Otherwise, the forwarding device defines the value of the keep-alive time.
  • the ARP request packet is sent once.
  • the destination IP address of the ARP request packet is set to the ARP source IP address defined in the flow entry, that is, the IP address assigned by the DHCP service application to the DHCP client.
  • the DHCP client device receives the ARP request packet sent by the forwarding device, and then responds.
  • the ARP response packet has an Ethernet type of 0x0806, an ARP operation code value of 2, and an ARP source IP address assigned by the DHCP service application.
  • IP address, ARP source MAC address is the hardware address of the DHCP client device.
  • the forwarding device After receiving the ARP reply packet sent by the DHCP client, the forwarding device performs the lookup flow table processing and matches the flow entry in the flow table. The idle time associated with the flow entry is cleared. The idle timeout is deleted by the forwarding device.
  • step S914 to step S918, the forwarding device sends an ARP request packet every time defined by the value of the keepalive duration. If the DHCP client device goes offline abnormally, the device does not respond. The forwarding device does not receive any response packets. The traffic table entry does not match the packets for a long time. The idle time exceeds the idle timeout value set by the flow entry.
  • step S920 when the idle time of the flow entry exceeds the idle timeout value set by the flow entry, the forwarding device deletes the flow entry and notifies the SDN controller of the content of the flow entry deleted.
  • Step S922 the SDN controller extracts the source IP address and the source MAC address information in the deleted flow entry, and notifies the DHCP service application. Based on the IP address and MAC address information, the DHCP service application searches for the user, releases the user's occupied resources, and stops charging the user.
  • the PPPoE broadband user access scenario map is similar to the DHCP broadband user access and will not be described here.
  • FIG. 10 is a flowchart of PPPoE broadband user access according to an embodiment of the present invention. As shown in FIG. 10, PPPoE broadband user access includes the following steps:
  • Step S1002 The PPPoE client sends a PPPoE protocol packet to the forwarding device.
  • Step S1004 The PPPoE protocol packet is sent to the PPPoE service application by using the forwarding device.
  • step S1006 the PPPoE service application notifies the SDN controller to send a flow entry.
  • step S1008 the SDN controller communicates with the forwarding device through the openflow protocol, and the flow entry is delivered.
  • the content of the flow entry includes the Ethernet type (0x8864), the source MAC address of the device, the idle timeout value of the flow entry, and the keepalive duration. value.
  • the forwarding device determines whether to send the active probe packet according to the keepalive duration value in the flow entry. If the keepalive duration value is 0, the proxy device does not actively send the probe packet. Otherwise, the forwarding device defines the value of the keepalive duration.
  • the Echo Request packet defined in the PPPoE protocol is sent once.
  • the destination MAC address in the packet is set to the source MAC address of the device in the flow entry.
  • step S1012 the PPPoE client device receives the Echo Request message sent by the forwarding device, and then responds.
  • the Ether Reply packet has an Ethernet type of 0x8864 and the source MAC address is the MAC address of the PPPoE client device.
  • the forwarding device After receiving the Echo Reply packet sent by the PPPoE client, the forwarding device performs the lookup flow table processing and matches the flow entry in the flow table. The idle time associated with the flow entry is cleared. The idle timeout is deleted by the forwarding device.
  • the forwarding device sends an Echo Request message every time defined by the value of the keepalive time. If the PPPoE client device goes offline abnormally, the device does not respond. The forwarding device does not receive any response packets. The traffic table entry does not match the packets for a long time. The idle time exceeds the idle timeout value set by the flow entry.
  • step S1020 when the idle time of the flow entry exceeds the idle timeout value set by the flow entry, the forwarding device deletes the flow entry and notifies the content of the flow entry deleted by the SDN controller.
  • Step S1022 The SDN controller extracts source MAC address information in the deleted flow entry, and notifies the PPPoE service application.
  • the PPPoE service application searches for a user based on the MAC address information, releases the user's occupied resources, and stops charging the user.
  • FIG. 11 is a flowchart of a DHCPv6 broadband user access according to an embodiment of the present invention. As shown in FIG. 11, the DHCPv6 broadband user access includes the following steps:
  • Step S1102 The DHCPv6 client sends a DHCPv6 protocol packet to the forwarding device.
  • Step S1104 The DHCPv6 protocol packet is sent to the DHCPv6 service application by using the forwarding device.
  • Step S1106 The DHCPv6 service application notifies the SDN controller to send a flow entry.
  • step S1108 the SDN controller communicates with the forwarding device through the openflow protocol, and the flow entry is delivered.
  • the content of the flow entry includes the Ethernet type (0x86dd), the source IPv6 address (the IPv6 address assigned by the DHCPv6 service application to the DHCPv6 client), and the IP address. Protocol number (58), ICMPv6 type (129), flow entry idle timeout value, keepalive time value.
  • step S1110 the forwarding device determines whether to send the active probe packet according to the keepalive duration value in the flow entry. If the value of the keepalive duration is 0, the proxy does not actively send the probe packet. Otherwise, the forwarding device defines the value of the keepalive duration.
  • the Echo Request message defined by ICMPv6 is sent once.
  • the destination IPv6 address of the Echo Request message is set to the source IPv6 address defined in the flow entry, that is, the IPv6 address assigned by the DHCPv6 service application to the DHCPv6 client.
  • the DHCPv6 client device receives the Echo Request message sent by the forwarding device, and then responds.
  • the Ether Reply packet has an Ethernet type of 0x86dd, and the source IPv6 address is an IPv6 address assigned by the DHCPv6 service application.
  • the IP protocol number is 58.
  • the ICMPv6 type is 129.
  • the forwarding device sends an Echo Request message every time defined by the value of the keepalive time. If the DHCPv6 client device goes offline abnormally, the device does not respond. The forwarding device does not receive any response packets. The traffic table entry does not match the packets for a long time. The idle time exceeds the idle timeout value set by the flow entry.
  • step S1120 when the idle time of the flow entry exceeds the idle timeout value set by the flow entry, the forwarding device deletes the flow entry and notifies the content of the flow entry deleted by the SDN controller.
  • Step S1122 The SDN controller extracts the source IPv6 address in the deleted flow entry, and notifies the DHCPv6 service application.
  • the DHCPv6 service application searches for a user based on the IPv6 address, releases the user's occupied resources, and stops charging the user.
  • FIG. 12 is a flowchart of PPPoE broadband subscriber charging according to an embodiment of the present invention. As shown in FIG. 12, PPPoE broadband subscriber charging includes the following steps:
  • Step S1202 The PPPoE client sends a PPPoE protocol packet to the forwarding device.
  • Step S1204 The PPPoE protocol packet is sent to the PPPoE service application by using the forwarding device.
  • Step S1206 The PPPoE service application notifies the SDN controller to send a flow entry.
  • step S1208 the SDN controller communicates with the forwarding device through the openflow protocol, and sends a flow entry, indicating that user charging management is required.
  • step S1210 the forwarding device performs user management information recording according to the network data information of the user.
  • step S1212 the forwarding device periodically sends the management information record of the user.
  • Steps S1214 to 1216 when the forwarding device receives the charging information of the user requested by the SDN controller, the forwarding information is sent to the user.
  • Step S1218 the SDN controller notifies the PPPoE service, and the PPPoE service updates the user charging information in response.
  • the forwarding device can detect the offline situation of the broadband user equipment at the first time, and notify the controller to release the corresponding user resource in time;
  • the charging information of the broadband user equipment on the forwarding device is periodically or on-demand transmitted to the network controller, which can greatly reduce the load of the virtualized network controller on the massive users, and avoid the broadband user equipment detection by the controller. A huge amount of bandwidth wasted by billing massive users.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the foregoing embodiments of the present invention are applied to the field of communications, and solve the problem that a large amount of resources are wasted in the management of user equipment in the related art, which reduces the load of the network controller and saves a large amount of network resources.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明公开了用户设备UE处理方法及装置,其中,该方法包括:转发设备接收控制器下发的用于对该UE进行管理的指示消息;该转发设备依据接收到的该指示消息对该UE进行管理处理,通过转发设备对UE进行管理,解决了相关技术中对用户设备的管理存在大量资源浪费的问题,减轻了网络控制器的负载,节约了海量网络资源。

Description

用户设备UE处理方法及装置 技术领域
本发明涉及通信领域,具体而言,涉及用户设备UE处理方法及装置。
背景技术
随着云计算和大数据时代的到来,信息交流技术(Information Communication Technology,简称为ICT)系统三大核心元素(计算、存储、网络)中的计算和存储已经在向着云化、虚拟化的方向发展,而僵化的网络成为ICT系统迈向自动化、软件化的最后一个障碍。为了清除传统网络所带来的瓶颈限制,完善面向开放的ICT系统的最后一块拼图,虚拟化网络作为未来的发展方向,越来越收到业界的关注,现在颇为流行的软件定义网络(Software Defined Network,简称为SDN)就是虚拟化网络的典型代表。
SDN是由美国斯坦福大学clean slate研究组提出的一种新型网络创新架构,其核心技术OpenFlow通过将网络设备控制面与数据面分离开来,转发设备标准化、控制面集中化,所有控制功能可以通过集中的控制面进行编程实现而无需升级转发面,从而实现了网络流量的灵活控制,为核心网络及应用的创新提供了良好的平台。SDN的概念核心是控制转发分离,转发设备标准化、傻瓜化,控制面集中化,所有控制功能可以通过集中的控制面进行编程实现而无需升级转发面。
SDN具有全局信息,可以基于全局信息对路径做优化,使得响应比较缓慢的全局性需求可以较快通过新算法实现。SDN具有统一的计算实体和算法,可以避免路由器逐台升级带来的对网络冲击过大的问题。SDN通过软件化的定义,提供更好的应用程序接口,使得应用对网络的管理得以较好地实现。同时,通过SDN可以简化对设备控制面和管理面的复杂要求,使设备可集中精力于转发,从而加快技术革新速度。
作为SDN的一种实现方式,OpenFlow交换机将原来完全由交换机/路由器控制的报文转发过程转化为由OpenFlow交换机(OpenFlow Switch)和控制服务器(Controller)来共同完成,从而实现了数据转发和路由控制的分离。控制器可以通过事先规定好的接口操作来控制OpenFlow交换机中的流表,从而达到控制数据转发的目的。因此,OpenFlow开启了一条网络创新的道路。OpenFlow交换机由流表(Flowtable)、安全通道和OpenFlow协议三部分组成。网络设备维护一个FlowTable并且只按照FlowTable进行转发,Flowtable本身的生成、维护、下发完全由外置的Controller来实现,网络 的运营商可以决定使用何种粒度的流,比如运营商只需要根据目的IP进行路由,那么流表中就可以只有目的IP字段是有效的,其它全为通配。流表由很多个流表项组成,每个流表项就是一个转发规则。进入交换机的数据包通过查询流表来获得转发的目的端口以及相应操作。
SDN/OpenFlow技术正在引领传统的、封闭的网络走向开放。绝大多数的运营商和设备厂商已经进行了相应的开发以及试点运行工作,遇到的问题也逐步提出并在讨论解决。宽带用户接入设备作为SDN网络转发设备的一种,其管理也是其中的一个重要组成部分。对用户的集中化管理,可以大量的节约设备资源,运维资源和提高设备利用率,实现对用户更为灵活的管理方式。从SDN控制器上可以实现对网络转发设备的保活检测和管理,但对单个用户的管理成为一个需要重点解决的问题,每个网络转发设备上,可以承载数万乃至数十万的用户,如果同样由控制器来实现对用户的保活检测和其他管理功能,会浪费大量的控制器资源,浪费海量的带宽,甚至影响到正常的网络业务运行。
针对相关技术中对用户设备的管理存在大量资源浪费的问题,目前尚未提出有效的解决方案。
发明内容
本发明实施例提供了用户设备UE处理方法及装置,以至少解决相关技术中对用户设备的管理存在大量资源浪费的问题。
根据本发明实施例的一个方面,提供了一种用户设备UE处理方法,包括:转发设备接收控制器下发的用于对所述UE进行管理的指示消息;所述转发设备依据接收到的所述指示消息对所述UE进行管理处理。
进一步地,所述转发设备依据接收到的所述指示消息对所述UE进行管理处理包括以下至少之一:所述转发设备对所述UE进行保活检测处理;所述转发设备对所述UE进行计费处理。
进一步地,所述转发设备对所述UE进行保活检测处理包括:所述转发设备接收所述控制器下发的第一提示消息,其中,所述第一提示消息中携带有对所述UE进行保活检测的保活字段;所述转发设备根据所述保活字段判断是否对所述UE进行保活检测;在判断结果为是的情况下,所述转发设备对所述UE进行保活检测。
进一步地,在判断结果为是的情况下,所述转发设备对所述UE进行保活检测包括:所述转发设备以所述保活字段中定义的预定周期向所述UE发送在线探测报文,其中,所述在线探测报文用于测试所述UE是否在线;所述转发设备在预定时间内接收到所述UE发送的响应所述在线探测报文的响应消息的情况下,所述转发设备确定所述UE在线;和/或,所述转发设备在所述预定时间内没有接收到所述响应消息或所述第一提示消息下发后的空闲时间大于所述第一提示消息中预先设置的空闲超时值的情况下,确定所述UE不在线。
进一步地,在确定所述UE不在线之后,还包括:所述转发设备向所述控制器发送携带有所述UE的标识信息的第一通知消息,其中,所述第一通知消息用于通知所述控制器根据所述标识信息向服务器发送请求消息,其中,所述请求消息用于请求所述服务器释放所述UE占用的资源,在对所述UE进行计费的情况下,停止对所述UE进行计费处理。
进一步地,所述转发设备对所述UE进行计费处理包括:所述转发设备接收控制器下发的第二提示消息,其中,所述第二提示消息中携带有对用户设备UE进行计费的控制字;所述转发设备根据所述控制字判断是否对所述UE进行计费;在判断结果为是的情况下,所述转发设备对所述UE进行计费处理。
进一步地,所述转发设备对所述UE进行计费处理包括:所述转发设备向所述控制器发送携带有用于对所述UE进行计费的数据信息的第二通知消息,其中,所述第二通知消息用于通知所述控制器根据所述数据信息向服务器发送更新消息,其中,所述更新消息用于请求所述服务器更新所述UE的计费数据。
根据本发明实施例的另一方面,还提供了一种用户设备UE处理方法,包括:控制器确定通过转发设备对用户设备UE进行管理;所述控制器向所述转发设备下发用于对所述UE进行管理的指示消息,其中,所述指示消息用于指示所述转发设备依据接收到的所述指示消息对所述UE进行管理处理。
进一步地,所述控制器确定通过所述转发设备对所述UE进行管理包括以下至少之一:所述控制器确定通过所述转发设备对所述UE进行保活检测处理;所述控制器确定通过所述转发设备对所述UE进行计费处理。
进一步地,在所述控制器确定通过所述转发设备对所述UE进行保活检测处理之后,还包括:所述控制器向所述转发设备发送第一提示消息,其中,所述第一提示消息中携带有对所述UE进行保活检测的保活字段,所述第一提示消息用于提示所述转 发设备在根据所述保活字段判断对所述UE进行保活检测的情况下,对所述UE进行保活检测。
进一步地,在所述控制器向所述转发设备发送所述第一提示消息之后,还包括:所述控制器接收所述转发设备发送的第一通知消息,其中,所述第一通知消息携带有所述UE的标识信息,所述通知消息是所述转发设备在确定所述UE不在线之后发送的;所述控制器根据所述标识信息向服务器发送请求消息,其中,所述请求消息用于请求所述服务器释放所述UE占用的资源。
进一步地,在所述控制器确定通过所述转发设备对所述UE进行计费处理之后,还包括:所述控制器向所述转发设备下发第二提示消息,其中,所述第二提示消息中携带有对用户设备UE进行计费的控制字,所述第二提示消息用于提示所述转发设备根据所述控制字判断对所述UE进行计费的情况下,对所述UE进行计费处理。
进一步地,在向所述转发设备下发第二提示消息之后,还包括:所述控制器接收所述转发设备发送的携带有用于对所述UE进行计费的数据信息的第二通知消息;所述控制器根据所述数据信息向所述服务器发送更新消息,其中,所述更新消息用于请求所述服务器更新所述UE的计费数据。
根据本发明实施例的另一方面,还提供了一种用户设备UE处理装置,应用于转发设备,包括:接收模块,设置为接收控制器下发的用于对所述UE进行管理的指示消息;管理处理模块,设置为依据接收到的所述指示消息对所述UE进行管理处理。
进一步地,所述管理处理模块包括以下至少之一:保活检测子模块,设置为对所述UE进行保活检测处理;计费处理子模块,设置为对所述UE进行计费处理。
进一步地,所述保活检测子模块包括:第一接收单元,设置为接收所述控制器下发的第一提示消息,其中,所述第一提示消息中携带有对所述UE进行保活检测的保活字段;第一判断单元,设置为根据所述保活字段判断是否对所述UE进行保活检测;保活检测单元,设置为在判断结果为是的情况下,对所述UE进行保活检测。
进一步地,所述保活检测单元包括:第一发送子单元,设置为以所述保活字段中定义的预定周期向所述UE发送在线探测报文,其中,所述在线探测报文用于测试所述UE是否在线;确定子单元,设置为在预定时间内接收到所述UE发送的响应所述在线探测报文的响应消息的情况下,确定所述UE在线,确定对所述UE进行计费处理;和/或,结束子单元,设置为在所述预定时间内没有接收到所述响应消息或所述第 一提示消息下发后的空闲时间大于所述第一提示消息中预先设置的空闲超时值的情况下,确定所述UE不在线,结束对所述UE进行计费处理。
进一步地,所述装置还包括:第二发送子单元,设置为向所述控制器发送携带有所述UE的标识信息的第一通知消息,其中,所述第一通知消息用于通知所述控制器根据所述标识信息向服务器发送请求消息,其中,所述请求消息用于请求所述服务器释放所述UE占用的资源。
进一步地,所述计费处理子模块包括:第二接收单元,设置为接收控制器下发的第二提示消息,其中,所述第二提示消息中携带有对用户设备UE进行计费的控制字;第二判断单元,设置为根据所述控制字判断是否对所述UE进行计费;计费处理单元,设置为在判断结果为是的情况下,对所述UE进行计费处理。
进一步地,所述计费处理子模块包括:发送单元,设置为向所述控制器发送携带有用于对所述UE进行计费的数据信息的第二通知消息,其中,所述第二通知消息用于通知所述控制器根据所述数据信息向服务器发送更新消息,其中,所述更新消息用于请求所述服务器更新所述UE的计费数据。
根据本发明实施例的另一方面,还提供了一种用户设备UE处理装置,应用于控制器,包括:确定模块,设置为确定通过转发设备对用户设备UE进行管理;下发模块,设置为向所述转发设备下发用于对所述UE进行管理的指示消息,其中,所述指示消息用于指示所述转发设备依据接收到的所述指示消息对所述UE进行管理处理。
进一步地,所述确定模块包括以下至少之一:第一确定子模块,设置为确定通过所述转发设备对所述UE进行保活检测处理;第二确定子模块,设置为确定通过所述转发设备对所述UE进行计费处理。
进一步地,所述装置还包括:第一发送子模块,设置为向所述转发设备发送第一提示消息,其中,所述第一提示消息中携带有对所述UE进行保活检测的保活字段,所述第一提示消息用于提示所述转发设备在根据所述保活字段判断对所述UE进行保活检测的情况下,对所述UE进行保活检测。
进一步地,所述装置还包括:第一接收子模块,设置为接收所述转发设备发送的第一通知消息,其中,所述第一通知消息携带有所述UE的标识信息,所述通知消息是所述转发设备在确定所述UE不在线之后发送的;第二发送子模块,设置为根据所述标识信息向服务器发送请求消息,其中,所述请求消息用于请求所述服务器释放所述UE占用的资源。
进一步地,所述装置还包括:下发子模块,设置为向所述转发设备下发第二提示消息,其中,所述第二提示消息中携带有对用户设备UE进行计费的控制字,所述第二提示消息用于提示所述转发设备根据所述控制字判断对所述UE进行计费的情况下,对所述UE进行计费处理。
进一步地,所述装置还包括:第二接收子模块,设置为接收所述转发设备发送的携带有用于对所述UE进行计费的数据信息的第二通知消息;第三发送子模块,设置为根据所述数据信息向所述服务器发送更新消息,其中,所述更新消息用于请求所述服务器更新所述UE的计费数据。
通过本发明实施例,采用转发设备接收控制器下发的用于对所述UE进行管理的指示消息;所述转发设备依据接收到的所述指示消息对所述UE进行管理处理,通过转发设备对UE进行管理,解决了相关技术中对用户设备的管理存在大量资源浪费的问题,减轻了网络控制器的负载,节约了海量网络资源。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的用户设备UE处理方法的流程图一;
图2是根据本发明实施例的用户设备UE处理方法的流程图二;
图3是根据本发明实施例的用户设备UE处理装置的框图一;
图4是根据本发明优选实施例的用户设备UE处理装置的框图一;
图5是根据本发明优选实施例的用户设备UE处理装置的框图二;
图6是根据本发明优选实施例的用户设备UE处理装置的框图三;
图7是根据本发明实施例的用户设备UE处理装置的框图二;
图8是根据本发明优选实施例的DHCP宽带用户接入装置的示意图;
图9是根据本发明实施例的DHCP宽带用户接入的流程图;
图10是根据本发明实施例的PPPoE宽带用户接入的流程图;
图11是根据本发明实施例的DHCPv6宽带用户接入的流程图;
图12是根据本发明优选实施例的用户计费的流程图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
在本实施例中提供了一种用户设备UE处理方法,图1是根据本发明实施例的用户设备UE处理方法的流程图一,如图1所示,该流程包括如下步骤:
步骤S102,转发设备接收控制器下发的用于对该UE进行管理的指示消息;
步骤S104,转发设备依据接收到的该指示消息对该UE进行管理处理。
通过上述步骤,转发设备接收控制器下发的用于对该UE进行管理的指示消息;该转发设备依据接收到的该指示消息对该UE进行管理处理,通过转发设备对UE进行管理,解决了相关技术中对用户设备的管理存在大量资源浪费的问题,减轻了网络控制器的负载,节约了海量网络资源。
转发设备依据接收到的该指示消息对该UE进行管理处理包括以下至少之一:转发设备对该UE进行保活检测处理;转发设备对该UE进行计费处理。
转发设备对该UE进行保活检测处理的方式不只一种,在一个可选的实施例中,转发设备接收该控制器下发的第一提示消息,其中,该第一提示消息中携带有对该UE进行保活检测的保活字段;该转发设备根据该保活字段判断是否对该UE进行保活检测;在判断结果为是的情况下,该转发设备对该UE进行保活检测。
转发设备对该UE进行保活检测的方式有多种,在一个可选的实施例中,转发设备以该保活字段中定义的预定周期向该UE发送在线探测报文,其中,该在线探测报文用于测试该UE是否在线;该转发设备在预定时间内接收到该UE发送的响应该在线探测报文的响应消息的情况下,该转发设备确定该UE在线;和/或,该转发设备在该预定时间内没有接收到该响应消息或该第一提示消息下发后的空闲时间大于该第一提示消息中预先设置的空闲超时值的情况下,确定该UE不在线。
在确定该UE不在线之后,转发设备向该控制器发送携带有该UE的标识信息的第一通知消息,其中,该第一通知消息用于通知该控制器根据该标识信息向服务器发 送请求消息,其中,该请求消息用于请求该服务器释放该UE占用的资源,在对该UE进行计费的情况下,停止对该UE进行计费处理。
转发设备对该UE进行计费处理的方式不只一种,在一个可选的实施例中,转发设备接收控制器下发的第二提示消息,其中,该第二提示消息中携带有对用户设备UE进行计费的控制字;该转发设备根据该控制字判断是否对该UE进行计费;在判断结果为是的情况下,该转发设备对该UE进行计费处理。
转发设备对该UE进行计费处理的方式可以包括:转发设备向该控制器发送携带有用于对该UE进行计费的数据信息的第二通知消息,其中,该第二通知消息用于通知该控制器根据该数据信息向服务器发送更新消息,其中,该更新消息用于请求该服务器更新该UE的计费数据。
本发明实施例还提供开了一种用户设备UE处理方法,图2是根据本发明实施例的用户设备UE处理方法的流程图二,如图2所示,该流程包括如下步骤:
步骤S202,控制器确定通过转发设备对用户设备UE进行管理;
步骤S204,控制器向该转发设备下发用于对该UE进行管理的指示消息,其中,该指示消息用于指示该转发设备依据接收到的该指示消息对该UE进行管理处理。
通过上述步骤,控制器确定通过转发设备对用户设备UE进行管理,控制器向该转发设备下发用于对该UE进行管理的指示消息,其中,该指示消息用于指示该转发设备依据接收到的该指示消息对该UE进行管理处理,解决了相关技术中对用户设备的管理存在大量资源浪费的问题,减轻了网络控制器的负载,节约了海量网络资源。
控制器确定通过该转发设备对该UE进行管理包括以下至少之一:该控制器确定通过该转发设备对该UE进行保活检测处理;该控制器确定通过该转发设备对该UE进行计费处理。
在该控制器确定通过该转发设备对该UE进行保活检测处理之后,该控制器向该转发设备发送第一提示消息,其中,该第一提示消息中携带有对该UE进行保活检测的保活字段,该第一提示消息用于提示该转发设备在根据该保活字段判断对该UE进行保活检测的情况下,对该UE进行保活检测。
在该控制器向该转发设备发送该第一提示消息之后,该控制器接收该转发设备发送的第一通知消息,其中,该第一通知消息携带有该UE的标识信息,该通知消息是 该转发设备在确定该UE不在线之后发送的;该控制器根据该标识信息向服务器发送请求消息,其中,该请求消息用于请求该服务器释放该UE占用的资源。
在该控制器确定通过该转发设备对该UE进行计费处理之后,该控制器向该转发设备下发第二提示消息,其中,该第二提示消息中携带有对用户设备UE进行计费的控制字,该第二提示消息用于提示该转发设备根据该控制字判断对该UE进行计费的情况下,对该UE进行计费处理。
在向该转发设备下发第二提示消息之后,控制器接收该转发设备发送的携带有用于对该UE进行计费的数据信息的第二通知消息;该控制器根据该数据信息向该服务器发送更新消息,其中,该更新消息用于请求该服务器更新该UE的计费数据。
本发明实施例还提供了一种用户设备UE处理装置,应用于转发设备,图3是根据本发明实施例的用户设备UE处理装置的框图一,如图3所示,包括:
接收模块32,设置为接收控制器下发的用于对该UE进行管理的指示消息;
管理处理模块34,设置为依据接收到的该指示消息对该UE进行管理处理。
图4是根据本发明优选实施例的用户设备UE处理装置的框图一,如图4所示,管理处理模块34包括以下至少之一:
保活检测子模块42,设置为对该UE进行保活检测处理;
计费处理子模块44,设置为对该UE进行计费处理。
图5是根据本发明优选实施例的用户设备UE处理装置的框图二,如图5所示,保活检测子模块42包括:
第一接收单元52,设置为接收该控制器下发的第一提示消息,其中,该第一提示消息中携带有对该UE进行保活检测的保活字段;
第一判断单元54,设置为根据该保活字段判断是否对该UE进行保活检测;
保活检测单元56,设置为在判断结果为是的情况下,对该UE进行保活检测。
上述的保活检测单元56包括:第一发送子单元,设置为以该保活字段中定义的预定周期向该UE发送在线探测报文,其中,该在线探测报文用于测试该UE是否在线;确定子单元,设置为在预定时间内接收到该UE发送的响应该在线探测报文的响应消 息的情况下,确定该UE在线,确定对该UE进行计费处理;和/或,结束子单元,用于在该预定时间内没有接收到该响应消息或该第一提示消息下发后的空闲时间大于该第一提示消息中预先设置的空闲超时值的情况下,确定该UE不在线,结束对该UE进行计费处理。
进一步地,该装置还包括:第二发送子单元,设置为向该控制器发送携带有该UE的标识信息的第一通知消息,其中,该第一通知消息用于通知该控制器根据该标识信息向服务器发送请求消息,其中,该请求消息用于请求该服务器释放该UE占用的资源。
图6是根据本发明优选实施例的用户设备UE处理装置的框图三,如图6所示,计费处理子模块44包括:
第二接收单元62,设置为接收控制器下发的第二提示消息,其中,该第二提示消息中携带有对用户设备UE进行计费的控制字;
第二判断单元64,设置为根据该控制字判断是否对该UE进行计费;
计费处理单元66,设置为在判断结果为是的情况下,对该UE进行计费处理。
进一步地,计费处理子模块44包括:发送单元,设置为向该控制器发送携带有用于对该UE进行计费的数据信息的第二通知消息,其中,该第二通知消息用于通知该控制器根据该数据信息向服务器发送更新消息,其中,该更新消息用于请求该服务器更新该UE的计费数据。
本发明实施例还提供了一种用户设备UE处理装置,应用于控制器,图7是根据本发明实施例的用户设备UE处理装置的框图二,如图7所示,包括:
确定模块72,设置为确定通过转发设备对用户设备UE进行管理;
下发模块74,设置为向该转发设备下发用于对该UE进行管理的指示消息,其中,该指示消息用于指示该转发设备依据接收到的该指示消息对该UE进行管理处理。
上述的确定模块72包括以下至少之一:第一确定子模块,设置为确定通过该转发设备对该UE进行保活检测处理;第二确定子模块,设置为确定通过该转发设备对该UE进行计费处理。
进一步地,该装置还包括:第一发送子模块,设置为向该转发设备发送第一提示消息,其中,该第一提示消息中携带有对该UE进行保活检测的保活字段,该第一提 示消息用于提示该转发设备在根据该保活字段判断对该UE进行保活检测的情况下,对该UE进行保活检测。
进一步地,该装置还包括:第一接收子模块,设置为接收该转发设备发送的第一通知消息,其中,该第一通知消息携带有该UE的标识信息,该通知消息是该转发设备在确定该UE不在线之后发送的;第二发送子模块,设置为根据该标识信息向服务器发送请求消息,其中,该请求消息用于请求该服务器释放该UE占用的资源。
进一步地,该装置还包括:下发子模块,设置为向该转发设备下发第二提示消息,其中,该第二提示消息中携带有对用户设备UE进行计费的控制字,该第二提示消息用于提示该转发设备根据该控制字判断对该UE进行计费的情况下,对该UE进行计费处理。
进一步地,该装置还包括:第二接收子模块,设置为接收该转发设备发送的携带有用于对该UE进行计费的数据信息的第二通知消息;第三发送子模块,设置为根据该数据信息向该服务器发送更新消息,其中,该更新消息用于请求该服务器更新该UE的计费数据。
图8是根据本发明优选实施例的DHCP宽带用户接入装置的示意图,如图8所示,包括:DHCP客户端、转发设备、SDN/Openflow控制器、DHCP服务应用,其中,DHCP客户端为上述的用户设备UE的一种形式,UE还可以是PPPoE客户端、DHCPv6客户端,转发设备可以是路由器和/或交换机,下面以UE为DHCP客户端、PPPoE客户端、DHCPv6客户端为例对本发明实施例进行进一步说明。
下面以指示消息为流表项为例对本发明实施例进行进一步说明,通过扩展虚拟化控制器下发的流表项,在其中增加保活时长值字段。转发设备接收控制器下发的流表项,并根据流表项中保活时长值决定是否主动向宽带接入用户设备发送在线探测报文,如果宽带接入用户设备应答在线探测报文,转发设备判定宽带接入用户设备在线,否则,判定宽带接入用户设备下线,并通知虚拟化控制器,由控制器通知宽带接入服务应用,宽带接入服务应用停止对宽带接入用户计费,并释放宽带接入设备占用的资源。
增加字段为在虚拟化网络控制器下发到转发设备的流表项中所增加的字段,增加的字段作为保活时长值,由虚拟化网络控制器根据宽带用户接入服务应用的处理来决定是否下发。增加的保活时长字段,在转发设备上进行识别和处理,转发设备判断控制器下发的保活时长值,根据保活时长值决定是否进行用户保活探测。转发设备在根据保活时长值来进行用户保活探测,用户未应答探测报文或未发流的时间累加值超过流表中已有的超时字段时长后,判断出用户设备已经离线,在转发设备判断用户设备 已离线的情况下,删除流表中的该用户项,并发送通知消息给控制器,通知消息中携带已离线用户关键字信息。虚拟化网络控制器收到用户离线消息后,通知宽带接入服务应用,宽带接入服务应用根据删除的用户信息查找到该用户,对该用户进行离线处理,停止对用户计费等操作和释放占用的资源,其中,虚拟化网络包括但不限于SDN网络。
上述的宽带接入服务应用,所使用宽带用户接入协议包括但不限于动态主机配置协议(Dynamic host configuration protocol,简称为DHCP)、PPPoE(Point-to-Point Protocol over Ethernet)等,宽带接入服务应用完成对宽带接入用户的认证、授权和计费以及其他相关工作。
需要说明的是,转发设备向宽带接入用户设备发送的探测报文包括但不限于ARP(Address Resolution Protocol)、PPPoE的Echo Request报文等。
通过本可选实施例,能够在第一时间检测到宽带用户设备的离线情况,及时通知控制器释放相应的用户资源;极大减轻虚拟化网络控制器的负荷,避免由控制器进行宽带用户设备检测海量用户所带来的巨大带宽浪费。
通过对虚拟化网络控制器下发流表的扩展,在流表项中增加保活时长值字段。虚拟化网络控制器下发到转发设备的流表项中存在保活时长值,转发设备根据保活时长值决定是否主动发送探测报文;在因流表项空闲超时,转发设备删除空闲流表项后,通知虚拟化网络控制器,控制器再通知宽带接入服务应用,宽带接入服务应用从删除的流表项信息中提取关键字,查找到用户信息,停止对用户计费和释放占用的资源。
图9是根据本发明实施例的DHCP宽带用户接入的流程图,如图9所示,DHCP宽带接入包括以下步骤:
步骤S902,DHCP客户端发送DHCP协议报文到转发设备。
步骤S904,通过转发设备,DHCP协议报文被发送到DHCP服务应用。
步骤S906,DHCP服务应用通知SDN控制器下发流表项。
步骤S908,SDN控制器通过openflow协议和转发设备通信,下发流表项,流表项中的内容包括以太类型(0x0806),ARP操作码(2),ARP源IP地址(DHCP服务应用分配给DHCP客户端的IP地址),ARP源MAC地址(DHCP客户端设备的硬件地址),流表项空闲超时值等,以及保活时长值。
步骤S910,转发设备根据流表项中的保活时长值决定是否发送主动探测报文,如果保活时长值为0,则不主动发送探测报文,否则,转发设备每隔保活时长值定义的时间发送一次ARP请求报文,ARP请求报文的目的IP地址设置为流表项中定义的ARP源IP地址,即DHCP服务应用分配给DHCP客户端的IP地址。
步骤S912,DHCP客户端设备接收到转发设备发送的ARP请求报文,则会应答,ARP应答报文中的以太类型为0x0806,ARP操作码值为2,ARP源IP地址为DHCP服务应用分配的IP地址,ARP源MAC地址为DHCP客户端设备的硬件地址。转发设备接收到DHCP客户端发送的ARP应答报文后,进行查找流表处理,并匹配到流表中的流表项,与此流表项相关的空闲时间清零,不会因为流表项空闲超时,而被转发设备删除。
步骤S914~步骤S918,转发设备每隔保活时长值定义的时间发送一次ARP请求报文,如果DHCP客户端设备异常下线,则不会应答。转发设备由于一直收不到应答报文,流表项会因为长时间没有报文匹配,导致空闲时间超过流表项设置的空闲超时值。
步骤S920,当流表项的空闲时间超过流表项设置的空闲超时值,转发设备删除流表项,通知SDN控制器删除的流表项内容。
步骤S922,SDN控制器提取被删除流表项中的源IP地址和源MAC地址信息,通知DHCP服务应用。DHCP服务应用根据IP地址和MAC地址信息,查找用户,释放用户占用资源,停止对用户计费。
PPPoE宽带用户接入场景图类似DHCP宽带用户接入,在此不再累述。
图10是根据本发明实施例的PPPoE宽带用户接入的流程图,如图10所示,PPPoE宽带用户接入包括以下步骤:
步骤S1002,PPPoE客户端发送PPPoE协议报文到转发设备。
步骤S1004,通过转发设备,PPPoE协议报文被发送到PPPoE服务应用。
步骤S1006,PPPoE服务应用通知SDN控制器下发流表项。
步骤S1008,SDN控制器通过openflow协议和转发设备通信,下发流表项,流表项中的内容包括以太类型(0x8864),设备源MAC地址,流表项空闲超时值等,以及保活时长值。
步骤S1010,转发设备根据流表项中的保活时长值决定是否发送主动探测报文,如果保活时长值为0,则不主动发送探测报文,否则,转发设备每隔保活时长值定义的时间发送一次PPPoE协议中定义的Echo Request报文,报文中的目的MAC地址设置为流表项中的设备源MAC地址。
步骤S1012,PPPoE客户端设备接收到转发设备发送的Echo Request报文,则会应答,Echo Reply报文中的以太类型为0x8864,源MAC地址为PPPoE客户端设备的MAC地址。转发设备接收到PPPoE客户端发送的Echo Reply报文后,进行查找流表处理,并匹配到流表中的流表项,与此流表项相关的空闲时间清零,不会因为流表项空闲超时,而被转发设备删除。
步骤S1014~1018,转发设备每隔保活时长值定义的时间发送一次Echo Request报文,如果PPPoE客户端设备异常下线,则不会应答。转发设备由于一直收不到应答报文,流表项会因为长时间没有报文匹配,导致空闲时间超过流表项设置的空闲超时值。
步骤S1020,当流表项的空闲时间超过流表项设置的空闲超时值,转发设备删除流表项,通知SDN控制器删除的流表项内容。
步骤S1022,SDN控制器提取被删除流表项中的源MAC地址信息,通知PPPoE服务应用。PPPoE服务应用根据MAC地址信息,查找用户,释放用户占用资源,停止对用户计费。
图11是根据本发明实施例的DHCPv6宽带用户接入的流程图,如图11所示,DHCPv6宽带用户接入包括以下步骤:
步骤S1102,DHCPv6客户端发送DHCPv6协议报文到转发设备。
步骤S1104,通过转发设备,DHCPv6协议报文被发送到DHCPv6服务应用。
步骤S1106,DHCPv6服务应用通知SDN控制器下发流表项。
步骤S1108,SDN控制器通过openflow协议和转发设备通信,下发流表项,流表项中的内容包括以太类型(0x86dd),源IPv6地址(DHCPv6服务应用分配给DHCPv6客户端的IPv6地址),IP协议号(58),ICMPv6类型(129),流表项空闲超时值,保活时长值。
步骤S1110,转发设备根据流表项中的保活时长值决定是否发送主动探测报文,如果保活时长值为0,则不主动发送探测报文,否则,转发设备每隔保活时长值定义的时间发送一次ICMPv6定义的Echo Request报文。Echo Request报文的目的IPv6地址设置为流表项中定义的源IPv6地址,即DHCPv6服务应用分配给DHCPv6客户端的IPv6地址。
步骤S1112,DHCPv6客户端设备接收到转发设备发送的Echo Request报文,则会应答,Echo Reply报文中的以太类型为0x86dd,源IPv6地址为DHCPv6服务应用分配的IPv6地址,IP协议号为58,ICMPv6类型为129。转发设备接收到DHCPv6客户端发送的Echo Reply报文后,进行查找流表处理,并匹配到流表中的流表项,与此流表项相关的空闲时间清零,不会因为流表项空闲超时,而被转发设备删除。
步骤S1114~S1118,转发设备每隔保活时长值定义的时间发送一次Echo Request报文,如果DHCPv6客户端设备异常下线,则不会应答。转发设备由于一直收不到应答报文,流表项会因为长时间没有报文匹配,导致空闲时间超过流表项设置的空闲超时值。
步骤S1120,当流表项的空闲时间超过流表项设置的空闲超时值,转发设备删除流表项,通知SDN控制器删除的流表项内容。
步骤S1122,SDN控制器提取被删除流表项中的源IPv6地址,通知DHCPv6服务应用。DHCPv6服务应用根据IPv6地址,查找用户,释放用户占用资源,停止对用户计费。
图12是根据本发明实施例的PPPoE宽带用户计费的流程图,如图12所示,PPPoE宽带用户计费包括以下步骤:
步骤S1202,PPPoE客户端发送PPPoE协议报文到转发设备。
步骤S1204,通过转发设备,PPPoE协议报文被发送到PPPoE服务应用。
步骤S1206,PPPoE服务应用通知SDN控制器下发流表项。
步骤S1208,SDN控制器通过openflow协议和转发设备通信,下发流表项,指示需要进行用户计费管理。
步骤S1210,转发设备根据用户的网络数据信息进行用户管理信息记录。
步骤S1212,转发设备定期上送用户的管理信息记录。
步骤S1214~1216,转发设备在收到SDN控制器请求用户的计费信息时,上送用户的计费信息。
步骤S1218,SDN控制器通知PPPoE服务,PPPoE服务更新响应的用户计费信息。
综上所述,通过对虚拟化网络控制器下发流表中增加保活时长字段,转发设备能够在第一时间检测到宽带用户设备的离线情况,及时通知控制器释放相应的用户资源;通过在转发设备上对宽带用户设备的计费信息,定期或者按需传送到网络控制器上,都能极大减轻虚拟化网络控制器对海量用户的负荷,避免由控制器进行宽带用户设备检测和计费海量用户所带来的巨大带宽浪费。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
上述的本发明实施例,应用于通信领域,解决了相关技术中对用户设备的管理存在大量资源浪费的问题,减轻了网络控制器的负载,节约了海量网络资源。

Claims (26)

  1. 一种用户设备UE处理方法,包括:
    转发设备接收控制器下发的用于对所述UE进行管理的指示消息;
    所述转发设备依据接收到的所述指示消息对所述UE进行管理处理。
  2. 根据权利要求1所述的方法,其中,所述转发设备依据接收到的所述指示消息对所述UE进行管理处理包括以下至少之一:
    所述转发设备对所述UE进行保活检测处理;
    所述转发设备对所述UE进行计费处理。
  3. 根据权利要求2所述的方法,其中,所述转发设备对所述UE进行保活检测处理包括:
    所述转发设备接收所述控制器下发的第一提示消息,其中,所述第一提示消息中携带有对所述UE进行保活检测的保活字段;
    所述转发设备根据所述保活字段判断是否对所述UE进行保活检测;
    在判断结果为是的情况下,所述转发设备对所述UE进行保活检测。
  4. 根据权利要求3所述的方法,其中,在判断结果为是的情况下,所述转发设备对所述UE进行保活检测包括:
    所述转发设备以所述保活字段中定义的预定周期向所述UE发送在线探测报文,其中,所述在线探测报文用于测试所述UE是否在线;
    所述转发设备在预定时间内接收到所述UE发送的响应所述在线探测报文的响应消息的情况下,所述转发设备确定所述UE在线;和/或,
    所述转发设备在所述预定时间内没有接收到所述响应消息或所述第一提示消息下发后的空闲时间大于所述第一提示消息中预先设置的空闲超时值的情况下,确定所述UE不在线。
  5. 根据权利要求4所述的方法,其中,在确定所述UE不在线之后,还包括:
    所述转发设备向所述控制器发送携带有所述UE的标识信息的第一通知消息,其中,所述第一通知消息用于通知所述控制器根据所述标识信息向服务器发送请求消息,其中,所述请求消息用于请求所述服务器释放所述UE占用的资源,在对所述UE进行计费的情况下,停止对所述UE进行计费处理。
  6. 根据权利要求2所述的方法,其中,所述转发设备对所述UE进行计费处理包括:
    所述转发设备接收控制器下发的第二提示消息,其中,所述第二提示消息中携带有对用户设备UE进行计费的控制字;
    所述转发设备根据所述控制字判断是否对所述UE进行计费;
    在判断结果为是的情况下,所述转发设备对所述UE进行计费处理。
  7. 根据权利要求6所述的方法,其中,所述转发设备对所述UE进行计费处理包括:
    所述转发设备向所述控制器发送携带有用于对所述UE进行计费的数据信息的第二通知消息,其中,所述第二通知消息用于通知所述控制器根据所述数据信息向服务器发送更新消息,其中,所述更新消息用于请求所述服务器更新所述UE的计费数据。
  8. 一种用户设备UE处理方法,包括:
    控制器确定通过转发设备对用户设备UE进行管理;
    所述控制器向所述转发设备下发用于对所述UE进行管理的指示消息,其中,所述指示消息用于指示所述转发设备依据接收到的所述指示消息对所述UE进行管理处理。
  9. 根据权利要求8所述的方法,其中,所述控制器确定通过所述转发设备对所述UE进行管理包括以下至少之一:
    所述控制器确定通过所述转发设备对所述UE进行保活检测处理;
    所述控制器确定通过所述转发设备对所述UE进行计费处理。
  10. 根据权利要求9所述的方法,其中,在所述控制器确定通过所述转发设备对所述UE进行保活检测处理之后,还包括:
    所述控制器向所述转发设备发送第一提示消息,其中,所述第一提示消息中携带有对所述UE进行保活检测的保活字段,所述第一提示消息用于提示所 述转发设备在根据所述保活字段判断对所述UE进行保活检测的情况下,对所述UE进行保活检测。
  11. 根据权利要求10所述的方法,其中,在所述控制器向所述转发设备发送所述第一提示消息之后,还包括:
    所述控制器接收所述转发设备发送的第一通知消息,其中,所述第一通知消息携带有所述UE的标识信息,所述通知消息是所述转发设备在确定所述UE不在线之后发送的;
    所述控制器根据所述标识信息向服务器发送请求消息,其中,所述请求消息用于请求所述服务器释放所述UE占用的资源。
  12. 根据权利要求9所述的方法,其中,在所述控制器确定通过所述转发设备对所述UE进行计费处理之后,还包括:
    所述控制器向所述转发设备下发第二提示消息,其中,所述第二提示消息中携带有对用户设备UE进行计费的控制字,所述第二提示消息用于提示所述转发设备根据所述控制字判断对所述UE进行计费的情况下,对所述UE进行计费处理。
  13. 根据权利要求12所述的方法,其中,在向所述转发设备下发第二提示消息之后,还包括:
    所述控制器接收所述转发设备发送的携带有用于对所述UE进行计费的数据信息的第二通知消息;
    所述控制器根据所述数据信息向服务器发送更新消息,其中,所述更新消息用于请求所述服务器更新所述UE的计费数据。
  14. 一种用户设备UE处理装置,应用于转发设备,包括:
    接收模块,设置为接收控制器下发的用于对所述UE进行管理的指示消息;
    管理处理模块,设置为依据接收到的所述指示消息对所述UE进行管理处理。
  15. 根据权利要求14所述的装置,其中,所述管理处理模块包括以下至少之一:
    保活检测子模块,设置为对所述UE进行保活检测处理;
    计费处理子模块,设置为对所述UE进行计费处理。
  16. 根据权利要求15所述的装置,其中,所述保活检测子模块包括:
    第一接收单元,设置为接收所述控制器下发的第一提示消息,其中,所述第一提示消息中携带有对所述UE进行保活检测的保活字段;
    第一判断单元,设置为根据所述保活字段判断是否对所述UE进行保活检测;
    保活检测单元,设置为在判断结果为是的情况下,对所述UE进行保活检测。
  17. 根据权利要求16所述的装置,其中,所述保活检测单元包括:
    第一发送子单元,设置为以所述保活字段中定义的预定周期向所述UE发送在线探测报文,其中,所述在线探测报文用于测试所述UE是否在线;
    确定子单元,设置为在预定时间内接收到所述UE发送的响应所述在线探测报文的响应消息的情况下,确定所述UE在线;和/或,
    结束子单元,设置为在所述预定时间内没有接收到所述响应消息或所述第一提示消息下发后的空闲时间大于所述第一提示消息中预先设置的空闲超时值的情况下,确定所述UE不在线。
  18. 根据权利要求17所述的装置,其中,所述装置还包括:
    第二发送子单元,设置为向所述控制器发送携带有所述UE的标识信息的第一通知消息,其中,所述第一通知消息用于通知所述控制器根据所述标识信息向服务器发送请求消息,其中,所述请求消息用于请求所述服务器释放所述UE占用的资源,在对所述UE进行计费的情况下,停止对所述UE进行计费处理。
  19. 根据权利要求15所述的装置,其中,所述计费处理子模块包括:
    第二接收单元,设置为接收控制器下发的第二提示消息,其中,所述第二提示消息中携带有对用户设备UE进行计费的控制字;
    第二判断单元,设置为根据所述控制字判断是否对所述UE进行计费;
    计费处理单元,设置为在判断结果为是的情况下,对所述UE进行计费处理。
  20. 根据权利要求19所述的装置,其中,所述计费处理子模块包括:
    发送单元,设置为向所述控制器发送携带有用于对所述UE进行计费的数据信息的第二通知消息,其中,所述第二通知消息用于通知所述控制器根据所述数据信息向服务器发送更新消息,其中,所述更新消息用于请求所述服务器更新所述UE的计费数据。
  21. 一种用户设备UE处理装置,应用于控制器,包括:
    确定模块,设置为确定通过转发设备对用户设备UE进行管理;
    下发模块,设置为向所述转发设备下发用于对所述UE进行管理的指示消息,其中,所述指示消息用于指示所述转发设备依据接收到的所述指示消息对所述UE进行管理处理。
  22. 根据权利要求21所述的装置,其中,所述确定模块包括以下至少之一:
    第一确定子模块,设置为确定通过所述转发设备对所述UE进行保活检测处理;
    第二确定子模块,设置为确定通过所述转发设备对所述UE进行计费处理。
  23. 根据权利要求22所述的装置,其中,所述装置还包括:
    第一发送子模块,设置为向所述转发设备发送第一提示消息,其中,所述第一提示消息中携带有对所述UE进行保活检测的保活字段,所述第一提示消息用于提示所述转发设备在根据所述保活字段判断对所述UE进行保活检测的情况下,对所述UE进行保活检测。
  24. 根据权利要求23所述的装置,其中,所述装置还包括:
    第一接收子模块,设置为接收所述转发设备发送的第一通知消息,其中,所述第一通知消息携带有所述UE的标识信息,所述通知消息是所述转发设备在确定所述UE不在线之后发送的;
    第二发送子模块,设置为根据所述标识信息向服务器发送请求消息,其中,所述请求消息用于请求所述服务器释放所述UE占用的资源。
  25. 根据权利要求22所述的装置,其中,所述装置还包括:
    下发子模块,设置为向所述转发设备下发第二提示消息,其中,所述第二提示消息中携带有对用户设备UE进行计费的控制字,所述第二提示消息用于提示所述转发设备根据所述控制字判断对所述UE进行计费的情况下,对所述UE进行计费处理。
  26. 根据权利要求25所述的装置,其中,所述装置还包括:
    第二接收子模块,设置为接收所述转发设备发送的携带有用于对所述UE进行计费的数据信息的第二通知消息;
    第三发送子模块,设置为根据所述数据信息向服务器发送更新消息,其中,所述更新消息用于请求所述服务器更新所述UE的计费数据。
PCT/CN2015/084723 2015-01-23 2015-07-21 用户设备ue处理方法及装置 WO2016115853A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP15878524.6A EP3249881A4 (en) 2015-01-23 2015-07-21 User equipment (ue) processing method and apparatus
US15/543,892 US10476807B2 (en) 2015-01-23 2015-07-21 User equipment processing method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510036862.4 2015-01-23
CN201510036862.4A CN105871964B (zh) 2015-01-23 2015-01-23 用户设备ue处理方法及装置

Publications (1)

Publication Number Publication Date
WO2016115853A1 true WO2016115853A1 (zh) 2016-07-28

Family

ID=56416358

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/084723 WO2016115853A1 (zh) 2015-01-23 2015-07-21 用户设备ue处理方法及装置

Country Status (4)

Country Link
US (1) US10476807B2 (zh)
EP (1) EP3249881A4 (zh)
CN (1) CN105871964B (zh)
WO (1) WO2016115853A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022037049A1 (zh) * 2020-08-18 2022-02-24 华为技术有限公司 用户端保活的方法及装置

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108462657B (zh) * 2016-12-09 2022-01-18 诺基亚技术有限公司 获取不同运营商的sdn网络的资源及信息的方法和设备
CN109218143B (zh) * 2017-07-03 2021-06-18 中国移动通信有限公司研究院 一种信息处理方法、设备及计算机可读存储介质
CN107645556B (zh) * 2017-09-26 2018-12-07 中国联合网络通信有限公司广东省分公司 一种实现sdn转控分离的宽带接入与保活方法及装置
TWI659633B (zh) * 2017-11-29 2019-05-11 英業達股份有限公司 比對流量表的方法及交換器
CN108366000A (zh) * 2018-02-28 2018-08-03 新华三技术有限公司 保活报文交互方法、装置、通信设备及通信系统
CN110557331A (zh) * 2019-07-15 2019-12-10 中移(杭州)信息技术有限公司 用户下线的控制方法、控制器、转发设备与用户接入系统
CN115865820B (zh) * 2022-11-23 2024-05-28 四川天邑康和通信股份有限公司 一种基于光猫流量监控的闹钟提醒系统及方法
CN115734374B (zh) * 2023-01-10 2023-09-29 深圳酷源数联科技有限公司 5g网络资源的控制方法、装置、电子设备和存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104520A (zh) * 2013-04-10 2014-10-15 华为技术有限公司 一种基于OpenFlow协议的计费的方法及系统
CN104125191A (zh) * 2013-04-23 2014-10-29 华为技术有限公司 基于以太网的点对点协议的处理方法、设备和系统
WO2015009939A1 (en) * 2013-07-17 2015-01-22 Interdigital Patent Holdings, Inc. Software defined networking distributed and dynamic mobility management
CN104378250A (zh) * 2013-08-13 2015-02-25 中兴通讯股份有限公司 数据链路的检测方法、装置、系统、控制器及网关
CN104378749A (zh) * 2013-08-12 2015-02-25 中兴通讯股份有限公司 基于sdn epc网络的计费实现方法与系统
CN104468254A (zh) * 2013-09-24 2015-03-25 中兴通讯股份有限公司 网络流量统计上报处理方法、装置、控制器及交换机

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE320684T1 (de) * 2002-01-18 2006-04-15 Nokia Corp Verfahren und einrichtung zur zugriffskontrolle eines mobilen endgerätes in einem kommunikationsnetzwerk
JP5943410B2 (ja) * 2011-09-21 2016-07-05 日本電気株式会社 通信装置、制御装置、通信システム、通信制御方法及びプログラム
US9467363B2 (en) * 2012-01-30 2016-10-11 Nec Corporation Network system and method of managing topology

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104520A (zh) * 2013-04-10 2014-10-15 华为技术有限公司 一种基于OpenFlow协议的计费的方法及系统
CN104125191A (zh) * 2013-04-23 2014-10-29 华为技术有限公司 基于以太网的点对点协议的处理方法、设备和系统
WO2015009939A1 (en) * 2013-07-17 2015-01-22 Interdigital Patent Holdings, Inc. Software defined networking distributed and dynamic mobility management
CN104378749A (zh) * 2013-08-12 2015-02-25 中兴通讯股份有限公司 基于sdn epc网络的计费实现方法与系统
CN104378250A (zh) * 2013-08-13 2015-02-25 中兴通讯股份有限公司 数据链路的检测方法、装置、系统、控制器及网关
CN104468254A (zh) * 2013-09-24 2015-03-25 中兴通讯股份有限公司 网络流量统计上报处理方法、装置、控制器及交换机

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3249881A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022037049A1 (zh) * 2020-08-18 2022-02-24 华为技术有限公司 用户端保活的方法及装置

Also Published As

Publication number Publication date
CN105871964A (zh) 2016-08-17
US20180013684A1 (en) 2018-01-11
EP3249881A1 (en) 2017-11-29
US10476807B2 (en) 2019-11-12
CN105871964B (zh) 2020-08-07
EP3249881A4 (en) 2018-09-12

Similar Documents

Publication Publication Date Title
WO2016115853A1 (zh) 用户设备ue处理方法及装置
US10419319B1 (en) Monitoring gateway systems and methods for openflow type networks
US20220070095A1 (en) Data transmission method and apparatus, network adapter, and storage medium
CN110896371B (zh) 一种虚拟网络设备及相关方法
EP2696537A1 (en) Network system, switch, and connection terminal detection method
CN108667575B (zh) 一种bras转控分离的备份方法和装置
WO2015135425A1 (zh) 一种消息处理方法、接入控制器及网络节点
US11233694B2 (en) Method and device for processing communication path
CN107566292B (zh) 报文转发方法及装置
CN103299589A (zh) 通信系统、控制装置、通信方法以及程序
CN109361602B (zh) 一种基于OpenStack云平台转发报文的方法和系统
CN107465582B (zh) 数据发送方法、装置、系统、物理家庭网关及接入节点
RU2589867C2 (ru) Устройство связи, устройство управления, система связи, способ связи, способ управления устройством связи и программа
RU2542933C1 (ru) Способ (варианты), устройство (варианты) и система управления доступом
JP2019017004A (ja) OpenFlowプロトコルとUDPポート番号アドレス変換を用いてマルチキャストパケットに非マルチキャストネットワークをトラバースさせるシステム及び方法
CN109981462B (zh) 一种报文处理方法及装置
US20140379933A1 (en) Handling of auxiliary nas
WO2015103869A1 (zh) 一种软件定义网络中OpenFlow消息跟踪和过滤的方法
KR20210016802A (ko) 소프트웨어 정의 네트워킹 환경에서 서버-클라이언트 기반의 네트워크 서비스를 위한 플로우 테이블을 최적화하는 방법 및 이를 위한 sdn 스위치
KR20160072718A (ko) 소프트웨어 정의 네트워크에서 인접 네트워크 장비 발견 시스템 및 방법
CN112994928B (zh) 一种虚拟机的管理方法、装置及系统
WO2015074258A1 (zh) 一种控制业务数据在虚拟网络中转发的方法、装置及系统
CN104735000A (zh) OpenFlow信令控制方法及装置
CN110505357B (zh) 一种宇航voip语音终端的管理方法
JP2013126219A (ja) 転送サーバおよび転送プログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15878524

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15543892

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2015878524

Country of ref document: EP