CN107148031A - A kind of method of testing of WiFi module software systems, apparatus and system - Google Patents

A kind of method of testing of WiFi module software systems, apparatus and system Download PDF

Info

Publication number
CN107148031A
CN107148031A CN201710161081.7A CN201710161081A CN107148031A CN 107148031 A CN107148031 A CN 107148031A CN 201710161081 A CN201710161081 A CN 201710161081A CN 107148031 A CN107148031 A CN 107148031A
Authority
CN
China
Prior art keywords
wifi module
test
control instruction
operating mode
test event
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
CN201710161081.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.)
Shanghai Mxchip Information Technology Co Ltd
Original Assignee
Shanghai Mxchip Information 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 Shanghai Mxchip Information Technology Co Ltd filed Critical Shanghai Mxchip Information Technology Co Ltd
Priority to CN201710161081.7A priority Critical patent/CN107148031A/en
Publication of CN107148031A publication Critical patent/CN107148031A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

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

Abstract

The invention discloses a kind of method of testing of WiFi module software systems, apparatus and system, operating mode information including being inputted according to user generates and sends operating mode instruction to WiFi module, so that WiFi module is parsed to operating mode instruction and performs the operating mode instruction after parsing, it is configured with the mode of operation to WiFi module;The test event information inputted according to user generates the first control instruction and the second control instruction, and test event information includes test event and parameter information;First control instruction is sent to wireless transceiver, is configured with the parameter to wireless transceiver;Second control instruction is sent to WiFi module, to control the state between WiFi module and wireless transceiver, and corresponding test event tested.The present invention can be automatically performed the test of corresponding test event according to the test event information that user provides, and reduce the workload of staff, and improve operating efficiency and the degree of accuracy.

Description

A kind of method of testing of WiFi module software systems, apparatus and system
Technical field
The present invention relates to software testing technology field, more particularly to a kind of method of testing of WiFi module software systems. The invention further relates to a kind of test device and system of WiFi module software systems.
Background technology
WiFi module software systems are a kind of embedded systems operated on the very limited amount of hardware platform of resource, and this is System includes the network application layer such as real time operating system, external equipment driving, WiFi protocol stacks, network protocol stack and cloud service and taken Business, therefore the exploitation of the system and debugging efforts are all complex.More and more extensive with the application of Internet of Things, WiFi module is soft The function of part system is also more and more.Generally, the meeting again after New function that WiFi module software systems are upgraded or added Trigger some problems, so the system after newly developed or renewal needs to survey the system before formal come into operation Examination.
At present, the test to WiFi module software systems is tested manually by staff, due to each test Project is separated test, so when testing a fc-specific test FC project, it is necessary to which staff is directed to the test item Mesh writes an its corresponding test program, and needs staff when testing another specific test event An its corresponding test program is write for this test event, so more test event results in staff's needs Write many test programs, and one test event of each pair is accomplished by downloading to corresponding test program when being tested WiFi module, is then tested it again, and each step in test process is required for the participation of staff could be complete Into.Generally, it is necessary to which retest is multiple (such as 1000 times) when testing a test event, and test every time all Staff is needed to participate in, in summary, the method for testing to WiFi module software systems makes staff's in the prior art Intricate operation, efficiency are low, the degree of accuracy declines.
Therefore, how to provide a kind of method of testing of WiFi module software systems for solving above-mentioned technical problem, device and System turns into the problem of those skilled in the art needs to solve.
The content of the invention
It is an object of the invention to provide a kind of method of testing of WiFi module software systems, apparatus and system, what is used During reduce the workload of staff, and substantially increase operating efficiency and the degree of accuracy.
In order to solve the above technical problems, the invention provides a kind of method of testing of WiFi module software systems, the side Method includes:
The operating mode information inputted according to user generates and sends operating mode instruction to WiFi module, so as to described WiFi module is parsed to the operating mode instruction and performs the operating mode instruction after parsing, with to the WiFi The mode of operation of module is configured;
The test event information inputted according to the user generates the first control instruction and the second control instruction, the test Project information includes test event and parameter information;
First control instruction is sent to wireless transceiver, is configured with the parameter to the wireless transceiver;
Second control instruction is sent to the WiFi module, to control the WiFi module and the wireless receiving and dispatching State between device, and corresponding test event is tested.
It is preferred that, the mode of operation is station patterns, and the wireless transceiver is router.
It is preferred that, described send first control instruction to the process of wireless transceiver is specially:
First control instruction is sent to the router by SSH.
It is preferred that, the test event is the combination of one or more of:
First functional test, first reconnect test, first network performance test, network traffics test and SSL tests.
It is preferred that, the mode of operation is soft ap modes, and the wireless transceiver is wireless network card.
It is preferred that, described send first control instruction to the process of wireless transceiver is specially:
First control instruction is sent to the wireless network card by network manager cli.
It is preferred that, the test event is the combination of one or more of:
Second functional test, second reconnect test and the second applied in network performance test.
It is preferred that, the method for testing of WiFi module software systems as described above, methods described also includes:
The test result that the WiFi module is returned is received, and the test result is write into test report.
In order to solve the above technical problems, the invention provides a kind of test device of WiFi module software systems, the dress Put including:
Receiving module, the operating mode information for receiving user's input;It is additionally operable to receive the test of user's input Project information;
Generation module, for generating operating mode instruction, and trigger setup module according to the operating mode information;Also use In generating the first control instruction according to the test event information, and the setup module is triggered;For according to the test item Mesh information generates the second control instruction, and trigger control module;The test event information includes test event and parameter information;
The setup module, for the operating mode instruction to be sent to WiFi module, so as to the WiFi module pair The operating mode instruction is parsed and performs the operating mode instruction after parsing, with the work to the WiFi module Pattern is configured;It is additionally operable to send first control instruction to wireless transceiver, with the ginseng to the wireless transceiver Number is configured;
The control module, for second control instruction to be sent to the WiFi module, to control the WiFi State between module and the wireless transceiver, and corresponding test event is tested.
In order to solve the above technical problems, the invention provides a kind of test system of WiFi module software systems, the system System includes WiFi module, wireless transceiver and test device as described above.
The invention provides a kind of method of testing of WiFi module software systems, apparatus and system, including:It is defeated according to user The operating mode information entered generates and sends operating mode instruction to WiFi module, so that WiFi module enters to operating mode instruction Row parses and performs the operating mode instruction after parsing, is configured with the mode of operation to WiFi module;Inputted according to user Test event information generate the first control instruction and the second control instruction, test event information includes test event and parameter is believed Breath;First control instruction is sent to wireless transceiver, is configured with the parameter to wireless transceiver;By the second control instruction Send to WiFi module, to control the state between WiFi module and wireless transceiver, and corresponding test event is surveyed Examination.
The present invention passes through according to mode of operation of user (staff) operating mode information that is inputted to WiFi module Automatically it is configured, and corresponding test event is tested automatically according to the test event information that staff inputs, Staff only needs to input corresponding operating mode information and corresponding test event information in whole test process, Participation in specific test process without staff, the present invention can be automatically performed phase according to the information that staff provides The test of test event is answered, the workload of staff is reduced to a certain extent, and substantially increases operating efficiency and standard Exactness.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to institute in prior art and embodiment The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
A kind of schematic flow sheet of the method for testing for WiFi module software systems that Fig. 1 provides for the present invention;
A kind of structural representation of the test device for WiFi module software systems that Fig. 2 provides for the present invention;
A kind of structural representation of the test system for WiFi module software systems that Fig. 3 provides for the present invention.
Embodiment
The core of the present invention is to provide a kind of method of testing of WiFi module software systems, apparatus and system, what is used During reduce the workload of staff, and substantially increase operating efficiency and the degree of accuracy.
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
It refer to Fig. 1, a kind of flow signal of the method for testing for WiFi module software systems that Fig. 1 provides for the present invention Figure, this method includes:
Step 10:The operating mode information inputted according to user generates and sends operating mode instruction to WiFi module, with Just WiFi module is parsed to operating mode instruction and performs the operating mode instruction after parsing, with the work to WiFi module Pattern is configured;
Specifically, user can be operated by the operation interface of the present invention, such as PC (personal computer) The operation interface at end, naturally it is also possible to be the operation interface of other-end, the present invention is not in special restriction, the application herein Illustrated by taking PC ends as an example.When user needs to test some function of WiFi module under a certain mode of operation When, user can input corresponding operating mode information by operation interface according to actual needs, so as to the work to WiFi module Operation mode is configured.Certainly, the mode of user's input service pattern information has a variety of, for example, can be manually entered, can also Corresponding mode of operation option is selected by option, user job the mode option, including station are supplied in operation interface The mode option and soft ap mode options;User can be operated model selection, and foundation of the present invention according to actual needs The operating mode information of user's input generates corresponding operating mode instruction.
It should be noted that staff is programmed on PC ends, a test script is formed, test script can be according to The operating mode information inputted according to user generates corresponding operating mode instruction, and the operating mode instruction is sent to WiFi moulds Block.For example, the operating mode information of user's input is station patterns, then corresponding operating mode instruction is station patterns Instruction.
It should be noted that operation has a unified analysis program on WiFi module, the analysis program can connect to it The instruction received is parsed, and obtains specific instruction, and the specific instruction obtained to parsing is entered line command and performed.
Specifically, WiFi module is received after the operating mode instruction of PC ends transmission, by unified analysis program to this Operating mode instruction is parsed, and the mode of operation of WiFi module is configured according to the operating mode instruction.For example, should When operating mode instruction is station mode instructions, the unified analysis program in WiFi module enters the operating mode instruction After row parsing, the mode of operation of WiFi module is set to station patterns according to the operating mode instruction.Certainly, user is worked as When the mode of operation of selection is soft ap modes, then the mode of operation of WiFi module is set to soft ap modes, specifically Depending on should be according to actual conditions.
It should be noted that PC ends are connected with WiFi module by serial ports, and the form of interactive information between the two JSON forms are chosen as, the form of interactive information between the two can also be extended formatting certainly, the present invention is not spy herein Different restriction, can realize the purpose of the present invention.
Step 20:The test event information inputted according to user generates the first control instruction and the second control instruction, test Project information includes test event and parameter information;
It should be noted that the parameter information is corresponding with the test event.
Step 30:First control instruction is sent to wireless transceiver, is configured with the parameter to wireless transceiver;
It should be noted that when the mode of operation of WiFi module is station patterns, wireless transceiver is router; When the mode of operation of WiFi module is soft ap modes, wireless transceiver is wireless network card.
Specifically, after being configured to the mode of operation of WiFi module, can also be inputted by the operation interface at PC ends Test event information, its certain input mode both can be that to be manually entered can also be selected by option, for example, ought When the mode of operation of WiFi module is station patterns, test event is, for example, the first functional test, now test event information In parameter information be parameter information corresponding with the first functional test.The test script at PC ends is according to the life of test event information Corresponding nothing is respectively sent into the first control instruction and the second control instruction, and by the first control instruction and the second control instruction Line transceiver and WiFi module.
Step 40:Second control instruction is sent to WiFi module, to control between WiFi module and wireless transceiver State, and corresponding test event is tested.
Specifically, the unified analysis program in WiFi module is parsed to the second control instruction, second control refers to Make for controlling the state relation between WiFi module and corresponding wireless transceiver, corresponding test event is surveyed with this Examination.
As preferred, the method for testing of WiFi module software systems as above, method also includes:
Step 50:The test result that WiFi module is returned is received, and test result is write into test report.
It should be noted that PC ends can also receive the test result of WiFi module return, and test result is write into survey Examination report, so that staff clearly knows the test result tested every time, with the follow-up place to WiFi module software systems Science and engineering makees offer foundation.
As preferred, mode of operation is station patterns, and wireless transceiver is router.
Specifically, the mode of operation of WiFi module can be station patterns, i.e., when user needs to exist to WiFi module During function under station patterns, then the mode of operation of WiFi module is set to station patterns.Now, wireless transceiver For router.
It should be noted that putting the private key at PC ends on the router in the application, realize PC ends and exempt from code entry road By device, it is to avoid in the prior art log in the troublesome operation that router is required for inputting password every time, improve testing efficiency.PC It can be set up and connected by Ethernet (Ethernet) between end and router, and between the two preferably through SSH (Secure Shell) is communicated, i.e., log in router by SSH, to realize the direct operation to router, wherein, SSH To set up the security protocol on the basis of application layer, its reliability is higher.
Certainly, connection can also be set up between PC ends and router by other means, the present invention does not do special herein Limit, the purpose of the present invention can be realized.
It should also be noted that, when the mode of operation of WiFi module can be station patterns, the test script at PC ends according to The first control instruction is generated according to the parameter information of test event information, and second is generated according to the test event of test event information Control instruction, and the first control instruction and the second control instruction are respectively sent to corresponding wireless transceiver and WiFi module.
As preferred, it is specially by the process that the first control instruction is sent to wireless transceiver:
First control instruction is sent to router by SSH.
It should be noted that PC ends can be sent the first control instruction to router by SSH.Certainly, PC ends also may be used Will be sent the first control instruction to router by other communication modes, the present invention does not do special restriction, energy herein Realize the purpose of the present invention.
As preferred, test event is the combination of one or more of:
First functional test, first reconnect test, first network performance test, network traffics test and SSL tests.
When the mode of operation of WiFi module is station patterns, test event is the first functional test, first reconnects survey One or more combinations in examination, first network performance test, network traffics test and SSL tests.
It should be noted that the application is carried out specifically by taking single test event as an example to its specific test process Bright, specific test process the application when being combined for multiple test events will not be repeated here.
Specifically, when test event is the first functional test, it is necessary to the parameter of router constantly be changed, to detect Whether WiFi module can be set up with the router of arbitrary disposition is connected.Now, the parameter information in test event information includes road By the hotspot name of device, password, cipher mode and channel, after the station patterns of WiFi module are set, user can be with The concrete numerical value or number range of the parameter information of router are configured by the operation interface at PC ends, for example, focus is set Length range is 1~32 any character length, and password is 8~63 any characters, and cipher mode is in none, psk and psk-2 One kind, channel be 1~13.The various combination of these parameter informations is the different configuration of router of correspondence, is specifically being tested During, combination producing one and the parameter that test script can be according to a kind of parameter information of the combination kind of many kinds of parameters information Corresponding first control instruction of combination of information, and first control instruction is sent to router with to the router Parameter is configured, i.e., the parameter of router is set to the combination of the parameter information, and such as parameter information is combined as heat Point length 2, password is 10 characters, and cipher mode is none, and channel is 12, then by the parameter of router according to this parameter information Combination be configured.After the parameter for setting good router, PC ends will combine corresponding second control instruction with the parameter information Send to WiFi module, and control WiFi module to be set up with router and be connected;Then, test script can be according to many kinds of parameters information The combination producing of another parameter information of combination kind combine corresponding first control instruction with the parameter information, and general The control instruction is sent to router to change the parameter of router, and the parameter to router is configured again, sets road After the parameter of device, PC ends send corresponding second control instruction of combination with the parameter information to WiFi module, and control WiFi module is set up with router and is connected, and the test script at PC ends constantly controls to change the parameter of router in this way, often After the secondary parameter to router is reset, all generate corresponding second control instruction to control WiFi module and router Connection is set up, untill the combination of all parameter informations is disposed as the parameter of router, has been completed to WiFi module First functional test.Certainly, WiFi module after connection is set up every time can also be back to connection result at PC ends, so as to the people that works Member understands test result.
It should be noted that in the application when carrying out the first functional test, it is only necessary to which staff enters to parameter information Row is set, because the number of times to router parameter setting is very right, equal to resetting for Router Parameters every time in the application Be automatically performed by test script, it is to avoid in the prior art every time the parameter of change router to be required for staff to carry out artificial The shortcoming of change, greatly improves operating efficiency and the degree of accuracy.
Specifically, when test event attaches most importance to tie-in examination, it is necessary to which the power supply of router is disconnected after connect again so that route Think highly of and open, further whether detection WiFi module can be set up with router and be connected again after router is restarted.Now, test Parameter information in project information, which includes reconnecting number of times, i.e. user setting, reconnects number of times, and what for example user was set reconnect time Number is 1000 times, then each test process is specially:Control WiFi module is set up company by test script with router first Connect, then control router to restart, and receive the result that reconnects of WiFi module return, and result write-in test report will be reconnected. Staff can clearly know the number of times for reconnecting and successfully and failing according to test report, so as to WiFi module software systems Subsequent treatment work provide foundation.
Specifically, when test event is first network performance test, the parameter information of test event information includes test Time, after the station patterns of WiFi module are set, user can be configured by PC interfaces to the testing time, first First control WiFi module is set up with router and is connected, and then test script control PC ends are constantly sent out by router to WiFi module Send Ping bags, and receive the Ping bags of WiFi module return, each Ping bags, which have, uniquely to be identified, and by each Ping bags Send and receive the time write-in test report.The Ping bags of PC ends reception WiFi module return are more within the testing time, send out The more short then network delay of the time interval sent and received is lower, network stability is better.
It should be noted that the first network performance test to WiFi module not only can be by the way of Ping bags be sent It to be tested, can also be tested using other modes, the present invention does not do special restriction herein, can realize the present invention's Purpose.
Specifically, when test event is that network traffics are tested, the parameter information of test event information includes WiFi module State, such as low power consumpting state or normal condition.After the station patterns of WiFi module are set, WiFi is controlled first Module is set up with router and is connected, and then test script control WiFi module starts iperf servers;PC ends start iperf visitors Family end, and control iperf clients and iperf servers to set up to be connected, PC ends are by iperf clients to WiFi module Iperf servers send substantial amounts of data, and the maximum throughput of test network, and test result (i.e. maximum throughput) is write Enter test report.
Specifically, when test event is that SSL is tested, after the station patterns of WiFi module are set, controlling first WiFi module is set up with router and is connected, and then PC ends start SSL service device, and the version of SSL service device is configured, and enter One step is set up with SSL service device by Script controlling WiFi module and is connected, and the connection result that WiFi module is returned writes and surveyed Examination report;Change the version of SSL service device and re-start test.Wherein, the version of SSL service device has a variety of, for example SSL3.0, TLS1.0, TLS1.1 and TLS1.2, SSL tests are carried out to WiFi module to detect whether WiFi module can be compatible The SSL service device of various versions.
As preferred, mode of operation is soft ap modes, and wireless transceiver is wireless network card.
Specifically, the mode of operation of WiFi module can be soft ap modes, i.e., when user needs to exist to WiFi module During function under soft ap modes, then the mode of operation of WiFi module is set to soft ap modes.Now, wireless transceiver For wireless network card.
It should be noted that can be attached between PC ends and wireless network card by USB, and it is preferred between the two Communicated by network manager cli, i.e., wireless network card is operated by networkmanager cli, wherein, Network manager cli are based on order line.
It should also be noted that, when the mode of operation of WiFi module can be soft ap modes, the test script at PC ends according to The first control instruction is generated according to the test event of test event information, and second is generated according to the parameter information of test event information Control instruction, and the first control instruction and the second control instruction are respectively sent to corresponding wireless transceiver and WiFi module.
As preferred, it is specially by the process that the first control instruction is sent to wireless transceiver:
First control instruction is sent to wireless network card by network manager cli.
It should be noted that PC ends can be sent the first control instruction to wireless by network manager cli Network interface card, by other means can also send the first control instruction to wireless network card, the present invention does not do special herein certainly Limit, the purpose of the present invention can be realized.
As preferred, test event is the combination of one or more of:
Second functional test, second reconnect test and the second applied in network performance test.
When WiFi module mode of operation be soft AP when, test event be the second functional test, second reconnect test and One or more combinations in second applied in network performance test.
It should be noted that the application is carried out specifically by taking single test event as an example to its specific test process Bright, specific test process the application when being combined for multiple test events will not be repeated here.
Specifically, when test event is the second functional test, it is necessary to which the parameter of continuous change WiFi module, now, is surveyed Parameter information in examination project information includes hotspot name, password, cipher mode and the channel of router, and user can pass through The operation interface at PC ends is configured to the concrete numerical value or number range of the parameter information of WiFi module, for example, set focus long Degree scope is 1~32 any character length, and password is 8~63 any characters, and cipher mode is in none, psk and psk-2 One kind, channel is 1~13.WiFi module should can be configured to the soft AP of arbitrary parameter, and can also be by other hands The terminals such as mechanical, electrical brain are connected.
After the soft ap modes of WiFi module are set, one kind in the parameter information according to user's input is first had to Corresponding second control instruction of combination producing of parameter information, and the second control instruction is sent to WiFi module, WiFi module In analysis program parse and perform second control instruction, be configured with the parameter to WiFi module;The test pin at PC ends This sends the first control instruction to wireless network card, is connected with controlling unlimited network interface card to be set up with WiFi module, PC ends can also connect The connection result that WiFi module is returned is received, and the connection result received is write into test report;Constantly to the ginseng of WiFi module Number information is configured, and controls unlimited network interface card to be connected with WiFi module foundation, and receives the company that WiFi module is returned Binding fruit, and the connection result received is write into test report, until all parameters in the parameter information that user is inputted The combination of information is respectively provided with finish untill.The present invention greatly improves operating efficiency and the degree of accuracy.
Specifically, when test event reconnects test for second, the parameter information in test event information is secondary including reconnecting Number.After the soft ap modes of WiFi module are set, first, the test script at PC ends controls unlimited network interface card and WiFi module Connection is set up, then controls unlimited network interface card to be disconnected with WiFi module, then controls unlimited network interface card to be set up with WiFi module and is connected, The connection result that WiFi module is returned writes test report.Number of times is reconnected to unlimited network interface card and WiFi moulds according to what user was set Annexation between block is tested, untill set number of times is reached until testing time.
Specifically, when test event is the second applied in network performance test, the parameter information of test event information includes test Time, after the soft ap modes of WiFi module are set, user can be configured by PC interfaces to the testing time, first First control unlimited network interface card to set up with WiFi module to be connected, then test script control PC ends are continuous to WiFi moulds by wireless network card Block sends Ping bags, and receives the Ping bags of WiFi module return, and each Ping bags have unique mark, and will be each The time that sends and receives of Ping bags writes test report.The Ping bags that PC ends reception WiFi module is returned within the testing time are got over The more short then network delay of time interval that is many, sending and receiving is lower, network stability is better.
The invention provides a kind of method of testing of WiFi module software systems, including:The Working mould inputted according to user Formula information generates and sends operating mode instruction to WiFi module, so that WiFi module is parsed and held to operating mode instruction Operating mode instruction after row parsing, is configured with the mode of operation to WiFi module;The test event inputted according to user Information generates the first control instruction and the second control instruction, and test event information includes test event and parameter information;By first Control instruction is sent to wireless transceiver, is configured with the parameter to wireless transceiver;By the second control instruction send to WiFi module, to control the state between WiFi module and wireless transceiver, and is tested corresponding test event.
The present invention passes through according to mode of operation of user (staff) operating mode information that is inputted to WiFi module Automatically it is configured, and corresponding test event is tested automatically according to the test event information that staff inputs, Staff only needs to input corresponding operating mode information and corresponding test event information in whole test process, Participation in specific test process without staff, the present invention can be certainly according to the test event information that staff provides The dynamic test for completing corresponding test event, reduces the workload of staff, and substantially increase work to a certain extent Efficiency and the degree of accuracy.
It refer to Fig. 2, a kind of structural representation of the test device for WiFi module software systems that Fig. 2 provides for the present invention Figure.On the basis of above-described embodiment:
The device includes:
Receiving module 1, the operating mode information for receiving user's input;It is additionally operable to receive the test event of user's input Information;
Generation module 2, for generating operating mode instruction, and trigger setup module 3 according to operating mode information;It is additionally operable to The first control instruction, and trigger setup module 3 are generated according to test event information;For according to test event information generation second Control instruction, and trigger control module 4;Test event information includes test event and parameter information;
Setup module 3, for operating mode instruction to be sent to WiFi module, so that WiFi module is to operating mode instruction Parsed and perform the operating mode instruction after parsing, be configured with the mode of operation to WiFi module;It is additionally operable to One control instruction is sent to wireless transceiver, is configured with the parameter to wireless transceiver;
Control module 4, for the second control instruction to be sent to WiFi module, to control WiFi module and wireless transceiver Between state, and corresponding test event is tested.
It should be noted that test device provided by the present invention is the centralized control unit in test environment.For this The specific introduction of the method for testing in test device provided in invention refer to above-described embodiment, and the application no longer goes to live in the household of one's in-laws on getting married herein State.
As preferred, the device is terminal device.
It should be noted that the terminal device is specifically as follows PC, naturally it is also possible to for other terminal devices.
, can be according to work during use the invention provides a kind of test device of WiFi module software systems The information that personnel provide can be automatically performed the test of corresponding test event, and the work of staff is reduced to a certain extent Amount, and substantially increase operating efficiency and the degree of accuracy.
It refer to Fig. 3, a kind of structural representation of the test system for WiFi module software systems that Fig. 3 provides for the present invention Figure.On the basis of above-described embodiment, the system includes WiFi module, wireless transceiver and test device as above.
It should be noted that for the method for testing of test system provided by the present invention specific introduction refer to it is above-mentioned Embodiment of the method, the application will not be repeated here.
, can be according to work during use the invention provides a kind of test system of WiFi module software systems The information that personnel provide can be automatically performed the test of corresponding test event, and the work of staff is reduced to a certain extent Amount, and substantially increase operating efficiency and the degree of accuracy.
It should also be noted that, in this manual, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that A little key elements, but also other key elements including being not expressly set out, or also include be this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged Except also there is other identical element in the process including the key element, method, article or equipment.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (10)

1. a kind of method of testing of WiFi module software systems, it is characterised in that methods described includes:
The operating mode information inputted according to user generates and sends operating mode instruction to WiFi module, so as to the WiFi moulds Block is parsed to the operating mode instruction and performs the operating mode instruction after parsing, with to the WiFi module Mode of operation is configured;
The test event information inputted according to the user generates the first control instruction and the second control instruction, the test event Information includes test event and parameter information;
First control instruction is sent to wireless transceiver, is configured with the parameter to the wireless transceiver;
Second control instruction is sent to the WiFi module, with control the WiFi module and the wireless transceiver it Between state, and corresponding test event is tested.
2. the method for testing of WiFi module software systems according to claim 1, it is characterised in that the mode of operation is Station patterns, the wireless transceiver is router.
3. the method for testing of WiFi module software systems according to claim 2, it is characterised in that described by described first Control instruction is sent to the process of wireless transceiver:
First control instruction is sent to the router by SSH.
4. the method for testing of WiFi module software systems according to claim 3, it is characterised in that the test event is The combination of one or more of:
First functional test, first reconnect test, first network performance test, network traffics test and SSL tests.
5. the method for testing of WiFi module software systems according to claim 1, it is characterised in that the mode of operation is Soft ap modes, the wireless transceiver is wireless network card.
6. the method for testing of WiFi module software systems according to claim 5, it is characterised in that described by described first Control instruction is sent to the process of wireless transceiver:
First control instruction is sent to the wireless network card by network manager cli.
7. the method for testing of WiFi module software systems according to claim 6, it is characterised in that the test event is The combination of one or more of:
Second functional test, second reconnect test and the second applied in network performance test.
8. the method for testing of the WiFi module software systems according to claim 1-7 any one, it is characterised in that described Method also includes:
The test result that the WiFi module is returned is received, and the test result is write into test report.
9. a kind of test device of WiFi module software systems, it is characterised in that described device includes:
Receiving module, the operating mode information for receiving user's input;It is additionally operable to receive the test event of user's input Information;
Generation module, for generating operating mode instruction, and trigger setup module according to the operating mode information;Be additionally operable to according to The first control instruction is generated according to the test event information, and triggers the setup module;For according to test event letter Breath the second control instruction of generation, and trigger control module;The test event information includes test event and parameter information;
The setup module, for the operating mode instruction to be sent to WiFi module, so that the WiFi module is to described Operating mode instruction is parsed and performs the operating mode instruction after parsing, with the mode of operation to the WiFi module It is configured;It is additionally operable to send first control instruction to wireless transceiver, is entered with the parameter to the wireless transceiver Row is set;
The control module, for second control instruction to be sent to the WiFi module, to control the WiFi module With the state between the wireless transceiver, and corresponding test event is tested.
10. a kind of test system of WiFi module software systems, it is characterised in that the system includes WiFi module, wireless receipts Send out device and test device as claimed in claim 9.
CN201710161081.7A 2017-03-17 2017-03-17 A kind of method of testing of WiFi module software systems, apparatus and system Pending CN107148031A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710161081.7A CN107148031A (en) 2017-03-17 2017-03-17 A kind of method of testing of WiFi module software systems, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710161081.7A CN107148031A (en) 2017-03-17 2017-03-17 A kind of method of testing of WiFi module software systems, apparatus and system

Publications (1)

Publication Number Publication Date
CN107148031A true CN107148031A (en) 2017-09-08

Family

ID=59783563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710161081.7A Pending CN107148031A (en) 2017-03-17 2017-03-17 A kind of method of testing of WiFi module software systems, apparatus and system

Country Status (1)

Country Link
CN (1) CN107148031A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572839A (en) * 2019-09-06 2019-12-13 Oppo(重庆)智能科技有限公司 Test method and test system
CN110661873A (en) * 2019-09-27 2020-01-07 南京博联智能科技有限公司 Internet of things platform parameter conversion method, device, equipment, medium and system
TWI693838B (en) * 2019-09-25 2020-05-11 和碩聯合科技股份有限公司 Communication apparatus and test method thereof
CN111194046A (en) * 2018-11-14 2020-05-22 上海富瀚微电子股份有限公司 Automatic WIFI module testing system and method
CN111224848A (en) * 2020-01-17 2020-06-02 腾讯科技(深圳)有限公司 Network quality testing method, device, equipment and storage medium
CN112135384A (en) * 2020-09-28 2020-12-25 江门市征极光兆科技有限公司 Automatic testing device and method for WIFI lamp
CN114079950A (en) * 2020-08-21 2022-02-22 深圳市华胜软件技术有限公司 WiFi automatic test method and device, intelligent terminal and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413500A (en) * 2011-12-08 2012-04-11 深圳市共进电子股份有限公司 Method and system for testing throughput of wireless network card in wireless local area network
CN103338475A (en) * 2013-06-09 2013-10-02 福建星网锐捷网络有限公司 AP (Access Point) testing method, device and terminal
CN103929753A (en) * 2014-04-30 2014-07-16 广东欧珀移动通信有限公司 Method and system for automatically testing WIFI compatibility of mobile phone
CN103941170A (en) * 2013-01-17 2014-07-23 德律科技股份有限公司 Function test fixture, system and method
CN104349346A (en) * 2014-11-13 2015-02-11 广东欧珀移动通信有限公司 Mobile terminal WiFi throughout automatic testing method
US20160006837A1 (en) * 2014-07-01 2016-01-07 Trinity Mobile Networks, Inc. Methods, devices, and systems for implementing centralized hybrid wireless self-organizing networks

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413500A (en) * 2011-12-08 2012-04-11 深圳市共进电子股份有限公司 Method and system for testing throughput of wireless network card in wireless local area network
CN103941170A (en) * 2013-01-17 2014-07-23 德律科技股份有限公司 Function test fixture, system and method
CN103338475A (en) * 2013-06-09 2013-10-02 福建星网锐捷网络有限公司 AP (Access Point) testing method, device and terminal
CN103929753A (en) * 2014-04-30 2014-07-16 广东欧珀移动通信有限公司 Method and system for automatically testing WIFI compatibility of mobile phone
US20160006837A1 (en) * 2014-07-01 2016-01-07 Trinity Mobile Networks, Inc. Methods, devices, and systems for implementing centralized hybrid wireless self-organizing networks
CN104349346A (en) * 2014-11-13 2015-02-11 广东欧珀移动通信有限公司 Mobile terminal WiFi throughout automatic testing method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111194046A (en) * 2018-11-14 2020-05-22 上海富瀚微电子股份有限公司 Automatic WIFI module testing system and method
CN110572839A (en) * 2019-09-06 2019-12-13 Oppo(重庆)智能科技有限公司 Test method and test system
TWI693838B (en) * 2019-09-25 2020-05-11 和碩聯合科技股份有限公司 Communication apparatus and test method thereof
CN112566168A (en) * 2019-09-25 2021-03-26 和硕联合科技股份有限公司 Communication device and test method thereof
CN112566168B (en) * 2019-09-25 2023-07-28 和硕联合科技股份有限公司 Communication device and testing method thereof
CN110661873A (en) * 2019-09-27 2020-01-07 南京博联智能科技有限公司 Internet of things platform parameter conversion method, device, equipment, medium and system
CN110661873B (en) * 2019-09-27 2022-06-03 南京博联智能科技有限公司 Internet of things platform parameter conversion method, device, equipment, medium and system
CN111224848A (en) * 2020-01-17 2020-06-02 腾讯科技(深圳)有限公司 Network quality testing method, device, equipment and storage medium
CN114079950A (en) * 2020-08-21 2022-02-22 深圳市华胜软件技术有限公司 WiFi automatic test method and device, intelligent terminal and computer readable storage medium
CN112135384A (en) * 2020-09-28 2020-12-25 江门市征极光兆科技有限公司 Automatic testing device and method for WIFI lamp
CN112135384B (en) * 2020-09-28 2023-02-24 江门市征极光兆科技有限公司 Automatic testing device and method for WIFI lamp

Similar Documents

Publication Publication Date Title
CN107148031A (en) A kind of method of testing of WiFi module software systems, apparatus and system
CN105471982B (en) The exchange method and system of things-internet gateway and cloud platform
CN104952117B (en) A kind of attendance management method
CN103812829B (en) A kind of method, remote desktop server and system for improving remote desktop security
CN102740342A (en) Network management equipment performance simulation test method and system
CN106656562B (en) A kind of OLT batch issues the detection method and device of ONU configuration
CN103974308A (en) Base station maintenance equipment, method, device and system, mobile terminal and base station
CN109327338A (en) A kind of electricity information acquisition system master station method for testing pressure and system based on virtual terminal
CN107819611B (en) Client test method based on IEC61850 multi-server simulation
CN104639395A (en) Simple simulation testing device for AFDX (avionics full duplex switched Ethernet) switch and testing method for simple simulation testing device
CN107094091B (en) A kind of intelligent substation station level network configuration method of calibration and system
CN104918280A (en) Vehicle-mounted wireless equipment, train equipment wireless test system and method
CN108449432A (en) Internet of Things Remote Device Control system and control method
CN106603721A (en) Remote control method and system and remote control client
CN109902777A (en) Method based on handheld terminal real time inspection intelligent apparatus on-line testing result
CN102594615A (en) Method and system for simulating value-added services
CN109861877A (en) A kind of distribution network terminal wireless public network communication test system based on cloud service
CN105897476B (en) A kind of method and device creating transmission channel
CN106921807B (en) A kind of telephone operation machine system and its self checking method
CN107563075A (en) A kind of module and its design method for realizing CosiMate networks and the DDS network interconnections
CN100384192C (en) Broad band intelligent net access service system and its realizing method
CN103747088B (en) A kind of method and data transmission system that data are transmitted for Full scope simulator
CN202696662U (en) Remote centralized managing laptop wireless local area network (WLAN) test system
CN108111588B (en) Method for improving distribution network efficiency of Internet of things equipment based on WIFI
CN108416023A (en) A kind of method of analog subscriber operation write-back system data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170908

RJ01 Rejection of invention patent application after publication