CN105264944A - Statistical information reporting method and apparatus - Google Patents

Statistical information reporting method and apparatus Download PDF

Info

Publication number
CN105264944A
CN105264944A CN201480000233.XA CN201480000233A CN105264944A CN 105264944 A CN105264944 A CN 105264944A CN 201480000233 A CN201480000233 A CN 201480000233A CN 105264944 A CN105264944 A CN 105264944A
Authority
CN
China
Prior art keywords
statistics task
statistics
task
request message
list
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.)
Granted
Application number
CN201480000233.XA
Other languages
Chinese (zh)
Other versions
CN105264944B (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.)
Huawei 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
Publication of CN105264944A publication Critical patent/CN105264944A/en
Application granted granted Critical
Publication of CN105264944B publication Critical patent/CN105264944B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports

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 a statistical information reporting method and apparatus, the method comprising: receiving a statistics task processing request message sent by a controller and carrying statistical tasks; obtaining the statistical tasks from the statistical task processing request message; when the content of an operation type field carried in the statistical task processing request message is creation of the statistical tasks, saving the statistical tasks in a statistical task list, wherein the statistical tasks comprise: identifiers, scheduling periods and statistical objects of the statistical tasks; monitoring the scheduling periods of the statistical tasks in the statistical task list, and obtaining the statistical tasks, the scheduling periods of which expire, in the statistical task list; and reporting to the controller the statistical information of the statistical objects of the statistical tasks obtained according to the statistical task request message. Thus, switches are enabled to periodically report the statistical information of the statistical objects to the controller, and the statistical request messages no longer need to be sent periodically and repeatedly by the controller.

Description

Statistical information reporting method and apparatus
Statistical information report method and engineering device technique field
The present invention relates to moving communicating field, more particularly to a kind of statistical information report method and device.Background technology
In software defined network(Sof tware Def ined Netwok ing, SDN) in, the network state information that controller obtains the whole network in real time is the basis for managing network, and controller is realizing multipath forwarding, load balancing, service quality(Qua l i ty of Serv i ce, QoS) etc. application when be required for based on the real-time network information.In order to meet the statistical information for needing to obtain interchanger upper port, queue, flow table, group table and Me ter tables in real time on the demand of different application, controller.
In the prior art, controller is when realizing different application demand, it is frequently necessary to be repeated cyclically the transmission statistics request i pa r t message of mu 11 to obtain the real-time network information, these i pa r t message of mu 11 for repeating to send can largely take the bandwidth of control passage, so as to add the overhead of controller.The content of the invention
The embodiments of the invention provide a kind of statistical information report method and device, statistical information of the interchanger periodically to controller report objects of statistics can be enable, it is no longer necessary to which controller is repeated cyclically transmission statistics request message.
First aspect includes there is provided a kind of statistical information report method, this method:
Receive controller and send the statistics task processing request message for carrying statistics task;
Statistics task is obtained from statistics task processing request message;
When the statistics task handles the content of the action type field carried in request message to create statistics task, the statistics task is saved in statistics task list, wherein, the statistics task includes:Mark, dispatching cycle and the objects of statistics of the statistics task; The dispatching cycle of statistics task described in the statistics task list is monitored, overdue statistics task dispatching cycle in the statistics task list is obtained;
The statistical information of the objects of statistics of the statistics task obtained on to the controller according to the statistics task request message.
With reference in a first aspect, in the first implementation of first aspect, methods described also includes:When the statistics task handles the content of the action type field carried in request message for modification statistics task, the statistics task includes:The mark and modification information of the statistics task, search the statistics times and state statistics task.
With reference in a first aspect, in second of implementation of first aspect, methods described also includes:When the statistics task handles the content of the action type field carried in request message to delete statistics task, the statistics task includes:The mark of the statistics task, searches the mark identical statistics task with the statistics task in the statistics task list, deletes the statistics task.
With reference in a first aspect, in the third implementation of first aspect, the dispatching cycle of statistics task described in the monitoring statistics task list, dispatching cycle, overdue statistics task included in the acquisition statistics task list:
The timer of statistics task described in the statistics task list is monitored, overdue statistics task dispatching cycle in the statistics task list is obtained.
With reference to the third implementation of first aspect, in four kinds of the ground of first aspect implementation, after the statistical information of the objects of statistics in the statistics task obtained on the controller according to the statistics task request message, methods described also includes:
The timer of the statistics task terminated in replacement.
With reference to first aspect or first aspect above-mentioned four kinds of implementations in any implementation, in the 5th kind of implementation of first aspect, when statistics task processing request message includes multiple statistics tasks, the statistics task processing request message is the request message of the open flows OpenF low protocol definitions by using TLV forms; Accordingly,
By using the statistical information of the objects of statistics for replying message the statistics task obtained to the controller report according to the statistics task request message of the OpenF low protocol definitions of TLV forms.
Second aspect includes there is provided a kind of statistical information reporting device, described device:Receiving unit, acquiring unit, storage unit, monitoring unit and reporting unit;
The receiving unit, the statistics task that carrying statistics task is sent for receiving controller handles request message;
The acquiring unit, the statistics task for being received from the receiving unit obtains statistics task in handling request message;
The storage unit, for when the statistics task handles the content of the action type field carried in request message to create statistics task, the statistics task that the acquiring unit is obtained is saved in statistics task list, wherein, the statistics task includes:Mark, dispatching cycle and the objects of statistics of the statistics task;
The monitoring unit, the dispatching cycle for monitoring the statistics task that storage unit described in the statistics task list is preserved, obtains overdue statistics task dispatching cycle in the statistics task list;The reporting unit, the statistical information of the objects of statistics for the statistics task that the statistics task request message received to the controller report according to the receiving unit is obtained.
With reference to second aspect, in the first implementation of second aspect, described device also includes:Unit is changed, for when the statistics task handles the content of the action type field carried in request message for modification statistics task, the statistics task to include:The mark and modification information of the statistics task, lookup cease the modification statistics task.
With reference to second aspect, in second of implementation of second aspect, described device also includes:Unit is deleted, for when the statistics task handles the content of the action type field carried in request message to delete statistics task, the statistics task to include:The mark of the statistics task, searches the statistics and appoints With reference to second aspect, in the third implementation of second aspect, the monitoring unit specifically for:The timer of statistics task described in the statistics task list is monitored, overdue statistics task dispatching cycle in the statistics task list is obtained.
With reference to the third implementation of second aspect, in the 4th kind of implementation of second aspect, described device also includes:Reset cell, the timer for resetting the statistics task for reporting end.
With reference to second aspect or second aspect above-mentioned four kinds of implementations in any implementation, in the 5th kind of implementation of second aspect, when statistics task processing request message includes multiple statistics tasks, the statistics task processing request message is the request message of the open flows OpenF low protocol definitions by using TLV forms;
Accordingly,
By using the statistical information of the objects of statistics for replying message the statistics task obtained to the controller report according to the statistics task request message of the OpenF low protocol definitions of TLV forms.
The third aspect includes there is provided a kind of statistical information reporting device, described device:
Network interface;
Processor;
Memory;
Application program of the physical store in the memory, the application program includes can be used for making the processor and described device perform the instruction of procedure below:
Receive controller and send the statistics task processing request message for carrying statistics task;
Statistics task is obtained from statistics task processing request message;
When the statistics task handles the content of the action type field carried in request message to create statistics task, the statistics task is saved in statistics task list, wherein, the statistics task includes:Mark, dispatching cycle and the objects of statistics of the statistics task;
The dispatching cycle of statistics task described in the statistics task list is monitored, overdue statistics task dispatching cycle in the statistics task list is obtained;
The system of the statistics task obtained on to the controller according to the statistics task request message Count the statistical information of object.
With reference to the third aspect, in the first implementation of the third aspect, the application program also includes can be used for making the processor and described device perform the instruction of procedure below:
When the statistics task handles the content of the action type field carried in request message for modification statistics task, the statistics task includes:The mark and modification information of the statistics task, search the system and change the statistics task.
With reference to the third aspect, in second of implementation of the third aspect, the application program also includes can be used for making the processor and described device perform the instruction of procedure below:
When the statistics task handles the content of the action type field carried in request message to delete statistics task, the statistics task includes:The mark of the statistics task, searches the mark identical statistics task with the statistics task in the statistics task list, deletes the statistics task.
With reference to the third aspect, in the third implementation of the third aspect, the application program also includes can be used for making the processor and described device perform the specific instruction of procedure below:
The timer of statistics task described in the statistics task list is monitored, overdue statistics task dispatching cycle in the statistics task list is obtained.
With reference to the third implementation of the third aspect, in the 4th kind of implementation of the third aspect, the application program also includes can be used for making the processor and described device perform the specific instruction of procedure below:
Reset the timer for the statistics task for reporting end.
With reference to the third aspect or the third aspect above-mentioned four kinds of implementations in any implementation, in the 5th kind of implementation of the third aspect, when statistics task processing request message includes multiple statistics tasks, the statistics task processing request message is the request message of the open flows OpenF low protocol definitions by using TLV forms;
Accordingly,
Replied message by using the OpenF low protocol definitions of TLV forms to the controller report root The statistical information of the objects of statistics of the statistics task obtained according to the statistics task request message.
Statistical information report method and device provided in an embodiment of the present invention, statistical information of the interchanger periodically to controller report objects of statistics can be enable, controller is no longer needed to be repeated cyclically transmission statistics request message, so as to be effectively saved the bandwidth of control passage, the overhead of controller can be also reduced.Brief description of the drawings
Fig. 1 is SDN structural representation;
Fig. 2 is the statistical information report method flow chart that the embodiment of the present invention one is provided;
The interchanger internal work flow schematic diagram that Fig. 3 present invention is provided;
Fig. 4 is the statistical information report method flow chart that the embodiment of the present invention two is provided;
Fig. 5 is the information exchange figure for the statistical information report method that the embodiment of the present invention three is provided;Fig. 6 is the statistical information reporting device schematic diagram that the embodiment of the present invention four is provided;
Fig. 7 is the statistical information reporting device schematic diagram that the embodiment of the present invention five is provided.Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made belongs to the scope of protection of the invention.
Statistical information report method provided in an embodiment of the present invention is applied in the statistical information reporting system in the SDN shown in Fig. 1, the core concept of SDN is exactly the packet repeating process that will be controlled completely by switch/router originally, is converted into the self-contained process being respectively completed by interchanger and controller.After conversion, controller determines the transmission path of all packets in a network, and exchange opportunity is in one flow table different from forward table of local maintenance, if the packet to be forwarded has respective items in flow table, directly carries out fast-forwarding;If not having this in flow table, packet would be sent to controller and be transmitted The confirmation in path, is forwarded further according to result is issued.
In Fig. 1, controller and group of switches are into statistical information reporting system, and controller passes through signaling connection with interchanger.Specifically, controller is according to real needs, the statistics task that statistics task is carried by being sent to interchanger handles request message, statistics task can be created, changes or deleted on switches accordingly, so as to trigger the statistical information that interchanger periodically reports the objects of statistics of statistics task, wherein, objects of statistics includes:Port, queue, flow table, group table or Meter tables etc..For example, the statistical information of port can be specially the speed of port send and receive packets, and controller without being repeated cyclically transmission identical statistics task processing request message again.Thus, for the statistical information of an objects of statistics, controller need to only send a statistics task processing request message, without periodically sending statistics task processing request message again, statistical information quantity in control passage reduces half, the bandwidth of the effectively save control passage of energy, can also reduce the overhead of controller;And because dispatching cycle is in exchange generator terminal maintenance, the Message Time Delay of controller channel would not influence the accuracy of statistical information again, improve the accuracy of statistical information.
Fig. 2 is the statistical information report method flow chart that the embodiment of the present invention one is provided.Methods described is using the interchanger in Fig. 1 as executive agent, for example, methods described is specifically included:
S210, receives controller and sends the statistics task processing request message for carrying statistics task.
Alternatively, the statistics task processing request message is customized request message, wherein, the customized request message format is as follows:
Wherein, field scheduler-id is the mark of statistics task, i.e. scheduler-id can be with one statistics task of unique mark;Field t imer are the dispatching cycle for the statistics task that scheduler_ id are identified, unit can with but be not limited to ms, specifically, interchanger is according to the dispatching cycle of statistics task, to the statistical information of the objects of statistics of the controller report statistics task, for example, the field t imer of a certain statistics task content is 500ms, then every 500ms, (this time is referred to as statistics and appointed interchanger The dispatching cycle of business time-out or statistics task expires), the statistical information of the objects of statistics of above-mentioned statistics task is sent to controller;Field command is the action type for the statistics task that scheduler- id are identified, the content of the field can with but be not limited to 0,1 or 2, represent to create respectively, change and deletion action, for example, when the content that statistics task handles the field carried in request message is 0, it is expressed as the action type of the statistics task to create statistics task;Field type is the objects of statistics for the statistics task that scheduler_id is identified, the content of the field can with but be not limited to 0, 1, 2, 3 or 4, the objects of statistics for representing above-mentioned statistics task respectively is flow table, group table, Meter tables, port or queue, when the objects of statistics of statistics task is port, queue, when group table or Meter tables, also need specific field reques t_ id content, because generally there is multiple ports on interchanger, queue, group table or Meter tables, it is assured which port specifically count is by field request- id content, queue, group table or meter tables, a specific objects of statistics can be determined, for example, when type=3, during request_id=2, then represent that interchanger needs to inquire about the statistical information of port 2;When the objects of statistics of statistics task is flow table, field reciuest_id is no longer valid, it is 0 that its content, which can directly be specified, but need specific field table-id, out-port, out-group simultaneously, cookie, cookie-mask and match content, namely need to specify complete match information, it just can determine that a specific objects of statistics.
Specifically, controller is specified in customized request message after the content of each field, and the request message is sent into interchanger.
S220, statistics task is obtained from statistics task processing request message.
Interchanger internal work flow schematic diagram shown in Figure 3.In Fig. 3, interchanger is after the statistics task processing request message of controller transmission carrying statistics task is received, the mark of statistics task in request message is handled according to statistics task, obtain the action type of the statistics task, dispatching cycle and objects of statistics, obtain statistics task, wherein, objects of statistics is a specific objects of statistics, it is exemplified as, when objects of statistics is port, queue, organizes table or Meter tables, it is necessary to obtain the content of field type and request-id field simultaneously;When objects of statistics is flow table, it is necessary to obtain field type, table. id, out-port, out-group, cookie, cookie_mask and match content simultaneously.
S230, is wound when the statistics task handles the content of the action type field carried in request message When building statistics task, the statistics task is saved in statistics task list, wherein, the statistics task includes:Mark, dispatching cycle and the objects of statistics of the statistics task.
For example, when the action type field co gangsters and of the statistics task got content is 0, when needing to create statistics task, the mark of the statistics task, dispatching cycle and objects of statistics are added in statistics task list, interchanger is by monitoring the dispatching cycle to each statistics task in the statistics task list, so that property performance period statistical information of each statistics task into controller report statistics task list is reported.
Alternatively, when the statistics task handles the content of the action type field carried in request message for modification statistics task, the statistics task includes:The mark and modification information of the statistics task, look into and convert to the breath modification statistics task.
Alternatively, when the statistics task handles the content of the action type field carried in request message to delete statistics task, the statistics task includes:The mark of the statistics task, searches the statistics S240, monitors the dispatching cycle of statistics task described in the statistics task list, obtains overdue statistics task dispatching cycle in the statistics task list.
Specifically, the timer of statistics task described in the statistics task list is monitored, overdue statistics task dispatching cycle in the statistics task list is obtained.
In Fig. 3, interchanger is scheduled management by statistics task scheduler module to each statistics task in statistics task list, for example, following statistics task is saved in statistics task list:Schedul er. id=3, t imer=500ms, type=3, reques t _ id=2, i.e. the statistics task represents that every 500ms reports the statistical information of a port 2, and set a timer for the statistics task, when the statistics task is saved to statistics task list, start the timer of the statistics task, when the timer timing is 500ms, represent that the dispatching cycle of above-mentioned statistics task expires, statistics task scheduler module obtains the statistics task from statistics task list.
It should be noted that interchanger can also other can monitor the time limit by hardware trigger etc. equipment To monitor the dispatching cycle of statistics task.
S250, to the controller on according to the statistics task request message obtain the statistics task objects of statistics statistical information.
After overdue statistics task dispatching cycle is got, alternatively, interchanger can be by using the customized statistical information replied message to the controller report port 2(It is exemplified as, the speed of send and receive packets).It should be noted that, when saving multiple statistics tasks in statistics task list, after the statistical information for completing an objects of statistics is reported, the timer of the statistics task of end is reported described in the replacement of statistics task scheduler module, timing is carried out to the statistics task again, and continues to monitor the dispatching cycle of other statistics tasks in statistics task list.
It should be noted that, in other embodiments of the invention, the action type of statistics task can also be first judged according to the content of the action type field carried in the statistics task processing request message received, when to create statistics task, obtain the complete statistics task, and the mark of the statistics task, dispatching cycle and objects of statistics are added in statistics task list, by monitoring the dispatching cycle of statistics task, periodically to the statistical information of controller report objects of statistics;When for modification statistics task, the mark and modification information of the statistics task are obtained, the mark identical statistics task with the statistics task in statistics task list is searched, above-mentioned statistics task is changed according to above-mentioned modification information;When to delete statistics task, the mark of the statistics task is obtained, the mark identical statistics task with the statistics task in statistics task list is searched, deletes the statistics task.
Fig. 4 is the statistical information report method flow chart that the embodiment of the present invention two is provided.As shown in figure 4, methods described is specifically included:
S410, receives controller and sends the statistics task processing request message for carrying multiple statistics tasks.Alternatively, the statistics task processing request message is (cylinder claims by using Type Length Va lue:TLV) the request message of the OpenF low protocol definitions of form.
It should be noted that in the request message format of the OpenFlow protocol definitions based on TLV forms, each field in the same customized request message for including providing in S210.But, due to multiple TLV fields can be carried in the request message of the OpenFlow protocol definitions of TLV forms, therefore it can just realize The statistics task of multiple objects of statistics is carried in request message.
S420, multiple statistics tasks are obtained from statistics task processing request message.
It should be noted that when carrying multiple statistics tasks in above-mentioned statistics task processing request message, interchanger needs to obtain each statistics task from statistics task processing request message according to the mark of each statistics task successively.
S430, when the statistics task handles the content of the action type field carried in request message to create statistics task, the statistics task is saved in statistics task list, wherein, the statistics task includes:Mark, dispatching cycle and the objects of statistics of the statistics task.
For example, interchanger is after multiple statistics tasks are got, and when to judge the action type field co gangsters and of each statistics task content be 0, that is, when needing to create statistics task, the multiple statistics tasks got are all saved in statistics task list.
S440, monitors the timer of each statistics task in the statistics task list, obtains overdue statistics task dispatching cycle in the statistics task list.
According to the method in S420, when multiple statistics tasks are all saved in into statistics task list, start the corresponding timer of each statistics task, and monitor the timer of each statistics task in statistics task list, obtain overdue statistics task dispatching cycle in statistics task list.
S45 0, the statistical information of the objects of statistics of the statistics task obtained to the controller report according to the statistics task request message resets the timer of the statistics task of the upper end.
Alternatively, by using TLV forms OpenF l ow protocol definitions the objects of statistics for replying message on the controller the 4 blunt statistics tasks obtained according to the statistics task request message statistical information.
Specifically, after completing in the statistical information of objects of statistics of a statistics task, statistics task scheduler module resets the timer of the statistics task of the upper end, timing is carried out to the statistics task again, and continues to monitor the dispatching cycle of other statistics tasks in statistics task list.
Relative to the request message of set form, TLV forms have more preferable flexibility and scalability, while can carry the TLV fields of multiple objects of statistics, specifically, the system of statistics task in a request message It can be any multiple combinations in port, queue, flow table, group table or Me ter tables to count object, and such a request message can just handle multiple specific statistics tasks simultaneously.
Fig. 5 is the information exchange figure for the statistical information report method that the embodiment of the present invention three is provided.As shown in Fig. 5, the embodiment of the present invention specifically includes following steps:
S510, controller sends request message to interchanger, asks the corresponding statistics task of switch processes;
S520, interchanger adds the request message in statistics task list;
S530, interchanger periodic scheduling performs the statistics task specified in statistics task list by request message;
S540, interchanger replys the corresponding statistical information of above-mentioned statistics task using replying message to controller.Therefore, statistical information report method provided in an embodiment of the present invention, for a class statistical information, controller need to only send a statistics task processing request message, without periodically sending statistics task processing request message again, statistical information quantity in control passage reduces half, and the bandwidth of the effectively save control passage of energy can also reduce the overhead of controller;And because measurement period is in exchange generator terminal maintenance, the Message Time Delay of controller channel would not influence the accuracy of statistical information again, improve the accuracy of statistical information.
Fig. 6 is the statistical information reporting device schematic diagram that the embodiment of the present invention four is provided.Described device can be used for performing the method described in Fig. 2.In Fig. 6, the device includes:Receiving unit 601, acquiring unit 602, storage unit 603, monitoring unit 604 and reporting unit 605.
Receiving unit 601, the statistics task that carrying statistics task is sent for receiving controller handles request message.
Alternatively, the statistics task processing request message is the request message of the open flows OpenF l ow protocol definitions by using TLV forms.
Acquiring unit 602, the statistics task for being received from receiving unit 601 obtains statistics task in handling request message.
Storage unit 603, for when the statistics task handles the content of the action type field carried in request message to create statistics task, the statistics task that acquiring unit 602 is obtained to be saved in into statistics In task list, wherein, the statistics task includes:Mark, dispatching cycle and the objects of statistics of the statistics task.
Monitoring unit 604, the dispatching cycle for monitoring the statistics task that storage unit 603 is preserved in the statistics task list, obtains overdue statistics task dispatching cycle in the statistics task list.
Monitoring unit 604 specifically for:The timer of statistics task described in the statistics task list is monitored, overdue statistics task dispatching cycle in the statistics task list is obtained.
Reporting unit 605, the statistical information of the objects of statistics for the statistics task that the statistics task request message received to the controller report according to receiving unit 601 is obtained.
Alternatively, when statistics task processing request message includes multiple statistics tasks, by using the statistical information of the objects of statistics for replying message the statistics task obtained to the controller report according to the statistics task request message of the OpenF low protocol definitions of TLV forms.
Alternatively, the device also includes:Unit 606 is changed, for when the statistics task handles the content of the action type field carried in request message for modification statistics task, the statistics task to include:The mark and modification information of the statistics task, search the mark identical statistics task with the statistics task in the statistics task list, the statistics task are changed according to the modification information.
Alternatively, the device also includes:Unit 607 is deleted, for when the statistics task handles the content of the action type field carried in request message to delete statistics task, the statistics task to include:The mark of the statistics task, searches the mark identical statistics task with the statistics task in the statistics task list, deletes the statistics task.
Alternatively, the device also includes:Reset cell 608, the timer of the statistics task terminated in replacement.
Therefore, statistical information reporting device provided in an embodiment of the present invention, for a class statistical information, controller need to only send a statistics task processing request message, without periodically sending statistics task processing request message again, statistical information quantity in control passage reduces half, and the bandwidth of the effectively save control passage of energy can also reduce the overhead of controller;And because measurement period is in exchange generator terminal maintenance, the Message Time Delay of controller channel would not influence the accuracy of statistical information again, improve the essence of statistical information Exactness.
Fig. 7 is the statistical information reporting device schematic diagram that the embodiment of the present invention five is provided.As shown in fig. 7, described device includes:Network interface 701, processor 702 and memory 703.System bus 704 is used to connect network interface 701, processor 702 and storage 703.
For example, processor 702 can be CPU.
Network interface 701 is used to communicate with miscellaneous equipment.
Memory 703 can have software module and device driver in permanent memory, such as hard disk drive and flash memory, memory 703.Software module is able to carry out the various functions module of the above method of the present invention;Device driver can be network and interface drive program.
On startup, these component softwares are loaded into memory 703, are then accessed and are performed by processor 702 and such as give an order:
Receive controller and send the statistics task processing request message for carrying statistics task;
Statistics task is obtained from statistics task processing request message;
When the statistics task handles the content of the action type field carried in request message to create statistics task, the statistics task is saved in statistics task list, wherein, the statistics task includes:Mark, dispatching cycle and the objects of statistics of the statistics task;
The dispatching cycle of statistics task described in the statistics task list is monitored, overdue statistics task dispatching cycle in the statistics task list is obtained;
The statistical information of the objects of statistics of the statistics task obtained on to the controller according to the statistics task request message.
Further, the application program also includes can be used for making the processor 702 and described device perform the instruction of procedure below:
When the statistics task handles the content of the action type field carried in request message for modification statistics task, the statistics task includes:The mark and modification information of the statistics task, search the system and change the statistics task. Further, the application program also includes can be used for making the processor 802 and described device perform the instruction of procedure below:
When the statistics task handles the content of the action type field carried in request message to delete statistics task, the statistics task includes:The mark of the statistics task, searches the mark identical statistics task with the statistics task in the statistics task list, deletes the statistics task.
Further, the application program also includes can be used for making the processor 802 and described device perform the instruction of procedure below:
The timer of statistics task described in the statistics task list is monitored, overdue statistics task dispatching cycle in the statistics task list is obtained.
The application program also includes can be used for making the processor and described device perform the specific instruction of procedure below:
The timer of the statistics task terminated in replacement.
Alternatively, when statistics task processing request message includes multiple statistics tasks, the statistics task processing request message is the request message of the open flows OpenFlow protocol definitions by using TLV forms;
Accordingly,
By using the statistical information of the objects of statistics for replying message the statistics task obtained to the controller report according to the statistics task request message of the OpenF low protocol definitions of TLV forms.
To sum up, statistical information report method and device provided in an embodiment of the present invention, for a class statistical information, controller need to only send a statistics task processing request message, without periodically sending statistics task processing request message again, statistical information quantity in control passage reduces half, and the bandwidth of the effectively save control passage of energy can also reduce the overhead of controller;And because measurement period is in exchange generator terminal maintenance, the Message Time Delay of controller channel would not influence the accuracy of statistical information again, improve the accuracy of statistical information.
Professional should further appreciate that the unit and algorithm steps of each example described with reference to the embodiments described herein can be come with electronic hardware, computer software or the combination of the two Realize, in order to clearly demonstrate the interchangeability of hardware and software, generally describe the composition and step of each example according to function in the above description.These functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel can realize described function to each specific application using distinct methods, but this realization is it is not considered that beyond the scope of this invention.
The step of method or algorithm for being described with reference to the embodiments described herein, can be implemented with hardware, the software module of computing device, or the combination of the two.Software module can be placed in random access memory
(RAM), internal memory, read-only storage(ROM), in any other form of storage medium known in electrically programmable R0M, electrically erasable R0M, register, hard disk, moveable magnetic disc, CD-R0M or technical field.
Above-described embodiment; the purpose of the present invention, technical scheme and beneficial effect are further described; it should be understood that; it the foregoing is only the embodiment of the present invention; the protection domain being not intended to limit the present invention; within the spirit and principles of the invention, any modification, equivalent substitution and improvements done etc., should be included in the scope of the protection.

Claims (1)

  1. Claims
    1st, a kind of statistical information report method, it is characterised in that methods described includes:
    Receive controller and send the statistics task processing request message for carrying statistics task;
    Statistics task is obtained from statistics task processing request message;
    When the statistics task handles the content of the action type field carried in request message to create statistics task, the statistics task is saved in statistics task list, wherein, the statistics task includes:Mark, dispatching cycle and the objects of statistics of the statistics task;
    The dispatching cycle of statistics task described in the statistics task list is monitored, overdue statistics task dispatching cycle in the statistics task list is obtained;
    The statistical information of the objects of statistics of the statistics task obtained on to the controller according to the statistics task request message.
    2nd, according to the method described in claim 1, it is characterised in that methods described also includes:When the statistics task handles the content of the action type field carried in request message for modification statistics task, the statistics task includes:The mark and modification information of the statistics task, search the system and change the statistics task.3rd, according to the method described in claim 1, it is characterised in that methods described also includes:When the statistics task handles the content of the action type field carried in request message to delete statistics task, the statistics task includes:The mark of the statistics task, searches the mark identical statistics task with the statistics task in the statistics task list, deletes the statistics task.4th, according to the method described in claim 1, it is characterised in that the dispatching cycle of statistics task described in the monitoring statistics task list, dispatching cycle, overdue statistics task included in the acquisition statistics task list: The timer of statistics task described in the statistics task list is monitored, overdue statistics task dispatching cycle in the statistics task list is obtained.
    5th, method according to claim 4, it is characterised in that after the statistical information of the objects of statistics in the statistics task obtained to the controller report according to the statistics task request message, methods described also includes:
    The timer of the statistics task terminated in replacement.
    6th, according to any described method of claim 1 to 5, it is characterised in that
    When statistics task processing request message includes multiple statistics tasks, the statistics task processing request message is the request message of the open flows OpenF low protocol definitions by using TLV forms;Accordingly,
    By using the statistical information of the objects of statistics for replying message the statistics task obtained to the controller report according to the statistics task request message of the OpenF l ow protocol definitions of TLV forms.
    7th, a kind of statistical information reporting device, it is characterised in that described device includes:Receiving unit, acquiring unit, storage unit, monitoring unit and reporting unit;
    The receiving unit, the statistics task that carrying statistics task is sent for receiving controller handles request message;
    The acquiring unit, the statistics task for being received from the receiving unit obtains statistics task in handling request message;
    The storage unit, for when the statistics task handles the content of the action type field carried in request message to create statistics task, the statistics task that the acquiring unit is obtained is saved in statistics task list, wherein, the statistics task includes:Mark, dispatching cycle and the objects of statistics of the statistics task;
    The monitoring unit, for monitoring the system that storage unit described in the statistics task list is preserved The dispatching cycle of meter task, obtain overdue statistics task dispatching cycle in the statistics task list;The reporting unit, the statistical information of the objects of statistics for the statistics task that the statistics task request message received to the controller report according to the receiving unit is obtained.8th, device according to claim 7, it is characterised in that described device also includes:Unit is changed, for when the statistics task handles the content of the action type field carried in request message for modification statistics task, the statistics task to include:The mark and modification information of the statistics task, lookup cease the modification statistics task.
    9th, device according to claim 7, it is characterised in that described device also includes:Unit is deleted, for when the statistics task handles the content of the action type field carried in request message to delete statistics task, the statistics task to include:The mark of the statistics task, searches the mark identical statistics task with the statistics task in the statistics task list, deletes the statistics task.
    10th, device according to claim 7, it is characterised in that the monitoring unit specifically for:The timer of statistics task described in the statistics task list is monitored, overdue statistics task dispatching cycle in the statistics task list is obtained.11st, device according to claim 10, it is characterised in that described device also includes:Reset cell, the timer of the statistics task terminated in replacement.
    12nd, according to any described devices of claim 7-11, it is characterised in that
    When statistics task processing request message includes multiple statistics tasks, the statistics task processing request message is the request message of the open flows OpenFlow protocol definitions by using TLV forms;Accordingly, By using the statistical information of the objects of statistics for replying message the statistics task obtained to the controller report according to the statistics task request message of the OpenF l ow protocol definitions of TLV forms.
    13, a kind of statistical information reporting device, it is characterised in that described device includes:
    Network interface;
    Processor;
    Memory;
    Application program of the physical store in the memory, the application program includes can be used for making the processor and described device perform the instruction of procedure below:
    Receive controller and send the statistics task processing request message for carrying statistics task;
    Statistics task is obtained from statistics task processing request message;
    When the statistics task handles the content of the action type field carried in request message to create statistics task, the statistics task is saved in statistics task list, wherein, the statistics task includes:Mark, dispatching cycle and the objects of statistics of the statistics task;
    The dispatching cycle of statistics task described in the statistics task list is monitored, overdue statistics task dispatching cycle in the statistics task list is obtained;
    The statistical information of the objects of statistics of the statistics task obtained on to the controller according to the statistics task request message.14th, the device according to claim 13, it is characterised in that
    The application program also includes can be used for making the processor and described device perform the instruction of procedure below:
    When the statistics task handles the content of the action type field carried in request message for modification statistics task, the statistics task includes:The mark and modification information of the statistics task, search the system and change the statistics task. 15th, the device according to claim 13, it is characterised in that
    The application program also includes can be used for making the processor and described device perform the instruction of procedure below:
    When the statistics task handles the content of the action type field carried in request message to delete statistics task, the statistics task includes:The mark of the statistics task, searches the mark identical statistics task with the statistics task in the statistics task list, deletes the statistics task.
    16th, the device according to claim 13, it is characterised in that
    The application program also includes can be used for making the processor and described device perform the specific instruction of procedure below:
    The timer of statistics task described in the statistics task list is monitored, overdue statistics task dispatching cycle in the statistics task list is obtained.17th, device according to claim 16, it is characterised in that the application program also includes can be used for making the processor and described device perform the specific instruction of procedure below:
    The timer of the statistics task terminated in replacement.
    18th, according to any described devices of claim 1 3-17, it is characterised in that
    When statistics task processing request message includes multiple statistics tasks, the statistics task processing request message is the request message of the open flows OpenF low protocol definitions by using TLV forms;Accordingly,
    By using the statistical information of the objects of statistics for replying message the statistics task obtained to the controller report according to the statistics task request message of the OpenF low protocol definitions of TLV forms.
