CN103516562A - Method for detecting network construction speed based on Zigbee - Google Patents

Method for detecting network construction speed based on Zigbee Download PDF

Info

Publication number
CN103516562A
CN103516562A CN201310459229.7A CN201310459229A CN103516562A CN 103516562 A CN103516562 A CN 103516562A CN 201310459229 A CN201310459229 A CN 201310459229A CN 103516562 A CN103516562 A CN 103516562A
Authority
CN
China
Prior art keywords
zigbee
detection
network
time delay
delay
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.)
Pending
Application number
CN201310459229.7A
Other languages
Chinese (zh)
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.)
LIUZHOU HONGYI TECHNOLOGY Co Ltd
Original Assignee
LIUZHOU HONGYI TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LIUZHOU HONGYI TECHNOLOGY Co Ltd filed Critical LIUZHOU HONGYI TECHNOLOGY Co Ltd
Priority to CN201310459229.7A priority Critical patent/CN103516562A/en
Publication of CN103516562A publication Critical patent/CN103516562A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method for detecting the network construction speed based on the Zigbee. The method comprises network flow detection and network delay detection. The detection range of the two kinds of detection is 75-5000 meters, the network flow detection is that data packages are sent to all user terminals on a server of a service provider through a Zigbee protocol in a memory contract multithread mode, the user terminals download the data packages, and the download rate and the broadband access rate signed by users are compared to obtain a detection result. The network delay detection is that at least 5 web portals are selected at the user terminals, the user terminals simulate users to input website URL addresses to browse the web on the server of the service provider, and information of Zigbee service availability, DNS delay, TCP delay and Zigbee page first package delay is obtained, and then a detection result is obtained. The method has the advantages of being good in stability, low in cost and power consumption, and high in accuracy, and reliable technological support is provided for the users to obtain accurate service provider broadband data.

Description

A kind of network struction speed detection method based on Zigbee
Technical field
The present invention relates to a kind of detection method of network speed, particularly a kind of network struction speed detection method based on Zigbee.
Background technology
ZigBee is the synonym of IEEE 802.15.4 agreement.According to the technology of this agreement regulation, it is the wireless communication technology of a kind of short distance, low-power consumption.Its communication distance is from 75 meters of standard to hundreds of rice, several kilometers, and supports infinite expanding.In theory, ZigBee be one by a wireless-transmission network platform that can how to form to 65000 wireless transport modules, in whole network range, between each ZigBee-network transport module, can intercom mutually.ZigBee-network is mainly to set up for industry spot automation control data transmission, thereby it has simply, easy to use, reliable operation, the feature that price is low.Particularly, ZigBee-network following points advantage:
(1) low-power consumption.Under low power consumption standby mode, No. 5 dry cells of 2 joints can be supported 1 node work 6~24 months, even longer.This is the outstanding advantage of Zigbee.The lower bluetooth of comparing can only be worked several weeks; WiFi works a few hours only.
(2) low cost.By significantly simplify agreement (less than bluetooth 1/10), reduced the requirement to communication controler, by forecast analysis, the 8 8-digit microcontroller measuring and calculating with 8051, Full Featured host node needs 32KB code, and subfunction node is few to 4KB code, and Zigbee exempts from agreement patent fee.The price of every chip block is approximately 2 dollars.
(3) low rate.Zigbee be operated in 20~250kbps compared with low rate, the initial data throughput of 250kbps (2.4GHz), 40kbps (915MHz) and 20kbps (868MHz) is provided respectively, meet the application demand of lower rate transmissions data.
(4) prolong in short-term.The response speed of Zigbee is very fast, generally from sleep, proceeds to operating state and only needs 15ms, and node connection enters network only needs 30ms, has further saved electric energy.Compare down, bluetooth needs 3~10s, WiFi to need 3s.
(5) high power capacity.That Zigbee can adopt is starlike, sheet and mesh network topology, by a host node, manages some child nodes, and maximum host nodes can be managed 254 child nodes; Host node also can, by last layer network node control, can form at most the large net of 65000 nodes simultaneously.
(6) high safety.Zigbee provides three level security patterns, comprises without security settings, uses access control inventory (ACL) to prevent the symmetric cryptography that illegally obtains data and adopt Advanced Encryption Standard (AES 128), to determine flexibly its security attribute.
(7) unlicensed band.Adopt direct sequence spread spectrum at industrial science medical treatment (ISM) frequency range, 2.4GHz (whole world), 915MHz (U.S.) and 868MHz (Europe).
Each Zigbee network node not only itself can be used as monitored object, for example its transducer connecting directly carries out data acquisition and monitoring, automatically other network node of transfer passes the data information of coming, and therefore when a network node breaks down, can not affect the proper communication of whole network.
The detection technique of existing Internet speed is generally the mode of wire transmission, the complexity but this mode connects up, and cost is high, once transmission cable damages, whole supervisory control system cannot work.Also having the mode that adopts wireless transmission, be generally based on bluetooth, WiFi Radio Transmission Technology, but this mode is with high costs, poor stability, and high power consumption, maintenance difficulties is high.
Therefore, need a kind of good stability, low cost, low-power consumption, wireless network that accuracy is high to build speed detection method, can utilize ZigBee-network agreement to carry out transfer of data.
Summary of the invention
The present invention is directed to the deficiencies in the prior art, a kind of network struction speed detection method based on Zigbee be provided, overcome with high costs, poor stability, high power consumption, accuracy is the high difficult problem of high maintenance difficulty not.
In order to realize object of the present invention, be achieved in that
A network struction speed detection method of Zigbee, described detection method comprises the detection of network traffics and the detection of network delay of order in no particular order: the detection of described network traffics: the multithreading of giving out a contract for a project with internal memory by Zigbee agreement on the server of operator is to each user terminal to transmit data bag; Each user terminal downloads receives corresponding data bag, and downloading rate=downloading data bag size/download time, in the family that downloading rate and user are contracted, broadband access speed compares, and the result of comparison is detected to evaluation; After detect evaluating and finishing, to user, show the result of broadband access speed, comparison in downloading rate, signing family and detect evaluation information; The detection of described network delay: advanced row index definition, described index definition comprises Zigbee service availability, DNS time delay, TCP time delay and Zigbee page first packet time delay;
Described Zigbee service availability: when user carries out web page browsing, judge whether to obtain complete web page contents, be, Zigbee service is available, no, and Zigbee service is unavailable;
Described DNS time delay: initiate dns resolution request and obtain correct result, the time that this process experiences to server according to web site name;
Described TCP time delay: set up Zigbee with the station address that will browse and be connected, complete the time that three-way handshake process experiences;
Described Zigbee page first packet time delay: set up Zigbee with the website that will browse and be connected, user terminal obtains first Zigbee and responds the time that bag experiences;
At user terminal, choose at least 5 portal websites, user terminal analog subscriber is inputted URL address, website by browser address bar and is carried out web page browsing at the server of operator, obtains the information of described Zigbee service availability, DNS time delay, TCP time delay and Zigbee page first packet time delay; The information of the Zigbee page first packet time delay that after detecting, user terminal detects each website is presented to user, makes different evaluation results according to the response time of each website simultaneously.
As further illustrating, the scope of the detection of described network traffics and the detection of network delay is short distance, 75 meters-5000m.
As further illustrating, multithreading described and that internal memory is given out a contract for a project is specially to each user terminal to transmit data bag: a plurality of packets of random generation in the internal memory of described server, each packet sends to a user terminal by setting up a thread, and a plurality of user terminals send by a plurality of threads.
As further illustrating, the result of described comparison is that downloading rate is the percentage of broadband access speed in the family that contracts of user, and presents to user in the mode of chart, and at uninterrupted corresponding to all executive programs of user terminal displays active user terminal.
As further illustrating, at every turn the testing result of the detection of the testing result of the detection of network traffics and network delay all unify to be back to a broadband and tests the speed in platform and preserve, prepare against follow-up O&M statistical analysis; The testing result of the detection of described network traffics comprises: the result of broadband access speed, comparison and detect and evaluate in downloading rate, signing family; The testing result of the detection of described network delay comprises: the information of evaluation result, Zigbee service availability, DNS time delay, TCP time delay and Zigbee page first packet time delay; Operating personnel can be according to testing result assisting users handling failure, critic network quality; The described broadband platform that tests the speed possesses that data derive and upload function.
Beneficial effect of the present invention:
The invention provides a kind of network struction speed detection method based on Zigbee, have advantages of that good stability, low cost, low-power consumption, accuracy are high, provide technical robust techniques support for user obtains operator's wideband data accurately.
Accompanying drawing explanation
Fig. 1 the present invention is based on the schematic flow sheet that network traffics detect described in the network struction speed detection method of Zigbee.
Fig. 2 the present invention is based on the schematic flow sheet that network delay detects described in the network struction speed detection method of Zigbee.
Embodiment
Below in conjunction with embodiment, the present invention is described in further detail, and the following stated is only preferred embodiment of the present invention, and all equalizations of doing according to the present patent application the scope of the claims change and modify, and all should belong to covering scope of the present invention.
embodiment 1:
The scope of the detection of the following stated network traffics, the detection of network delay is in 75 meters.
The detection of network traffics: the multithreading of giving out a contract for a project with internal memory by Zigbee agreement on the server of operator is to each user terminal to transmit data bag; Each user terminal downloads receives corresponding data bag, (wherein general downloading rate is obtained downloading data bag size and download time after having carried out 3 to 18 seconds between detection period again downloading rate=downloading data bag size/download time, then calculate downloading rate), in the family that downloading rate and user are contracted, broadband access speed compares, to result relatively detects evaluation (as result is: 85% of the downloading rate >=broadband access speed of contracting, output detections is evaluated as " fine "; As result is: downloading rate is between the 65%-85% of signing broadband access speed, and output detections is evaluated as " generally "; As result is: 65% of downloading rate≤signing broadband access speed, output detections is evaluated as " partially slow "); After detect evaluating and finishing, to user, show the result of broadband access speed, comparison in downloading rate (showing: speed of download is XXKB/ second, is about X.XM bandwidth), signing family and detect evaluation information; Result is relatively that downloading rate is the percentage of broadband access speed in the family that contracts of user, and the mode with chart presents to user, and at uninterrupted corresponding to all executive programs of user terminal displays active user terminal, and the multithreading that internal memory is given out a contract for a project is specially to each user terminal to transmit data bag: a plurality of packets of random generation in the internal memory of server, each packet sends to a user terminal by setting up a thread, and a plurality of user terminals send by a plurality of threads.
The detection of network delay: advanced row index definition, index definition comprises Zigbee service availability, DNS time delay, TCP time delay and Zigbee page first packet time delay; Wherein Zigbee service availability is user while carrying out web page browsing, judges whether to obtain complete web page contents, is, Zigbee service is available, no, and Zigbee service is unavailable; Wherein DNS time delay is initiate dns resolution request and obtain correct result, the time that this process experiences to server according to web site name; Wherein TCP time delay is to set up TCP with the station address that will browse to be connected, and completes the time that three-way handshake process experiences; Wherein Zigbee page first packet time delay is to set up Zigbee with the website that will browse to be connected, and user terminal obtains first Zigbee and responds the time that bag experiences; At user terminal, choose at least 5 portal websites, user terminal analog subscriber is inputted URL address, website by browser address bar and is carried out web page browsing at the server of operator, the information of Zigbee service availability, DNS time delay, TCP time delay and Zigbee page first packet time delay of obtaining is (as Zigbee service availability is: Zigbee service is available, DNS time delay is: 3 seconds, TCP time delay is 2 seconds, and Zigbee page first packet time delay is: 2 seconds); The information of the Zigbee page first packet time delay that after detecting, user terminal detects each website is presented to user, according to the response time of each website, make different evaluation results (as the response time, being less than 0.3 second output evaluation result is " very fast ", shows green simultaneously; At 0.3-2.5, between second, export evaluation result for " generally ", show orange; At 2.5-10.5, between second, export evaluation result for " slower ", show red; Being greater than 10.5 seconds output evaluation results is " cannot connect ", shows red.)。
Wherein, at every turn the testing result of the detection of the testing result of the detection of network traffics and network delay all unify to be back to a broadband and tests the speed in platform and preserve, prepare against follow-up O&M statistical analysis; Wherein the testing result of the detection of network traffics comprises: the result of broadband access speed, comparison and detect and evaluate in downloading rate, signing family; Wherein the testing result of the detection of network delay comprises: the information of evaluation result, Zigbee service availability, DNS time delay, TCP time delay and Zigbee page first packet time delay; Operating personnel can be according to testing result assisting users handling failure, critic network quality; The broadband platform that tests the speed possesses that data derive and upload function, and its data derive and upload function all can be supported manually and automatic two kinds of modes.
In a word, detection method of the present invention comprises the detection of network traffics and the detection of network delay; The detection of its network traffics adopts the multithreading of giving out a contract for a project with internal memory to detect to each user terminal to transmit data bag, more traditional single-threadedly in the disk mode of giving out a contract for a project, detects more stable true.And the detection of network delay adopts user terminal to choose at least 5 portal websites, user terminal analog subscriber is inputted URL address, website by browser address bar and at the server of operator, is carried out web page browsing and detect, it can detect the situation of local area network (LAN) multimachine online and the situation of other program occupied bandwidth, than conventional method, more can represent real network speed comprehensively.

Claims (5)

1. the network struction speed detection method based on Zigbee, is characterized in that: described detection method comprises the detection of network traffics and the detection of network delay of order in no particular order;
The detection of described network traffics: the multithreading of giving out a contract for a project with internal memory by Zigbee agreement on the server of operator is to each user terminal to transmit data bag; Each user terminal downloads receives corresponding data bag, and downloading rate=downloading data bag size/download time, in the family that downloading rate and user are contracted, broadband access speed compares, and the result of comparison is detected to evaluation; After detect evaluating and finishing, to user, show the result of broadband access speed, comparison in downloading rate, signing family and detect evaluation information;
The detection of described network delay: advanced row index definition, described index definition comprises Zigbee service availability, DNS time delay, TCP time delay and Zigbee page first packet time delay;
Described Zigbee service availability: when user carries out web page browsing, judge whether to obtain complete web page contents, be, Zigbee service is available, no, and Zigbee service is unavailable;
Described DNS time delay: initiate dns resolution request and obtain correct result, the time that this process experiences to server according to web site name;
Described TCP time delay: set up Zigbee with the station address that will browse and be connected, complete the time that three-way handshake process experiences;
Described Zigbee page first packet time delay: set up Zigbee with the website that will browse and be connected, user terminal obtains first Zigbee and responds the time that bag experiences;
At user terminal, choose at least 5 portal websites, user terminal analog subscriber is inputted URL address, website by browser address bar and is carried out web page browsing at the server of operator, obtains the information of described Zigbee service availability, DNS time delay, TCP time delay and Zigbee page first packet time delay; The information of the Zigbee page first packet time delay that after detecting, user terminal detects each website is presented to user, makes different evaluation results according to the response time of each website simultaneously.
2. a kind of network struction speed detection method based on Zigbee according to claim 1, is characterized in that: the scope of the detection of described network traffics and the detection of network delay is short distance, 75 meters-5000m.
3. a kind of network struction speed detection method based on Zigbee according to claim 1, it is characterized in that: multithreading described and that internal memory is given out a contract for a project is specially to each user terminal to transmit data bag: a plurality of packets of random generation in the internal memory of described server, each packet sends to a user terminal by setting up a thread, and a plurality of user terminals send by a plurality of threads.
4. a kind of network struction speed detection method based on Zigbee according to claim 1, it is characterized in that: the result of described comparison is that downloading rate is the percentage of broadband access speed in the family that contracts of user, and the mode with chart presents to user, and at uninterrupted corresponding to all executive programs of user terminal displays active user terminal.
5. a kind of network struction speed detection method based on Zigbee according to claim 1, it is characterized in that: at every turn the testing result of the detection of the testing result of the detection of network traffics and network delay all unify to be back to a broadband and tests the speed in platform and preserve, prepare against follow-up O&M statistical analysis; The testing result of the detection of described network traffics comprises: the result of broadband access speed, comparison and detect and evaluate in downloading rate, signing family; The testing result of the detection of described network delay comprises: the information of evaluation result, Zigbee service availability, DNS time delay, TCP time delay and Zigbee page first packet time delay; Operating personnel can be according to testing result assisting users handling failure, critic network quality; The described broadband platform that tests the speed possesses that data derive and upload function.
CN201310459229.7A 2013-09-29 2013-09-29 Method for detecting network construction speed based on Zigbee Pending CN103516562A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310459229.7A CN103516562A (en) 2013-09-29 2013-09-29 Method for detecting network construction speed based on Zigbee

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310459229.7A CN103516562A (en) 2013-09-29 2013-09-29 Method for detecting network construction speed based on Zigbee

Publications (1)

Publication Number Publication Date
CN103516562A true CN103516562A (en) 2014-01-15

Family

ID=49898640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310459229.7A Pending CN103516562A (en) 2013-09-29 2013-09-29 Method for detecting network construction speed based on Zigbee

Country Status (1)

Country Link
CN (1) CN103516562A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103957320A (en) * 2014-04-30 2014-07-30 深圳市中兴移动通信有限公司 Application power consumption ranking method and system based on mobile terminal
CN104639401A (en) * 2015-02-26 2015-05-20 北京奥普维尔科技有限公司 Network on-line monitoring device and method
CN105024875A (en) * 2014-04-30 2015-11-04 中国电信股份有限公司 Method and system for measuring network flow rate of broadband classified users
CN108243446A (en) * 2016-12-27 2018-07-03 中国移动通信集团浙江有限公司 A kind of network communication problem determination processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825800A (en) * 2005-08-17 2006-08-30 深圳华为移动通信技术有限公司 Load method, load system and mobile station using load method
CN101193054A (en) * 2006-11-28 2008-06-04 华为技术有限公司 A method and system for data transmission and node devices and coordination device
US20080259810A1 (en) * 2007-04-23 2008-10-23 At&T Knowledge Ventures, Lp Broadband Service Applications Test Tool
CN102752170A (en) * 2012-06-29 2012-10-24 福建富士通信息软件有限公司 Network speed testing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825800A (en) * 2005-08-17 2006-08-30 深圳华为移动通信技术有限公司 Load method, load system and mobile station using load method
CN101193054A (en) * 2006-11-28 2008-06-04 华为技术有限公司 A method and system for data transmission and node devices and coordination device
US20080259810A1 (en) * 2007-04-23 2008-10-23 At&T Knowledge Ventures, Lp Broadband Service Applications Test Tool
CN102752170A (en) * 2012-06-29 2012-10-24 福建富士通信息软件有限公司 Network speed testing method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103957320A (en) * 2014-04-30 2014-07-30 深圳市中兴移动通信有限公司 Application power consumption ranking method and system based on mobile terminal
CN105024875A (en) * 2014-04-30 2015-11-04 中国电信股份有限公司 Method and system for measuring network flow rate of broadband classified users
CN103957320B (en) * 2014-04-30 2016-03-30 努比亚技术有限公司 Based on application power consumption arrangement method and the system of mobile terminal
CN105024875B (en) * 2014-04-30 2018-06-19 中国电信股份有限公司 The network flow-speed measurement method and system of broadband sorted users
CN104639401A (en) * 2015-02-26 2015-05-20 北京奥普维尔科技有限公司 Network on-line monitoring device and method
CN108243446A (en) * 2016-12-27 2018-07-03 中国移动通信集团浙江有限公司 A kind of network communication problem determination processing method and device
CN108243446B (en) * 2016-12-27 2021-07-13 中国移动通信集团浙江有限公司 Network communication problem judgment processing method and device

Similar Documents

Publication Publication Date Title
Hossain et al. A smart IoT based system for monitoring and controlling the sub-station equipment
AU2016337397B2 (en) Cloud based system and method for managing testing configurations for cable test devices
CN102752170A (en) Network speed testing method
CN103760874B (en) Check meter source of trouble localization method in a kind of low-voltage platform area
Hosek et al. Universal smart energy communication platform
CN103516562A (en) Method for detecting network construction speed based on Zigbee
CN107767618A (en) wireless environment monitoring system based on internet of things
Alulema et al. An IoT-based remote monitoring system for electrical power consumption via web-application
Amaro et al. Low cost wireless sensor network for in-field operation monitoring of induction motors
CN103023815B (en) Aggregation link load sharing method and device
Liu et al. An XBee-Pro based energy monitoring system
CN203758635U (en) Wireless intelligent temperature transmitter
CN105355021A (en) ZigBee-based remote wireless meter reading system and performance detection method thereof
Chen et al. Design and implementation of a ZigBee-based wireless automatic meter reading system
CN104933843A (en) Intelligent meter reading control system and realization method
CN102457903B (en) Wireless sensor network is linked into connection control method and the device of telecommunications network by multiple gateway
CN104133428A (en) Intelligent electrical equipment control method
Zheng et al. Intelligent wireless electric power management and control system based on ZigBee technology
Cao et al. Automatic meter reading system based on wireless mesh networks and SOPC technology
Gong et al. Design and implementation of smart home system based on ZigBee technology
CN105553752A (en) Method of on-line speed measurement of home gateway, speed measurement platform and gateway device
CN107017835B (en) The fault monitoring system and method for photovoltaic module
CN104135403B (en) A kind of distributed environment Monitoring Data transfer check method
Rajalakshmi Context aware building energy management system with heterogeneous wireless network architecture
Tiantian et al. Research on mine safety monitoring system based on WSN

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140115