CN110784371B - Gateway network quality testing method and system based on OSGI technology - Google Patents
Gateway network quality testing method and system based on OSGI technology Download PDFInfo
- Publication number
- CN110784371B CN110784371B CN201910977757.9A CN201910977757A CN110784371B CN 110784371 B CN110784371 B CN 110784371B CN 201910977757 A CN201910977757 A CN 201910977757A CN 110784371 B CN110784371 B CN 110784371B
- Authority
- CN
- China
- Prior art keywords
- gateway
- ping
- osgi
- result
- information
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0852—Delays
Abstract
The invention discloses a gateway network quality testing method and a gateway network quality testing system based on an OSGI technology, which comprise the following steps: s1: after the gateway is online, the OSGI plug-in initiates to acquire gateway equipment information; s2: the gateway reports the equipment information, and the OSGI acquires the gateway equipment information; s3: the gateway quality monitoring system collects reported gateway equipment information; s4: the gateway quality monitoring system selects a needed gateway and initiates a ping test; the invention is automatically realized in the whole process, reduces manual intervention and improves the informatization degree; meanwhile, a large amount of data monitoring gateway networks can be conveniently realized, and the network quality can be monitored more accurately.
Description
Technical Field
The invention relates to the field of gateways, in particular to a gateway network quality testing method and system based on an OSGI technology.
Background
Current methods for testing the network quality of gateways typically involve a single PC connected gateway being tested by speedtest, or by the testcenter meter of the sbaland. The instrument mainly characterizes the network quality of the gateway according to indexes such as throughput, time delay, packet loss rate and the like, the test is basically completed in a laboratory environment, a user uses the gateway to use the gateway in the current network environment, the user experience is closer to the speed of browsing a webpage, the smoothness of playing games is realized, the video is smooth, the user experience cannot be covered by the existing test scheme of the instrument, and the speed measurement result of the gateway hung under a single PC cannot cover a large amount of user experience.
Disclosure of Invention
The invention aims to provide a gateway network quality testing method and a gateway network quality testing system based on the OSGI technology, which can accurately monitor the network quality through a large amount of testing data of a gateway and achieve the effect of improving the network quality of the gateway.
A gateway network quality testing method based on OSGI technology comprises the following steps:
s1: after the gateway is online, the OSGI plug-in initiates to acquire gateway equipment information;
s2: the gateway reports the equipment information, and the OSGI plug-in obtains the gateway equipment information;
s3: the gateway quality monitoring system collects reported gateway equipment information;
s4: the gateway quality monitoring system selects a needed gateway and initiates a ping test;
s5: and the OSGI plug-in receives the ping test result, and the gateway quality monitoring system collects and reports the ping test result and automatically classifies the data result.
Further, the gateway device information includes a device model, a device hardware version, a device software version, and a device hardware address.
Further, the step S2 includes:
if Result returns to 0, OSGI obtains gateway device information successfully;
if Result returns to-1, OSGI acquires gateway equipment information failure;
further, the step S4 includes:
the Ping test circularly performs Ping test in a serial mode by selecting a plurality of browsing addresses commonly used by a user.
Further, the step S5 includes:
acquiring parameter information 1 when a ping test is started, wherein the parameter information 1 comprises a WAN connection serial number and a host name or a host address of the ping test;
acquiring parameter information 2 during ping test, wherein the parameter information 2 comprises the number of ping packets, the size of a data block sent by each ping packet, the average round-trip delay of the ping packets, the minimum return delay of the ping packets and the maximum round-trip delay of the ping packets;
and returning a ping test result, and collecting and reporting by the gateway quality monitoring system and automatically classifying the quality difference of the network according to the returned test result.
Further, the returning the ping test result comprises:
if Result returns 0, it represents that ping test is successful;
if Result returns to-1, it indicates that the ping test failed;
if Result returns-2, it indicates that the ping test has not been completed.
A gateway network quality test system based on OSGI technology comprises:
OSGI plug-in system: acquiring gateway information and an IP diagnosis result through a gateway service interface;
gateway quality monitoring system: the quality monitoring and quality classification of the network are realized through data results acquired by an OSGI plug-in system;
ONT interface node: and adding a gateway basic information query service interface and a gateway PING service interface to realize information interaction between the OSGI plug-in system and the gateway quality monitoring system.
The invention has the beneficial effects that: the real-time monitoring of the network quality test is increased, and the management and maintenance of the terminal are more automatic;
meanwhile, the trouble of the user caused by poor network quality is reduced, and the satisfaction is improved.
Drawings
Fig. 1 is a schematic diagram of a gateway network quality monitoring system of OSGI technology;
fig. 2 is a topology diagram of gateway network quality monitoring in OSGI technology.
Detailed Description
For a more clear understanding of the technical features, objects and effects of the invention, specific embodiments thereof will now be described with reference to the accompanying drawings.
Fig. 1 shows a specific embodiment, a method for testing gateway network quality based on OSGI technology includes:
s11: after the gateway is online, the OSGI plug-in initiates to acquire gateway equipment information;
s12: the gateway reports the equipment information, and the OSGI acquires the gateway equipment information;
s13: the gateway quality monitoring system collects reported gateway equipment information;
s14: the gateway quality monitoring system selects a needed gateway and initiates a ping test;
s15: and the OSGI plug-in receives the ping test result, and the gateway quality monitoring system collects and reports the ping test result and automatically classifies the data result.
Further, the gateway device information includes a device model, a device hardware version, a device software version, and a device hardware address.
Further, the step S2 includes:
if Result returns to 0, OSGI obtains gateway device information successfully;
if Result returns to-1, OSGI acquires gateway equipment information failure;
further, the step S4 includes:
the Ping test circularly performs Ping test in a serial mode by selecting a plurality of browsing addresses commonly used by a user.
Further, the step S5 includes:
acquiring parameter information 1 when a ping test is started, wherein the parameter information 1 comprises a WAN connection serial number and a host name or a host address of the ping test;
acquiring parameter information 2 during ping test, wherein the parameter information 2 comprises the number of ping packets, the size of a data block sent by each ping packet, the average round-trip delay of the ping packets, the minimum return delay of the ping packets and the maximum round-trip delay of the ping packets;
and returning a ping test result, and collecting and reporting by the gateway quality monitoring system and automatically classifying the quality difference of the network according to the returned test result.
Further, the returning the ping test result comprises:
if Result returns 0, it represents that ping test is successful;
if Result returns to-1, it indicates that the ping test failed;
if Result returns-2, it indicates that the ping test has not been completed.
A gateway network quality test system based on OSGI technology comprises:
OSGI plug-in system: acquiring gateway information and an IP diagnosis result through a gateway service interface;
gateway quality monitoring system: the quality monitoring and quality classification of the network are realized through data results acquired by an OSGI plug-in system;
ONT interface node: and adding a gateway basic information query service interface and a gateway PING service interface to realize information interaction between the OSGI plug-in system and the gateway quality monitoring system.
As shown in fig. 2, the specific implementation method includes the following steps:
and (3) building a gateway quality monitoring system, developing Jar plug-ins by adopting OSGI technology and carrying out corresponding development on developed gateway software.
The realization of the gateway quality monitoring system realizes the data acquisition of the result of the serial ping main stream webpage (such as www.baidu.com, etc.); and the data of the ping result is automatically classified to obtain the excellent and medium network quality.
The OSGI technology develops the implementation of jar plug-in:
s21: acquiring gateway information, and querying a service class interface DeviceInfoQueryservice through gateway basic information to perform getDeviceInfo and getDeviceMAC;
s22: IPPingDiagnostics service performs startIPPingDiagnostics and getIPPingDiagnostics result;
development on ONT:
s31: newly adding a DeviceInfoQueryservice interface node and a corresponding method getDeviceInfo;
s32: the new interface node ippingdingdiagnostics service, and for the methods startippingdingdiagnostics and getippingdingdiagnostics result.
The foregoing shows and describes the general principles and features of the invention, together with the advantages thereof. It will be understood by those skilled in the art that the invention is not limited to the embodiments described above, which are given by way of illustration of the principles of the invention, but that various changes and modifications may be made without departing from the spirit and scope of the invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.
Claims (5)
1. A gateway network quality test system based on OSGI technology is characterized by comprising:
OSGI plug-in system: acquiring gateway information and an IP diagnosis result through a gateway service interface; the OSGI plug-in system is realized by adopting an OSGI technology to develop Jar plug-in, and specifically comprises the following steps:
(1) acquiring gateway information, and querying a service class interface DeviceInfoQueryservice through gateway basic information to perform getDeviceInfo and getDeviceMAC;
(2) realizing PING monitoring network quality through gateway PING service class interface IPPingDiagnostics service, and performing startIPPingDiagnostics and getIPPingDiagnostics result;
gateway quality monitoring system: the quality monitoring and quality classification of the network are realized through data results acquired by an OSGI plug-in system;
ONT interface node: newly-increased gateway basic information inquiry service class interface and gateway PING service class interface, realize OSGI plug-in system and gateway quality monitoring system's information interaction, ONT interface node includes:
(1) newly adding a DeviceInfoQueryservice interface node and a corresponding method getDeviceInfo;
(2) the new interface node IPPingDiagnostics service and the corresponding method startIPPingDiagnostics and getIPPingDiagnostics result.
2. The method of claim 1, wherein the method comprises:
s1: after the gateway is online, the OSGI plug-in initiates to acquire gateway equipment information;
s2: the gateway reports the equipment information, and the OSGI plug-in obtains the gateway equipment information;
s3: the gateway quality monitoring system collects reported gateway equipment information;
s4: the gateway quality monitoring system selects a needed gateway and initiates a ping test;
the step S4 includes:
the Ping test circularly performs Ping test according to a serial form by selecting a plurality of browsing addresses commonly used by a user;
s5: the OSGI plug-in receives the ping test result, and the gateway quality monitoring system collects and reports the ping test result and automatically classifies the data result;
the step S5 includes:
acquiring parameter information 1 when a ping test is started, wherein the parameter information 1 comprises a WAN connection serial number and a host name or a host address of the ping test;
acquiring parameter information 2 during ping test, wherein the parameter information 2 comprises the number of ping packets, the size of a data block sent by each ping packet, the average round-trip delay of the ping packets, the minimum return delay of the ping packets and the maximum round-trip delay of the ping packets;
and returning a ping test result, and collecting and reporting by the gateway quality monitoring system and automatically classifying the quality difference of the network according to the returned test result.
3. The test method of claim 2, wherein the gateway device information comprises a device model, a device hardware version, a device software version, and a device hardware address.
4. The testing method according to claim 2, wherein the step S2 includes:
if Result returns to 0, OSGI obtains gateway device information successfully;
if Result returns-1, OSGI gets the gateway device information failure.
5. The method of claim 2, wherein the returning the ping test result comprises:
if Result returns 0, it represents that ping test is successful;
if Result returns to-1, it indicates that the ping test failed;
if Result returns-2, it indicates that the ping test has not been completed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910977757.9A CN110784371B (en) | 2019-10-15 | 2019-10-15 | Gateway network quality testing method and system based on OSGI technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910977757.9A CN110784371B (en) | 2019-10-15 | 2019-10-15 | Gateway network quality testing method and system based on OSGI technology |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110784371A CN110784371A (en) | 2020-02-11 |
CN110784371B true CN110784371B (en) | 2021-02-02 |
Family
ID=69385574
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910977757.9A Active CN110784371B (en) | 2019-10-15 | 2019-10-15 | Gateway network quality testing method and system based on OSGI technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110784371B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111404778A (en) * | 2020-03-12 | 2020-07-10 | 深圳市吉祥腾达科技有限公司 | Gateway testing method and device and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103281366A (en) * | 2013-05-21 | 2013-09-04 | 山东地纬计算机软件有限公司 | Embedded agency monitoring device and method supporting real-time operating state acquiring |
CN107483245A (en) * | 2017-08-14 | 2017-12-15 | 上海新炬网络信息技术股份有限公司 | It is a kind of that realization device is actively gathered based on karaf_agent |
CN108965011A (en) * | 2018-07-25 | 2018-12-07 | 中天宽带技术有限公司 | One kind being based on intelligent gateway deep packet inspection system and analysis method |
CN109274513A (en) * | 2017-07-17 | 2019-01-25 | 中国移动通信有限公司研究院 | A kind of data processing method, device and computer readable storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9348571B2 (en) * | 2014-08-25 | 2016-05-24 | General Electric Company | Method, device, and program storage device for autonomous software life cycle management |
-
2019
- 2019-10-15 CN CN201910977757.9A patent/CN110784371B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103281366A (en) * | 2013-05-21 | 2013-09-04 | 山东地纬计算机软件有限公司 | Embedded agency monitoring device and method supporting real-time operating state acquiring |
CN109274513A (en) * | 2017-07-17 | 2019-01-25 | 中国移动通信有限公司研究院 | A kind of data processing method, device and computer readable storage medium |
CN107483245A (en) * | 2017-08-14 | 2017-12-15 | 上海新炬网络信息技术股份有限公司 | It is a kind of that realization device is actively gathered based on karaf_agent |
CN108965011A (en) * | 2018-07-25 | 2018-12-07 | 中天宽带技术有限公司 | One kind being based on intelligent gateway deep packet inspection system and analysis method |
Also Published As
Publication number | Publication date |
---|---|
CN110784371A (en) | 2020-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Dhamdhere et al. | Inferring persistent interdomain congestion | |
JP5840788B2 (en) | Method, apparatus and communication network for root cause analysis | |
US20090052332A1 (en) | Device, system, method and program for collecting network fault information | |
EP2081321A2 (en) | Sampling apparatus distinguishing a failure in a network even by using a single sampling and a method therefor | |
US20060034185A1 (en) | Systems and methods for monitoring and evaluating a connectivity device | |
US20140101305A1 (en) | System And Method For Real-Time Load Balancing Of Network Packets | |
US20050060403A1 (en) | Time-based correlation of non-translative network segments | |
Dimopoulos et al. | Identifying the root cause of video streaming issues on mobile devices | |
US20050078606A1 (en) | Pattern-based correlation of non-translative network segments | |
CN112583657A (en) | Distributed routing level network topology detection method based on embedded equipment | |
JP7397893B2 (en) | Identifying traceroute nodes and corresponding devices | |
JP2008283621A (en) | Apparatus and method for monitoring network congestion state, and program | |
CN111030873A (en) | Fault diagnosis method and device | |
EP2586158A1 (en) | Apparatus and method for monitoring of connectivity services | |
CN109818820A (en) | Data on flows monitoring method, device, electronic equipment and storage medium | |
CN110784371B (en) | Gateway network quality testing method and system based on OSGI technology | |
US10439899B2 (en) | Service summary view | |
EP3596884B1 (en) | Communications network performance | |
US9210046B2 (en) | Zone-based network traffic analysis | |
CN116319353A (en) | Method, device, equipment and medium for detecting network topology structure | |
CN114866453B (en) | Message forwarding method and system based on G-SRv protocol | |
CN112488491A (en) | Petri network-based train control vehicle-mounted equipment access process reliability evaluation method | |
KR100819543B1 (en) | Method and apparatus for measuring traffic based on flow | |
CN110309045B (en) | Method, apparatus, medium and computing device for determining future state of server | |
CN114172813B (en) | Method and device for drawing network topology graph |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |