CN106973398A - The method of testing and system of wireless module wireless connection performance - Google Patents

The method of testing and system of wireless module wireless connection performance Download PDF

Info

Publication number
CN106973398A
CN106973398A CN201710171099.5A CN201710171099A CN106973398A CN 106973398 A CN106973398 A CN 106973398A CN 201710171099 A CN201710171099 A CN 201710171099A CN 106973398 A CN106973398 A CN 106973398A
Authority
CN
China
Prior art keywords
broken string
monitoring device
wireless
equipment
string message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710171099.5A
Other languages
Chinese (zh)
Other versions
CN106973398B (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.)
Midea Group Co Ltd
Midea Smart Home Technology Co Ltd
Original Assignee
Midea Group Co Ltd
Midea Smart Home 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 Midea Group Co Ltd, Midea Smart Home Technology Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201710171099.5A priority Critical patent/CN106973398B/en
Publication of CN106973398A publication Critical patent/CN106973398A/en
Application granted granted Critical
Publication of CN106973398B publication Critical patent/CN106973398B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Present invention is disclosed the method for testing and system of wireless module wireless connection performance, this method comprises the following steps:The monitoring device judges whether the wireless module disconnects with the monitoring device, if so, generation broken string message;The monitoring device is by testing the connection status between the monitoring device and wireless network offer equipment, to obtain effectively broken string message from the broken string message;The monitoring device generates the test result of the wireless module wireless connection performance according to effective broken string message.After monitoring device generation broken string message, connection status between equipment is provided by test monitoring equipment and wireless network, invalid broken string message is rejected from broken string message, so as to remaining effectively broken string message, and according to effective broken string message generation test result, middle using the broken string message generation test result for containing invalid broken string message compared with prior art, the test result that the present invention is obtained is more accurate.

Description

The method of testing and system of wireless module wireless connection performance
Technical field
The present invention relates to the method for testing and system of testing field, more particularly to wireless module wireless connection performance.
Background technology
With the development of Internet of Things, indoor and outdoor occurs in that more and more with wireless module(Such as Wi-Fi module)'s Internet of Things equipment, these wireless modules need connection wireless network to provide equipment(For example, wireless router)The wireless network of offer Afterwards, proper communication could be realized.
The wireless connection performance of wireless module is to evaluate the important indicator of a wireless module performance.In order to ensure wireless mould Block has good wireless connection performance in actual applications, and wireless module is needed before volume production by a series of test, bag Include long fortune test(Long-play is tested).
Long fortune test is used to test wireless module for a long time(Such as 500 hours)Running status, and according to the operation shape State generates test result, and the number of times that for example breaks, broken string duration and wireless module connection wireless network provide the nothing that equipment is provided The online rate of gauze network.
As shown in figure 1, the implementation environment of long fortune test includes at present:Wireless module, wireless router and monitoring device, nothing Wire module is connected with wireless router, and monitoring device is connected with wireless module(Such as wired connection)With to wireless module whether with Wireless router connection is monitored, and generates monitoring daily record.The main process of long fortune test is as follows:
Control wireless module is connected with wireless router;
Monitoring device monitors the connection state of wireless module and wireless router in real time, is e.g. still disconnected in connection status Connection, monitoring device is according to connection state generation monitoring daily record;
It is long when tested to reach the total length of testing speech of setting(Such as 500 hours), then monitoring daily record, root are read from monitoring device According to monitoring daily record generation test result, including broken string number of times, broken string duration and online rate, according to test result to wireless module Wireless connection performance is evaluated.
However, there is following defect in the above method:
In some cases, due to wireless router is stopped suddenly in itself, cause wireless module can not with it is wireless Router is connected, and the same wireless module broken string for causing this reason is recorded in monitoring daily record, and this broken string Reason is not that wireless module is caused in itself, therefore, calculated based on this kind of broken string obtained test result be it is inaccurate, So as to have impact on the evaluation to the wireless connection performance of wireless module.
The content of the invention
For the inaccurate technology of the test result for the wireless connection performance for solving wireless module present in correlation technique Problem, the invention provides a kind of method of testing and system of wireless module wireless connection performance.
A kind of method of testing of wireless module wireless connection performance, wherein, the wireless module is provided by wireless network Equipment connects monitoring device, and methods described comprises the following steps:
The monitoring device judges whether the wireless module disconnects with the monitoring device, if so, generation broken string message;
The monitoring device provides connection status between equipment by testing the monitoring device and the wireless network, with from Effectively broken string message is obtained in the broken string message;
The monitoring device generates the test result of the wireless module wireless connection performance according to effective broken string message.
Present invention also offers a kind of method of testing of wireless module wireless connection performance, wherein, the wireless module point Equipment not being provided with wireless network and monitoring device being connected, the monitoring device provides equipment with wireless network and is connected, the side Method comprises the following steps:
Monitoring device receives the wireless module and breaking that wireless network offer equipment is disconnected from the wireless module Line message;
The monitoring device provides the working condition of equipment by testing the wireless network, to be obtained from the broken string message Effectively break message;
The monitoring device generates the test result of the wireless module wireless connection performance according to effective broken string message.
Present invention also offers a kind of test system of wireless module wireless connection performance, including wireless module, wireless network Network provides equipment and monitoring device, and the wireless module provides equipment by the wireless network and connects the monitoring device, institute Stating monitoring device includes:
Judging unit, is configured as performing:Judge whether the wireless module disconnects with the monitoring device, if so, raw Into broken string message;
Acquiring unit, is configured as performing:By testing the company between the monitoring device and wireless network offer equipment State is connect, to obtain effectively broken string message from the broken string message;
Generation unit, is configured as performing:According to effective broken string message, the wireless module wireless connection performance is generated Test result.
Present invention also offers a kind of test system of wireless module wireless connection performance, including wireless module, wireless network Network provides equipment and monitoring device, and the wireless module provides equipment with the wireless network respectively and the monitoring device connects Connect, the monitoring device provides equipment with the wireless network and is connected, and the monitoring device includes:
Receiving unit, is configured as performing:The wireless module is received from the wireless module to set with wireless network offer The standby broken string message disconnected;
Acquiring unit, is configured as performing:The working condition of equipment is provided by testing the wireless network, with from the broken string Effectively broken string message is obtained in message;
Generation unit, is configured as performing:According to effective broken string message, the wireless module wireless connection performance is generated Test result.
In some embodiments of the invention, when wireless module is disconnected with monitoring device, monitoring device generation is broken After message, monitoring device provides the connection status between equipment by test monitoring equipment and wireless network, from broken string message It is middle to reject invalid broken string message, so that remaining effectively broken string message, and according to effective broken string message generation test result, compared to existing Have in technology and to generate test result, therefore the test that above-described embodiment is obtained using the broken string message for containing invalid broken string message As a result it is more accurate.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary, this can not be limited Invention.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the present invention Example, and in specification together for explaining principle of the invention.
Fig. 1 is the implementation environment schematic diagram of the method for testing of wireless module wireless connection performance in the prior art.
Fig. 2 is the implementation environment signal of the method for testing of the wireless module wireless connection performance of an embodiment of the present invention Figure.
Fig. 3 is performed on a kind of flow chart of the method for testing of wireless module wireless connection performance of Fig. 2 implementation environment.
Fig. 4 is the implementation environment signal of the method for testing of the wireless module wireless connection performance of another embodiment of the invention Figure.
Fig. 5 is performed on a kind of flow chart of the method for testing of wireless module wireless connection performance of Fig. 4 implementation environments.
Fig. 6 is performed on a kind of interaction figure of the method for testing of wireless module wireless connection performance of Fig. 4 implementation environments.
Fig. 7 is performed on the flow chart of the method for testing of another wireless module wireless connection performance of Fig. 4 implementation environments.
Fig. 8 is performed on the interaction figure of the method for testing of another wireless module wireless connection performance of Fig. 4 implementation environments.
Fig. 9 is the implementation environment signal of the method for testing of the wireless module wireless connection performance of another embodiment of the invention Figure.
Figure 10 is implemented on a kind of flow chart of the method for testing of wireless module wireless connection performance of Fig. 9 implementation environments.
Figure 11 is the block diagram of the test system of the wireless module wireless connection performance of an embodiment of the present invention.
Figure 12 is the block diagram of the test system of the wireless module wireless connection performance of another embodiment of the invention.
Embodiment
Here explanation will be performed to exemplary embodiment in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the present invention.
As shown in Fig. 2 being a kind of implementation environment signal of the method for testing of the wireless module wireless connection performance of embodiment Figure, the implementation environment includes:Multiple wireless modules, wireless network provide equipment and monitoring device.
Wireless network, which provides equipment, is used to provide wireless network for wireless module access.
Monitoring device is used to realize the monitoring to wireless module, and completes the survey to the wireless connection performance of wireless module Examination.
Multiple wireless module connection wireless networks provide equipment, and monitoring device passes through wire/radio network and wireless network Equipment connection is provided, the wireless module provides equipment by wireless network and is connected with monitoring device communication(Or connection).
As shown in figure 3, be a kind of method of testing for the wireless module wireless connection performance implemented in Fig. 2 implementation environments, Comprise the following steps.
S11, monitoring device judge whether wireless module disconnects with monitoring device, if so, generation broken string message.
Test start when, monitoring device is established with wireless module and be connected, is set up after connecting, and wireless module can be to Monitoring device sends some data, and when connection disconnects, then monitoring device can not receive these data, wireless so as to judge Module is connected disconnection with monitoring device.
, can be every certain after wireless module and monitoring device establish communication connection specific in the present embodiment Time sends heartbeat data to monitoring device, if monitoring device receives the heartbeat data in certain time length, judges both In connection status;If monitoring device is not received by the heartbeat data in certain time length, monitoring device is judged and wireless Disconnected between module, and generate broken string message.
S12, monitoring device provide the connection status between equipment by test monitoring equipment and wireless network, with from disconnected Effectively broken string message is obtained in line message.
Because monitoring device is to provide equipment by wireless network to be connected with wireless module, therefore, if monitoring device Disconnected between wireless module, it may be possible to cause due to being disconnected between monitoring device and wireless network offer equipment 's.
The connection status that monitoring device and the wireless network are provided between equipment includes disconnecting and connecting, and it breaks Connection can be as caused by following reason:Wireless network provides device powers down, crashed, and wireless network provides equipment to be had with this Network connection disconnection between line/wireless network etc..
Therefore, in order to exclude broken string message in the invalid broken string message caused by reason outside wireless module, obtain because The reason for for wireless module itself, caused effective broken string message was, it is necessary to by monitoring device to monitoring device and the wireless network The connection status provided between equipment is tested.
Monitoring device provides monitoring device and the wireless network test that the connection status between equipment is carried out, Ke Yitong Cross following steps realization:Equipment is provided to wireless network and sends test data, and judges whether that receiving wireless network offer sets The standby response data returned, if receiving response data, it is to connect between providing equipment to judge monitoring device and the wireless network Connect, if being not received by response data, judge that monitoring device and the wireless network are disconnected between providing equipment.
For example, monitoring device can provide equipment to wireless network sends ping packets, by judging whether to receive Wireless network provides the response data that equipment is returned, it is possible to determine that its connection status.
Disconnected between monitoring device tests out monitoring device and the wireless network provides equipment, then it is corresponding It is invalid broken string message, monitoring device rejects the invalid broken string message, so as to obtain remaining effective broken string message.
S13, monitoring device generate the test result of wireless module wireless connection performance according to effective broken string message.
Test result includes broken string number of times, broken string duration between wireless module and monitoring device etc..
Monitoring device often generates an effectively broken string message, that is, corresponds to the once effectively broken string, therefore monitoring of wireless module Equipment can generate corresponding broken string number of times according to effective broken string message.
In the present embodiment, when wireless module is disconnected with monitoring device, after monitoring device generation broken string message, lead to The connection status crossed between test monitoring equipment and wireless network offer equipment, invalid broken string message is rejected from broken string message, So as to remaining effectively broken string message, and according to effective broken string message generation test result.It is contrasted with the scheme of the present embodiment , prior art record broken string message in, much because the wireless network provide equipment be stopped and cause, That is the broken string message of prior art record is inaccurate.As can be seen here, by the scheme of the present embodiment, wireless mould is obtained The test result of block wireless connection performance is more accurate than prior art.
Due to may not be to be caused by wireless module reason itself when wireless module and monitoring device are disconnected, if often Secondary wireless module is disconnected with monitoring device, and monitoring device all goes to test its connection shape between wireless network offer equipment State, can cause testing efficiency relatively low.In order to solve the problem of above-mentioned testing efficiency is relatively low, present invention also offers following examples Technical scheme.
In the case where multiple wireless modules and wireless network offer equipment are connected, when monitoring device and wireless network offer Connect and disconnect between equipment, monitoring device can be caused to be disconnected with multiple wireless modules, that is to say, that monitoring device will set Multiple broken string message will be generated in timing is long.In other words, when monitoring device generates multiple broken string message in setting duration, then supervise It is very high that control equipment and wireless network provide the possibility disconnected between equipment.
In one embodiment, step S12 is:
Monitoring device judges whether the quantity of the broken string message generated in setting duration exceedes number of thresholds, if so, monitoring is set The standby connection status provided by test monitoring equipment and wireless network between equipment, to obtain effectively broken string from broken string message Message.
For example, when there is N number of wireless module connection wireless network to provide equipment, the number of thresholds is N/M, wherein, N and M For the positive integer not less than 2, and N is more than M, and e.g., number of thresholds is N/2.
By the present embodiment, the degree of accuracy of test result is not only ensure that, and the efficiency of test can also be improved.
Broken string duration belongs to one kind of test result, and in order to calculate the broken string duration of wireless module, the present invention is above real Apply and additionally provide a more specifically embodiment on the basis of example.
The test result is broken string duration.
After step s 12, this method also comprises the following steps:
Monitoring device judges whether the wireless module is connected with the monitoring device, if so, generation online message.
When monitoring device detect wireless module transmission some data after, then can be determined that wireless module again with prison Control equipment establishes connection, and generates the online message of wireless module.
Step S13 is:
The monitoring device generates the broken string duration according to the interval duration between the online message and effective broken string message.
Online hours are also and effectively online rate also belongs to test result, in one embodiment, in order to calculate wireless module Online hours and effectively online rate, the present invention additionally provides one on the basis of preceding embodiment and more specifically implements Example.
When wireless module provides equipment by wireless network to be connected first with monitoring device, monitoring device then generates first Secondary online message, and trigger monitoring device itself and start to count total length of testing speech.
Then, after monitoring device obtains effectively broken string message for the first time, effectively broken string disappears for the first time for monitoring device calculating Time interval between breath and first time online message, obtains first time online hours.
After monitoring device generates second of online message, triggering monitoring device itself calculates second online message and the Once the time interval effectively between broken string message, that is, obtain broken string duration for the first time.
By that analogy, it can be seen that after monitoring device obtains effectively broken string message, can be existed according to previous generation Line message calculates the online hours for obtaining wireless module.Equally, when monitoring device generate online message after, can according to it is preceding once The effective broken string message obtained, which is calculated, obtains the duration that breaks.
Monitoring device calculates the summation of all online hours, and calculates the ratio of the summation and total length of testing speech, you can with Obtain effective online rate of wireless module.
In the testing field of wireless module, availability also belongs to a kind of test result, generally, the mathematical expression of availability Formula is as follows:
Availability A=MTBF/(MTBF+MTTR).
MTBF is Mean Time Between Failure abbreviation, and implication is the mean free error time, and MTTR is Mean Time To Restoration abbreviation, implication is Mean Time To Recovery, and always break MTBF=total length of testing speech/number of times.
Typically, the availability A of wireless module needs to be more than certain threshold value, can just meet test request.
For example, in certain embodiments, the availability A of wireless module needs to be more than 99.9%.In this case, always to survey During examination exemplified by a length of 500 hours, it can derive under different broken string number of times, each broken string duration maximum of wireless module can not The broken string duration threshold value exceeded.For example, wireless module broken string is once, the broken string duration threshold value is 1801s, can equally be calculated Break repeatedly corresponding broken string duration threshold value respectively to wireless module.
In one embodiment, when the broken string duration that monitoring device detects current number of times alreadys exceed current time broken string Number of times correspondence under broken string duration threshold value when, the test to wireless module can be stopped, and generate wireless module wireless connectivity The prompting message not passed through can be tested, to point out tester.
In one embodiment, in order to allowing tester to understand the test of wireless module switching performance, this hair at any time It is bright to additionally provide implementation environment as shown in Figure 4.
The implementation environment includes:Multiple wireless modules, wireless network provide equipment and monitoring device, wherein, monitoring device Including server and client side.
Multiple wireless module connection wireless networks provide equipment, and server is carried by wire/radio network with wireless network For equipment connection, client is connected by wire/radio network with server.
Wherein, wireless module can be WLAN wireless modules, and WLAN wireless modules include Wi-Fi wireless modules.
As it can be seen in figures 5 and 6, being a kind of test side for the wireless module wireless connection performance implemented in Fig. 4 implementation environments Method, comprises the following steps.
S21, server judge whether wireless module disconnects with server, if so, generation broken string message.
When testing beginning, server is established with wireless module and is connected, is set up after connection, wireless module can be to clothes Business device sends some data, and when connection disconnects, then server can not receive these data, and server is so as to judging connection Disconnect.
Broken string message is sent to client by S22, server.
Broken string message is sent to client by server, to point out the tester for holding the client, so that tester Member can recognize broken string situation in time.
S23, client are after broken string message is received, and the test wireless network offer that triggering receives tester is set Standby operation.
For example, after client receives broken string message, whether client tests wireless network in display interface ejection The operation input area of equipment is provided, so that tester's input test is operated or not test operation.
In some cases, it is to connect that tester, which may have learned that active wireless network is provided between equipment and server, Connect, for example tester provides the vicinity of equipment in wireless network just, providing equipment using the wireless network accesses Server, therefore, whether tester can provide equipment and work to wireless network judges, to decide whether to nothing Gauze network provides equipment and tested.
S24, client are received after the operation of test wireless network offer equipment of tester, are triggered to server Send test wireless network and device command is provided.
The operation that tester's input test wireless network provides equipment will trigger user end to server transmission test nothing Whether gauze network provides device command, connected between providing equipment with test server and wireless network.
S25, server receive the test wireless network offer device command that client is sent.
S26, server provide device command according to test network, and test server and wireless network are provided between equipment Connection status, with from broken string message in obtain effectively broken string message.
Server provides server and the wireless network test that the connection status between equipment is carried out, can be by such as Lower step is realized:Equipment is provided to wireless network and sends test data, and judges whether that receiving wireless network offer equipment returns The response data returned, is connection between determining server and wireless network offer equipment if receiving response data, if Response data is not received by, then determining server and the wireless network are disconnected between providing equipment.
Disconnected between server test goes out server and the wireless network provides equipment, then corresponding is nothing Effect broken string message, server rejects the invalid broken string message, so as to obtain remaining effectively broken string message.
S27, server generate the test result of wireless module wireless connection performance according to effective broken string message.
Such as preceding embodiment, test result includes broken string number of times, broken string duration between wireless module and monitoring device etc..
It is similar to previous embodiment, in the present embodiment, eliminated in the broken string message it is invalid broken string message after, root Test result according to effective broken string message generation is more accurate.It is contrasted with the scheme of the present embodiment, prior art note In the broken string message of record, much caused because wireless network offer equipment does not work, that is to say, that prior art record The message that breaks is inaccurate.As can be seen here, by the scheme of the present embodiment, the test of wireless module wireless connection performance is obtained As a result it is more accurate than prior art.
In the present embodiment, step similar in preceding embodiment can be used, calculates and obtains as the disconnected of test result Line duration, online hours and effectively online rate etc., will not be repeated here.
As shown in FIG. 7 and 8, it is the test of another wireless module wireless connection performance implemented in Fig. 4 implementation environments The method of method, this method and embodiment illustrated in fig. 5 difference, is essentially consisted in the present embodiment, wireless in client generation The test result of module wireless connection performance, this method comprises the following steps.
S31, server judge whether wireless module disconnects with server, if so, generation broken string message.
Broken string message is sent to client by S32, server.
S33, client are after broken string message is received, and the test wireless network that triggering receives tester provides equipment Operation.
S34, client are received after the operation of test wireless network offer equipment of tester, are triggered and are sent out to server Test wireless network is sent to provide device command.
S35, server receive the test wireless network offer device command that client is sent.
Above-mentioned steps S31 to S35 is identical with the step S21 to S25 of embodiment illustrated in fig. 5, will not be repeated here, and specifically please Referring to the embodiment.
S36, server provide device command according to test network, and test obtains server and provides equipment with wireless network Between connection status.
Server provides server and the wireless network test that the connection status between equipment is carried out, can be by such as Lower step is realized:Equipment is provided to wireless network and sends test data, and judges whether that receiving wireless network offer equipment returns The response data returned, is connection between determining server and wireless network offer equipment if receiving response data, if Response data is not received by, then determining server and the wireless network are disconnected between providing equipment.
Connection status is sent to client by S37, server.
S38, client receive connection status, and according to connection status, effectively broken string message is obtained from broken string message.
Disconnected between server test goes out server and the wireless network provides equipment, then corresponding is nothing Effect broken string message, client rejects the invalid broken string message, so as to obtain remaining effectively broken string message.
S39, client generate the test result of wireless module wireless connection performance according to effective broken string message.
In the present embodiment, step similar in preceding embodiment can be used, client, which is calculated, to be obtained as test knot Broken string duration, online hours and effectively online rate of fruit etc., will not be repeated here.
As shown in figure 9, being that the implementation environment of the method for testing of the wireless module wireless connection performance of another embodiment shows It is intended to, the implementation environment includes:Multiple wireless modules, wireless network provide equipment and monitoring device.
Wireless network, which provides equipment, is used to provide wireless network for wireless module access, and multiple wireless modules connect wireless networks Network provides equipment.
Monitoring device is connected with multiple wireless modules(For example connected by data wire), for realizing the prison to wireless module Control, and complete the test to the wireless connection performance of wireless module.Monitoring device also accesses wireless network and provides what equipment was provided Wireless network, that is to say, that monitoring device also provides equipment with wireless network and is connected.
As shown in Figure 10, be the embodiment in Fig. 9 implementation environment wireless module wireless connection performance method of testing, Comprise the following steps.
The broken string that S41, monitoring device are disconnected from wireless module reception wireless module and wireless network offer equipment disappears Breath.
When testing beginning, wireless module is established with wireless network offer equipment and is connected, is set up after connection, wirelessly Network provides equipment can send some data to wireless module, and when connection disconnects, then wireless module can not receive these data, Wireless module disconnects so as to judge to connect.In further embodiments, wireless module can provide equipment to wireless network Test data is sent, if can receive wireless network provides the response data that equipment is returned, wireless module and wireless network is judged Network provide equipment be connection, if can not receive wireless network provide equipment return response data, judge wireless module with Wireless network provides equipment and disconnected.
Then, these broken string message are sent to monitoring device by wireless module.
S42, monitoring device provide the working condition of equipment by testing wireless network, have to be obtained from broken string message Effect broken string message.
If wireless module and wireless network are disconnected between providing equipment, it may be possible to because wireless network provides equipment Caused by not working, wireless network provide equipment do not work including:Power-off, deadlock etc..
Therefore, in order to exclude broken string message in because wireless network provide equipment caused by invalid broken string message, obtain because The reason for for wireless module, caused effective broken string message was, it is necessary to provide the wireless network work of equipment by monitoring device State is tested.
Monitoring device provides the wireless network test that the working condition of equipment is carried out, can be real as follows It is existing:Equipment is provided to wireless network and sends test data, and judges whether that receiving wireless network provides the response that equipment is returned Data, if receiving response data, judge that monitoring device is work, if being not received by response data, judge the nothing Gauze network provide equipment be do not have it is in harness.
When monitoring device test out with the wireless network provide equipment be do not have it is in harness, then it is corresponding is it is invalid broken string disappear Breath, monitoring device rejects the invalid broken string message, so as to obtain remaining effectively broken string message.
S43, monitoring device generate the test result of wireless module wireless connection performance according to effective broken string message.
Test result includes broken string number of times, broken string duration between wireless module and monitoring device etc..
Monitoring device often generates an effectively broken string message, that is, corresponds to the once effectively broken string, therefore monitoring of wireless module Equipment can generate corresponding broken string number of times according to effective broken string message.
Equally, in the present embodiment, eliminate after invalid broken string message, disappeared according to effective broken string in the broken string message The test result for ceasing generation is more accurate.It is contrasted with the scheme of the present embodiment, the broken string message of prior art record In, much caused because wireless network offer equipment does not work, that is to say, that the broken string message of prior art record It is inaccurate.As can be seen here, by the scheme of the present embodiment, the test result of wireless module wireless connection performance is obtained than existing There is technology more accurate.
In order to calculate the broken string duration of wireless module, the present invention additionally provides one more on the basis of preceding embodiment Specific embodiment.
The test result is broken string duration.
After step S42, this method also comprises the following steps:
Monitoring device judges whether to receive the online message that wireless module is connected with wireless network offer equipment from wireless module.
After wireless module, which receives wireless network, provides some data that equipment is sent, then wireless module is can be determined that Establish and be connected with wireless network offer equipment, and generate online message, the online message is then sent to monitoring device.
Step S43 is:
The monitoring device generates the broken string duration according to the interval duration between the online message and effective broken string message.
Due to may not be to be caused by wireless module when wireless module and wireless network provide equipment and disconnected, if The broken string message of wireless module transmission is received every time, and monitoring device all goes to test the working condition that wireless network provides equipment, Can so it cause testing efficiency relatively low.In order to solve the problem of above-mentioned testing efficiency is relatively low, implement present invention also offers following The technical scheme of example.
In the case where multiple wireless modules and wireless network offer equipment are connected, when monitoring device meeting in setting duration Receive multiple broken string message.In other words, when monitoring device receives multiple broken string message in setting duration, then wireless network There is provided equipment does not have in harness possibility very high.
In one embodiment, step S42 is:
Monitoring device judges whether the quantity of the broken string message received in setting duration exceedes number of thresholds, if so, monitoring Equipment provides the working condition of equipment by testing wireless network, to obtain effectively broken string message from broken string message.
For example, when there is N number of wireless module connection wireless network to provide equipment, the number of thresholds is N/M, wherein, N and M For the positive integer not less than 2, and N is more than M, and e.g., number of thresholds is N/2.
By the present embodiment, the degree of accuracy of test result is not only ensure that, and the efficiency of test can also be improved.
As shown in figure 11, present invention also offers a kind of test system of wireless module wireless connection performance, including it is wireless Module 10, wireless network provide equipment 11 and monitoring device 12, and the wireless module 10 provides equipment by the wireless network The 11 connection monitoring devices 12, the monitoring device 12 includes:
Judging unit 121, is configured as performing:Judge whether the wireless module disconnects with the monitoring device, if so, Generation broken string message;
Acquiring unit 122, is configured as performing:By testing between the monitoring device and wireless network offer equipment Connection status, to obtain effectively broken string message from the broken string message;
Generation unit 123, is configured as performing:According to effective broken string message, the wireless module wireless connectivity is generated The test result of energy.
The specific execution method of system in the embodiment is in the test of wireless module wireless connection performance above Detailed description is performed in system embodiment, explanation will be not set forth in detail herein.
As shown in figure 12, a kind of test system of wireless module wireless connection performance, including wireless module 20, wireless network Equipment 21 and monitoring device 22 are provided, the wireless module 20 provides equipment 21 with the wireless network respectively and the monitoring is set Standby 22 connection, the monitoring device 22 provides equipment 21 with the wireless network and is connected, and the monitoring device 22 includes:
Receiving unit 221, is configured as performing:The wireless module is received from the wireless module to provide with the wireless network The broken string message that equipment is disconnected;
Acquiring unit 222, is configured as performing:The working condition of equipment is provided by testing the wireless network, with from described Effectively broken string message is obtained in the message that breaks;
Generation unit 223, is configured as performing:According to effective broken string message, the wireless module wireless connectivity is generated The test result of energy.
The specific execution method of system in the embodiment is in the test of wireless module wireless connection performance above Detailed description is performed in system embodiment, explanation will be not set forth in detail herein.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can be being performed without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (10)

1. a kind of method of testing of wireless module wireless connection performance, wherein, the wireless module is provided by wireless network and set Standby connection monitoring device, it is characterized in that, methods described comprises the following steps:
The monitoring device judges whether the wireless module disconnects with the monitoring device, if so, generation broken string message;
The monitoring device provides connection status between equipment by testing the monitoring device and the wireless network, with from Effectively broken string message is obtained in the broken string message;
The monitoring device generates the test result of the wireless module wireless connection performance according to effective broken string message.
2. the method as described in claim 1, it is characterized in that,
By the wireless network provide the wireless module that equipment connects the monitoring device have it is multiple,
The monitoring device provides connection status between equipment by testing the monitoring device and the wireless network, with from In the broken string message obtain effectively broken string message the step of be:
The monitoring device judges whether the quantity of the broken string message generated in setting duration exceedes number of thresholds, if so, logical The connection status tested between the monitoring device and wireless network offer equipment is crossed, to be obtained from the broken string message Effectively break message.
3. the method as described in claim 1, it is characterized in that,
The test result is broken string duration;
In the monitoring device by testing the connection status between the monitoring device and wireless network offer equipment, with Obtained from the broken string message after effectively broken string message, methods described also comprises the following steps:
The monitoring device judges whether the wireless module is connected with the monitoring device, if so, generation online message;
The monitoring device generates the test result of the wireless module wireless connection performance according to effective broken string message Step is:
The monitoring device generates the broken string according to the interval duration between the online message and effective broken string message Duration.
4. the method as described in claim 1, it is characterized in that,
The monitoring device includes server and client side, and the wireless module provides equipment by wireless network and connects the clothes Business device;
The monitoring device judges whether the wireless module disconnects with the monitoring device, if so, generation broken string message The step of be:
The server judges whether the wireless module disconnects with the server, if so, generation broken string message;
The broken string message is sent to the client by the server;
The monitoring device provides connection status between equipment by testing the monitoring device and the wireless network, with from In the broken string message obtain effectively broken string message the step of be:
The test that the server receives the operation triggering of the tested wireless network offer equipment of the client and sent is wireless Network provides device command;
The server provides device command according to the test network, tests the server and is set with wireless network offer Connection status between standby, to obtain effectively broken string message from the broken string message.
5. the method as described in claim 1, it is characterized in that,
The monitoring device includes server and client side, and the wireless module provides equipment by wireless network and connects the clothes Business device;
The monitoring device judges whether the wireless module disconnects with the monitoring device, if so, generation broken string message The step of be:
The server judges whether the wireless module disconnects with the server, if so, generation broken string message;
The broken string message is sent to client by the server;
The monitoring device provides connection status between equipment by testing the monitoring device and the wireless network, with from In the broken string message obtain effectively broken string message the step of be:
The test that the server receives the operation triggering of the tested wireless network offer equipment of the client and sent is wireless Network provides device command;
The server provides device command according to the test wireless network, and test obtains the monitoring device and described wireless Network provides the connection status between equipment;
The connection status is sent to the client by the server;
The client obtains effectively broken string message according to the connection status from the broken string message;
The monitoring device generates the test result of the wireless module wireless connection performance according to effective broken string message Step is:
The client generates the test result of the wireless module wireless connection performance according to effective broken string message.
6. a kind of method of testing of wireless module wireless connection performance, wherein, the wireless module is provided with wireless network respectively Equipment and monitoring device connection, the monitoring device provide equipment with wireless network and are connected, it is characterized in that, methods described is included such as Lower step:
Monitoring device receives the wireless module and breaking that wireless network offer equipment is disconnected from the wireless module Line message;
The monitoring device provides the working condition of equipment by testing the wireless network, to be obtained from the broken string message Effectively break message;
The monitoring device generates the test result of the wireless module wireless connection performance according to effective broken string message.
7. method as claimed in claim 6, it is characterized in that,
The test result is broken string duration;
The working condition of equipment is provided by testing the wireless network in the monitoring device, to be obtained from the broken string message Take after effectively broken string message, methods described also comprises the following steps:
The monitoring device judges whether that receive the wireless module from the wireless module sets with wireless network offer The online message of standby connection;
The monitoring device generates the test result of the wireless module wireless connection performance according to effective broken string message Step is:
The monitoring device generates the broken string according to the interval duration between the online message and effective broken string message Duration.
8. method as claimed in claim 6, it is characterized in that,
By the wireless network provide the wireless module that equipment connects the monitoring device have it is multiple,
The monitoring device provides the working condition of equipment by testing the wireless network, to be obtained from the broken string message Effectively broken string message the step of be:
The monitoring device judges whether the quantity of the broken string message received in setting duration exceedes number of thresholds, if so, The working condition of equipment is provided by testing the wireless network, to obtain effectively broken string message from the broken string message.
9. a kind of test system of wireless module wireless connection performance, including wireless module, wireless network provide equipment and monitoring Equipment, the wireless module provides equipment by the wireless network and connects the monitoring device, it is characterized in that, the monitoring is set It is standby to include:
Judging unit, is configured as performing:Judge whether the wireless module disconnects with the monitoring device, if so, raw Into broken string message;
Acquiring unit, is configured as performing:By testing the company between the monitoring device and wireless network offer equipment State is connect, to obtain effectively broken string message from the broken string message;
Generation unit, is configured as performing:According to effective broken string message, the wireless module wireless connection performance is generated Test result.
10. a kind of test system of wireless module wireless connection performance, including wireless module, wireless network provide equipment and monitoring Equipment, the wireless module provides equipment and the monitoring device with the wireless network respectively and be connected, the monitoring device and The wireless network provides equipment connection, it is characterized in that, the monitoring device includes:
Receiving unit, is configured as performing:The wireless module is received from the wireless module to set with wireless network offer The standby broken string message disconnected;
Acquiring unit, is configured as performing:The working condition of equipment is provided by testing the wireless network, with from the broken string Effectively broken string message is obtained in message;
Generation unit, is configured as performing:According to effective broken string message, the wireless module wireless connection performance is generated Test result.
CN201710171099.5A 2017-03-21 2017-03-21 Method and system for testing wireless connection performance of wireless module Active CN106973398B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710171099.5A CN106973398B (en) 2017-03-21 2017-03-21 Method and system for testing wireless connection performance of wireless module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710171099.5A CN106973398B (en) 2017-03-21 2017-03-21 Method and system for testing wireless connection performance of wireless module

Publications (2)

Publication Number Publication Date
CN106973398A true CN106973398A (en) 2017-07-21
CN106973398B CN106973398B (en) 2020-02-18

Family

ID=59329518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710171099.5A Active CN106973398B (en) 2017-03-21 2017-03-21 Method and system for testing wireless connection performance of wireless module

Country Status (1)

Country Link
CN (1) CN106973398B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493075A (en) * 2019-08-01 2019-11-22 京信通信系统(中国)有限公司 The method, apparatus and system of equipment on-line duration monitoring
CN115174437A (en) * 2022-06-27 2022-10-11 广州鲁邦通物联网科技股份有限公司 Network connection stability detection method and system
CN115460109A (en) * 2022-11-11 2022-12-09 广州粤芯半导体技术有限公司 Connection state detection method and device, computer equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110066720A1 (en) * 2009-09-04 2011-03-17 Inventec Appliances (Shanghai) Co. Ltd. Network connection status detecting system and method thereof
CN102821416A (en) * 2011-06-10 2012-12-12 芯讯通无线科技(上海)有限公司 System for testing abnormal interruption of wireless communication module and application method thereof
CN103856966A (en) * 2012-11-28 2014-06-11 华为技术有限公司 Method and device for positioning faults of remote wireless network
CN105611558A (en) * 2016-01-26 2016-05-25 杭州德澜科技有限公司 Equipment for performing ping packet test of WIFI module of IOT

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110066720A1 (en) * 2009-09-04 2011-03-17 Inventec Appliances (Shanghai) Co. Ltd. Network connection status detecting system and method thereof
CN102821416A (en) * 2011-06-10 2012-12-12 芯讯通无线科技(上海)有限公司 System for testing abnormal interruption of wireless communication module and application method thereof
CN103856966A (en) * 2012-11-28 2014-06-11 华为技术有限公司 Method and device for positioning faults of remote wireless network
CN105611558A (en) * 2016-01-26 2016-05-25 杭州德澜科技有限公司 Equipment for performing ping packet test of WIFI module of IOT

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493075A (en) * 2019-08-01 2019-11-22 京信通信系统(中国)有限公司 The method, apparatus and system of equipment on-line duration monitoring
CN110493075B (en) * 2019-08-01 2021-06-25 京信通信系统(中国)有限公司 Method, device and system for monitoring online duration of equipment
CN115174437A (en) * 2022-06-27 2022-10-11 广州鲁邦通物联网科技股份有限公司 Network connection stability detection method and system
CN115174437B (en) * 2022-06-27 2024-05-07 广州鲁邦通物联网科技股份有限公司 Network connection stability detection method and system
CN115460109A (en) * 2022-11-11 2022-12-09 广州粤芯半导体技术有限公司 Connection state detection method and device, computer equipment and readable storage medium

Also Published As

Publication number Publication date
CN106973398B (en) 2020-02-18

Similar Documents

Publication Publication Date Title
US8140920B2 (en) Method and system for providing bit error rate characterization
CN104796298B (en) A kind of method and device of SDN network accident analysis
CN110460732B (en) Network quality monitoring method and device and communication server
CN109194551B (en) Method, device and system for testing performance of real-time Ethernet equipment
CN110545566B (en) Link switching method, device, equipment and storage medium
Ramanathan et al. Towards a debugging system for sensor networks
CN106973398A (en) The method of testing and system of wireless module wireless connection performance
JP2019501551A (en) Cloud-based system and method for managing messages related to operation of cable test devices
JP5104738B2 (en) Packet loss rate measuring method, packet loss rate measuring device, and computer program
CN101145977B (en) A QoS monitoring system and its measuring method of IP data network
CN107360239A (en) A kind of client connection status detection method and system
CN102651702A (en) Ethernet performance measurement method and equipment
KR101640476B1 (en) Test analysis system of network and analysis method thereof
CN106375152A (en) Method for processing communication abnormality of Client/Server (C/S) architecture
JP6803345B2 (en) How to Test the Packet Error Rate of Radio Frequency (RF) Data Packet Signal Transmitters
US8228813B2 (en) Network quality measurement based on quality measurement packet
CN110515782A (en) Test method, test device and the test macro of server
CN105611406B (en) One kind access net service provider monitors user to video server lag characteristic method
Angrisani et al. Testing communication and computer networks: an overview
JP5779522B2 (en) Communication device, failure determination method, and program
CN107306213A (en) Diagnostic method and diagnostic device for network
CN112769653A (en) Network detection and switching method, system and medium based on network port binding
Lyczkowski et al. Performance of a 5G NPN in industry: Statistical analysis and application to black channel protocols
CN113009246A (en) PSE equipment detection device and PSE equipment detection method
JP4967735B2 (en) Connection monitoring device, and network device and network test device using the same.

Legal Events

Date Code Title Description
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