WO2016198021A1 - Telephone traffic reporting method, telephone traffic statistic method, service processing device, telephone traffic statistic device and telephone traffic statistic system - Google Patents

Telephone traffic reporting method, telephone traffic statistic method, service processing device, telephone traffic statistic device and telephone traffic statistic system Download PDF

Info

Publication number
WO2016198021A1
WO2016198021A1 PCT/CN2016/086918 CN2016086918W WO2016198021A1 WO 2016198021 A1 WO2016198021 A1 WO 2016198021A1 CN 2016086918 W CN2016086918 W CN 2016086918W WO 2016198021 A1 WO2016198021 A1 WO 2016198021A1
Authority
WO
WIPO (PCT)
Prior art keywords
sub
call
duration
traffic
traffic statistics
Prior art date
Application number
PCT/CN2016/086918
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2016198021A1 publication Critical patent/WO2016198021A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/36Statistical metering, e.g. recording occasions when traffic exceeds capacity of trunks

Definitions

  • the present application relates to, but is not limited to, the field of communications, and in particular, to a traffic reporting method, a traffic statistics method, a service processing device, a traffic statistics device, and a traffic statistics system.
  • the traffic statistics are calculated in real time.
  • the traffic statistics need to be calculated in real time.
  • the statistics can be calculated based on the currently reported traffic statistics. Reference, and after the calculation is over, the current traffic statistics message will be directly discarded.
  • the service processing device reports the related information to the traffic statistics device only when the call state changes, and the traffic statistics device outputs the call duration in the statistical period after the statistics period ends. That is to say, the service processing device will only report the traffic statistics message when the call starts and the call ends. During the call, since the call state has not changed, the service processing device does not report the traffic statistics to the traffic statistics device. Message. In this way, when calculating the duration of the call across the statistical period, there will be serious errors, for example, setting the statistical period to 300 seconds, a call from 10:01, and 10:16 normal on-hook release, the total number of calls is 900. In seconds, the entire call spans four statistical periods of 10:00-10:05, 10:05-10:10, 10:10-10:15, and 10:15-10:20. The actual call should be:
  • Cycle 3 10:10-10:15 number of trial calls +0, number of responses +0, duration of connection +300 seconds;
  • the service processing device only reports the traffic statistics message to the traffic statistics device at 10:01, notifying the latter that there is a call, and the service processing device reports again at 10:16.
  • the traffic statistics message includes the response time and the on-hook time.
  • the traffic statistics device can calculate the duration of the call according to the information in the message. Since the message is reported in the period 4, Therefore, the traffic statistics device calculates that the duration of the call generated in the period 4 is 900 seconds, and the duration of the call generated in the first three periods is 0 seconds:
  • the main technical problem to be solved by the embodiments of the present invention is to provide a traffic reporting method, a traffic statistics method, a service processing device, a traffic statistics device, and a traffic statistics system, which are used for solving related technologies in the related art processing device.
  • a method for reporting traffic including:
  • the service processing device starts timing after the current call is connected.
  • the service processing device before the end of the call when the timing value reaches the duration of the sub-call, Report a sub-traffic statistics message and re-time.
  • a traffic statistics method includes:
  • the traffic statistics device receives the sub-traffic statistics message reported by the service processing device.
  • the traffic statistics device counts the traffic duration into a statistical period in which the sub-traffic statistics message falls, and the traffic duration is obtained by the traffic statistics device from the sub-traffic statistics message.
  • a traffic statistics method includes:
  • the service processing device starts timing after the current call is connected.
  • the service processing device reports a sub-traffic statistical message and re-times when the timing value reaches the sub-call duration before the end of the call.
  • the traffic statistics device receives the sub-traffic statistics message reported by the service processing device.
  • the traffic statistics device counts the traffic duration into a statistical period in which the sub-traffic statistics message falls, and the traffic duration is obtained by the traffic statistics device from the sub-traffic statistics message.
  • the traffic statistics method further includes adjusting the duration of the sub-call.
  • the adjusting the duration of the sub-call includes:
  • An adjustment command is sent to the business processing device.
  • the service processing device adjusts the value of the sub-call duration to the sub-call target duration value according to the adjustment command.
  • the determining the duration value of the sub-call target includes:
  • the over-length call ratio acquisition adjustment factor is monitored during the target time period, and/or the central processor usage percentage is monitored to obtain the adjustment factor.
  • the base target duration is multiplied by the adjustment coefficient, and the sub-call target duration value is calculated.
  • the obtaining the adjustment coefficient by the ultra-long call ratio in the monitoring target period includes: determining, according to the super-long call proportion in the target period, a corresponding super-long call coefficient, The extra long talk coefficient is used as the adjustment coefficient.
  • the monitoring, by the central processing unit, using the ratio to obtain the adjustment coefficient comprises: determining a corresponding system usage coefficient according to the central processor usage ratio, and using the system usage coefficient as the adjustment coefficient.
  • Obtaining the adjustment coefficient by using the ratio of the ultra-long call and the proportion of the central processing unit in the monitoring target period includes: determining a corresponding long-length calling coefficient according to the ratio of the long-length call in the target time period, according to the The central processor determines the corresponding system usage coefficient by using the ratio, and the sum/product of the ultra long talk coefficient and the system usage coefficient is used as the adjustment coefficient.
  • a service processing device includes:
  • the timing unit is set to start timing after the current call is connected.
  • the message reporting unit is configured to report a sub-traffic statistical message and re-time the time when the timing value reaches the sub-call duration before the end of the call.
  • a traffic statistics device includes: a message receiving unit, configured to receive a sub-traffic statistical message reported by the service processing device.
  • a statistical unit configured to count the traffic duration into a statistical period in which the sub-traffic statistical message falls, and the traffic duration is obtained by the statistical unit from the sub-traffic statistical message.
  • a traffic statistics system includes: a service processing device and a traffic statistics device;
  • the service processing device includes:
  • the timing unit is set to start timing after the current call is connected.
  • the message reporting unit is configured to report a sub-traffic statistical message and re-time the time when the timing value reaches the sub-call duration before the end of the call.
  • Traffic statistics devices include:
  • the message receiving unit is configured to receive the sub-traffic statistics message reported by the service processing device.
  • a statistical unit configured to count the traffic duration into a statistical period in which the sub-traffic statistical message falls, and the traffic duration is obtained by the statistical unit from the sub-traffic statistical message.
  • the system further includes a duration adjustment device, the duration adjustment device being configured to adjust the duration of the sub-call.
  • the duration adjustment apparatus includes: a decision unit and an instruction sending unit; the service processing apparatus further includes: an instruction receiving unit and an adjustment unit.
  • the adjusting the duration of the sub-call includes:
  • the decision unit is set to determine the sub-call target duration value.
  • the command transmitting unit is configured to send an adjustment command to the service processing device.
  • the instruction receiving unit is configured to receive the adjustment instruction sent by the instruction sending unit.
  • an adjusting unit configured to adjust the value of the sub-call duration to the sub-call target duration value according to the adjustment instruction.
  • the determining unit includes: a basic target duration acquisition module, an adjustment coefficient acquisition module, and a calculation module.
  • the determining the duration value of the sub-call target includes:
  • the base target duration acquisition module is set to monitor the current statistical period and obtain the base target duration.
  • the adjustment coefficient acquisition module is configured to monitor the super long call ratio acquisition adjustment coefficient in the target time period, and/or monitor the central processor usage ratio to obtain the adjustment coefficient.
  • a calculation module configured to calculate the sub-call target duration value by multiplying the base target duration obtained by the base target duration acquisition module by the adjustment coefficient acquired by the adjustment coefficient acquisition module.
  • the adjustment coefficient acquisition module includes one or more of the first submodule, the second submodule, and the third submodule:
  • the first sub-module is configured to monitor an ultra-long call ratio acquisition adjustment coefficient in a target time period.
  • the first sub-module monitors the ultra-long call ratio acquisition adjustment coefficient in the target time period, including: the first sub-module monitors the ultra-long call proportion in the target time period, according to the ultra-long call in the target time period The ratio determines the corresponding super long talk coefficient, and the super long talk coefficient is used as the adjustment coefficient.
  • the second submodule is configured to monitor the central processor to use the ratio to obtain the adjustment coefficient.
  • the second submodule monitors the central processor usage ratio to obtain the adjustment coefficient, the second submodule monitors a central processor usage ratio, and determines a pair according to the central processor usage ratio.
  • the system usage factor is used, and the system usage coefficient is used as the adjustment coefficient.
  • the third sub-module is configured to acquire the adjustment coefficient by monitoring the proportion of the ultra-long call in the target time period and the proportion of the central processor usage.
  • the third sub-module monitors the ultra-long call proportion and the central processor usage ratio in the target time period to obtain the adjustment coefficient, including: the third sub-module monitors the ultra-long call proportion and the central processing unit in the target time period. Using a ratio, determining a corresponding long-length call coefficient according to the excess call ratio in the target time period, determining a corresponding system usage coefficient according to the usage ratio of the central processor, and using the super long call coefficient The system uses the sum/product of the coefficients as the adjustment factor.
  • the traffic reporting method, the traffic statistics method, the service processing device, the traffic statistics device, and the service statistics system provided by the embodiment of the present invention divide the call with the call duration longer than the sub-call duration into at least two sub-categories by the timing of the service processing device. Calling, and then counting the duration of the sub-calls that occur in each statistical period, so that the traffic duration of other statistical periods except the statistical period corresponding to the end of the call will not be 0, and will not be the same as in the related art.
  • the call duration of the entire call is accumulated in the statistical period corresponding to the end of the call; therefore, the traffic reporting method, the traffic statistics method, the service processing device, the traffic statistics device, and the service statistics system provided by the embodiments of the present invention are provided.
  • the call duration of each statistical period obtained is made closer to reality, and the accuracy of the statistical results is improved.
  • FIG. 1 is a flowchart of a method for reporting a traffic according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a traffic statistics method according to Embodiment 2 of the present invention.
  • FIG. 3 is a flowchart of a traffic statistics method according to Embodiment 3 of the present invention.
  • FIG. 5 is a schematic diagram of a service processing apparatus according to Embodiment 4 of the present invention.
  • FIG. 6 is a schematic diagram of a traffic statistics apparatus according to Embodiment 5 of the present invention.
  • FIG. 7 is a schematic diagram of a traffic statistics system according to Embodiment 6 of the present invention.
  • FIG. 8 is a schematic diagram of a service processing apparatus in the traffic statistics system shown in FIG. 7;
  • FIG. 9 is a schematic diagram of a traffic statistics device in the traffic statistics system shown in FIG. 7;
  • FIG. 10 is a schematic diagram of a traffic statistics system according to Embodiment 6 of the present invention.
  • FIG. 11 is a schematic diagram of an adjustment coefficient module in the decision unit shown in FIG.
  • the main idea of the embodiment of the present invention is that the service processing device starts timing after the call is connected. When the call duration exceeds the set sub-call duration, the service processing device divides it into a sub-call and reports it to the traffic statistics device. A sub-traffic statistics message is then re-timed to repeat the step of reporting the sub-traffic statistics message until the end of the call. The traffic statistics device counts the sub-traffic statistics reported by the service processing device into the statistical period in which the message falls.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • This embodiment provides a method for reporting a traffic, and describes a step performed by one end of the service processing device when the traffic statistics process is completed. Please refer to Figure 1:
  • the service processing device starts timing after the current call is connected.
  • the timing of this step is to determine whether the call has reached a sub-call duration. Therefore, as long as the purpose can be achieved, the timing is not limited, and a timer or a timer can be used.
  • the service processing device also reports a sub-traffic statistical message, which is used for the traffic statistics device to count the rate of the connection rate, and the sub-service statistics message may include the calling number and the called number. , message type, ringing time, on time, etc., where the message type refers to the connect message.
  • the service processing device Before the end of the call, the service processing device reports a sub-traffic statistical message and re-times when the timing value reaches the sub-call duration.
  • one or more timers may be used, as long as the total timing duration is equal to the duration of the sub-call. For example, if the sub-call duration is 300 seconds, a timing duration may be used.
  • the 300-second timer is used to complete the timer. The two timers with a duration of 130 seconds and 170 seconds are used together.
  • the trigger timing is The 170-second timer starts counting.
  • the timer of the timer is 170 seconds, the timer ends. That is, the timing of 300 seconds ends.
  • the timer When the timer is used for counting, when the timer value reaches the sub-call duration, it is re-timed. There can be multiple implementations of the re-clocking here. For example, you can choose to clear all the timing values, once again from 0. When starting timing, you can also choose not to clear the original timing value, and directly count from the original timing value. When the difference between the new timing value and the original timing value reaches a sub-call duration, it is also considered to complete a sub-call. .
  • the sub-office traffic statistics message is mainly used to enable the traffic statistics device to obtain the duration of the sub-call corresponding to the sub-traffic statistical message. Therefore, the reported sub-traffic statistical message may have various forms.
  • the sub-traffic statistics message may include the start and end times of the corresponding sub-calls; the sub-traffic statistics message may also include only the sub-call duration, because for all sub-calls except the last sub-call, The duration of the call is equal to the duration of the sub-call; of course, when reporting the sub-traffic statistics message of the last sub-call, the start time and the end time of the sub-call must be included; except for the content of the traffic duration in the sub-call,
  • the traffic statistics message may also include a calling number, a called number, a message type, and the like, and the message type herein refers to a timing message.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • This embodiment provides a traffic statistics method, and describes the steps performed by the traffic statistics device when completing the traffic statistics process, which is described below with reference to FIG. 2:
  • the traffic statistics device receives the sub-service statistics message reported by the service processing device.
  • the traffic statistics device receives the sub-service statistics message reported by the service processing device after the sub-call is completed, in order to obtain the traffic duration corresponding to the sub-call, and further collects the traffic generated in the statistical period in which the sub-traffic statistics message falls.
  • the traffic statistics device also receives the traffic statistics message reported by the service module after the call is connected, and the traffic statistics message is used for the traffic statistics device to count the connection rate and the like, and the traffic statistics device can
  • the traffic statistics message obtains information such as the calling number, the called number, the message type, the ringing time, and the time of the connection, where the message type refers to the connection message.
  • the traffic statistics device counts the traffic duration into a statistical period in which the sub-traffic statistics message falls, and the traffic duration is obtained by the traffic statistics device from the sub-traffic statistics message.
  • the traffic statistics device There are also various ways to obtain the duration of the sub-call traffic. If the sub-service statistics message reported by the service processing device includes the start time and the end time of the sub-call, the traffic statistics device needs to obtain the difference between the two times as the above. The traffic duration of the sub-call is counted in the statistical period in which the sub-traffic statistics message falls. If the sub-traffic statistics message includes the corresponding sub-call duration, the traffic statistics device directly obtains And it can be counted in the statistical period in which the sub-traffic statistics message falls.
  • the traffic statistics device After the statistics period ends, the traffic statistics device outputs a traffic statistics report of the statistical period, where the report includes the total number of calls, the number of connections, the call completion rate, and the words generated during the statistical period. Information such as time.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • This embodiment provides a traffic statistics method, which is described below in conjunction with FIG. 3:
  • the service processing device starts timing after the current call is connected.
  • the timing is to determine whether the duration of the call has reached a sub-call duration. Therefore, as long as the purpose can be achieved, the timing is not limited, and a timer or a timer can be used.
  • the service processing device also reports a traffic statistics message, which is used by the traffic statistics device to count the rate of the connection rate, and the traffic statistics message may include the calling number, the called number, and the message. Type, ringing time, turn-on time, etc., where the message type refers to the connect message.
  • the service processing device Before the end of the call, the service processing device reports a sub-traffic statistical message and re-times when the timed value reaches the sub-call duration.
  • one or more timers may be used, as long as the total timing duration is equal to the duration of the sub-call. For example, if the sub-call duration is 300 seconds, a timing duration may be used.
  • the 300-second timer is used to complete the timer.
  • the two timers with a duration of 130 seconds and 170 seconds are used together.
  • the timer with a timer of 130 seconds starts to count.
  • the timer with a timer duration of 170 seconds is started.
  • the timer of the timer is 170 seconds
  • the timing of 300 seconds ends.
  • the timer When the timer is used for counting, when the timer value reaches the sub-call duration, it is re-timed. There can be multiple implementations of the re-clocking here. For example, you can choose to clear all the timing values, once again from 0. Start timing, you can also choose not to clear the original timing value, directly from the original Timing is performed on the basis of the time value. When the difference between the new timing value and the original timing value reaches a sub-call duration, it is also considered to complete a sub-call.
  • the sub-traffic statistics message reported by the service processing device is mainly used to enable the traffic statistics device to obtain the duration of the sub-call corresponding to the sub-traffic statistical message. Therefore, the reported sub-traffic statistical message may have various forms.
  • the sub-traffic statistics message may include the start and end times of the corresponding sub-calls; the sub-traffic statistics message may also include only the sub-call duration, because for all sub-calls except the last sub-call, The duration of the call is equal to the duration of the sub-call; of course, when reporting the sub-traffic statistics message of the last sub-call, the start time and the end time of the sub-call must be included; except for the content of the traffic duration in the sub-call,
  • the traffic statistics message may also include a calling number, a called number, a message type, and the like, and the message type herein refers to a timing message.
  • the traffic statistics device receives the sub-service statistics message reported by the service processing device.
  • the traffic statistics device receives the sub-service statistics message reported by the service processing device after the sub-call is completed, in order to obtain the traffic duration corresponding to the sub-call, and further collects the traffic generated in the statistical period in which the sub-traffic statistics message falls.
  • the traffic statistics device also receives the traffic statistics message reported by the service module after the call is connected, and the traffic statistics message is used for the traffic statistics device to count the connection rate and the like, and the traffic statistics device can
  • the traffic statistics message obtains information such as the calling number, the called number, the message type, the ringing time, and the time of the connection, where the message type refers to the connection message.
  • the traffic statistics device counts the traffic duration into a statistical period in which the sub-traffic statistics message falls, and the traffic duration is obtained by the traffic statistics device from the sub-traffic statistics message.
  • the manner in which the traffic statistics device obtains the sub-call traffic duration is also various. If the sub-service statistics message reported by the service processing device includes the start time and the end time of the sub-call. The traffic statistics device needs to obtain the difference between the two times as the duration of the call of the sub-call, and count the duration of the traffic into the statistical period in which the sub-traffic statistics message falls; if the sub-traffic statistics The message includes the corresponding sub-call duration, and the traffic statistics device directly obtains and counts the statistical period in which the sub-traffic statistical message falls.
  • the traffic statistics device After the statistics period ends, the traffic statistics device outputs a traffic statistics report of the statistical period, where the report includes the total number of calls, the number of connections, the call completion rate, and the words generated during the statistical period. Information such as time.
  • the embodiment of the present invention further provides a mechanism for adjusting the duration of the sub-call, according to The duration of the current statistical period, the proportion of long-length calls, and the proportion of system usage are dynamically adjusted for the length of the sub-call.
  • the process of adjusting the length of the sub-call can be:
  • the base target duration is obtained, and the base target duration is less than or equal to the statistical period.
  • the smaller the sub-call duration the closer the traffic duration of each statistical period is to the real one.
  • the base target duration obtained to determine the sub-call duration value is also as small as possible.
  • the basic target duration used in this embodiment is smaller than the statistical period. From the engineering experience, the following basic target durations can be selected:
  • the base target duration is set to 240 seconds
  • the base target duration is set to 810 seconds
  • the base target duration is set to 1680 seconds
  • the base target duration is set to 3480 seconds
  • the base target duration value can be directly used as the duration of the sub-call target. However, considering the robustness of the maintenance system, this embodiment also obtains an adjustment adjustment coefficient, and then uses the adjustment coefficient to cooperate with the base target duration to determine the optimal sub-function.
  • the duration of the call target, the way to obtain the adjustment factor is as follows:
  • the first type monitors the proportion of the ultra-long call in the target time period, determines the corresponding long-length call coefficient according to the proportion of the long-length call in the target time period, and uses the long-length call coefficient as the adjustment coefficient.
  • the long-length call here refers to the call with the total call duration exceeding the statistical period. From the engineering experience, it is generally considered to set the target time period to the past 72 hours, that is, to obtain the past 72 hours.
  • the proportion of the number of calls in which the voice time exceeds the statistical period is the total number of calls. In this embodiment, when the proportion of the long-length call traffic in the past 72 hours is greater than 0 or less than or equal to 15%, the long-length call coefficient is 2; when the past 72 hours, the long-term call traffic ratio is greater than 15 If % is less than or equal to 100%, the extra long call coefficient is 1.
  • the service processing device can report the traffic statistics.
  • the system usage coefficient can be set to 1; when the CPU usage ratio is greater than 60% less than or equal to 85%, the system usage coefficient can be set to 2; When the CPU usage ratio is greater than 85% less than or equal to 100%, the system usage coefficient is forced to be 0.
  • the sub-call target duration value will be 0. That is to say, when the usage ratio of the CPU is greater than 85%, the reporting of the sub-traffic statistics message is no longer performed, and although the accuracy of the traffic statistics is sacrificed to some extent, the performance of the system is effectively guaranteed. .
  • the embodiment of the present invention further provides an adjustment factor that comprehensively considers the two:
  • the third type is to monitor the ratio of the ultra-long call to the CPU usage in the target time period, determine the corresponding long-length call coefficient according to the proportion of the ultra-long call in the target time period, and determine the corresponding system usage coefficient according to the CPU usage ratio.
  • the sum/product of the long talk coefficient and the system usage coefficient is used as the adjustment coefficient.
  • the adjustment factor is required.
  • the adjustment coefficient is 3 or calculate the product of the ultra long talk coefficient and the system use coefficient as the adjustment coefficient, and the adjustment coefficient is 2.
  • the sending instruction After obtaining the sub-call target duration value, the sending instruction adjusts the sub-call duration, and the instruction carries the sub-call target duration value.
  • an adjustment period may also be configured to periodically adjust the duration of the sub-call.
  • the adjustment period may be set to 3600 seconds. Setting the adjustment period not only avoids the frequent adjustment of the sub-call duration to introduce other risks to the system, but also comprehensively considers the multiple situations in a certain period of time to be more macroscopic, avoiding the situation of changing the sub-call duration due to small mutations, and making sub-calls. The adjustment of the duration makes more sense.
  • the service processing device adjusts the value of the sub-call duration to the sub-call target duration value according to the adjustment command.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • This embodiment provides a service processing apparatus, as shown in FIG. 5:
  • the service processing device 50 includes a timing unit 501 and a message reporting unit 502.
  • the timing unit 501 is configured to start timing after the current call is turned on; the message reporting unit 502 is configured to report a sub-traffic statistical message and re-clock when the timing value reaches the sub-call duration before the service processing device 50 ends the call. .
  • the timing unit 501 counts time to determine whether the duration of the call has reached a sub-call duration. Therefore, as long as the purpose can be achieved, the timing is not limited, and a timer or a timer can be used.
  • one or more timers may be used, as long as the total timing duration is equal to the duration of the sub-call. For example, if the sub-call duration is 300 seconds, a timing duration may be used.
  • the 300-second timer is used to complete the timer.
  • the two timers with a duration of 130 seconds and 170 seconds are used together.
  • the timer with a timer of 130 seconds starts to count.
  • the timer with a timer duration of 170 seconds is started.
  • the timer of the timer is 170 seconds
  • the timing of 300 seconds ends.
  • the timer When the timer is used for counting, when the timer value reaches the sub-call duration, it is re-timed. There can be multiple implementations of the re-clocking here. For example, you can choose to clear all the timing values, once again from 0. When starting timing, you can also choose not to clear the original timing value, and directly count from the original timing value. When the difference between the new timing value and the original timing value reaches a sub-call duration, it is also considered to complete a sub-call. .
  • the message reporting unit 502 reports the sub-service statistics message mainly for the traffic statistics device to obtain the duration of the sub-call corresponding to the sub-traffic statistical message. Therefore, the reported sub-traffic statistical message can have various forms.
  • the sub-traffic statistics message may include the start and end times of the corresponding sub-calls; the sub-traffic statistics message may also include only the sub-call duration, because for all sub-calls except the last sub-call, The duration of the traffic is equal to the duration of the sub-call; of course, when reporting the sub-traffic statistics of the last sub-call, the start time and end time of the sub-call must be included.
  • the service processing device also reports a traffic statistics message, which is used by the traffic statistics device to count the rate of the connection rate, and the traffic statistics message may include the calling number, the called number, and the message. Type, ringing time, turn-on time, etc., where the message type refers to the connect message.
  • Embodiment 5 is a diagrammatic representation of Embodiment 5:
  • This embodiment provides a traffic statistics device, which is described below with reference to FIG. 6:
  • the traffic statistics device 60 includes a message receiving unit 601 and a statistics unit 602.
  • the message receiving unit 601 is configured to receive the sub-traffic statistical message reported by the service processing device; the statistic unit 602 is configured to count the traffic duration into the statistical period in which the sub-traffic statistical message falls, and the traffic duration is determined by the statistic unit 602. Obtained in the traffic statistics message.
  • the message receiving unit 601 receives the sub-traffic statistics reported by the service processing device after the sub-call is completed.
  • the message unit 602 is configured to obtain the traffic duration corresponding to the sub-call, and then count the traffic duration generated in the statistical period in which the sub-traffic statistics message falls.
  • the message receiving unit 601 also receives the call connection.
  • the traffic statistics message is reported by the service module.
  • the traffic statistics message is used to enable the statistics unit 602 to collect statistics such as the connection rate.
  • the statistics unit 602 can obtain the calling number, the called number, and the message type from the traffic statistics message. Information such as ringing time, switching time, etc., where the message type refers to the connection message.
  • the statistics unit 602 obtains the sub-call traffic duration in a plurality of manners, if the sub-call statistics report message reported by the service processing device includes the start time of the sub-call. And the end time, the statistics unit 602 needs to obtain the difference between the two times as the traffic duration of the sub-call, and count the traffic duration into the statistical period in which the sub-traffic statistics message falls; The statistics unit 602 directly acquires and counts the statistical period in which the sub-traffic statistics message falls in, and removes the content of the traffic duration in the sub-call.
  • the service statistics message may also include the calling number, the called number, the message type, and the like, and the message type herein refers to the timing message.
  • the statistics unit 602 outputs a traffic statistics report of the statistical period, where the report includes the total number of calls, the number of connections, the call completion rate, and the traffic generated during the statistical period. Information such as duration.
  • This embodiment provides a traffic statistics system, please refer to FIG. 7:
  • the traffic statistics system 70 includes a service processing device 71 and a traffic statistics device 72.
  • the service processing apparatus 71 includes a timing unit 711 and a message reporting unit 712 that are set to start timing after the current call is turned on, and the message reporting unit 712 is set to wait for the sub-call duration before the end of the call.
  • the message reporting unit 712 is set to wait for the sub-call duration before the end of the call.
  • the timing unit 711 counts time to determine whether the length of the call has reached a sub-call duration. Therefore, as long as the purpose can be achieved, the timing is not limited, and a timer or a timer can be used.
  • timer When the timer is used for counting, one or more timers may be used, as long as the total timing duration is equal to the duration of the sub-call, for example, if the sub-call duration is 300 seconds, Then, it can be completed by using a timer with a duration of 300 seconds. It can also be completed by two timers with a duration of 130 seconds and 170 seconds respectively. When the call is connected, the timer is 130 seconds. Start timing. When the timer expires, the timer with a timer duration of 170 seconds starts to count. When the timer has a timing of 170 seconds, the timer ends. That is, the timing of 300 seconds ends. , no longer enumerated here.
  • the timer When the timer is used for counting, when the timer value reaches the sub-call duration, it is re-timed. There can be multiple implementations of the re-clocking here. For example, you can choose to clear all the timing values, once again from 0. When starting timing, you can also choose not to clear the original timing value, and directly count from the original timing value. When the difference between the new timing value and the original timing value reaches a sub-call duration, it is also considered to complete a sub-call. .
  • the service processing device may report the sub-traffic statistics message according to the timing value, and the reported sub-traffic statistics message is mainly for enabling the traffic statistics device to obtain the sub-call corresponding to the sub-traffic statistical message.
  • the traffic time is long, so the reported sub-communication statistics can take many forms.
  • the sub-traffic statistics message may include the start and end times of the corresponding sub-calls; the sub-traffic statistics message may also include only the sub-call duration, because for all sub-calls except the last sub-call, The duration of the traffic is equal to the duration of the sub-call; of course, when reporting the sub-traffic statistics of the last sub-call, the start time and end time of the sub-call must be included.
  • the service processing device also reports a traffic statistics message, which is set to a traffic statistics device, such as a statistics of the connection rate, and the traffic statistics message may include a calling number, a called number, and a message.
  • a traffic statistics device such as a statistics of the connection rate
  • the traffic statistics message may include a calling number, a called number, and a message.
  • the traffic statistics device 72 includes a message receiving unit 721 and a statistics unit 722.
  • the message receiving unit 721 is configured to receive the sub-traffic statistics message reported by the service processing device.
  • the message receiving unit 721 receives the sub-service statistics message reported by the service processing device after the sub-call is completed, in order to obtain the traffic duration corresponding to the sub-call, and further collects the traffic generated in the statistical period in which the sub-traffic statistics message falls.
  • the traffic statistics device also receives the traffic statistics message reported by the service module after the call is connected, and the traffic statistics message is used for the traffic statistics device to count the connection rate and the like, and the traffic statistics device can The traffic statistics message obtains information such as the calling number, the called number, the message type, the ringing time, and the time of the connection, where the message type refers to the connection message.
  • the statistics unit 722 counts the traffic duration into the statistical period in which the sub-traffic statistics message falls, and the traffic The duration is obtained from the traffic statistics message by the traffic statistics device.
  • the statistics unit 722 obtains the sub-call traffic duration in a plurality of manners. If the sub-service statistics message reported by the service processing device includes the start time and the end time of the sub-call, The statistics unit 722 needs to obtain the difference between the two times as the traffic duration of the sub-call, and count the traffic duration into the statistical period in which the sub-traffic statistics message falls; if the sub-traffic statistics message is included If the corresponding sub-call duration is included, the statistics unit 722 directly obtains and counts the statistical period in which the sub-traffic statistical message falls.
  • the statistics unit 722 also outputs a traffic statistics report of the statistical period, where the report includes the total number of calls, the number of connections, the call completion rate, and the words generated in the statistical period. Information such as time.
  • the embodiment further provides a traffic statistics system 70, as shown in FIG.
  • the traffic statistics system 70 includes a service processing device 71, a traffic statistics device 72, and a duration adjustment device 73.
  • the duration adjustment device 73 is configured to match the duration of the current statistical period, the proportion of the long-length call, and the system usage ratio. The duration of the call is dynamically adjusted.
  • the duration adjustment device 73 in the traffic statistics system 70 includes a decision unit 731 and an instruction transmission unit 732.
  • the service processing device 71 includes a timing unit 711 and a message reporting unit 712, and an instruction accepting unit 713 and an adjusting unit 714.
  • the decision unit 731 determines the sub-call target duration value, and then carries the sub-call target duration value in the adjustment instruction to the instruction accepting unit 713 in the service processing apparatus 71. After receiving the adjustment instruction, the instruction accepting unit 713 is The sub-call target duration value in the adjustment command adjusts the sub-call duration.
  • the decision unit 731 of the duration adjustment device 73 is set to determine the sub-call target duration value, and the decision unit 731 includes a base target duration acquisition module 1001, an adjustment coefficient acquisition module 1002, and a calculation module 1003.
  • the basic target duration acquisition module 1001 obtains the base target duration by monitoring the current statistical period, and the base target duration is less than or equal to the statistical period.
  • the smaller the sub-call duration the traffic duration of each statistical period is also calculated. The closer to the real situation, the same, in order to The base target length obtained by determining the sub-call duration value is also as small as possible.
  • the basic target duration used in this embodiment is less than the statistical period. From the engineering experience, the following basic target durations can be selected:
  • the base target duration is set to 240 seconds
  • the base target duration is set to 810 seconds
  • the base target duration is set to 1680 seconds
  • the base target duration is set to 3480 seconds
  • the base target duration value can be directly used as the sub-call target duration, but in consideration of the robustness of the further maintenance system, the embodiment further obtains an adjustment adjustment coefficient by the adjustment coefficient module 1002, and then uses the adjustment coefficient to interact with the base target duration.
  • the optimal sub-call target duration is determined.
  • the adjustment coefficient module 1002 may include at least one of the first sub-module 10021 , the second sub-module 10022 , and the third sub-module 10023 :
  • the first sub-module 10021 monitors the proportion of the ultra-long call in the target time period, determines the corresponding long-length call coefficient according to the proportion of the ultra-long call in the target time period, and uses the long-length call coefficient as the adjustment coefficient.
  • the long-length call here refers to the call with the total call duration exceeding the statistical period. From the engineering experience, it is generally considered to set the target time period to the past 72 hours, that is, to obtain the number of calls that have exceeded the statistical period in the past 72 hours.
  • the proportion of the total number of calls when the proportion of the long-length call traffic in the past 72 hours is greater than 0 or less than or equal to 15%, the long-length call coefficient is 2; when the past 72 hours, the long-term call traffic ratio is greater than 15 If % is less than or equal to 100%, the extra long call coefficient is 1.
  • the second sub-module 10022 monitors the usage ratio of the central processing unit (CPU), determines the corresponding system usage coefficient according to the CPU usage ratio, and uses the system usage coefficient as the adjustment coefficient.
  • CPU central processing unit
  • the service processing device can report the traffic statistics.
  • Message or sub-traffic statistics to ensure the stability of the system Jian.
  • the system usage coefficient can be set to 1; when the CPU usage ratio is greater than 60% less than or equal to 85%, the system usage coefficient can be set to 2; When the CPU usage ratio is greater than 85% less than or equal to 100%, the system usage coefficient is forced to be 0.
  • the sub-call target duration value will be 0. That is to say, when the usage ratio of the CPU is greater than 85%, the reporting of the sub-traffic statistics message is no longer performed, and although the accuracy of the traffic statistics is sacrificed to some extent, the performance of the system is effectively guaranteed. .
  • the first sub-module 10021 and the second sub-module 10022 above only consider one of the CPU usage ratio or the ultra-long call proportion in the target duration when acquiring the adjustment coefficient.
  • the present invention further provides a third.
  • the sub-module 10023, the third sub-module 10023 comprehensively considers the CPU usage ratio or the ultra-long call proportion in the target duration to obtain the adjustment coefficient:
  • the third sub-module 10023 monitors the proportion of the ultra-long call and the CPU usage in the target time period, determines the corresponding long-length call coefficient according to the proportion of the ultra-long call in the target time period, and determines the corresponding system usage according to the CPU usage ratio.
  • the coefficient is the adjustment coefficient of the sum/product of the long-length call coefficient and the system use coefficient.
  • the third sub-module 10023 monitors that the CPU usage ratio is 71%, and the long-term call ratio is 16% in the past 72 hours, the system usage coefficient is 2, and the long-length call coefficient is 1, and the adjustment is to be made.
  • the coefficient calculates the sum of the super long talk coefficient and the system use coefficient as the adjustment coefficient, the adjustment coefficient is 3, or calculate the product of the extra long talk coefficient and the system use coefficient as the adjustment coefficient, and the adjustment coefficient is 2.
  • the duration value of the sub-call target considering the three factors of the statistical period, the CPU usage ratio and the long-term call ratio within the target duration, the consideration is more comprehensive, and thus the overall performance is also more it is good.
  • the command sending unit 732 sends an instruction to instruct the service processing device to adjust the sub-call duration, where the sub-call target duration value is carried in the instruction.
  • an adjustment period may also be configured to periodically adjust the duration of the sub-call. Generally, the adjustment period may be set to 3600 seconds.
  • Adjustment period not only avoids the frequent adjustment of the sub-call duration to introduce other risks to the system, but also comprehensively considers the multiple situations in a certain period of time to be more macroscopic, avoiding the situation of changing the sub-call duration due to small mutations, and making sub-calls.
  • the adjustment of the duration makes more sense. This way of dynamically adjusting the length of the sub-call, comprehensively considers the impact of various factors on the duration of the sub-call, and supplements the manual policy configuration, so that the traffic statistics automatically find balance between the statistical accuracy and the system load.
  • a computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the traffic reporting method and the traffic statistics method.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the traffic reporting method, the traffic statistics method, the service processing device, the traffic statistics device, and the service statistics system provided by the embodiment of the present invention divide the call with the call duration longer than the sub-call duration into at least two sub-categories by the timing of the service processing device. Call, and then count the duration of the sub-calls that occur in each statistical period, so that the statistics period other than the end time of the call is The traffic duration of the statistic period is not 0, and the call duration of the entire call is accumulated in the statistic period corresponding to the end of the call in the same manner as in the related art. Therefore, the traffic reporting method provided by the embodiment of the present invention is provided.
  • the traffic statistics method, the service processing device, the traffic statistics device, and the service statistics system make the call duration of each statistical cycle closer to reality, and improve the accuracy of the statistical results.

Abstract

Disclosed are a telephone traffic reporting method, a telephone traffic statistic method, a service processing device, a telephone traffic statistic device and a telephone traffic statistic system. The telephone traffic statistic method comprises: a service processing device starting timing after a current call is put through; the service processing device reporting a sub-telephone traffic statistic message once and conducting retiming before the call is ended and when a timing value reaches a sub-call duration; a telephone traffic statistic device receiving the sub-telephone traffic statistic message reported by the service processing device; and the telephone traffic statistic device counting a telephone traffic duration in a statistic cycle into which the sub-telephone traffic statistic message falls, wherein the telephone traffic duration is obtained by the telephone traffic statistic device from the sub-telephone traffic statistic message.

Description

一种话务上报方法、话务统计方法、业务处理装置、话务统计装置及话务统计系统Traffic reporting method, traffic statistics method, service processing device, traffic statistics device and traffic statistics system 技术领域Technical field
本申请涉及但不限于通信领域,尤其涉及一种话务上报方法、话务统计方法、业务处理装置、话务统计装置及话务统计系统。The present application relates to, but is not limited to, the field of communications, and in particular, to a traffic reporting method, a traffic statistics method, a service processing device, a traffic statistics device, and a traffic statistics system.
背景技术Background technique
随着电信业的迅猛发展,其带给世界的改变也越来越多,从信息的获取到信息的处理,从科学研究到日常生活,从城镇到乡村,无一不充斥着电信的影子,人们的工作与生活越来越离不开电信业务带来的多种便利,电信设备的健康也日益受到人们的关注。话务统计主要设置为监测电信设备的运行状况,其统计结果在问题定位和故障处理方面有着重要的参考价值,所以说,话务统计是网络规划与网络优化中必不可少的环节。With the rapid development of the telecommunications industry, it has brought more and more changes to the world. From information acquisition to information processing, from scientific research to daily life, from town to country, all are filled with the shadow of telecommunications. People's work and life are increasingly inseparable from the many conveniences brought by the telecommunications business, and the health of telecommunications equipment is also receiving more and more attention. Traffic statistics are mainly set to monitor the operation status of telecommunication equipment. The statistical results have important reference value in problem location and fault handling. Therefore, traffic statistics is an indispensable link in network planning and network optimization.
与计费系统在通话结束后才进行计算的方式不同,话务统计需要实时计算,在获取话务统计结果时,只能根据当前上报的话务统计消息进行计算,没有之前时间状态的信息可以参考,并且在计算结束后,当前的话务统计消息会被直接丢弃。Different from the accounting system, the traffic statistics are calculated in real time. The traffic statistics need to be calculated in real time. When the traffic statistics are obtained, the statistics can be calculated based on the currently reported traffic statistics. Reference, and after the calculation is over, the current traffic statistics message will be directly discarded.
相关的话务统计中,业务处理装置只在呼叫状态发生变化时,才将相关信息上报给话务统计装置,话务统计装置在统计周期结束后输出该统计周期内通话时长。也就是说,业务处理装置只会在通话开始与通话结束时才会上报话务统计消息,通话期间内,由于呼叫状态一直没有发生变化,业务处理装置不会向话务统计装置上报话务统计消息。这种方式在计算跨越统计周期的通话时长时,会存在严重的误差,例如,将统计周期设置为300秒,一个呼叫从10:01起呼,到10:16正常挂机释放,呼叫通话共计900秒,整个通话过程横跨10:00-10:05、10:05-10:10、10:10-10:15和10:15-10:20四个统计周期,实际通话应该是:In the related traffic statistics, the service processing device reports the related information to the traffic statistics device only when the call state changes, and the traffic statistics device outputs the call duration in the statistical period after the statistics period ends. That is to say, the service processing device will only report the traffic statistics message when the call starts and the call ends. During the call, since the call state has not changed, the service processing device does not report the traffic statistics to the traffic statistics device. Message. In this way, when calculating the duration of the call across the statistical period, there will be serious errors, for example, setting the statistical period to 300 seconds, a call from 10:01, and 10:16 normal on-hook release, the total number of calls is 900. In seconds, the entire call spans four statistical periods of 10:00-10:05, 10:05-10:10, 10:10-10:15, and 10:15-10:20. The actual call should be:
周期1:10:00-10:05试呼次数+1,应答次数+1,接通时长+240秒;Cycle 1:10:00-10:05 number of trial calls +1, number of responses +1, and duration of connection +240 seconds;
周期2:10:05-10:10试呼次数+0,应答次数+0,接通时长+300秒; Cycle 2:10:05-10:10 number of trial calls +0, number of responses +0, duration of connection +300 seconds;
周期3:10:10-10:15试呼次数+0,应答次数+0,接通时长+300秒;Cycle 3:10:10-10:15 number of trial calls +0, number of responses +0, duration of connection +300 seconds;
周期4:10:15-10:20试呼次数+0,应答次数+0,接通时长+60秒;Cycle 4:10:15-10:20 call times +0, number of responses +0, switch-on time +60 seconds;
但是,相关话务统计中,业务处理装置只会在10:01的时候上报一次话务统计消息给话务统计装置,通知后者有一次呼叫,在10:16的时候业务处理装置再上报一次话务统计消息,此次上报的话务统计消息中包含了应答时刻与挂机时刻,因此,话务统计装置可以依据该消息中的信息计算通话时长,由于该消息是在周期4中上报的,所以话务统计装置计算得到周期4内产生的通话时长为900秒,前三个周期内产生的通话时长为0秒:However, in the related traffic statistics, the service processing device only reports the traffic statistics message to the traffic statistics device at 10:01, notifying the latter that there is a call, and the service processing device reports again at 10:16. The traffic statistics message includes the response time and the on-hook time. The traffic statistics device can calculate the duration of the call according to the information in the message. Since the message is reported in the period 4, Therefore, the traffic statistics device calculates that the duration of the call generated in the period 4 is 900 seconds, and the duration of the call generated in the first three periods is 0 seconds:
周期1:10:00-10:05试呼次数+1,应答次数+1,接通时长+0秒;Cycle 1:10:00-10:05 number of trial calls +1, number of responses +1, duration of turn-on +0 seconds;
周期2:10:05-10:10试呼次数+0,应答次数+0,接通时长+0秒;Cycle 2:10:05-10:10 number of trial calls +0, number of responses +0, duration of turn-on +0 seconds;
周期3:10:10-10:15试呼次数+0,应答次数+0,接通时长+0秒;Cycle 3:10:10-10:15 call times +0, number of responses +0, switch-on time +0 seconds;
周期4:10:15-10:20试呼次数+0,应答次数+0,接通时长+900秒;Cycle 4:10:15-10:20 number of trial calls +0, number of responses +0, duration of connection +900 seconds;
这显然存在很大的误差,通过分析,可以得到对于这四个周期内的通话时长的计算分别存在着-240秒、-300秒、-300秒和+840秒的误差。另外,这仅仅是一个呼叫存在的误差,而一般跨越统计周期的通话量会比较大,所以会导致每个统计周期的通话时长统计结果和实际的情况偏离相当大,这给参考话务统计结果进行的后续工作带来了严重误导。This obviously has a large error. Through analysis, it can be obtained that the calculation of the duration of the call in these four periods has errors of -240 seconds, -300 seconds, -300 seconds, and +840 seconds, respectively. In addition, this is only an error in the existence of a call, and the amount of calls generally spanning the statistical period will be relatively large, so that the statistical result of the call duration of each statistical period deviates considerably from the actual situation, which gives reference traffic statistics results. The follow-up work carried out was seriously misleading.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例要解决的主要技术问题是,提供一种话务上报方法、话务统计方法、业务处理装置、话务统计装置及话务统计系统,用于解决相关技术中因业务处理装置只在呼叫状态发生变化时才将相关信息上报给话务统计装置而导致的话务统计结果准确性低的技术问题。The main technical problem to be solved by the embodiments of the present invention is to provide a traffic reporting method, a traffic statistics method, a service processing device, a traffic statistics device, and a traffic statistics system, which are used for solving related technologies in the related art processing device. A technical problem in which the accuracy of traffic statistics results is low when the related information is reported to the traffic statistics device when the call state changes.
一种话务上报方法,包括:A method for reporting traffic, including:
业务处理装置在当前通话接通后,启动计时。The service processing device starts timing after the current call is connected.
所述业务处理装置在所述通话结束前,在计时值达到子呼叫时长时,上 报一次子话务统计消息并重新计时。The service processing device before the end of the call, when the timing value reaches the duration of the sub-call, Report a sub-traffic statistics message and re-time.
一种话务统计方法,包括:A traffic statistics method includes:
话务统计装置接收业务处理装置上报的子话务统计消息。The traffic statistics device receives the sub-traffic statistics message reported by the service processing device.
所述话务统计装置将话务时长计入所述子话务统计消息落入的统计周期内,所述话务时长由所述话务统计装置从所述子话务统计消息中获得。The traffic statistics device counts the traffic duration into a statistical period in which the sub-traffic statistics message falls, and the traffic duration is obtained by the traffic statistics device from the sub-traffic statistics message.
一种话务统计方法,包括:A traffic statistics method includes:
业务处理装置在当前通话接通后,启动计时。The service processing device starts timing after the current call is connected.
业务处理装置在所述通话结束前,在计时值达到子呼叫时长时,上报一次子话务统计消息并重新计时。The service processing device reports a sub-traffic statistical message and re-times when the timing value reaches the sub-call duration before the end of the call.
话务统计装置接收所述业务处理装置上报的所述子话务统计消息。The traffic statistics device receives the sub-traffic statistics message reported by the service processing device.
所述话务统计装置将话务时长计入所述子话务统计消息落入的统计周期内,所述话务时长由所述话务统计装置从所述子话务统计消息中获得。The traffic statistics device counts the traffic duration into a statistical period in which the sub-traffic statistics message falls, and the traffic duration is obtained by the traffic statistics device from the sub-traffic statistics message.
可选地,所述话务统计方法还包括调整所述子呼叫时长。Optionally, the traffic statistics method further includes adjusting the duration of the sub-call.
可选地,所述调整所述子呼叫时长包括:Optionally, the adjusting the duration of the sub-call includes:
确定子呼叫目标时长值。Determine the length of the sub-call target.
向业务处理装置发送调整指令。An adjustment command is sent to the business processing device.
所述业务处理装置根据调整指令将所述子呼叫时长的值调整为所述子呼叫目标时长值。The service processing device adjusts the value of the sub-call duration to the sub-call target duration value according to the adjustment command.
可选地,所述确定所述子呼叫目标时长值包括:Optionally, the determining the duration value of the sub-call target includes:
监测当前的所述统计周期,获取基础目标时长。Monitor the current statistical period and obtain the base target duration.
监测目标时段内的超长通话占比获取调整系数,和/或监测中央处理器使用占比获取所述调整系数。The over-length call ratio acquisition adjustment factor is monitored during the target time period, and/or the central processor usage percentage is monitored to obtain the adjustment factor.
将所述基础目标时长与所述调整系数相乘,计算得出所述子呼叫目标时长值。The base target duration is multiplied by the adjustment coefficient, and the sub-call target duration value is calculated.
可选地,所述监测目标时段内的超长通话占比获取所述调整系数包括:根据所述目标时段内的所述超长通话占比确定对应的超长通话系数,将所述 超长通话系数作为所述调整系数。Optionally, the obtaining the adjustment coefficient by the ultra-long call ratio in the monitoring target period includes: determining, according to the super-long call proportion in the target period, a corresponding super-long call coefficient, The extra long talk coefficient is used as the adjustment coefficient.
所述监测中央处理器使用占比获取所述调整系数包括:根据所述中央处理器使用占比确定对应的系统使用系数,将所述系统使用系数作为所述调整系数。The monitoring, by the central processing unit, using the ratio to obtain the adjustment coefficient comprises: determining a corresponding system usage coefficient according to the central processor usage ratio, and using the system usage coefficient as the adjustment coefficient.
所述监测目标时段内的超长通话占比和中央处理器使用占比获取所述调整系数包括:根据所述目标时段内的所述超长通话占比确定对应的超长通话系数,根据所述中央处理器使用占比确定对应的系统使用系数,将所述超长通话系数与所述系统使用系数之和/积作为所述调整系数。Obtaining the adjustment coefficient by using the ratio of the ultra-long call and the proportion of the central processing unit in the monitoring target period includes: determining a corresponding long-length calling coefficient according to the ratio of the long-length call in the target time period, according to the The central processor determines the corresponding system usage coefficient by using the ratio, and the sum/product of the ultra long talk coefficient and the system usage coefficient is used as the adjustment coefficient.
一种业务处理装置包括:A service processing device includes:
计时单元,设置为在当前通话接通后,启动计时。The timing unit is set to start timing after the current call is connected.
消息上报单元,设置为在所述通话结束前,在计时值达到子呼叫时长时,上报一次子话务统计消息并重新计时。The message reporting unit is configured to report a sub-traffic statistical message and re-time the time when the timing value reaches the sub-call duration before the end of the call.
一种话务统计装置,包括:消息接收单元,设置为接收业务处理装置上报的子话务统计消息。A traffic statistics device includes: a message receiving unit, configured to receive a sub-traffic statistical message reported by the service processing device.
统计单元,设置为将话务时长计入所述子话务统计消息落入的统计周期内,所述话务时长由所述统计单元从所述子话务统计消息中获得。And a statistical unit, configured to count the traffic duration into a statistical period in which the sub-traffic statistical message falls, and the traffic duration is obtained by the statistical unit from the sub-traffic statistical message.
一种话务统计系统,包括:业务处理装置和话务统计装置;A traffic statistics system includes: a service processing device and a traffic statistics device;
所述业务处理装置包括:The service processing device includes:
计时单元,设置为在当前通话接通后,启动计时。The timing unit is set to start timing after the current call is connected.
消息上报单元,设置为在所述通话结束前,在所述计时值达到子呼叫时长时,上报一次子话务统计消息并重新计时。The message reporting unit is configured to report a sub-traffic statistical message and re-time the time when the timing value reaches the sub-call duration before the end of the call.
话务统计装置包括:Traffic statistics devices include:
消息接收单元,设置为接收业务处理装置上报的所述子话务统计消息。The message receiving unit is configured to receive the sub-traffic statistics message reported by the service processing device.
统计单元,设置为将话务时长计入所述子话务统计消息落入的统计周期内,所述话务时长由所述统计单元从所述子话务统计消息中获得。And a statistical unit, configured to count the traffic duration into a statistical period in which the sub-traffic statistical message falls, and the traffic duration is obtained by the statistical unit from the sub-traffic statistical message.
可选地,所述系统还包括时长调整装置,所述时长调整装置设置为调整所述子呼叫时长。 Optionally, the system further includes a duration adjustment device, the duration adjustment device being configured to adjust the duration of the sub-call.
可选地,所述时长调整装置包括:决策单元和指令发送单元;所述业务处理装置还包括:指令接收单元和调整单元。Optionally, the duration adjustment apparatus includes: a decision unit and an instruction sending unit; the service processing apparatus further includes: an instruction receiving unit and an adjustment unit.
所述调整所述子呼叫时长包括:The adjusting the duration of the sub-call includes:
决策单元,设置为确定子呼叫目标时长值。The decision unit is set to determine the sub-call target duration value.
指令发送单元,设置为向业务处理装置发送调整指令。The command transmitting unit is configured to send an adjustment command to the service processing device.
指令接收单元,设置为接收所述指令发送单元发送的所述调整指令。The instruction receiving unit is configured to receive the adjustment instruction sent by the instruction sending unit.
调整单元,设置为根据所述调整指令将所述子呼叫时长的值调整为所述子呼叫目标时长值。And an adjusting unit configured to adjust the value of the sub-call duration to the sub-call target duration value according to the adjustment instruction.
可选地,所述决策单元包括:基础目标时长获取模块、调整系数获取模块和计算模块。Optionally, the determining unit includes: a basic target duration acquisition module, an adjustment coefficient acquisition module, and a calculation module.
所述确定所述子呼叫目标时长值包括:The determining the duration value of the sub-call target includes:
基础目标时长获取模块,设置为监测当前统计周期,获取基础目标时长。The base target duration acquisition module is set to monitor the current statistical period and obtain the base target duration.
调整系数获取模块,设置为监测目标时段内的超长通话占比获取调整系数,和/或监测中央处理器使用占比获取调整系数。The adjustment coefficient acquisition module is configured to monitor the super long call ratio acquisition adjustment coefficient in the target time period, and/or monitor the central processor usage ratio to obtain the adjustment coefficient.
计算模块,设置为将所述基础目标时长获取模块获取的所述基础目标时长与所述调整系数获取模块获取的所述调整系数相乘计算得出所述子呼叫目标时长值。And a calculation module, configured to calculate the sub-call target duration value by multiplying the base target duration obtained by the base target duration acquisition module by the adjustment coefficient acquired by the adjustment coefficient acquisition module.
可选地,所述调整系数获取模块包括第一子模块、第二子模块以及第三子模块三个中的一个或多个:Optionally, the adjustment coefficient acquisition module includes one or more of the first submodule, the second submodule, and the third submodule:
所述第一子模块设置为,监测目标时段内的超长通话占比获取调整系数。The first sub-module is configured to monitor an ultra-long call ratio acquisition adjustment coefficient in a target time period.
所述第一子模块监测目标时段内的超长通话占比获取调整系数包括:所述第一子模块监测目标时段内的超长通话占比,根据所述目标时段内的所述超长通话占比确定对应的超长通话系数,将所述超长通话系数作为所述调整系数。The first sub-module monitors the ultra-long call ratio acquisition adjustment coefficient in the target time period, including: the first sub-module monitors the ultra-long call proportion in the target time period, according to the ultra-long call in the target time period The ratio determines the corresponding super long talk coefficient, and the super long talk coefficient is used as the adjustment coefficient.
所述第二子模块设置为,监测中央处理器使用占比获取所述调整系数。The second submodule is configured to monitor the central processor to use the ratio to obtain the adjustment coefficient.
所述第二子模块监测中央处理器使用占比获取所述调整系数包括:所述第二子模块监测中央处理器使用占比,根据所述中央处理器使用占比确定对 应的系统使用系数,将所述系统使用系数作为所述调整系数。The second submodule monitors the central processor usage ratio to obtain the adjustment coefficient, the second submodule monitors a central processor usage ratio, and determines a pair according to the central processor usage ratio. The system usage factor is used, and the system usage coefficient is used as the adjustment coefficient.
所述第三子模块设置为,监测目标时段内的超长通话占比和中央处理器使用占比获取所述调整系数。The third sub-module is configured to acquire the adjustment coefficient by monitoring the proportion of the ultra-long call in the target time period and the proportion of the central processor usage.
所述第三子模块监测目标时段内的超长通话占比和中央处理器使用占比获取所述调整系数包括:所述第三子模块监测目标时段内的超长通话占比与中央处理器使用占比,根据所述目标时段内的所述超长通话占比确定对应的超长通话系数,根据所述中央处理器使用占比确定对应的系统使用系数,将所述超长通话系数与所述系统使用系数之和/积作为所述调整系数。The third sub-module monitors the ultra-long call proportion and the central processor usage ratio in the target time period to obtain the adjustment coefficient, including: the third sub-module monitors the ultra-long call proportion and the central processing unit in the target time period. Using a ratio, determining a corresponding long-length call coefficient according to the excess call ratio in the target time period, determining a corresponding system usage coefficient according to the usage ratio of the central processor, and using the super long call coefficient The system uses the sum/product of the coefficients as the adjustment factor.
本发明实施例的有益效果是:The beneficial effects of the embodiments of the present invention are:
本发明实施例提供的话务上报方法、话务统计方法、业务处理装置、话务统计装置以及业务统计系统,通过业务处理装置的计时,将通话时长超过子呼叫时长的通话划分成至少两个子呼叫,然后对发生在每个统计周期内的子呼叫通话时长进行统计,使得除通话结束时刻所对应的统计周期外的其他统计周期的话务时长不会为0,也不会同相关技术中一样,将整个通话的通话时长都累积到通话结束时刻所对应的统计周期中;因此,本发明实施例提供的话务上报方法、话务统计方法、业务处理装置、话务统计装置以及业务统计系统使得到的每个统计周期的通话时长更接近真实,提高了统计结果的准确性。The traffic reporting method, the traffic statistics method, the service processing device, the traffic statistics device, and the service statistics system provided by the embodiment of the present invention divide the call with the call duration longer than the sub-call duration into at least two sub-categories by the timing of the service processing device. Calling, and then counting the duration of the sub-calls that occur in each statistical period, so that the traffic duration of other statistical periods except the statistical period corresponding to the end of the call will not be 0, and will not be the same as in the related art. The call duration of the entire call is accumulated in the statistical period corresponding to the end of the call; therefore, the traffic reporting method, the traffic statistics method, the service processing device, the traffic statistics device, and the service statistics system provided by the embodiments of the present invention are provided. The call duration of each statistical period obtained is made closer to reality, and the accuracy of the statistical results is improved.
附图概述BRIEF abstract
图1为本发明实施例一提供的话务上报方法流程图;1 is a flowchart of a method for reporting a traffic according to Embodiment 1 of the present invention;
图2为本发明实施例二提供的话务统计方法流程图;2 is a flowchart of a traffic statistics method according to Embodiment 2 of the present invention;
图3为本发明实施例三提供的话务统计方法流程图;3 is a flowchart of a traffic statistics method according to Embodiment 3 of the present invention;
图4为本发明实施例三提供的子呼叫时长调整方法流程图;4 is a flowchart of a method for adjusting a sub-call duration according to Embodiment 3 of the present invention;
图5为本发明实施例四提供的业务处理装置示意图;FIG. 5 is a schematic diagram of a service processing apparatus according to Embodiment 4 of the present invention; FIG.
图6为本发明实施例五提供的话务统计装置示意图;FIG. 6 is a schematic diagram of a traffic statistics apparatus according to Embodiment 5 of the present invention; FIG.
图7为本发明实施例六提供的话务统计系统示意图;FIG. 7 is a schematic diagram of a traffic statistics system according to Embodiment 6 of the present invention; FIG.
图8为图7所示的话务统计系统中的业务处理装置示意图; 8 is a schematic diagram of a service processing apparatus in the traffic statistics system shown in FIG. 7;
图9为图7所示的话务统计系统中的话务统计装置示意图;9 is a schematic diagram of a traffic statistics device in the traffic statistics system shown in FIG. 7;
图10为本发明实施例六提供的话务统计系统示意图;10 is a schematic diagram of a traffic statistics system according to Embodiment 6 of the present invention;
图11为图10所示的决策单元中的调整系数模块示意图。11 is a schematic diagram of an adjustment coefficient module in the decision unit shown in FIG.
本发明的实施方式Embodiments of the invention
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
本发明实施例的主要构思是业务处理装置在通话接通后开始计时,当通话时长超过设定的子呼叫时长时,业务处理装置便将其划分成一个子呼叫,并向话务统计装置上报一个子话务统计消息,然后开始重新计时重复上报子话务统计消息的步骤,直至通话结束,话务统计装置将业务处理装置上报的子话务统计消息计入该消息落入的统计周期。The main idea of the embodiment of the present invention is that the service processing device starts timing after the call is connected. When the call duration exceeds the set sub-call duration, the service processing device divides it into a sub-call and reports it to the traffic statistics device. A sub-traffic statistics message is then re-timed to repeat the step of reporting the sub-traffic statistics message until the end of the call. The traffic statistics device counts the sub-traffic statistics reported by the service processing device into the statistical period in which the message falls.
实施例一:Embodiment 1:
本实施例提供一种话务上报方法,阐述在完成话务统计过程时,业务处理装置一端执行的步骤。内容请参考图1:This embodiment provides a method for reporting a traffic, and describes a step performed by one end of the service processing device when the traffic statistics process is completed. Please refer to Figure 1:
S101,业务处理装置在当前通话接通后,启动计时。S101. The service processing device starts timing after the current call is connected.
该步骤的计时是为了确定通话是否已经达到一个子呼叫时长,因此,只要能够达到该目的,计时的方式不受限制,可以采用定时器也可以采用计时器。一般地,业务处理装置在通话接通后还会上报一个子话务统计消息,用于话务统计装置统计接通率等指标,该子话务统计消息中可以包含主叫号码、被叫号码、消息类型、振铃时刻、接通时刻等,在这里消息类型指接通消息。The timing of this step is to determine whether the call has reached a sub-call duration. Therefore, as long as the purpose can be achieved, the timing is not limited, and a timer or a timer can be used. Generally, after the call is connected, the service processing device also reports a sub-traffic statistical message, which is used for the traffic statistics device to count the rate of the connection rate, and the sub-service statistics message may include the calling number and the called number. , message type, ringing time, on time, etc., where the message type refers to the connect message.
S102,业务处理装置在通话结束前,在计时值达到子呼叫时长时,上报一次子话务统计消息并重新计时。S102: Before the end of the call, the service processing device reports a sub-traffic statistical message and re-times when the timing value reaches the sub-call duration.
当采用定时器进行计时的时候,可以采用一个或者多个定时器来完成,只要总的定时时长与子呼叫时长相等即可,例如,如果子呼叫时长为300秒,那么可以采用一个定时时长为300秒的定时器来完成,也可以采用两个定时时长分别为130秒和170秒的定时器共同完成:当通话接通的时候,定时时长为130秒的定时器开始计时,当该定时器的定时结束后,触发定时时长为 170秒的定时器开始计时,当定时时长为170秒的定时器的定时结束,即为300秒的定时结束,这些定时的方式繁多,这里不再枚举。When the timer is used for counting, one or more timers may be used, as long as the total timing duration is equal to the duration of the sub-call. For example, if the sub-call duration is 300 seconds, a timing duration may be used. The 300-second timer is used to complete the timer. The two timers with a duration of 130 seconds and 170 seconds are used together. When the call is connected, the timer with a timer of 130 seconds starts to count. After the timing is over, the trigger timing is The 170-second timer starts counting. When the timer of the timer is 170 seconds, the timer ends. That is, the timing of 300 seconds ends. These timings are numerous and are not enumerated here.
当采用计时器进行计时的时候,当计时器的计时值达到子呼叫时长时,重新计时,这里的重新计时可以有多种实现方式,例如,可以选择将计时值全部清零,再一次从0开始计时,也可以选择不清除原计时值,直接从原计时值的基础上进行计时,当新的计时值与原计时值的差值达到一个子呼叫时长时,也同样视为完成一个子呼叫。When the timer is used for counting, when the timer value reaches the sub-call duration, it is re-timed. There can be multiple implementations of the re-clocking here. For example, you can choose to clear all the timing values, once again from 0. When starting timing, you can also choose not to clear the original timing value, and directly count from the original timing value. When the difference between the new timing value and the original timing value reaches a sub-call duration, it is also considered to complete a sub-call. .
上报子话务统计消息主要是为了使话务统计装置获取该子话务统计消息对应的子呼叫的话务时长,所以,上报的子话务统计消息可以有多种形式。例如,该子话务统计消息中可以包含其对应的子呼叫开始与结束的时间;子话务统计消息也可以只包含子呼叫时长,因为针对除了最后一个子呼叫以外的其他所有子呼叫,其话务时长都等于子呼叫时长;当然,上报最后一个子呼叫的子话务统计消息时,必须包含该子呼叫的开始时间与结束时间;除去上述体现子呼叫中话务时长的内容以外,子话务统计消息中还可以包含主叫号码、被叫号码、消息类型等内容,这里的消息类型指的是定时消息。The sub-office traffic statistics message is mainly used to enable the traffic statistics device to obtain the duration of the sub-call corresponding to the sub-traffic statistical message. Therefore, the reported sub-traffic statistical message may have various forms. For example, the sub-traffic statistics message may include the start and end times of the corresponding sub-calls; the sub-traffic statistics message may also include only the sub-call duration, because for all sub-calls except the last sub-call, The duration of the call is equal to the duration of the sub-call; of course, when reporting the sub-traffic statistics message of the last sub-call, the start time and the end time of the sub-call must be included; except for the content of the traffic duration in the sub-call, The traffic statistics message may also include a calling number, a called number, a message type, and the like, and the message type herein refers to a timing message.
实施例二:Embodiment 2:
本实施例提供一种话务统计方法,阐述在完成话务统计过程时,话务统计装置一侧执行的步骤,下面结合图2进行说明:This embodiment provides a traffic statistics method, and describes the steps performed by the traffic statistics device when completing the traffic statistics process, which is described below with reference to FIG. 2:
S201,话务统计装置接收业务处理装置上报的子话务统计消息。S201. The traffic statistics device receives the sub-service statistics message reported by the service processing device.
话务统计装置接收子呼叫完成后业务处理装置上报的子话务统计消息是为了获取该子呼叫对应的话务时长,进而统计在该子话务统计消息落入的统计周期内产生的话务时长,此外,话务统计装置还会接收通话接通后业务模块上报的话务统计消息,该话务统计消息是为了让话务统计装置统计接通率等指标,话务统计装置可以从该话务统计消息中获取主叫号码、被叫号码、消息类型、振铃时刻、接通时刻等信息,在这里消息类型指接通消息。The traffic statistics device receives the sub-service statistics message reported by the service processing device after the sub-call is completed, in order to obtain the traffic duration corresponding to the sub-call, and further collects the traffic generated in the statistical period in which the sub-traffic statistics message falls. The traffic statistics device also receives the traffic statistics message reported by the service module after the call is connected, and the traffic statistics message is used for the traffic statistics device to count the connection rate and the like, and the traffic statistics device can The traffic statistics message obtains information such as the calling number, the called number, the message type, the ringing time, and the time of the connection, where the message type refers to the connection message.
S202,话务统计装置将话务时长计入子话务统计消息落入的统计周期内,话务时长由话务统计装置从子话务统计消息中获得。S202: The traffic statistics device counts the traffic duration into a statistical period in which the sub-traffic statistics message falls, and the traffic duration is obtained by the traffic statistics device from the sub-traffic statistics message.
对应于实施例一中业务处理装置上报的子话务统计消息,话务统计装置 获取子呼叫话务时长的方式也有多种,如果业务处理装置上报的子话务统计消息中包含子呼叫的开始时间与结束时间,则话务统计装置需要获取这两个时间的差值作为上述子呼叫的话务时长,并将该话务时长计入上述子话务统计消息落入的统计周期内;如果子话务统计消息中包含其对应的子呼叫时长,则话务统计装置直接获取并计入该子话务统计消息落入的统计周期即可。Corresponding to the sub-traffic statistical message reported by the service processing device in the first embodiment, the traffic statistics device There are also various ways to obtain the duration of the sub-call traffic. If the sub-service statistics message reported by the service processing device includes the start time and the end time of the sub-call, the traffic statistics device needs to obtain the difference between the two times as the above. The traffic duration of the sub-call is counted in the statistical period in which the sub-traffic statistics message falls. If the sub-traffic statistics message includes the corresponding sub-call duration, the traffic statistics device directly obtains And it can be counted in the statistical period in which the sub-traffic statistics message falls.
当统计周期结束后,话务统计装置会输出该统计周期的话务统计报告,该报告中包含该统计周期内总的通话次数、接通次数、通话接通率以及该统计周期内产生的话务时长等信息。After the statistics period ends, the traffic statistics device outputs a traffic statistics report of the statistical period, where the report includes the total number of calls, the number of connections, the call completion rate, and the words generated during the statistical period. Information such as time.
实施例三:Embodiment 3:
本实施例提供一种话务统计方法,下面结合图3进行说明:This embodiment provides a traffic statistics method, which is described below in conjunction with FIG. 3:
S301,业务处理装置在当前通话接通后,启动计时。S301. The service processing device starts timing after the current call is connected.
计时是为了确定通话时长是否已经达到一个子呼叫时长,因此,只要能够达到该目的,计时的方式不受限制,可以采用定时器也可以采用计时器。一般地,业务处理装置在通话接通后还会上报一个话务统计消息,用于话务统计装置统计接通率等指标,该话务统计消息中可以包含主叫号码、被叫号码、消息类型、振铃时刻、接通时刻等,在这里消息类型指接通消息。The timing is to determine whether the duration of the call has reached a sub-call duration. Therefore, as long as the purpose can be achieved, the timing is not limited, and a timer or a timer can be used. Generally, after the call is connected, the service processing device also reports a traffic statistics message, which is used by the traffic statistics device to count the rate of the connection rate, and the traffic statistics message may include the calling number, the called number, and the message. Type, ringing time, turn-on time, etc., where the message type refers to the connect message.
S302,业务处理装置在通话结束前,在所述计时值达到子呼叫时长时,上报一次子话务统计消息并重新计时。S302: Before the end of the call, the service processing device reports a sub-traffic statistical message and re-times when the timed value reaches the sub-call duration.
当采用定时器进行计时的时候,可以采用一个或者多个定时器来完成,只要总的定时时长与子呼叫时长相等即可,例如,如果子呼叫时长为300秒,那么可以采用一个定时时长为300秒的定时器来完成,也可以采用两个定时时长分别为130秒和170秒的定时器共同完成:当通话接通的时候,定时时长为130秒的定时器开始计时,当该定时器的定时结束后,触发定时时长为170秒的定时器开始计时,当定时时长为170秒的定时器的定时结束,即为300秒的定时结束,这些定时的方式繁多,这里不再枚举。When the timer is used for counting, one or more timers may be used, as long as the total timing duration is equal to the duration of the sub-call. For example, if the sub-call duration is 300 seconds, a timing duration may be used. The 300-second timer is used to complete the timer. The two timers with a duration of 130 seconds and 170 seconds are used together. When the call is connected, the timer with a timer of 130 seconds starts to count. After the timing is finished, the timer with a timer duration of 170 seconds is started. When the timer of the timer is 170 seconds, the timer ends. The timing of 300 seconds ends. These timings are numerous and are not enumerated here.
当采用计时器进行计时的时候,当计时器的计时值达到子呼叫时长时,重新计时,这里的重新计时可以有多种实现方式,例如,可以选择将计时值全部清零,再一次从0开始计时,也可以选择不清除原计时值,直接从原计 时值的基础上进行计时,当新的计时值与原计时值的差值达到一个子呼叫时长时,也同样视为完成一个子呼叫。When the timer is used for counting, when the timer value reaches the sub-call duration, it is re-timed. There can be multiple implementations of the re-clocking here. For example, you can choose to clear all the timing values, once again from 0. Start timing, you can also choose not to clear the original timing value, directly from the original Timing is performed on the basis of the time value. When the difference between the new timing value and the original timing value reaches a sub-call duration, it is also considered to complete a sub-call.
业务处理装置上报的子话务统计消息主要是为了使话务统计装置获取该子话务统计消息对应的子呼叫的话务时长,所以,上报的子话务统计消息可以有多种形式。例如,该子话务统计消息中可以包含其对应的子呼叫开始与结束的时间;子话务统计消息也可以只包含子呼叫时长,因为针对除了最后一个子呼叫以外的其他所有子呼叫,其话务时长都等于子呼叫时长;当然,上报最后一个子呼叫的子话务统计消息时,必须包含该子呼叫的开始时间与结束时间;除去上述体现子呼叫中话务时长的内容以外,子话务统计消息中还可以包含主叫号码、被叫号码、消息类型等内容,这里的消息类型指的是定时消息。The sub-traffic statistics message reported by the service processing device is mainly used to enable the traffic statistics device to obtain the duration of the sub-call corresponding to the sub-traffic statistical message. Therefore, the reported sub-traffic statistical message may have various forms. For example, the sub-traffic statistics message may include the start and end times of the corresponding sub-calls; the sub-traffic statistics message may also include only the sub-call duration, because for all sub-calls except the last sub-call, The duration of the call is equal to the duration of the sub-call; of course, when reporting the sub-traffic statistics message of the last sub-call, the start time and the end time of the sub-call must be included; except for the content of the traffic duration in the sub-call, The traffic statistics message may also include a calling number, a called number, a message type, and the like, and the message type herein refers to a timing message.
S303,话务统计装置接收业务处理装置上报的子话务统计消息。S303. The traffic statistics device receives the sub-service statistics message reported by the service processing device.
话务统计装置接收子呼叫完成后业务处理装置上报的子话务统计消息是为了获取该子呼叫对应的话务时长,进而统计在该子话务统计消息落入的统计周期内产生的话务时长,此外,话务统计装置还会接收通话接通后业务模块上报的话务统计消息,该话务统计消息是为了让话务统计装置统计接通率等指标,话务统计装置可以从该话务统计消息中获取主叫号码、被叫号码、消息类型、振铃时刻、接通时刻等信息,在这里消息类型指接通消息。The traffic statistics device receives the sub-service statistics message reported by the service processing device after the sub-call is completed, in order to obtain the traffic duration corresponding to the sub-call, and further collects the traffic generated in the statistical period in which the sub-traffic statistics message falls. The traffic statistics device also receives the traffic statistics message reported by the service module after the call is connected, and the traffic statistics message is used for the traffic statistics device to count the connection rate and the like, and the traffic statistics device can The traffic statistics message obtains information such as the calling number, the called number, the message type, the ringing time, and the time of the connection, where the message type refers to the connection message.
S304,话务统计装置将话务时长计入子话务统计消息落入的统计周期内,话务时长由话务统计装置从子话务统计消息中获得。S304: The traffic statistics device counts the traffic duration into a statistical period in which the sub-traffic statistics message falls, and the traffic duration is obtained by the traffic statistics device from the sub-traffic statistics message.
对应于业务处理装置上报的子话务统计消息,话务统计装置获取子呼叫话务时长的方式也有多种,如果业务处理装置上报的子话务统计消息中包含子呼叫的开始时间与结束时间,则话务统计装置需要获取这两个时间的差值作为上述子呼叫的话务时长,并将该话务时长计入上述子话务统计消息落入的统计周期内;如果子话务统计消息中包含其对应的子呼叫时长,则话务统计装置直接获取并计入该子话务统计消息落入的统计周期即可。Corresponding to the sub-traffic statistics message reported by the service processing device, the manner in which the traffic statistics device obtains the sub-call traffic duration is also various. If the sub-service statistics message reported by the service processing device includes the start time and the end time of the sub-call. The traffic statistics device needs to obtain the difference between the two times as the duration of the call of the sub-call, and count the duration of the traffic into the statistical period in which the sub-traffic statistics message falls; if the sub-traffic statistics The message includes the corresponding sub-call duration, and the traffic statistics device directly obtains and counts the statistical period in which the sub-traffic statistical message falls.
当统计周期结束后,话务统计装置会输出该统计周期的话务统计报告,该报告中包含该统计周期内总的通话次数、接通次数、通话接通率以及该统计周期内产生的话务时长等信息。 After the statistics period ends, the traffic statistics device outputs a traffic statistics report of the statistical period, where the report includes the total number of calls, the number of connections, the call completion rate, and the words generated during the statistical period. Information such as time.
由于系统的情况并不是一成不变的,例如,节假日期间,人们可能会花更多的时间跟亲人朋友进行电话交流,因此,在这些时段内超长通话的占比可能会比较高,而在平常的日子中,超长通话的占比会相对较低;另外,系统的使用占比也在随时发生化,因此,可选地,本发明实施例还提供一种调整子呼叫的时长的机制,根据当前统计周期的时长、超长通话占比和系统使用占比对子呼叫的时长进行动态调整。Since the situation of the system is not static, for example, during the holidays, people may spend more time talking with friends and relatives. Therefore, the proportion of long-term calls during these periods may be higher, and in normal times. In the daytime, the proportion of the ultra-long call is relatively low. In addition, the usage ratio of the system is also generated at any time. Therefore, the embodiment of the present invention further provides a mechanism for adjusting the duration of the sub-call, according to The duration of the current statistical period, the proportion of long-length calls, and the proportion of system usage are dynamically adjusted for the length of the sub-call.
这里结合图4,调整子呼叫时长的过程可以为:Here, in conjunction with FIG. 4, the process of adjusting the length of the sub-call can be:
S401,确定子呼叫目标时长值。S401. Determine a sub-call target duration value.
首先,通过监测当前的统计周期,获取基础目标时长,基础目标时长小于或等于统计周期,从理论上来说,子呼叫时长越小,那么每一个统计周期统计的话务时长也就越接近于真实情况,同样的,为了确定子呼叫时长值而获取的基础目标时长也是越小越好,但在实际情况中,如果发送子话务统计消息的时间间隔太短,会给系统带来过重的负担,使系统失去原有的健壮性。因此,综合考虑统计的准确性与系统的健壮性,本实施例采用的基础目标时长小于统计周期,从工程经验来说,可以优选以下几种基础目标时长的设置方式:First, by monitoring the current statistical period, the base target duration is obtained, and the base target duration is less than or equal to the statistical period. In theory, the smaller the sub-call duration, the closer the traffic duration of each statistical period is to the real one. In the same situation, the base target duration obtained to determine the sub-call duration value is also as small as possible. However, in actual situations, if the time interval for sending sub-traffic statistics messages is too short, it will bring excessive weight to the system. Burden, the system loses its original robustness. Therefore, considering the accuracy of the statistics and the robustness of the system, the basic target duration used in this embodiment is smaller than the statistical period. From the engineering experience, the following basic target durations can be selected:
最小统计周期为5分钟时,将基础目标时长设置为240秒;When the minimum statistical period is 5 minutes, the base target duration is set to 240 seconds;
最小统计周期为15分钟时,将基础目标时长设置为810秒;When the minimum statistical period is 15 minutes, the base target duration is set to 810 seconds;
最小统计周期为30分钟时,将基础目标时长设置为1680秒;When the minimum statistical period is 30 minutes, the base target duration is set to 1680 seconds;
最小统计周期为60分钟时,将基础目标时长设置为3480秒;When the minimum statistical period is 60 minutes, the base target duration is set to 3480 seconds;
基础目标时长值可以直接作为子呼叫目标时长,但是考虑到维护系统的健壮性,本实施例还会获取一个调整调整系数,然后利用该调整系数与基础目标时长共同作用,确定出最优的子呼叫目标时长,该调整系数的获取方式有以下几种方式:The base target duration value can be directly used as the duration of the sub-call target. However, considering the robustness of the maintenance system, this embodiment also obtains an adjustment adjustment coefficient, and then uses the adjustment coefficient to cooperate with the base target duration to determine the optimal sub-function. The duration of the call target, the way to obtain the adjustment factor is as follows:
第一种,监测目标时段内的超长通话占比,根据目标时段内的超长通话占比确定对应的超长通话系数,将超长通话系数作为调整系数。The first type monitors the proportion of the ultra-long call in the target time period, determines the corresponding long-length call coefficient according to the proportion of the long-length call in the target time period, and uses the long-length call coefficient as the adjustment coefficient.
这里的超长通话指的是总的通话时长超过统计周期的通话,从工程经验来说,一般考虑将目标时段设置为过去72小时,即获取过去72小时内,通 话时间超过统计周期的通话次数在总的通话次数中的占比关系。在本实施例中,当过去72小时内的超长通话话务量占比大于0小于或等于15%,则超长通话系数为2;当过去72小时超长通话话务量占比大于15%小于或等于100%,则超长通话系数为1。The long-length call here refers to the call with the total call duration exceeding the statistical period. From the engineering experience, it is generally considered to set the target time period to the past 72 hours, that is, to obtain the past 72 hours. The proportion of the number of calls in which the voice time exceeds the statistical period is the total number of calls. In this embodiment, when the proportion of the long-length call traffic in the past 72 hours is greater than 0 or less than or equal to 15%, the long-length call coefficient is 2; when the past 72 hours, the long-term call traffic ratio is greater than 15 If % is less than or equal to 100%, the extra long call coefficient is 1.
第二种,监测中央处理器(Central Processing Unit:CPU)使用占比,根据CPU使用占比确定对应的系统使用系数,将系统使用系数作为调整系数。Secondly, monitoring the central processing unit (CPU) usage ratio, determining the corresponding system usage coefficient according to the CPU usage ratio, and using the system usage coefficient as the adjustment coefficient.
由于业务处理装置上报话务统计消息或者子话务统计消息的频率越高,CPU的负担就会越重,因此,当CPU的使用占比高的时候,可以通过降低业务处理装置上报话务统计消息或者子话务统计消息的方式来保证系统的稳健。一般,当CPU的使用占比大于等于0小于或者等于60%时,可以将系统使用系数设置为1;当CPU的使用占比大于60%小于或者等于85%时,可以将系统使用系数设置为2;当CPU的使用占比大于85%小于或者等于100%时,强制令系统使用系数为0,这时候,无论超长通话系数和基础目标时长为多少,子呼叫目标时长值都会为0,也就是说,当CPU的使用占比大于85%时,不再进行子话务统计消息的上报,这样做虽然在一定程度上牺牲了话务统计的准确性,却有效地保证了系统的性能。The higher the frequency of the traffic statistics message or the sub-service statistics message is reported by the service processing device, the heavier the CPU burden is. Therefore, when the CPU usage ratio is high, the service processing device can report the traffic statistics. The way the message or sub-traffic statistics message is used to ensure the stability of the system. Generally, when the CPU usage ratio is greater than or equal to 0 less than or equal to 60%, the system usage coefficient can be set to 1; when the CPU usage ratio is greater than 60% less than or equal to 85%, the system usage coefficient can be set to 2; When the CPU usage ratio is greater than 85% less than or equal to 100%, the system usage coefficient is forced to be 0. At this time, regardless of the long-length call coefficient and the base target duration, the sub-call target duration value will be 0. That is to say, when the usage ratio of the CPU is greater than 85%, the reporting of the sub-traffic statistics message is no longer performed, and although the accuracy of the traffic statistics is sacrificed to some extent, the performance of the system is effectively guaranteed. .
上面两种调整系数都只是考虑了CPU使用占比或目标时长内的超长通话占比中的一种,可选地,本发明实施例还提供一种综合考虑上述二者的调整系数:The above two adjustment factors only consider one of the CPU usage ratio or the ultra-long call ratio in the target duration. Optionally, the embodiment of the present invention further provides an adjustment factor that comprehensively considers the two:
第三种,监测目标时段内的超长通话占比与CPU使用占比,根据目标时段内的超长通话占比确定对应的超长通话系数,根据CPU使用占比确定对应的系统使用系数,将超长通话系数与系统使用系数之和/积作为调整系数。The third type is to monitor the ratio of the ultra-long call to the CPU usage in the target time period, determine the corresponding long-length call coefficient according to the proportion of the ultra-long call in the target time period, and determine the corresponding system usage coefficient according to the CPU usage ratio. The sum/product of the long talk coefficient and the system usage coefficient is used as the adjustment coefficient.
例如,当监测到CPU的使用占比为71%,过去72小时内超长通话占比为16%,那么系统使用系数为2,超长通话系数为1,则要得到调整系数,有这样两种方式:计算超长通话系数与系统使用系数之和作为调整系数,调整系数为3,或者计算超长通话系数与系统使用系数之积作为调整系数,调整系数为2。在这种情况下,确定子呼叫目标时长值的时候,同时考虑了统计周期、CPU使用占比与目标时长内的超长通话占比三个因素,考虑得更为全面,因而综合性能也更好。 For example, when the CPU usage ratio is 71%, and the long-term call ratio is 16% in the past 72 hours, then the system usage coefficient is 2, and the long-length call coefficient is 1, then the adjustment factor is required. One way: Calculate the sum of the extra long talk coefficient and the system use coefficient as the adjustment coefficient, the adjustment coefficient is 3, or calculate the product of the ultra long talk coefficient and the system use coefficient as the adjustment coefficient, and the adjustment coefficient is 2. In this case, when determining the duration value of the sub-call target, considering the three factors of the statistical period, the CPU usage ratio and the long-term call ratio within the target duration, the consideration is more comprehensive, and thus the overall performance is also more it is good.
毫无疑义的是,上面列举的所有数值都仅是工程经验数值,并不一定是最优的,更不是唯一的。获取到基础目标时长与调整系数后,将二者相乘即可获取子呼叫目标时长值。There is no doubt that all the values listed above are only engineering experience values, not necessarily optimal, and not unique. After obtaining the base target duration and adjustment factor, multiply the two to obtain the sub-call target duration value.
S402,向业务处理装置发送调整指令。S402. Send an adjustment instruction to the service processing device.
获取到子呼叫目标时长值之后,发送指令调整子呼叫时长,该指令中携带子呼叫目标时长值。After obtaining the sub-call target duration value, the sending instruction adjusts the sub-call duration, and the instruction carries the sub-call target duration value.
由于系统的情况是在实时变化的,因此,在对系统统计周期和目标时长内的超长通话占比以及CPU使用占比的进行实时监测时,获取的子呼叫目标时长值也是随时变化的,如果获取到子呼叫目标时长值之后立即发送指令改变子呼叫时长的话,系统的负担将会很大。可选地,还可以配置调整周期来周期性调整子呼叫时长,一般可以将调整周期设置为3600秒。设置调整周期既避免了频繁调整子呼叫时长给系统引入其他风险,同时,综合考虑一定时期内的多种情况更具宏观性,避免了因为小的突变就改变子呼叫时长的情况,使子呼叫时长的调整更具有意义。Since the situation of the system changes in real time, when the long-term call proportion in the system statistical period and the target duration and the CPU usage ratio are monitored in real time, the obtained sub-call target duration value also changes at any time. If the sub-call value is obtained immediately after the acquisition of the sub-call target value, the system load will be large. Optionally, an adjustment period may also be configured to periodically adjust the duration of the sub-call. Generally, the adjustment period may be set to 3600 seconds. Setting the adjustment period not only avoids the frequent adjustment of the sub-call duration to introduce other risks to the system, but also comprehensively considers the multiple situations in a certain period of time to be more macroscopic, avoiding the situation of changing the sub-call duration due to small mutations, and making sub-calls. The adjustment of the duration makes more sense.
S403,业务处理装置根据调整指令将子呼叫时长的值调整为子呼叫目标时长值。S403. The service processing device adjusts the value of the sub-call duration to the sub-call target duration value according to the adjustment command.
这种动态调整子呼叫时长的方式,综合考虑了多方面因素对子呼叫时长的影响,并辅以人工策略配置,让话务统计在统计的准确性和系统负荷间周期性的自动找平衡。This way of dynamically adjusting the length of the sub-call, comprehensively considers the impact of various factors on the duration of the sub-call, and supplements the manual policy configuration, so that the traffic statistics automatically find balance between the statistical accuracy and the system load.
实施例四:Embodiment 4:
本实施例提供一种业务处理装置,如图5所示:This embodiment provides a service processing apparatus, as shown in FIG. 5:
业务处理装置50包括计时单元501和消息上报单元502。The service processing device 50 includes a timing unit 501 and a message reporting unit 502.
计时单元501设置为在当前通话接通后,启动计时;消息上报单元502设置为在业务处理装置50在通话结束前,当计时值达到子呼叫时长时,上报一次子话务统计消息并重新计时。The timing unit 501 is configured to start timing after the current call is turned on; the message reporting unit 502 is configured to report a sub-traffic statistical message and re-clock when the timing value reaches the sub-call duration before the service processing device 50 ends the call. .
计时单元501计时是为了确定通话时长是否已经达到一个子呼叫时长,因此,只要能够达到该目的,计时的方式不受限制,可以采用定时器也可以采用计时器。 The timing unit 501 counts time to determine whether the duration of the call has reached a sub-call duration. Therefore, as long as the purpose can be achieved, the timing is not limited, and a timer or a timer can be used.
当采用定时器进行计时的时候,可以采用一个或者多个定时器来完成,只要总的定时时长与子呼叫时长相等即可,例如,如果子呼叫时长为300秒,那么可以采用一个定时时长为300秒的定时器来完成,也可以采用两个定时时长分别为130秒和170秒的定时器共同完成:当通话接通的时候,定时时长为130秒的定时器开始计时,当该定时器的定时结束后,触发定时时长为170秒的定时器开始计时,当定时时长为170秒的定时器的定时结束,即为300秒的定时结束,这些定时的方式繁多,这里不再枚举。When the timer is used for counting, one or more timers may be used, as long as the total timing duration is equal to the duration of the sub-call. For example, if the sub-call duration is 300 seconds, a timing duration may be used. The 300-second timer is used to complete the timer. The two timers with a duration of 130 seconds and 170 seconds are used together. When the call is connected, the timer with a timer of 130 seconds starts to count. After the timing is finished, the timer with a timer duration of 170 seconds is started. When the timer of the timer is 170 seconds, the timer ends. The timing of 300 seconds ends. These timings are numerous and are not enumerated here.
当采用计时器进行计时的时候,当计时器的计时值达到子呼叫时长时,重新计时,这里的重新计时可以有多种实现方式,例如,可以选择将计时值全部清零,再一次从0开始计时,也可以选择不清除原计时值,直接从原计时值的基础上进行计时,当新的计时值与原计时值的差值达到一个子呼叫时长时,也同样视为完成一个子呼叫。When the timer is used for counting, when the timer value reaches the sub-call duration, it is re-timed. There can be multiple implementations of the re-clocking here. For example, you can choose to clear all the timing values, once again from 0. When starting timing, you can also choose not to clear the original timing value, and directly count from the original timing value. When the difference between the new timing value and the original timing value reaches a sub-call duration, it is also considered to complete a sub-call. .
消息上报单元502上报子话务统计消息主要是为了使话务统计装置获取该子话务统计消息对应的子呼叫的话务时长,所以,上报的子话务统计消息可以有多种形式。例如,该子话务统计消息中可以包含其对应的子呼叫开始与结束的时间;子话务统计消息也可以只包含子呼叫时长,因为针对除了最后一个子呼叫以外的其他所有子呼叫,其话务时长都等于子呼叫时长;当然,上报最后一个子呼叫的子话务统计消息时,必须包含该子呼叫的开始时间与结束时间。一般地,业务处理装置在通话接通后还会上报一个话务统计消息,用于话务统计装置统计接通率等指标,该话务统计消息中可以包含主叫号码、被叫号码、消息类型、振铃时刻、接通时刻等,在这里消息类型指接通消息。The message reporting unit 502 reports the sub-service statistics message mainly for the traffic statistics device to obtain the duration of the sub-call corresponding to the sub-traffic statistical message. Therefore, the reported sub-traffic statistical message can have various forms. For example, the sub-traffic statistics message may include the start and end times of the corresponding sub-calls; the sub-traffic statistics message may also include only the sub-call duration, because for all sub-calls except the last sub-call, The duration of the traffic is equal to the duration of the sub-call; of course, when reporting the sub-traffic statistics of the last sub-call, the start time and end time of the sub-call must be included. Generally, after the call is connected, the service processing device also reports a traffic statistics message, which is used by the traffic statistics device to count the rate of the connection rate, and the traffic statistics message may include the calling number, the called number, and the message. Type, ringing time, turn-on time, etc., where the message type refers to the connect message.
实施例五:Embodiment 5:
本实施例提供一种话务统计装置,下面结合图6进行说明:This embodiment provides a traffic statistics device, which is described below with reference to FIG. 6:
话务统计装置60包括消息接收单元601和统计单元602。The traffic statistics device 60 includes a message receiving unit 601 and a statistics unit 602.
消息接收单元601设置为接收业务处理装置上报的子话务统计消息;统计单元602设置为将话务时长计入子话务统计消息落入的统计周期内,话务时长由统计单元602从子话务统计消息中获得。The message receiving unit 601 is configured to receive the sub-traffic statistical message reported by the service processing device; the statistic unit 602 is configured to count the traffic duration into the statistical period in which the sub-traffic statistical message falls, and the traffic duration is determined by the statistic unit 602. Obtained in the traffic statistics message.
消息接收单元601接收子呼叫完成后业务处理装置上报的子话务统计消 息是为了让统计单元602获取该子呼叫对应的话务时长,进而统计在该子话务统计消息落入的统计周期内产生的话务时长,此外,消息接收单元601还会接收通话接通后业务模块上报的话务统计消息,该话务统计消息是为了让统计单元602统计接通率等指标,统计单元602可以从该话务统计消息中获取主叫号码、被叫号码、消息类型、振铃时刻、接通时刻等信息,在这里消息类型指接通消息。The message receiving unit 601 receives the sub-traffic statistics reported by the service processing device after the sub-call is completed. The message unit 602 is configured to obtain the traffic duration corresponding to the sub-call, and then count the traffic duration generated in the statistical period in which the sub-traffic statistics message falls. In addition, the message receiving unit 601 also receives the call connection. The traffic statistics message is reported by the service module. The traffic statistics message is used to enable the statistics unit 602 to collect statistics such as the connection rate. The statistics unit 602 can obtain the calling number, the called number, and the message type from the traffic statistics message. Information such as ringing time, switching time, etc., where the message type refers to the connection message.
对应于实施例一中业务处理装置上报的子话务统计消息,统计单元602获取子呼叫话务时长的方式也有多种,如果业务处理装置上报的子话务统计消息中包含子呼叫的开始时间与结束时间,则统计单元602需要获取这两个时间的差值作为上述子呼叫的话务时长,并将该话务时长计入上述子话务统计消息落入的统计周期内;如果子话务统计消息中包含其对应的子呼叫时长,则统计单元602直接获取并计入该子话务统计消息落入的统计周期即可;除去上述体现子呼叫中话务时长的内容以外,子话务统计消息中还可以包含主叫号码、被叫号码、消息类型等内容,这里的消息类型指的是定时消息。Corresponding to the sub-traffic statistics message reported by the service processing device in the first embodiment, the statistics unit 602 obtains the sub-call traffic duration in a plurality of manners, if the sub-call statistics report message reported by the service processing device includes the start time of the sub-call. And the end time, the statistics unit 602 needs to obtain the difference between the two times as the traffic duration of the sub-call, and count the traffic duration into the statistical period in which the sub-traffic statistics message falls; The statistics unit 602 directly acquires and counts the statistical period in which the sub-traffic statistics message falls in, and removes the content of the traffic duration in the sub-call. The service statistics message may also include the calling number, the called number, the message type, and the like, and the message type herein refers to the timing message.
当统计周期结束后,统计单元602会输出该统计周期的话务统计报告,该报告中包含该统计周期内总的通话次数、接通次数、通话接通率以及该统计周期内产生的话务时长等信息。After the statistics period ends, the statistics unit 602 outputs a traffic statistics report of the statistical period, where the report includes the total number of calls, the number of connections, the call completion rate, and the traffic generated during the statistical period. Information such as duration.
实施例六:Example 6:
本实施例提供一种话务统计系统,请参考图7:This embodiment provides a traffic statistics system, please refer to FIG. 7:
话务统计系统70包括业务处理装置71和话务统计装置72。The traffic statistics system 70 includes a service processing device 71 and a traffic statistics device 72.
如图8所示,业务处理装置71包括设置为在当前通话接通后,启动计时的计时单元711和消息上报单元712,消息上报单元712设置为在通话结束前,当计时值达到子呼叫时长时,上报一次子话务统计消息并重新计时;As shown in FIG. 8, the service processing apparatus 71 includes a timing unit 711 and a message reporting unit 712 that are set to start timing after the current call is turned on, and the message reporting unit 712 is set to wait for the sub-call duration before the end of the call. When reporting a sub-traffic statistics message and re-clocking;
计时单元711计时是为了确定通话时长是否已经达到一个子呼叫时长,因此,只要能够达到该目的,计时的方式不受限制,可以采用定时器也可以采用计时器。The timing unit 711 counts time to determine whether the length of the call has reached a sub-call duration. Therefore, as long as the purpose can be achieved, the timing is not limited, and a timer or a timer can be used.
当采用定时器进行计时的时候,可以采用一个或者多个定时器来完成,只要总的定时时长与子呼叫时长相等即可,例如,如果子呼叫时长为300秒, 那么可以采用一个定时时长为300秒的定时器来完成,也可以采用两个定时时长分别为130秒和170秒的定时器共同完成:当通话接通的时候,定时时长为130秒的定时器开始计时,当该定时器的定时结束后,触发定时时长为170秒的定时器开始计时,当定时时长为170秒的定时器的定时结束,即为300秒的定时结束,这些定时的方式繁多,这里不再枚举。When the timer is used for counting, one or more timers may be used, as long as the total timing duration is equal to the duration of the sub-call, for example, if the sub-call duration is 300 seconds, Then, it can be completed by using a timer with a duration of 300 seconds. It can also be completed by two timers with a duration of 130 seconds and 170 seconds respectively. When the call is connected, the timer is 130 seconds. Start timing. When the timer expires, the timer with a timer duration of 170 seconds starts to count. When the timer has a timing of 170 seconds, the timer ends. That is, the timing of 300 seconds ends. , no longer enumerated here.
当采用计时器进行计时的时候,当计时器的计时值达到子呼叫时长时,重新计时,这里的重新计时可以有多种实现方式,例如,可以选择将计时值全部清零,再一次从0开始计时,也可以选择不清除原计时值,直接从原计时值的基础上进行计时,当新的计时值与原计时值的差值达到一个子呼叫时长时,也同样视为完成一个子呼叫。When the timer is used for counting, when the timer value reaches the sub-call duration, it is re-timed. There can be multiple implementations of the re-clocking here. For example, you can choose to clear all the timing values, once again from 0. When starting timing, you can also choose not to clear the original timing value, and directly count from the original timing value. When the difference between the new timing value and the original timing value reaches a sub-call duration, it is also considered to complete a sub-call. .
子呼叫时长的调整完成后,业务处理装置就可根据计时值上报子话务统计消息了,上报的子话务统计消息主要是为了使话务统计装置获取该子话务统计消息对应的子呼叫的话务时长,所以,上报的子话务统计消息可以有多种形式。例如,该子话务统计消息中可以包含其对应的子呼叫开始与结束的时间;子话务统计消息也可以只包含子呼叫时长,因为针对除了最后一个子呼叫以外的其他所有子呼叫,其话务时长都等于子呼叫时长;当然,上报最后一个子呼叫的子话务统计消息时,必须包含该子呼叫的开始时间与结束时间。一般地,业务处理装置在通话接通后还会上报一个话务统计消息,设置为话务统计装置统计接通率等指标,该话务统计消息中可以包含主叫号码、被叫号码、消息类型、振铃时刻、接通时刻等,在这里消息类型指接通消息。After the adjustment of the sub-call duration is completed, the service processing device may report the sub-traffic statistics message according to the timing value, and the reported sub-traffic statistics message is mainly for enabling the traffic statistics device to obtain the sub-call corresponding to the sub-traffic statistical message. The traffic time is long, so the reported sub-communication statistics can take many forms. For example, the sub-traffic statistics message may include the start and end times of the corresponding sub-calls; the sub-traffic statistics message may also include only the sub-call duration, because for all sub-calls except the last sub-call, The duration of the traffic is equal to the duration of the sub-call; of course, when reporting the sub-traffic statistics of the last sub-call, the start time and end time of the sub-call must be included. Generally, after the call is connected, the service processing device also reports a traffic statistics message, which is set to a traffic statistics device, such as a statistics of the connection rate, and the traffic statistics message may include a calling number, a called number, and a message. Type, ringing time, turn-on time, etc., where the message type refers to the connect message.
请结合图9,话务统计装置72包括消息接收单元721和统计单元722,消息接收单元721设置为接收业务处理装置上报的子话务统计消息。Referring to FIG. 9, the traffic statistics device 72 includes a message receiving unit 721 and a statistics unit 722. The message receiving unit 721 is configured to receive the sub-traffic statistics message reported by the service processing device.
消息接收单元721接收子呼叫完成后业务处理装置上报的子话务统计消息是为了获取该子呼叫对应的话务时长,进而统计在该子话务统计消息落入的统计周期内产生的话务时长,此外,话务统计装置还会接收通话接通后业务模块上报的话务统计消息,该话务统计消息是为了让话务统计装置统计接通率等指标,话务统计装置可以从该话务统计消息中获取主叫号码、被叫号码、消息类型、振铃时刻、接通时刻等信息,在这里消息类型指接通消息。The message receiving unit 721 receives the sub-service statistics message reported by the service processing device after the sub-call is completed, in order to obtain the traffic duration corresponding to the sub-call, and further collects the traffic generated in the statistical period in which the sub-traffic statistics message falls. The traffic statistics device also receives the traffic statistics message reported by the service module after the call is connected, and the traffic statistics message is used for the traffic statistics device to count the connection rate and the like, and the traffic statistics device can The traffic statistics message obtains information such as the calling number, the called number, the message type, the ringing time, and the time of the connection, where the message type refers to the connection message.
统计单元722将话务时长计入子话务统计消息落入的统计周期内,话务 时长由话务统计装置从子话务统计消息中获得。The statistics unit 722 counts the traffic duration into the statistical period in which the sub-traffic statistics message falls, and the traffic The duration is obtained from the traffic statistics message by the traffic statistics device.
对应于业务处理装置上报的子话务统计消息,统计单元722获取子呼叫话务时长的方式也有多种,如果业务处理装置上报的子话务统计消息中包含子呼叫的开始时间与结束时间,则统计单元722需要获取这两个时间的差值作为上述子呼叫的话务时长,并将该话务时长计入上述子话务统计消息落入的统计周期内;如果子话务统计消息中包含其对应的子呼叫时长,则统计单元722直接获取并计入该子话务统计消息落入的统计周期即可。Corresponding to the sub-traffic statistics message reported by the service processing device, the statistics unit 722 obtains the sub-call traffic duration in a plurality of manners. If the sub-service statistics message reported by the service processing device includes the start time and the end time of the sub-call, The statistics unit 722 needs to obtain the difference between the two times as the traffic duration of the sub-call, and count the traffic duration into the statistical period in which the sub-traffic statistics message falls; if the sub-traffic statistics message is included If the corresponding sub-call duration is included, the statistics unit 722 directly obtains and counts the statistical period in which the sub-traffic statistical message falls.
当统计周期结束后,统计单元722还会输出该统计周期的话务统计报告,该报告中包含该统计周期内总的通话次数、接通次数、通话接通率以及该统计周期内产生的话务时长等信息。After the statistics period ends, the statistics unit 722 also outputs a traffic statistics report of the statistical period, where the report includes the total number of calls, the number of connections, the call completion rate, and the words generated in the statistical period. Information such as time.
由于系统的情况并不是一成不变的,例如,节假日期间,人们可能会花更多的时间跟亲人朋友进行电话交流,因此,在这些时段内超长通话的占比可能会比较高,而在平常的日子中,超长通话的占比会相对较低;另外,系统的使用占比也在随时发生化,因此,可选地,本实施例还提供一种话务统计系统70,如图10所示,该话务统计系统70包括业务处理装置71、话务统计装置72以及时长调整装置73,时长调整装置73设置为根据当前统计周期的时长、超长通话占比和系统使用占比对子呼叫的时长进行动态调整。Since the situation of the system is not static, for example, during the holidays, people may spend more time talking with friends and relatives. Therefore, the proportion of long-term calls during these periods may be higher, and in normal times. In the daytime, the proportion of the ultra-long call is relatively low; in addition, the usage ratio of the system is also generated at any time. Therefore, the embodiment further provides a traffic statistics system 70, as shown in FIG. The traffic statistics system 70 includes a service processing device 71, a traffic statistics device 72, and a duration adjustment device 73. The duration adjustment device 73 is configured to match the duration of the current statistical period, the proportion of the long-length call, and the system usage ratio. The duration of the call is dynamically adjusted.
该话务统计系统70中的时长调整装置73包括决策单元731、指令发送单元732;业务处理装置71包括计时单元711和消息上报单元712,以及指令接受单元713和调整单元714。决策单元731确定子呼叫目标时长值,然后将子呼叫目标时长值携带在调整指令中发送给业务处理装置71中的指令接受单元713,指令接受单元713接收到调整指令后,由调整单元714根据调整指令中的子呼叫目标时长值调整子呼叫时长。The duration adjustment device 73 in the traffic statistics system 70 includes a decision unit 731 and an instruction transmission unit 732. The service processing device 71 includes a timing unit 711 and a message reporting unit 712, and an instruction accepting unit 713 and an adjusting unit 714. The decision unit 731 determines the sub-call target duration value, and then carries the sub-call target duration value in the adjustment instruction to the instruction accepting unit 713 in the service processing apparatus 71. After receiving the adjustment instruction, the instruction accepting unit 713 is The sub-call target duration value in the adjustment command adjusts the sub-call duration.
时长调整装置73的决策单元731设置为确定子呼叫目标时长值,决策单元731包括基础目标时长获取模块1001、调整系数获取模块1002和计算模块1003。The decision unit 731 of the duration adjustment device 73 is set to determine the sub-call target duration value, and the decision unit 731 includes a base target duration acquisition module 1001, an adjustment coefficient acquisition module 1002, and a calculation module 1003.
基础目标时长获取模块1001通过监测当前的统计周期,获取基础目标时长,基础目标时长小于或等于统计周期,从理论上来说,子呼叫时长越小,那么每一个统计周期统计的话务时长也就越接近于真实情况,同样的,为了 确定子呼叫时长值而获取的基础目标时长也是越小越好,但在实际情况中,如果发送子话务统计消息的时间间隔太短,会给系统带来过重的负担,使系统失去原有的健壮性。因此,综合考虑统计的准确性与系统的健壮性,本实施例采用的基础目标时长小于统计周期,从工程经验来说,可以选择以下几种基础目标时长的设置方式:The basic target duration acquisition module 1001 obtains the base target duration by monitoring the current statistical period, and the base target duration is less than or equal to the statistical period. In theory, the smaller the sub-call duration, the traffic duration of each statistical period is also calculated. The closer to the real situation, the same, in order to The base target length obtained by determining the sub-call duration value is also as small as possible. However, in actual situations, if the time interval for sending sub-traffic statistics messages is too short, the system will be overburdened and the system will be lost. Some are robust. Therefore, considering the accuracy of the statistics and the robustness of the system, the basic target duration used in this embodiment is less than the statistical period. From the engineering experience, the following basic target durations can be selected:
最小统计周期为5分钟时,将基础目标时长设置为240秒;When the minimum statistical period is 5 minutes, the base target duration is set to 240 seconds;
最小统计周期为15分钟时,将基础目标时长设置为810秒;When the minimum statistical period is 15 minutes, the base target duration is set to 810 seconds;
最小统计周期为30分钟时,将基础目标时长设置为1680秒;When the minimum statistical period is 30 minutes, the base target duration is set to 1680 seconds;
最小统计周期为60分钟时,将基础目标时长设置为3480秒;When the minimum statistical period is 60 minutes, the base target duration is set to 3480 seconds;
基础目标时长值可以直接作为子呼叫目标时长,但是考虑到进一步维护系统的健壮性,本实施例还会由调整系数模块1002获取一个调整调整系数,然后利用该调整系数与基础目标时长共同作用,确定出最优的子呼叫目标时长,请参考图11,调整系数模块1002可以包括第一子模块10021、第二子模块10022以及第三子模块10023三个中的至少一个:The base target duration value can be directly used as the sub-call target duration, but in consideration of the robustness of the further maintenance system, the embodiment further obtains an adjustment adjustment coefficient by the adjustment coefficient module 1002, and then uses the adjustment coefficient to interact with the base target duration. The optimal sub-call target duration is determined. Referring to FIG. 11 , the adjustment coefficient module 1002 may include at least one of the first sub-module 10021 , the second sub-module 10022 , and the third sub-module 10023 :
第一子模块10021,监测目标时段内的超长通话占比,根据目标时段内的超长通话占比确定对应的超长通话系数,将超长通话系数作为调整系数。The first sub-module 10021 monitors the proportion of the ultra-long call in the target time period, determines the corresponding long-length call coefficient according to the proportion of the ultra-long call in the target time period, and uses the long-length call coefficient as the adjustment coefficient.
这里的超长通话指的是总的通话时长超过统计周期的通话,从工程经验来说,一般考虑将目标时段设置为过去72小时,即获取过去72小时内,通话时间超过统计周期的通话次数在总的通话次数中的占比关系。在本实施例中,当过去72小时内的超长通话话务量占比大于0小于或等于15%,则超长通话系数为2;当过去72小时超长通话话务量占比大于15%小于或等于100%,则超长通话系数为1。The long-length call here refers to the call with the total call duration exceeding the statistical period. From the engineering experience, it is generally considered to set the target time period to the past 72 hours, that is, to obtain the number of calls that have exceeded the statistical period in the past 72 hours. The proportion of the total number of calls. In this embodiment, when the proportion of the long-length call traffic in the past 72 hours is greater than 0 or less than or equal to 15%, the long-length call coefficient is 2; when the past 72 hours, the long-term call traffic ratio is greater than 15 If % is less than or equal to 100%, the extra long call coefficient is 1.
第二子模块10022,监测中央处理器(Central Processing Unit:CPU)使用占比,根据CPU使用占比确定对应的系统使用系数,将系统使用系数作为调整系数。The second sub-module 10022 monitors the usage ratio of the central processing unit (CPU), determines the corresponding system usage coefficient according to the CPU usage ratio, and uses the system usage coefficient as the adjustment coefficient.
由于业务处理装置上报话务统计消息或者子话务统计消息的频率越高,CPU的负担就会越重,因此,当CPU的使用占比高的时候,可以通过降低业务处理装置上报话务统计消息或者子话务统计消息的方式来保证系统的稳 健。一般,当CPU的使用占比大于等于0小于或者等于60%时,可以将系统使用系数设置为1;当CPU的使用占比大于60%小于或者等于85%时,可以将系统使用系数设置为2;当CPU的使用占比大于85%小于或者等于100%时,强制令系统使用系数为0,这时候,无论超长通话系数和基础目标时长为多少,子呼叫目标时长值都会为0,也就是说,当CPU的使用占比大于85%时,不再进行子话务统计消息的上报,这样做虽然在一定程度上牺牲了话务统计的准确性,却有效地保证了系统的性能。The higher the frequency of the traffic statistics message or the sub-service statistics message is reported by the service processing device, the heavier the CPU burden is. Therefore, when the CPU usage ratio is high, the service processing device can report the traffic statistics. Message or sub-traffic statistics to ensure the stability of the system Jian. Generally, when the CPU usage ratio is greater than or equal to 0 less than or equal to 60%, the system usage coefficient can be set to 1; when the CPU usage ratio is greater than 60% less than or equal to 85%, the system usage coefficient can be set to 2; When the CPU usage ratio is greater than 85% less than or equal to 100%, the system usage coefficient is forced to be 0. At this time, regardless of the long-length call coefficient and the base target duration, the sub-call target duration value will be 0. That is to say, when the usage ratio of the CPU is greater than 85%, the reporting of the sub-traffic statistics message is no longer performed, and although the accuracy of the traffic statistics is sacrificed to some extent, the performance of the system is effectively guaranteed. .
上面的第一子模块10021和第二子模块10022在获取调整系数时都只是考虑了CPU使用占比或目标时长内的超长通话占比中的一种,优选地,本发明还提供第三子模块10023,第三子模块10023综合考虑上述CPU使用占比或目标时长内的超长通话占比来获取调整系数:The first sub-module 10021 and the second sub-module 10022 above only consider one of the CPU usage ratio or the ultra-long call proportion in the target duration when acquiring the adjustment coefficient. Preferably, the present invention further provides a third. The sub-module 10023, the third sub-module 10023 comprehensively considers the CPU usage ratio or the ultra-long call proportion in the target duration to obtain the adjustment coefficient:
第三子模块10023,监测目标时段内的超长通话占比与CPU使用占比,根据目标时段内的超长通话占比确定对应的超长通话系数,根据CPU使用占比确定对应的系统使用系数,将超长通话系数与系统使用系数之和/积作为调整系数。The third sub-module 10023 monitors the proportion of the ultra-long call and the CPU usage in the target time period, determines the corresponding long-length call coefficient according to the proportion of the ultra-long call in the target time period, and determines the corresponding system usage according to the CPU usage ratio. The coefficient is the adjustment coefficient of the sum/product of the long-length call coefficient and the system use coefficient.
例如,当第三子模块10023监测到CPU的使用占比为71%,过去72小时内超长通话占比为16%,那么系统使用系数为2,超长通话系数为1,则要得到调整系数,有这样两种方式:计算超长通话系数与系统使用系数之和作为调整系数,调整系数为3,或者计算超长通话系数与系统使用系数之积作为调整系数,调整系数为2。在这种情况下,确定子呼叫目标时长值的时候,同时考虑了统计周期、CPU使用占比与目标时长内的超长通话占比三个因素,考虑得更为全面,因而综合性能也更好。For example, when the third sub-module 10023 monitors that the CPU usage ratio is 71%, and the long-term call ratio is 16% in the past 72 hours, the system usage coefficient is 2, and the long-length call coefficient is 1, and the adjustment is to be made. There are two ways to calculate the coefficient: calculate the sum of the super long talk coefficient and the system use coefficient as the adjustment coefficient, the adjustment coefficient is 3, or calculate the product of the extra long talk coefficient and the system use coefficient as the adjustment coefficient, and the adjustment coefficient is 2. In this case, when determining the duration value of the sub-call target, considering the three factors of the statistical period, the CPU usage ratio and the long-term call ratio within the target duration, the consideration is more comprehensive, and thus the overall performance is also more it is good.
毫无疑义的是,上面列举的所有数值都仅是工程经验数值,并不一定是最优的,更不是唯一的。获取到基础目标时长与调整系数后,将二者相乘即可获取子呼叫目标时长值。There is no doubt that all the values listed above are only engineering experience values, not necessarily optimal, and not unique. After obtaining the base target duration and adjustment factor, multiply the two to obtain the sub-call target duration value.
获取到子呼叫目标时长值之后,指令发送单元732发送指令指示业务处理装置调整子呼叫时长,该指令中携带子呼叫目标时长值。After the sub-call target duration value is obtained, the command sending unit 732 sends an instruction to instruct the service processing device to adjust the sub-call duration, where the sub-call target duration value is carried in the instruction.
由于系统的情况是在实时变化的,因此,在对系统统计周期和目标时长内的超长通话占比以及CPU使用占比的进行实时监测时,获取的子呼叫目标 时长值也是随时变化的,如果获取到子呼叫目标时长值之后立即发送指令改变子呼叫时长的话,系统的负担将会很大。可选地,还可以配置调整周期来周期性调整子呼叫时长,一般可以将调整周期设置为3600秒。设置调整周期既避免了频繁调整子呼叫时长给系统引入其他风险,同时,综合考虑一定时期内的多种情况更具宏观性,避免了因为小的突变就改变子呼叫时长的情况,使子呼叫时长的调整更具有意义。这种动态调整子呼叫时长的方式,综合考虑了多方面因素对子呼叫时长的影响,并辅以人工策略配置,让话务统计在统计的准确性和系统负荷间周期性的自动找平衡。Since the situation of the system changes in real time, when the real-time monitoring of the long-term call proportion and the CPU usage ratio in the system statistical period and the target duration is obtained, the acquired sub-call target is acquired. The duration value also changes at any time. If the sub-call target is sent immediately after the length of the sub-call target is sent, the system will be burdened. Optionally, an adjustment period may also be configured to periodically adjust the duration of the sub-call. Generally, the adjustment period may be set to 3600 seconds. Setting the adjustment period not only avoids the frequent adjustment of the sub-call duration to introduce other risks to the system, but also comprehensively considers the multiple situations in a certain period of time to be more macroscopic, avoiding the situation of changing the sub-call duration due to small mutations, and making sub-calls. The adjustment of the duration makes more sense. This way of dynamically adjusting the length of the sub-call, comprehensively considers the impact of various factors on the duration of the sub-call, and supplements the manual policy configuration, so that the traffic statistics automatically find balance between the statistical accuracy and the system load.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现所述的话务上报方法和所述的话务统计方法。A computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the traffic reporting method and the traffic statistics method.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
本发明实施例提供的话务上报方法、话务统计方法、业务处理装置、话务统计装置以及业务统计系统,通过业务处理装置的计时,将通话时长超过子呼叫时长的通话划分成至少两个子呼叫,然后对发生在每个统计周期内的子呼叫通话时长进行统计,使得除通话结束时刻所对应的统计周期外的其他 统计周期的话务时长不会为0,也不会同相关技术中一样,将整个通话的通话时长都累积到通话结束时刻所对应的统计周期中;因此,本发明实施例提供的话务上报方法、话务统计方法、业务处理装置、话务统计装置以及业务统计系统使得到的每个统计周期的通话时长更接近真实,提高了统计结果的准确性。 The traffic reporting method, the traffic statistics method, the service processing device, the traffic statistics device, and the service statistics system provided by the embodiment of the present invention divide the call with the call duration longer than the sub-call duration into at least two sub-categories by the timing of the service processing device. Call, and then count the duration of the sub-calls that occur in each statistical period, so that the statistics period other than the end time of the call is The traffic duration of the statistic period is not 0, and the call duration of the entire call is accumulated in the statistic period corresponding to the end of the call in the same manner as in the related art. Therefore, the traffic reporting method provided by the embodiment of the present invention is provided. The traffic statistics method, the service processing device, the traffic statistics device, and the service statistics system make the call duration of each statistical cycle closer to reality, and improve the accuracy of the statistical results.

Claims (15)

  1. 一种话务上报方法,包括:A method for reporting traffic, including:
    业务处理装置在当前通话接通后,启动计时;The service processing device starts timing after the current call is connected;
    所述业务处理装置在所述通话结束前,在计时值达到子呼叫时长时,上报一次子话务统计消息并重新计时。The service processing device reports a sub-traffic statistical message and re-times when the timing value reaches the sub-call duration before the end of the call.
  2. 一种话务统计方法,包括:A traffic statistics method includes:
    话务统计装置接收业务处理装置上报的子话务统计消息;The traffic statistics device receives the sub-traffic statistical message reported by the service processing device;
    所述话务统计装置将话务时长计入所述子话务统计消息落入的统计周期内,所述话务时长由所述话务统计装置从所述子话务统计消息中获得。The traffic statistics device counts the traffic duration into a statistical period in which the sub-traffic statistics message falls, and the traffic duration is obtained by the traffic statistics device from the sub-traffic statistics message.
  3. 一种话务统计方法,包括:A traffic statistics method includes:
    业务处理装置在当前通话接通后,启动计时;The service processing device starts timing after the current call is connected;
    业务处理装置在所述通话结束前,在计时值达到子呼叫时长时,上报一次子话务统计消息并重新计时;The service processing device reports a sub-traffic statistical message and re-times when the timing value reaches the sub-call duration before the end of the call;
    话务统计装置接收所述业务处理装置上报的所述子话务统计消息;Receiving, by the traffic statistics device, the sub-traffic statistical message reported by the service processing device;
    所述话务统计装置将话务时长计入所述子话务统计消息落入的统计周期内,所述话务时长由所述话务统计装置从所述子话务统计消息中获得。The traffic statistics device counts the traffic duration into a statistical period in which the sub-traffic statistics message falls, and the traffic duration is obtained by the traffic statistics device from the sub-traffic statistics message.
  4. 如权利要求3所述的话务统计方法,所述方法还包括:调整所述子呼叫时长。The traffic statistics method of claim 3, the method further comprising: adjusting the sub-call duration.
  5. 如权利要求4所述的话务统计方法,其中,所述调整所述子呼叫时长包括:The traffic statistics method according to claim 4, wherein said adjusting said sub-call duration comprises:
    确定子呼叫目标时长值;Determining the length of the sub-call target;
    向业务处理装置发送调整指令;Sending an adjustment instruction to the business processing device;
    所述业务处理装置根据调整指令将所述子呼叫时长的值调整为所述子呼叫目标时长值。The service processing device adjusts the value of the sub-call duration to the sub-call target duration value according to the adjustment command.
  6. 如权利要求5所述的话务统计方法,其中,所述确定所述子呼叫 目标时长值包括:The traffic statistics method of claim 5, wherein said determining said sub-call Target duration values include:
    监测当前的所述统计周期,获取基础目标时长;Monitoring the current statistical period and obtaining the base target duration;
    监测目标时段内的超长通话占比获取调整系数,和/或监测中央处理器使用占比获取所述调整系数;Monitoring an ultra-long call ratio acquisition adjustment coefficient within a target time period, and/or monitoring a central processor usage ratio to obtain the adjustment coefficient;
    将所述基础目标时长与所述调整系数相乘,计算得出所述子呼叫目标时长值。The base target duration is multiplied by the adjustment coefficient, and the sub-call target duration value is calculated.
  7. 如权利要求6所述的话务统计方法,其中,The traffic statistics method according to claim 6, wherein
    所述监测目标时段内的超长通话占比获取调整系数包括:根据所述目标时段内的所述超长通话占比确定对应的超长通话系数,将所述超长通话系数作为所述调整系数;The super long call ratio acquisition adjustment coefficient in the monitoring target period includes: determining a corresponding super long talk coefficient according to the super long call proportion in the target time period, and using the super long call coefficient as the adjustment coefficient;
    所述监测中央处理器使用占比获取所述调整系数包括:根据所述中央处理器使用占比确定对应的系统使用系数,将所述系统使用系数作为所述调整系数;The monitoring, by the central processing unit, using the ratio to obtain the adjustment coefficient comprises: determining a corresponding system usage coefficient according to the usage ratio of the central processor, and using the system usage coefficient as the adjustment coefficient;
    所述监测目标时段内的超长通话占比和中央处理器使用占比获取所述调整系数包括:根据所述目标时段内的所述超长通话占比确定对应的超长通话系数,根据所述中央处理器使用占比确定对应的系统使用系数,将所述超长通话系数与所述系统使用系数之和/积作为所述调整系数。Obtaining the adjustment coefficient by using the ratio of the ultra-long call and the proportion of the central processing unit in the monitoring target period includes: determining a corresponding long-length calling coefficient according to the ratio of the long-length call in the target time period, according to the The central processor determines the corresponding system usage coefficient by using the ratio, and the sum/product of the ultra long talk coefficient and the system usage coefficient is used as the adjustment coefficient.
  8. 一种业务处理装置,包括:A service processing device comprising:
    计时单元,设置为在当前通话接通后,启动计时;The timing unit is set to start timing after the current call is connected;
    消息上报单元,设置为在所述通话结束前,在计时值达到子呼叫时长时,上报一次子话务统计消息并重新计时。The message reporting unit is configured to report a sub-traffic statistical message and re-time the time when the timing value reaches the sub-call duration before the end of the call.
  9. 一种话务统计装置,包括:A traffic statistics device includes:
    消息接收单元,设置为接收业务处理装置上报的子话务统计消息;a message receiving unit, configured to receive a sub-traffic statistical message reported by the service processing device;
    统计单元,设置为将话务时长计入所述子话务统计消息落入的统计周期内,所述话务时长由所述统计单元从所述子话务统计消息中获得。 And a statistical unit, configured to count the traffic duration into a statistical period in which the sub-traffic statistical message falls, and the traffic duration is obtained by the statistical unit from the sub-traffic statistical message.
  10. 一种话务统计系统,包括业务处理装置和话务统计装置;A traffic statistics system includes a service processing device and a traffic statistics device;
    所述业务处理装置包括:The service processing device includes:
    计时单元,设置为在当前通话接通后,启动计时;The timing unit is set to start timing after the current call is connected;
    消息上报单元,设置为在所述通话结束前,在所述计时值达到子呼叫时长时,上报一次子话务统计消息并重新计时;The message reporting unit is configured to report a sub-traffic statistical message and re-time the time when the timing value reaches the sub-call duration before the end of the call;
    所述话务统计装置包括:The traffic statistics device includes:
    消息接收单元,设置为接收业务处理装置上报的所述子话务统计消息;a message receiving unit, configured to receive the sub-traffic statistical message reported by the service processing device;
    统计单元,设置为将话务时长计入所述子话务统计消息落入的统计周期内,所述话务时长由所述统计单元从所述子话务统计消息中获得。And a statistical unit, configured to count the traffic duration into a statistical period in which the sub-traffic statistical message falls, and the traffic duration is obtained by the statistical unit from the sub-traffic statistical message.
  11. 如权利要求10所述的话务统计系统,所述系统还包括时长调整装置,所述时长调整装置设置为调整所述子呼叫时长。The traffic statistics system of claim 10, the system further comprising a duration adjustment device, the duration adjustment device configured to adjust the sub-call duration.
  12. 如权利要求11所述的话务统计系统,其中,所述时长调整装置包括:决策单元和指令发送单元;所述业务处理装置还包括:指令接收单元和调整单元;The traffic statistics system of claim 11, wherein the duration adjustment apparatus comprises: a decision unit and an instruction sending unit; the service processing apparatus further comprising: an instruction receiving unit and an adjusting unit;
    所述调整所述子呼叫时长包括:The adjusting the duration of the sub-call includes:
    所述决策单元,设置为确定子呼叫目标时长值;The determining unit is configured to determine a sub-call target duration value;
    所述指令发送单元,设置为向业务处理装置发送调整指令;The instruction sending unit is configured to send an adjustment instruction to the service processing device;
    所述指令接收单元,设置为接收所述指令发送单元发送的所述调整指令;The instruction receiving unit is configured to receive the adjustment instruction sent by the instruction sending unit;
    所述调整单元,设置为根据所述调整指令将所述子呼叫时长的值调整为所述子呼叫目标时长值。The adjusting unit is configured to adjust a value of the sub-call duration to the sub-call target duration value according to the adjustment instruction.
  13. 如权利要求12所述的话务统计系统,其中,所述决策单元包括:基础目标时长获取模块、调整系数获取模块和计算模块;The traffic statistics system according to claim 12, wherein the decision unit comprises: a base target duration acquisition module, an adjustment coefficient acquisition module, and a calculation module;
    所述确定所述子呼叫目标时长值包括:The determining the duration value of the sub-call target includes:
    所述基础目标时长获取模块,设置为监测当前统计周期,获取基础目标时长; The base target duration acquisition module is configured to monitor a current statistical period and obtain a base target duration;
    所述调整系数获取模块,设置为监测目标时段内的超长通话占比获取调整系数,和/或监测中央处理器使用占比获取所述调整系数;The adjustment coefficient acquisition module is configured to monitor an ultra-long call ratio acquisition adjustment coefficient in a target time period, and/or monitor a central processor to use the ratio to obtain the adjustment coefficient;
    所述计算模块,设置为将所述基础目标时长获取模块获取的所述基础目标时长与所述调整系数获取模块获取的所述调整系数相乘计算得出所述子呼叫目标时长值。The calculating module is configured to calculate the sub-call target duration value by multiplying the base target duration obtained by the base target duration acquisition module by the adjustment coefficient acquired by the adjustment coefficient acquisition module.
  14. 如权利要求13所述的话务统计装置,其中,所述调整系数获取模块包括第一子模块、第二子模块以及第三子模块三个中的一个或多个:The traffic statistics device of claim 13, wherein the adjustment coefficient acquisition module comprises one or more of a first sub-module, a second sub-module, and a third sub-module:
    所述第一子模块设置为,监测目标时段内的超长通话占比获取调整系数;The first sub-module is configured to monitor an ultra-long call ratio acquisition adjustment coefficient in a target time period;
    所述第一子模块监测目标时段内的超长通话占比获取调整系数包括:所述第一子模块监测目标时段内的超长通话占比,根据所述目标时段内的所述超长通话占比确定对应的超长通话系数,将所述超长通话系数作为所述调整系数;The first sub-module monitors the ultra-long call ratio acquisition adjustment coefficient in the target time period, including: the first sub-module monitors the ultra-long call proportion in the target time period, according to the ultra-long call in the target time period The ratio determines a corresponding super long talk coefficient, and the excess long talk coefficient is used as the adjustment coefficient;
    所述第二子模块设置为,监测中央处理器使用占比获取所述调整系数;The second submodule is configured to monitor the central processor to use the ratio to obtain the adjustment coefficient;
    所述第二子模块监测中央处理器使用占比获取所述调整系数包括:所述第二子模块监测中央处理器使用占比,根据所述中央处理器使用占比确定对应的系统使用系数,将所述系统使用系数作为所述调整系数;The second sub-module monitors the central processor to use the ratio to obtain the adjustment coefficient, the second sub-module monitors a central processor usage ratio, and determines a corresponding system usage coefficient according to the central processor usage ratio. Using the system usage coefficient as the adjustment coefficient;
    所述第三子模块设置为,监测目标时段内的超长通话占比和中央处理器使用占比获取所述调整系数;The third sub-module is configured to: monitor an ultra-long call proportion in a target time period and use a percentage of a central processor to obtain the adjustment coefficient;
    所述第三子模块监测目标时段内的超长通话占比和中央处理器使用占比获取所述调整系数包括:所述第三子模块监测目标时段内的超长通话占比与中央处理器使用占比,根据所述目标时段内的所述超长通话占比确定对应的超长通话系数,根据所述中央处理器使用占比确定对应的系统使用系数,将所述超长通话系数与所述系统使用系数之和/积作为所述调整系数。The third sub-module monitors the ultra-long call proportion and the central processor usage ratio in the target time period to obtain the adjustment coefficient, including: the third sub-module monitors the ultra-long call proportion and the central processing unit in the target time period. Using a ratio, determining a corresponding long-length call coefficient according to the excess call ratio in the target time period, determining a corresponding system usage coefficient according to the usage ratio of the central processor, and using the super long call coefficient The system uses the sum/product of the coefficients as the adjustment factor.
  15. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现权利要求1所述的话务上报方法,权利要求2所述的话务统计方法以及权利要求3至7任意一项所述的话务统计方法。 A computer readable storage medium storing computer executable instructions, the computer executable instructions being executed by a processor, implementing the traffic reporting method of claim 1, the traffic statistics method of claim 2, and the right The traffic statistics method according to any one of 3 to 7 is required.
PCT/CN2016/086918 2015-10-09 2016-06-23 Telephone traffic reporting method, telephone traffic statistic method, service processing device, telephone traffic statistic device and telephone traffic statistic system WO2016198021A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510648238.XA CN106572276A (en) 2015-10-09 2015-10-09 Telephone traffic reporting and gathering method, business processing and telephone traffic gathering device and system
CN201510648238.X 2015-10-09

Publications (1)

Publication Number Publication Date
WO2016198021A1 true WO2016198021A1 (en) 2016-12-15

Family

ID=57503043

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/086918 WO2016198021A1 (en) 2015-10-09 2016-06-23 Telephone traffic reporting method, telephone traffic statistic method, service processing device, telephone traffic statistic device and telephone traffic statistic system

Country Status (2)

Country Link
CN (1) CN106572276A (en)
WO (1) WO2016198021A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020000828A (en) * 2000-06-28 2002-01-05 김진찬 Method for outputting a statistical report of an exchange
CN1889602A (en) * 2005-08-19 2007-01-03 华为技术有限公司 Method for realizing real-time traffic statistics
CN1960403A (en) * 2005-10-31 2007-05-09 中兴通讯股份有限公司 Statistical method of real time telephone traffic

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020000828A (en) * 2000-06-28 2002-01-05 김진찬 Method for outputting a statistical report of an exchange
CN1889602A (en) * 2005-08-19 2007-01-03 华为技术有限公司 Method for realizing real-time traffic statistics
CN1960403A (en) * 2005-10-31 2007-05-09 中兴通讯股份有限公司 Statistical method of real time telephone traffic

Also Published As

Publication number Publication date
CN106572276A (en) 2017-04-19

Similar Documents

Publication Publication Date Title
CN106937073B (en) Video calling code rate adjustment method, device and mobile terminal based on VoLTE
WO2014071784A1 (en) Service control method and device
US8611224B2 (en) Method and apparatus for providing retry-after-timer overload control
JP2004297287A (en) Call quality evaluation system, and apparatus for call quality evaluation
CN105208585A (en) Scheduling information configuration method, configuration parameter processing method, scheduling information configuration device and configuration parameter processing device
US9319536B2 (en) Processing method of gateway charging and gateway
JP2014192710A (en) Voice communication quality measuring system, voice communication quality measuring method, voice communication quality measuring device, voice communication quality measuring program, voice communication quality requesting device, and voice communication quality requesting program
KR101533719B1 (en) Realtime data analysis apparatus based on streaming
JP2006340294A (en) Originating call restriction system
WO2016198021A1 (en) Telephone traffic reporting method, telephone traffic statistic method, service processing device, telephone traffic statistic device and telephone traffic statistic system
US9871929B2 (en) Communication method and user equipment
CN113328906A (en) Flow real-time monitoring method and device, storage medium and electronic equipment
EP1583338B1 (en) The method of controlling the user calling load in soft switch system
CN106034125A (en) IP voice communication falling back method, apparatus, system and terminal equipment thereof
JP2004040460A (en) Convergence-suppressing system, convergence controller, mobile terminal, and method of suppressing convergence
US7190766B1 (en) System and method for conducting variable voice path assurance tests
JP2013026841A (en) Failure detection device, failure detection method, and failure detection program
CN100512482C (en) Realizing method for estimating public telephone exchange network performance
RU2190932C2 (en) Rating method in electronic switch of cellular communication network
JP2008283307A (en) Service start signal restricting method, device, and system
JP2015103979A (en) Traffic management device, network system, and control method
JP2016096460A (en) Voip gateway and telephone call control method
JP2004274213A (en) Voice packet communication method and device
JP4725329B2 (en) Mobile IP phone control method and mobile IP phone control system
JP5952775B2 (en) Traffic control device, traffic control method, and traffic control program

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: 16806919

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16806919

Country of ref document: EP

Kind code of ref document: A1