CN101242286B - Accurate detection method for data communication network billing - Google Patents

Accurate detection method for data communication network billing Download PDF

Info

Publication number
CN101242286B
CN101242286B CN2007100636214A CN200710063621A CN101242286B CN 101242286 B CN101242286 B CN 101242286B CN 2007100636214 A CN2007100636214 A CN 2007100636214A CN 200710063621 A CN200710063621 A CN 200710063621A CN 101242286 B CN101242286 B CN 101242286B
Authority
CN
China
Prior art keywords
module
charging
adsl
flow
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2007100636214A
Other languages
Chinese (zh)
Other versions
CN101242286A (en
Inventor
刘刚
谢毅
孟艾立
刘一蓉
周开波
唐静波
刘楠楠
张大元
周波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Academy of Information and Communications Technology CAICT
Original Assignee
COMMUNICATION METERING CENTRE MINISTRY OF INFORMATION INDUSTRY
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 COMMUNICATION METERING CENTRE MINISTRY OF INFORMATION INDUSTRY filed Critical COMMUNICATION METERING CENTRE MINISTRY OF INFORMATION INDUSTRY
Priority to CN2007100636214A priority Critical patent/CN101242286B/en
Publication of CN101242286A publication Critical patent/CN101242286A/en
Application granted granted Critical
Publication of CN101242286B publication Critical patent/CN101242286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a charging accuracy detecting method for a data communication net. The method comprises: firstly generating a data stream of detecting based on the networking protocol simulaed call used by the data communication net; acquiring, recording, analyzing signaling and data information generating in a connectiong process by a charging detecting device of a data communication net, to form a charging information; and analyzing and comparing a charging information with primal charging information provided by the operator to insure the charging accuracy of the operator. Compared with a simple dialing method, the method can extract a relevant charging information in a communication process between data communication net user and communication net access system, so the statistical result are more scientific and accurate; by controlling and adjusting the parameters of the analogue data communication net like user's number and dialing process, the invention can obtain enough test sample easily in a short test time, greatly increases the detecting efficiency, and ensures the reliability of the detecting result.

Description

Method for detecting charging accuracy of data communication network
Technical Field
The invention relates to a data communication network charging accuracy detection method capable of detecting the charging accuracy of a data communication network, and belongs to the technical field of communication metering.
Background
In recent years, due to economic growth and social progress, data communication services have been rapidly developed in China. With the rapid popularization of the internet and the continuous emergence of a large number of data services and video services, the original access mode and access network cannot meet the requirements of users. On this background, since 2001, broadband internet access technology represented by ADSL began to be rapidly developed and widely used nationwide. Along with the rapid increase of the user scale, the charge dispute between the internet users and the telecom operators is also increasing. The operating enterprises providing internet service are under increasing doubt in the aspects of reasonability of charging rules, accuracy of charging duration (or charging flow) and the like. Therefore, an effective technical means for detecting and verifying the reasonability of the charging rule of the data communication network access system and the accuracy of the charging duration and the flow is urgently needed by both the consumer and the operator.
Currently, for common users of data communication networks, most telecommunication operation enterprises across the country adopt a mode of charging according to the use duration, and a small part adopts a mode of charging according to communication flow. No matter what charging mode is adopted by the data communication network, no scientific and effective method exists for detecting the charging of the data communication network at home and abroad.
For example, in an ADSL access system that employs long-term charging, an operating enterprise (or user) simply initiates several ADSL calls, records the time of surfing the internet, and then manually detects the charging accuracy through the query function of the ADSL charging system. This method has a number of disadvantages. First, it is not systematic. Because there are only a few ADSL calls, the types and the number of the terminals initiating the calls cannot be regularly divided, and the duration of the calls has a certain contingency, the method cannot be guaranteed in terms of the number of samples or the quality of the samples. Secondly, the method is not scientific enough. Because the types of terminals initiating the ADSL call are various, and the rules and the method for counting the internet surfing time are also five-door, the accuracy of the self-counted charging time is very poor, and certainly, the charging accuracy of an ADSL access system cannot be verified. In addition, because the common ADSL terminal adopted by the method is not specially designed, the charging rules and the charging accuracy of abnormal conditions such as abnormal disconnection, internet surfing across the charging period and the like of the ADSL user are difficult to verify and detect. For an ADSL access system adopting flow charging, no method and device for detecting and verifying charging rules and accuracy exists at present.
Therefore, there is a small distance between the current state of the art in the field of data communication network billing detection and the actual needs of the vast consumer.
Disclosure of Invention
The invention aims to provide a method for verifying charging rules and detecting charging accuracy of a data communication network for operators or other related scientific research institutions. The method is not only suitable for the data communication network which carries out charging according to the using duration, but also suitable for the data communication network which carries out charging according to the communication flow, and is particularly suitable for carrying out charging accuracy detection on an ADSL access system.
In order to achieve the purpose, the invention adopts the following technical scheme:
a charging accuracy detection method for a data communication network is realized based on a data communication network charging detection device, wherein the data communication network charging detection device comprises a network call simulation and flow generation unit, a data flow simulation and flow generation unit and a data flow simulation and flow generation unit, wherein the network call simulation and flow generation unit is used for simulating a call according to a network protocol used by the data communication network and generating a data flow for testing; a network call signaling and data flow acquisition and uploading unit for acquiring, recording and uploading signaling and data for the call signaling and data flow generated by the network call simulation and flow generation unit according to the network protocol used by the data communication network; the interface pool is used for realizing the connection between the data communication network charging detection device and the data communication network; the system test module and the test system control host computer are used for analyzing the uploaded signaling and data information and obtaining the charging information, and are characterized in that:
(1) accessing the data communication network charging detection device into the data communication network;
(2) the data communication network charging detection device simulates a call according to a network protocol used by the data communication network and generates data flow for testing;
(3) the data communication network charging detection device collects, records and analyzes signaling and data information generated in the connection process, and charging information is formed through the system test module;
(4) and analyzing and comparing the charging information with the original charging information provided by the operator to determine whether the charging of the operator is accurate.
Wherein, the data communication network is an ADSL access system.
The network call simulation and flow generation unit comprises an ADSL call control module, an ADSL internet flow generation module, a PPPoE protocol simulation and emulation module and an IP network interface module 14, wherein the PPPoE protocol simulation and emulation module is respectively connected with the ADSL call control module, the ADSL internet flow generation module and the IP network interface module 14;
the network call signaling and data flow acquisition and uploading unit comprises an IP network interface module 21, a PPPoE protocol signaling flow acquisition module, an ADSL internet data flow acquisition module, a PPPoE protocol signaling flow recording and uploading module and an ADSL internet data flow recording and uploading module, wherein the IP network interface module 21, the PPPoE protocol signaling flow acquisition module and the PPPoE protocol signaling flow recording and uploading module are sequentially connected, and the IP network interface module 21 is also sequentially connected with the ADSL internet data flow acquisition module and the ADSL internet data flow recording and uploading module;
the system test module comprises a test control main module, a test plan configuration module, a real-time call monitoring module, a PPPoE signaling flow analysis and statistics module, an ADSL internet data flow analysis and statistics module, an original charging information generation module, a charging file import module generated by the ADSL system, a log file generation module, a charging rule analysis and verification module and a charging error rate analysis module.
When the charging rules of the user accessing the network and quitting the network in the ADSL access system are detected,
firstly, the control host of the test system controls the network call simulation and flow generation unit to generate a specific ADSL call flow;
in the specific ADSL calling process, in an IPCP negotiation stage, the network calling simulation and flow generation unit does not send an IPCP configuration-ACK signaling message all the time;
after a predetermined time, the network call simulation and traffic generation unit continues to send LCPTART-Request and PADT messages to simulate the disconnecting action of the user.
When the charging rule for processing the abnormal disconnection of the ADSL user in the ADSL access system is detected,
firstly, the control host of the test system controls the network call simulation and flow generation unit to initiate an ADSL call flow;
in the process of initiating the ADSL call, a PPPoE protocol signaling flow acquisition module in the network call signaling and data traffic acquisition and upload unit acquires the last transmitted IPCP configuration-ACK message through an IP network interface module 21, and then transmits the message to a PPPoE protocol signaling flow recording and upload module, the PPPoE protocol signaling flow recording and upload module notifies a test system control host, and a PPPoE signaling flow analysis and statistics module of the system test module starts to notify a test control main module that an IPCP configuration-ACK signaling is received;
after the network call simulation and flow generation unit simulates an ADSL user to surf the internet for a period of time, the test system control host controls the network call simulation and flow generation unit to immediately block a port connected with the ADSL access system so as to simulate the abnormal disconnection of the ADSL user, and simultaneously informs the test control main module to stop charging, and at the moment, the original charging information generation module generates the actual charging duration of the ADSL call flow simulating the abnormal disconnection.
When the ADSL access system calculates and summarizes the charging rule of the total duration of the ADSL user on the Internet in a single charging period,
firstly, in the same charging period, a test system control host controls the network call simulation and flow generation unit to initiate a multi-path ADSL call flow;
in the process of initiating an ADSL call, a PPPoE protocol signaling flow acquisition module of the network call signaling and data flow acquisition uploading unit acquires an IPCP configuration-ACK message which is finally sent through an IP network interface module 21 and then sends the message to a PPPoE protocol signaling flow recording and uploading module, the PPPoE protocol signaling flow recording and uploading module informs a test system control host, and a PPPoE signaling flow analysis and statistics module in the system test module starts to inform a test control main module of receiving the IPCP configuration-ACK message;
after a period of time for simulating the user to surf the internet, the testing system control host controls the network call simulation and flow generation unit to initiate an ADSL disconnection process, and when the PPPoE signaling flow analysis and statistics module receives an LCPTterminate-Request message sent by the user side from the IP network interface module 21, the testing control main module is informed to stop charging; at this moment, the original charging information generating module generates the charging information of the ADSL calling flow;
and finally, accumulating by taking seconds as a unit and converting the time length of single internet surfing into two statistical modes of firstly converting the time length of single internet surfing into minutes and then accumulating, accumulating and counting the charging information generated by the original charging information generation module to obtain the total time length of actual internet surfing in the same charging period.
When the charging rules of how the ADSL access system handles ADSL internet calls that span two charging periods are checked,
firstly, when a first charging period is about to end, the test system control host controls the network call simulation and flow generation unit to initiate a multi-path ADSL call flow;
in the process of initiating an ADSL call, a PPPoE protocol signaling flow acquisition module in the network call signaling and data flow acquisition and uploading unit acquires an IPCP configuration-ACK message which is finally sent through an IP network interface module 21 and then sends the message to a PPPoE protocol signaling flow recording and uploading module, the PPPoE protocol signaling flow recording and uploading module informs a test system control host, and a PPPoE signaling flow analysis and statistics module in the system test module starts to inform a test control main module that the IPCP configuration-ACK message is received;
after the first charging period is finished and the second charging period is started for a period of time, the testing system control host controls the network call simulation and flow generation unit to initiate a normal ADSL disconnection process, and when the PPPoE signaling flow analysis and statistics module receives LCP Terminate-Request message sent by the user side from the IP network interface module 21, the testing control main module is informed to stop charging; at this moment, the original charging information generation module generates the charging information of the ADSL internet call flow spanning two charging periods.
Compared with a simple dial test method, the test method provided by the invention can extract related charging information from a communication flow between a data communication network user and a data communication network access system, so that the statistical result is more scientific and accurate; by controlling and adjusting the number of users in the simulated data communication network, the dialing process and other parameters, enough test samples can be easily obtained in a short detection time, so that the detection efficiency is greatly improved, and the reliability of the detection result is ensured.
Drawings
The invention is further described with reference to the following figures and specific embodiments.
Fig. 1 is an overall schematic block diagram of a data communication network charging detection arrangement employed in the present invention.
Fig. 2 is a block diagram of the network call simulation and traffic generation unit of fig. 1.
Fig. 3 is a block diagram of the network call signaling and data traffic collection uploading unit in fig. 1.
FIG. 4 is a block diagram of the components of the system test module of FIG. 1.
Fig. 5 is a schematic diagram of a method for performing charging detection on an ADSL network by using a data communication network charging accuracy detection apparatus.
Fig. 6 is a communication flow diagram of the ADSL subscriber access system.
Detailed Description
The invention provides a method for detecting the charging of a data communication network, wherein a charging detection device of the data communication network proposed by the applicant in 2006, 12, and 31 is applied (patent application number: 200610171635.3). The device can verify and detect the charging rule and the charging accuracy.
Referring to fig. 1, the data communication network charging detection apparatus will first be briefly described. The device includes:
a network call simulation and traffic generation unit 1 for simulating a call according to a network protocol used by a data communication network and generating data traffic for testing;
a network call signaling and data flow acquisition and uploading unit 2 which is connected with one end of the network call simulation and flow generation unit 1 and acquires, records and uploads signaling and data for the call signaling and data flow generated by the network call simulation and flow generation unit according to the network protocol used by the data communication network;
a cascade expansion port 3 for realizing cascade connection among a plurality of data communication network charging detection devices;
the interface pool 4 is respectively connected with the network call simulation and flow generation unit 1 and the network call signaling and data flow acquisition and uploading unit 2 and is used for realizing the connection of the data communication network charging detection device and various types of data communication networks;
the test system control host 5 is connected with and controls the network call simulation and flow generation unit 1 and the network call signaling and data flow acquisition and uploading unit 2;
and the system test module 6 is connected with the test system control host 5 and is used for analyzing the uploaded signaling and data information and obtaining charging information.
For convenience of description, in the following embodiments, the method for verifying and detecting the charging rule and the charging accuracy of the ADSL access network is described in detail by taking the ADSL access system as an example. The method is not only suitable for the ADSL network which carries out charging according to the using duration, but also suitable for the ADSL network which carries out charging according to the communication flow.
When the data communication network charging device is used for charging detection of an ADSL access system, the network call simulation and flow generation unit 1 is correspondingly changed into an ADSL call simulation and flow generation unit. As shown in fig. 2, the unit includes an ADSL call control module 11, an ADSL online traffic generation module 12, a PPPoE protocol simulation and emulation module 13, and an IP network interface module 14, where the PPPoE protocol simulation and emulation module 13 is connected to the ADSL call control module 11, the ADSL online traffic generation module 12, and the IP network interface module 14, respectively.
Correspondingly, the network call signaling and data traffic acquisition uploading unit 2 is also changed into an ADSL call signaling and data traffic acquisition uploading unit. Referring to fig. 3, the unit includes an IP network interface module 21, a PPPoE protocol signaling flow acquisition module 22, an ADSL online data traffic acquisition module 23, a PPPoE protocol signaling flow recording and uploading module 24, and an ADSL online data traffic recording and uploading module 25. Wherein, the IP network interface module 21, the PPPoE protocol signaling flow acquisition module 22 and the PPPoE protocol signaling flow recording and uploading module 24 are connected in sequence; meanwhile, the IP network interface module 21 is also connected with the ADSL online data traffic collection module 23 and the ADSL online data traffic recording and uploading module 25 in sequence.
As shown in fig. 4, the system test module 6 includes a test control main module 61, a test plan configuration module 62, a real-time call monitoring module 63, a PPPoE signaling flow analysis and statistics module 64, an ADSL online data traffic analysis and statistics module 65, an original billing information generation module 66, a billing file import module 67 generated by the ADSL system, a log file generation module 68, a billing rule analysis and verification module 69, and a billing error rate analysis module 610. The main test control module 61 is the core of the system test module, and is connected to the test plan configuration module 62, the real-time call monitoring module 63, the PPPoE signaling flow analysis and statistics module 64, the ADSL online data traffic analysis and statistics module 65, the original billing information generation module 66, and the log file generation module 68, respectively. In addition, the original billing information generation module 66 is connected to a billing file import module 67 generated by the ADSL system, and the billing file import module 67 generated by the ADSL system is connected to a billing rule analysis and verification module 69 and a billing error rate analysis module 610, respectively.
The following describes a data communication network charging detection method provided by the present invention based on the data communication network charging detection device proposed by the applicant, with reference to the accompanying drawings.
As shown in fig. 5, the data communication network charging detection device proposed by the applicant is accessed into an ADSL access system, and the signaling and data information generated in the process of connecting the device with the ADSL network are collected, recorded and analyzed, and the charging information is formed by an original charging information generation module 66. The charging information is analyzed and compared with the original charging information provided by the operator, so that the items of charging rules, charging error rate, rate and the like of the ADSL access system can be detected and verified.
The specific test content and test steps are as follows:
1. detection and verification of charging rules for ADSL access system to determine user access network and exit network
ADSL access systems are primarily responsible for determining when an ADSL subscriber accesses and exits the network by broadband access server (BNAS) equipment and thus generating the subscriber's original billing information.
Checking the charging rule, firstly, checking the signaling message according to which the ADSL system determines the user's internet access start and internet access end (i.e. charging start and charging end).
As shown in fig. 6, ADSL dial-up subscribers are currently connected to a Broadband Network Access Server (BNAS) using PPPoE protocol. In the communication flow between the ADSL user and the broadband access server (BNAS) device, the Broadband Network Access Server (BNAS) device should determine that the user starts to access the network according to the IPCP configuration-ACK (17) signaling message sent by both parties last. For a decision that a subscriber is logged out of the network, the Broadband Network Access Server (BNAS) device should rely on LCP Terminate-Request (18) messages sent by the subscriber or network. Based on the principle, by setting the ADSL call simulation and flow generation unit 1 of the data communication network charging detection device, the charging rules of the ADSL access system for judging the user to access the network and quit the network can be detected and verified by utilizing the function of simulating and simulating the abnormal ADSL call flow.
Specifically, the ADSL call emulation and traffic generation unit 1 is first controlled by the test system control host 5 to generate a special ADSL call flow. Compared with the normal ADSL call flow (see fig. 6), the flow also goes through the normal discovery phase and LCP negotiation phase, but in the IPCP negotiation phase, the ADSL call emulation and traffic generation unit 1 always does not send ipcpconfiguration-ACK (17) signaling messages. After a while, the ADSL call emulation and traffic generation unit 1 will also send LCP Terminate-Request (18) and PADT (20) messages to emulate the disconnect action of the user. According to the above, in the communication flow between the ADSL user and the Broadband Network Access Server (BNAS) device, the Broadband Network Access Server (BNAS) device should determine that the user starts to access the network according to the IPCP configuration-ACK (17) signaling message sent by both sides last. Since the ADSL subscriber always does not send IPCP configuration-ACK (17) signaling messages that mark the start of billing in this particular ADSL call flow, the ADSL access system should not bill for this ADSL call. By analogy, the ADSL call simulation and flow generation unit 1 is controlled by the test system control host 5, and other special ADSL call flows can be generated to test the charging rules of the ADSL access system. Finally, analyzing and comparing the original charging information provided by the operator, the operator can know whether the rules of the ADSL for accessing the network and quitting the network are the same as the rules.
2. The charging rule of ADSL access system for processing ADSL user abnormal disconnection condition is detected and verified.
When the ADSL user is on the internet, an abnormal disconnection happens occasionally, and at this time, the ADSL access network does not immediately know that the user is disconnected. How the ADSL access system should handle and how long it should monitor this and stop charging is not specified in the relevant standards at home and abroad. The invention can detect and verify the charging rule of the ADSL access system for processing the abnormal disconnection condition of the user by simulating the abnormal disconnection of the user and monitoring the signaling, and the specific test steps are as follows:
firstly, the ADSL call simulation and flow generation unit 1 is controlled by the test system control host 5 to initiate a normal ADSL call flow.
In the process of initiating an ADSL call, the PPPoE protocol signaling flow acquisition module 22 of the ADSL call signaling and data traffic acquisition and upload unit 2 acquires the last IPCP configuration-ACK (17) message sent by both parties through the IP network interface module 21, and then sends the message to the PPPoE protocol signaling flow recording and upload module 24, and the PPPoE protocol signaling flow recording and upload module 24 notifies the test system control host 5, so the PPPoE signaling flow analysis and statistics module 64 of the system test module 6 starts to notify the test control main module 61 that the IPCP configuration-ACK (17) signaling is received, and the user has access to the network and can start charging.
After the ADSL call simulation and flow generation unit 1 simulates the ADSL user to surf the internet for a period of time (the time can be flexibly adjusted), the test system control host 5 controls the ADSL call simulation and flow generation unit 1 to immediately block the IP port connected with the ADSL access network, thereby simulating the abnormal disconnection of the ADSL user, and simultaneously informing the test control main module 61 that the user quits the network and stops charging. At this point, the original billing information generation module 66 may generate the actual billing duration of the ADSL call flow that simulates the abnormal disconnection.
In order to improve the accuracy and stability of the test, the above test steps can be repeated for a plurality of times.
Finally, the charging information counted by the original charging information generation module 66 is analyzed and compared with the original charging information provided by the operator, so as to calculate and judge the charging rule of the ADSL access system for processing the abnormal disconnection condition of the ADSL user.
3. The charging rules of how the ADSL access system calculates and summarizes the total duration of the ADSL user accessing the Internet in a single charging period are detected and verified.
At present, the original charging information of users collected by the charging points of the ADSL access system in the whole country is in units of seconds. When charging the network fee of the last charging period for the ADSL user, the total time length of the network is in minutes. At this time, the charging statistical rules of the total online duration of the operation enterprises in a single charging period of the user are different. Some are to accumulate the time length of the user on the internet once in the charging period by taking seconds as a unit, then convert the sum into the time length by taking minutes as a unit, and process the time length less than one minute according to an upward carry method. Some of the time length of the user on the internet once in the charging period is firstly converted into the time length taking minutes as a unit, the time length less than one minute is processed according to an upward carry method, and finally the processed results are accumulated. The invention can detect and verify the charging rule. The specific test steps are as follows:
in the same charging period, the test system control host 5 controls the ADSL call simulation and flow generation unit 1 to initiate multiple paths of normal ADSL call flows.
In the process of initiating an ADSL call, the PPPoE protocol signaling flow acquisition module 22 of the ADSL call signaling and data traffic acquisition and upload unit 2 acquires the last IPCP configuration-ACK (17) message sent by both parties through the IP network interface module 21, and then sends the message to the PPPoE protocol signaling flow recording and upload module 24, and the PPPoE protocol signaling flow recording and upload module 24 notifies the test system control host 5, and the PPPoE signaling flow analysis and statistics module 64 in the system test module 6 thus starts to notify the test control main module 61 that the IPCP configuration-ACK (17) signaling is received, so that the user has access to the network and can start charging.
After the simulation user accesses the network for a period of time (and before the charging period is finished), the test system control host 5 controls the ADSL call simulation and flow generation unit 1 to initiate a normal ADSL disconnection process. When the PPPoE signaling flow analyzing and counting module 64 receives an LCP Terminate-Request (18) message sent from the user side of the IP network interface module 21, it notifies the test control main module 61 that the user has quit the network and stops charging. At this point, the original billing information generation module 66 may generate billing information for these ADSL call flows.
In order to improve the accuracy and stability of the test, the test steps are repeated for a plurality of times.
Finally, two different statistical rules of accumulating the time length of the user on the internet once in the charging period in seconds and converting the time length of the user on the internet once into the time length in minutes and then accumulating are adopted respectively, and the charging information generated by the original charging information generating module 66 is accumulated and counted to obtain the actual total time length of the charging period counted by the data communication network charging accuracy detecting device. The time length is analyzed and compared with the accumulated user internet surfing time length in the charging period provided by an operator, so that the charging rule of how to calculate and sum the total user internet surfing time length of the ADSL user in a single charging period by the ADSL access system can be detected and verified.
4. The charging rules of how the ADSL access system handles ADSL internet calls that span two charging periods are detected and verified.
In some cases, an ADSL call will span two billing periods specified by the operator. Then, is the charge incurred by the ADSL call listed in the previous billing period, the next billing period, or counted separately in both billing periods? The invention can detect and verify the charging rule under the condition by simulating the user call and monitoring the signaling. The specific test steps are as follows:
when the charging period is about to end, the testing system control host 5 controls the ADSL call simulation and flow generation unit 1 to initiate multiple paths of normal ADSL call flows.
In the process of initiating an ADSL call, the PPPoE protocol signaling flow acquisition module 22 of the ADSL call signaling and data traffic acquisition and upload unit 2 acquires the last IPCP configuration-ACK (17) message sent by both parties through the IP network interface module 21, and then sends the message to the PPPoE protocol signaling flow recording and upload module 24, and the PPPoE protocol signaling flow recording and upload module 24 notifies the test system control host 5, so the PPPoE signaling flow analysis and statistics module 64 of the system test module 6 starts to notify the test control main module 61 that the IPCP configuration-ACK (17) signaling is received, and the user has access to the network and can start charging.
After the charging period has ended and the next charging period begins for a period of time, the testing system control host 5 controls the ADSL call simulation and flow generation unit 1 to initiate a normal ADSL disconnect flow. When the PPPoE signaling flow analyzing and counting module 64 receives an LCP Terminate-Request (18) message sent from the user side of the IP network interface module 21, it notifies the test control main module 61 that the user has quit the network and stops charging. At this point, the original billing information generation module 66 may generate billing information for ADSL web call flow that spans two billing periods.
The charging information counted by the original charging information generation module 66 is analyzed and compared with the original charging information provided by the operator, so that the charging rule of how the ADSL access system processes the ADSL internet access call spanning two charging periods can be calculated and judged.
5. The tariff of the ADSL access system is detected and verified.
By the device for detecting the charging accuracy of the data communication network, a certain number of ADSL users are simulated, the ADSL users are accessed and quitted from the network according to a specific calling model, the communication flow and the data flow of all simulated users are collected, analyzed and counted at the same time, the actual service duration or the data flow of the simulated users are obtained, and the cost is calculated according to the rate given by an operation enterprise. The fee deduction condition of the operator to the analog ADSL user is checked, and the fee deduction rate can be detected and verified.
6. The charging error rate of the ADSL access system is detected.
The charging information of all simulated ADSL users in the corresponding time range is extracted from the ADSL charging system, and compared with the charging information counted by the data communication network charging accuracy detection device adopted by the invention, the error rate of the ADSL access system charging can be calculated:
charging error rate (wrong words single number/total words number)
The wrong number of words refers to more, less and more than one orders generated by the ADSL access system, and the bill with the over-poor charging duration or charging flow.
In the method for detecting the charging accuracy, no special requirements are required for local side equipment in an ADSL access system, so the method has a wide application range.
Compared with the simple dialing test method, the test method provided by the invention can extract the related charging information from the communication flow between the ADSL user and the ADSL access system, so the statistical result is more scientific and accurate; by controlling and adjusting parameters such as the number of the ADSL users and the dialing process, enough test samples can be easily obtained in a short detection time, so that the detection efficiency is greatly improved, and the reliability of the detection result is guaranteed.
It can be understood that, as the charging detection method of the data communication network, the invention changes the modules corresponding to the ADSL access system, such as the PPPoE protocol simulation and emulation module, the ADSL call simulation and flow generation unit, the ADSL call signaling and data flow acquisition and uploading unit, etc., into the modules corresponding to the type of the data communication network according to the type of the data communication network, so that the network charging accuracy detection method applicable to the ADSL access system in the above embodiment can be changed into the charging accuracy detection method applicable to another data communication network.
The method for detecting the charging accuracy of the data communication network of the present invention is explained in detail above. Any obvious modifications to the invention, which would occur to those skilled in the art, without departing from the true spirit of the invention, would constitute a violation of the patent rights of the invention and would carry a corresponding legal responsibility.

Claims (6)

1. A charging accuracy detection method for data communication network is realized based on a charging detection device of the data communication network, wherein the data communication network is an ADSL access system; wherein,
the data communication network charging detection device comprises:
the network call simulation and flow generation unit is used for simulating a call according to a network protocol used by a data communication network and generating data flow for testing, and comprises an ADSL call control module, an ADSL internet flow generation module, a PPPoE protocol simulation and emulation module and a first IP network interface module, wherein the PPPoE protocol simulation and emulation module is respectively connected with the ADSL call control module, the ADSL internet flow generation module and the first IP network interface module;
a network call signaling and data flow acquisition and uploading unit for acquiring, recording and uploading signaling and data for the call signaling and data flow generated by the network call simulation and flow generation unit according to the network protocol used by the data communication network, the network call signaling and data flow acquisition and uploading unit comprises a second IP network interface module, a PPPoE protocol signaling flow acquisition module, an ADSL internet data flow acquisition module, a PPPoE protocol signaling flow recording and uploading module and an ADSL internet data flow recording and uploading module, wherein, the second IP network interface module, the PPPoE protocol signaling flow acquisition module and the PPPoE protocol signaling flow recording and uploading module are sequentially connected, the second IP network interface module is also connected with the ADSL internet data flow acquisition module and the ADSL internet data flow recording and uploading module in sequence;
the interface pool is used for realizing the connection between the data communication network charging detection device and the data communication network;
the system comprises a system test module and a test system control host, wherein the system test module is used for analyzing uploaded signaling and data information and obtaining charging information, and comprises a test control main module, a test plan configuration module, a real-time call monitoring module, a PPPoE signaling flow analysis and statistics module, an ADSL internet data flow analysis and statistics module, an original charging information generation module, a charging file introduction module, a log file generation module, a charging rule analysis and verification module and a charging error rate analysis module, wherein the test plan configuration module, the real-time call monitoring module, the PPPoE signaling flow analysis and statistics module, the ADSL internet data flow analysis and statistics module;
the method is characterized in that:
(1) accessing the data communication network charging detection device into the data communication network;
(2) the data communication network charging detection device simulates a call according to a network protocol used by the data communication network and generates data flow for testing;
(3) the data communication network charging detection device collects, records and analyzes signaling and data information generated in the connection process, and charging information is formed through the system test module;
(4) and analyzing and comparing the charging information with the original charging information provided by the operator to determine whether the charging of the operator is accurate.
2. The method of claim 1, wherein the method comprises:
when the charging rules of the user accessing the network and quitting the network in the ADSL access system are detected,
firstly, the control host of the test system controls the network call simulation and flow generation unit to generate a specific ADSL call flow;
in the specific ADSL calling process, in an IPCP negotiation stage, the network calling simulation and flow generation unit does not send an IPCP configuration-ACK signaling message all the time;
after a predetermined time, the network call simulation and traffic generation unit continues to send LCPTART-Request and PADT messages to simulate the disconnecting action of the user.
3. The method of claim 1, wherein the method comprises:
when the charging rule for processing the abnormal disconnection of the ADSL user in the ADSL access system is detected,
firstly, the control host of the test system controls the network call simulation and flow generation unit to initiate an ADSL call flow;
in the process of initiating the ADSL call, a PPPoE protocol signaling flow acquisition module in the network call signaling and data flow acquisition and uploading unit acquires the last sent IPCP configuration-ACK message through a second IP network interface module and then sends the message to a PPPoE protocol signaling flow recording and uploading module, the PPPoE protocol signaling flow recording and uploading module informs a test system control host, and a PPPoE signaling flow analysis and statistics module of the system test module starts to inform a test control main module of receiving the IPCP configuration-ACK message;
after the network call simulation and flow generation unit simulates an ADSL user to surf the internet for a period of time, the test system control host controls the network call simulation and flow generation unit to immediately block a port connected with the ADSL access system so as to simulate the abnormal disconnection of the ADSL user, and simultaneously informs the test control main module to stop charging, and at the moment, the original charging information generation module generates the actual charging duration of the ADSL call flow simulating the abnormal disconnection.
4. The method of claim 1, wherein the method comprises:
when the ADSL access system calculates and summarizes the charging rule of the total duration of the ADSL user on the Internet in a single charging period,
firstly, in the same charging period, a test system control host controls the network call simulation and flow generation unit to initiate a multi-path ADSL call flow;
in the process of initiating an ADSL call, a PPPoE protocol signaling flow acquisition module of the network call signaling and data flow acquisition uploading unit acquires an IPCP configuration-ACK message which is finally sent through a second IP network interface module and then sends the message to a PPPoE protocol signaling flow recording and uploading module, the PPPoE protocol signaling flow recording and uploading module informs a test system control host, and a PPPoE signaling flow analysis and statistics module in the system test module starts to inform a test control main module of receiving the IPCP configuration-ACK message;
after a period of time for simulating the user to surf the internet, the testing system control host controls the network call simulation and flow generation unit to initiate an ADSL disconnection process, and when the PPPoE signaling process analysis and statistics module receives an LCPTterminate-Request message sent by the user side from the second IP network interface module, the testing control main module is informed to stop charging; at this moment, the original charging information generating module generates the charging information of the ADSL calling flow;
and finally, accumulating and counting the charging information generated by the original charging information generation module to obtain the total actual online time in the same charging period.
5. The method of claim 4 for detecting charging accuracy for a data communication network, wherein:
and accumulating and counting the charging information generated by the original charging information generation module in two statistical modes of accumulating by taking seconds as a unit and converting the time length of single internet access into minutes and then accumulating.
6. The method of claim 1, wherein the method comprises:
when the charging rules of how the ADSL access system handles ADSL internet calls that span two charging periods are checked,
firstly, when a first charging period is about to end, the test system control host controls the network call simulation and flow generation unit to initiate a multi-path ADSL call flow;
in the process of initiating an ADSL call, a PPPoE protocol signaling flow acquisition module in the network call signaling and data flow acquisition and uploading unit acquires the last sent IPCP configuration-ACK message through a second IP network interface module and then sends the message to a PPPoE protocol signaling flow recording and uploading module, the PPPoE protocol signaling flow recording and uploading module informs a test system control host, and a PPPoE signaling flow analysis and statistics module in a system test module starts to inform a test control main module of receiving the IPCP configuration-ACK message;
after the first charging period is finished and the second charging period is started for a period of time, the testing system control host controls the network call simulation and flow generation unit to initiate a normal ADSL disconnection process, and when the PPPoE signaling process analysis and statistics module receives LCP Terminate-Request information sent by the user side of the second IP network interface module, the testing control main module is informed to stop charging; at this moment, the original charging information generation module generates the charging information of the ADSL internet call flow spanning two charging periods.
CN2007100636214A 2007-02-06 2007-02-06 Accurate detection method for data communication network billing Active CN101242286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100636214A CN101242286B (en) 2007-02-06 2007-02-06 Accurate detection method for data communication network billing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100636214A CN101242286B (en) 2007-02-06 2007-02-06 Accurate detection method for data communication network billing

Publications (2)

Publication Number Publication Date
CN101242286A CN101242286A (en) 2008-08-13
CN101242286B true CN101242286B (en) 2010-12-15

Family

ID=39933513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100636214A Active CN101242286B (en) 2007-02-06 2007-02-06 Accurate detection method for data communication network billing

Country Status (1)

Country Link
CN (1) CN101242286B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103268286B (en) * 2013-06-04 2017-08-18 百度在线网络技术(北京)有限公司 The flow rate test method of application program, system and test machine in mobile terminal
CN104065490B (en) * 2014-06-20 2017-12-08 普元信息技术股份有限公司 The system and method for analog transceiver equipment signaling is realized based on online charging environment
CN106412975B (en) * 2016-09-30 2019-11-08 中国联合网络通信集团有限公司 A kind of test method and device of content charging loophole
CN107809752B (en) * 2017-10-16 2020-08-21 南京网元通信技术有限公司 Mobile network flow fraud verification method based on software simulation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6272450B1 (en) * 1998-06-16 2001-08-07 Telefonaktiebolaget L M Ericsson (Publ) Cellular network traffic simulator (cents)
CN1408514A (en) * 2001-10-01 2003-04-09 日本伺服株式会社 Multiple joint robot and its arm device
CN1773941A (en) * 2004-11-11 2006-05-17 中兴通讯股份有限公司 Performance test method and apparatus for identification service
CN1822617A (en) * 2006-03-23 2006-08-23 信息产业部通信计量中心 Device and method for detecting short message service charging precision facing mobile communication net

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6272450B1 (en) * 1998-06-16 2001-08-07 Telefonaktiebolaget L M Ericsson (Publ) Cellular network traffic simulator (cents)
CN1408514A (en) * 2001-10-01 2003-04-09 日本伺服株式会社 Multiple joint robot and its arm device
CN1773941A (en) * 2004-11-11 2006-05-17 中兴通讯股份有限公司 Performance test method and apparatus for identification service
CN1822617A (en) * 2006-03-23 2006-08-23 信息产业部通信计量中心 Device and method for detecting short message service charging precision facing mobile communication net

Also Published As

Publication number Publication date
CN101242286A (en) 2008-08-13

Similar Documents

Publication Publication Date Title
CN107277160A (en) A kind of content delivery network node switching method and device
CN100466560C (en) Method, system, device for detecting service quality, and charging and fault detecting system
EP1983684B1 (en) Method for flow quantity statistics based on user services
CN101984583B (en) Method and system for positioning fault of abnormal broadcast of unicast programs
US8081578B2 (en) Methods, systems, and computer readable media for automatically categorizing voice over internet protocol (VoIP) subscriber devices in accordance with VoIP test and call quality data
CN101242286B (en) Accurate detection method for data communication network billing
WO2005125037A1 (en) Voice over internet protocol (voip) quality testing over hybrid fiber/coax (hfc) network
CN101529810B (en) Method and system of network television tesing, and central office testing equipment
US7693081B1 (en) Integrated IP DSLAM test monitor
CN106060593B (en) The method and system of true barrage scenario simulation feedback are realized in P2P live streaming
CN102045222A (en) Real-time overall test method of network system
CN103595584A (en) Method and system for diagnosing Web application performance problem
CN105306246A (en) Method, device and server for automatic answering of network complaints
CN101656892A (en) IPTV tester merged to telecom operation and maintenance system and use method thereof
CN106209472A (en) A kind of broadband user's data mining and the method for early warning
CN100372320C (en) Method and system for detecting service quality in next generation network
CN101212363B (en) Data communication network billing accuracy tester
CN101035159A (en) Dialed monitoring system for the troubleshooting of the communication network and its monitoring method
WO2010080930A2 (en) Methods, systems, and computer readable media for remotely evaluating and controlling voice ip (voip) subscriber terminal equipment
CN101184134A (en) Method and system for processing billing of including qos information
CN100514995C (en) Device and method for detecting short message service charging precision facing mobile communication net
Van De Meent Network link dimensioning: a measurement & modeling based approach
CN113079522B (en) OTT service quality testing method and device, electronic equipment and storage medium
CN103763158B (en) System and method for capturing multi-screen terminal network quality of cable television network in real time
CN102123092A (en) Method and system for analyzing multicast performance

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211229

Address after: 100191 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee after: CHINA ACADEMY OF INFORMATION AND COMMUNICATIONS

Address before: 100083 No. 52 Garden North Road, Beijing, Haidian District

Patentee before: Quality Supervision Test Center, Ministry of Information Industry