CN201480000233.XA 2014-03-18 2014-03-18 Statistical information report method and device Active CN105264944B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/073605 WO2015139199A1 (en) 2014-03-18 2014-03-18 Statistical information reporting method and apparatus

Publications (2)

Publication Number Publication Date
CN105264944A true CN105264944A (en) 2016-01-20
CN105264944B CN105264944B (en) 2019-06-21

Family

ID=54143631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201480000233.XA Active CN105264944B (en) 2014-03-18 2014-03-18 Statistical information report method and device

Country Status (2)

Country Link
CN (1) CN105264944B (en)
WO (1) WO2015139199A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110046082B (en) * 2019-04-15 2020-05-29 苏州浪潮智能科技有限公司 IO characteristic information processing method, IO characteristic information acquisition method and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647747A (en) * 2011-02-17 2012-08-22 中兴通讯股份有限公司 Method, device and system for controlling measurement of UE (User Equipment)
WO2012130264A1 (en) * 2011-03-29 2012-10-04 Nec Europe Ltd. User traffic accountability under congestion in flow-based multi-layer switches
CN103004147A (en) * 2012-09-25 2013-03-27 华为技术有限公司 Message forwarding path determining method, network device and control device
CN103391296A (en) * 2013-07-29 2013-11-13 北京华为数字技术有限公司 Controller, openflow switch and method and system of channel establishing
US20130308645A1 (en) * 2011-02-17 2013-11-21 Shuichi Karino Flow communication system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647743B (en) * 2011-02-17 2017-04-12 中兴通讯股份有限公司 Method and system for controlling user equipment (UE) to carry out measurement
CN102647753B (en) * 2011-02-17 2017-03-15 中兴通讯股份有限公司 The method and system that control user equipment is measured
CN102647741A (en) * 2011-02-17 2012-08-22 中兴通讯股份有限公司 Method and system for controlling user equipment (UE) to carry out measurement
CN102946325B (en) * 2012-11-14 2015-06-03 中兴通讯股份有限公司 Network diagnosis method, system and equipment based on software defined network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647747A (en) * 2011-02-17 2012-08-22 中兴通讯股份有限公司 Method, device and system for controlling measurement of UE (User Equipment)
US20130308645A1 (en) * 2011-02-17 2013-11-21 Shuichi Karino Flow communication system
WO2012130264A1 (en) * 2011-03-29 2012-10-04 Nec Europe Ltd. User traffic accountability under congestion in flow-based multi-layer switches
CN103004147A (en) * 2012-09-25 2013-03-27 华为技术有限公司 Message forwarding path determining method, network device and control device
CN103391296A (en) * 2013-07-29 2013-11-13 北京华为数字技术有限公司 Controller, openflow switch and method and system of channel establishing

Also Published As

Publication number Publication date
WO2015139199A1 (en) 2015-09-24
CN105264944B (en) 2019-06-21

Similar Documents

Publication Publication Date Title
CN103294521B (en) A kind of method reducing data center's traffic load and energy consumption
CN106130796B (en) SDN network topology traffic visualization monitoring method and control terminal
Tahaei et al. A multi-objective software defined network traffic measurement
CN108600102A (en) A kind of flexible data Transmission system in the contract network based on wisdom
CN111989979B (en) Method and system for controlling operation of a communication network to reduce latency
CN101145977B (en) A QoS monitoring system and its measuring method of IP data network
CN112532409A (en) Network parameter configuration method and device, computer equipment and storage medium
CN102916854A (en) Traffic statistical method and device and proxy server
CN114884811B (en) Method for realizing centralized user configuration of time sensitive network
Li et al. GSPN-based reliability-aware performance evaluation of IoT services
CN101826999B (en) Method and device for online message flow monitoring and bandwidth compensation
Hu et al. Adjusting switching granularity of load balancing for heterogeneous datacenter traffic
CN107004003A (en) model parameter fusion method and device
CN109639693B (en) Intelligent distribution and utilization electricity business arrangement method and distribution and utilization electricity communication integrated terminal
CN103067958A (en) Network convergence testing method and system of wireless sensor network and mobile communication network
CN105262682B (en) A kind of software defined network system and its traffic grooming method for electric power data communication
WO2021208882A1 (en) Energy efficiency evaluation method, and related device
Chou et al. Performance analysis of packet aggregation for IEEE 802.11 PCF MAC-based wireless networks
CN105264944A (en) Statistical information reporting method and apparatus
CN110324837A (en) A kind of network management and device
Feng et al. Analysis of edge computing model for real-time self-organizing push of data in wireless LAN environment
CN111800311B (en) Real-time sensing method for decentralized computing state
CN104243314A (en) Optical network end-to-end path establishment method and system based on energy efficiency diagram
Akanbi et al. Proactive load shifting for distributed sdn control plane architecture
CN116962213A (en) Operation maintenance management information processing method, network node and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant