CN105188077A - Communication module test method and system - Google Patents

Communication module test method and system Download PDF

Info

Publication number
CN105188077A
CN105188077A CN201510491181.7A CN201510491181A CN105188077A CN 105188077 A CN105188077 A CN 105188077A CN 201510491181 A CN201510491181 A CN 201510491181A CN 105188077 A CN105188077 A CN 105188077A
Authority
CN
China
Prior art keywords
communication module
test
host
described multiple
serial port
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
CN201510491181.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.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless Inc
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 Fibocom Wireless Inc filed Critical Fibocom Wireless Inc
Priority to CN201510491181.7A priority Critical patent/CN105188077A/en
Publication of CN105188077A publication Critical patent/CN105188077A/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)
  • Maintenance And Management Of Digital Transmission (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a concurrent communication module test method based on a multi-serial port automatic adaptation mode. The communication module test method comprises: respectively connecting a plurality of communication modules to a plurality of host serial ports of a test host; scanning and monitoring the serial ports through the test host to obtain the connection states of the plurality of communication modules, and the plurality of host serial ports automatically adapt to the plurality of communication modules respectively; and respectively distributing a plurality of test cases to corresponding communication modules through the plurality of host serial ports, and the plurality of communication modules execute corresponding test cases concurrently. The invention simultaneously provides a communication module test method using the test method.

Description

Communication module method of testing and system
Technical field
The present invention relates generally to wireless communication technology, especially, relates to the communication module test system of a kind of concurrent type frog communication module method of testing based on Multi-serial port automatic adaptation pattern and the above-mentioned method of testing of employing.
Background technology
Along with wireless communication technology and development of Mobile Internet technology development, the life of people more and more depends on network, particularly mobile internet.User generally carries out mobile internet business by mobile terminal device, and therefore mobile terminal device needs outfit communication module to come support of wireless communication and network data exchange usually.
For ensureing communication performance, communication module needed to test before dispatching from the factory; Traditional communication module test is that communication module is connected to Test Host or testing server, and is tested communication module by Test Host.But in conventional test methodologies, Test Host is usually only supported within the time period and tests for an independent communication module, and therefore testing efficiency is lower, is difficult to the testing requirement of dispatching from the factory meeting communication module.
In view of this, be necessary to provide a kind of communication module method of testing and the system that can improve testing efficiency.
Summary of the invention
One of them object of the present invention is that another object of the present invention is to provide a kind of communication module system based on above-mentioned method of testing in order to solve the problem and to provide a kind of concurrent type frog communication module method of testing based on Multi-serial port automatic adaptation pattern.
Communication module method of testing provided by the invention, comprising: the multiple serial port of host computer multiple communication module being connected respectively to Test Host; Test Host obtains the connection status of multiple communication module by serial ports scanning monitoring, and described multiple serial port of host computer multiple communication module described in automatic adaptation respectively; Respectively multiple test case is distributed to corresponding communication module by described multiple serial port of host computer, and described multiple communication module concurrent type frog performs corresponding test case.
One as communication module method of testing provided by the invention is improved, and also comprises: receive by described serial port of host computer the test data that described multiple communication module returns respectively; Process integrated for test data higher for requirement of real-time to pre-configured low level embedded software module.
One as communication module method of testing provided by the invention is improved, and also comprises: adopt script to write described multiple test case in advance in described Test Host inside.
One as communication module method of testing provided by the invention is improved, by the distribution of multiple test case by calling bottom modular interface and described multiple test script itself realizes.
One as communication module method of testing provided by the invention is improved, described low level embedded software module as the common interface of third party's automatization test system, for the test data that integrated process real-time is higher.
Communication module test system provided by the invention, comprises multiple communication module and Test Host, and described Test Host comprises multiple serial port of host computer, and described multiple serial port of host computer is connected respectively to the serial ports of described multiple communication module; Wherein, described Test Host is used for the connection status being obtained described multiple communication module by serial ports scanning monitoring, and by described multiple serial port of host computer multiple communication module described in automatic adaptation respectively, and respectively multiple test case is distributed to corresponding communication module by described multiple serial port of host computer; Described multiple communication module is used for concurrent type frog and performs the corresponding test case that described Test Host provides.
One as communication module test system provided by the invention is improved, described Test Host also for being received the test data that described multiple communication module returns respectively by described serial port of host computer, and is processed integrated for test data higher for requirement of real-time to pre-configured low level embedded software module.
One as communication module test system provided by the invention is improved, and described Test Host inside adopts script to write described multiple test case in advance.
One as communication module test system provided by the invention is improved, and described multiple test case exports to described multiple communication module respectively by calling bottom modular interface.
One as communication module test system provided by the invention is improved, described low level embedded software module as the common interface of third party's automatization test system, for the test data that integrated process real-time is higher.
Compared to prior art, multiple communication module is connected to the serial ports of Test Host by communication module test system provided by the invention and method of testing, and the serial ports of multiple communication module described in automatic adaptation is carried out by serial ports scanning monitoring, and by serial ports, multiple test case is distributed to described multiple communication module, thus performing corresponding test case carries out module testing with realizing described multiple communication module concurrent type frog, effectively improves the testing efficiency of described communication module.And, in technical scheme provided by the invention, described test case can adopt the scripting language that development efficiency is higher, and adopt low level embedded software module to focus on the higher serial data of requirement of real-time, thus can also realize taking into account bottom software testing efficiency and automatic test script development efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings, wherein:
Fig. 1 is the schematic diagram of a kind of execution mode of communication module test system that communication module method of testing provided by the invention can be suitable for;
Fig. 2 is the schematic flow sheet of a kind of execution mode of communication module method of testing provided by the invention.
Embodiment
In order to make technical problem solved by the invention, technical scheme and beneficial effect clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
For improving the testing efficiency of communication module, the invention provides a kind of concurrent type frog communication module method of testing based on Multi-serial port automatic adaptation pattern, it can realize multiple communication module concurrent type frog ground and test simultaneously.Refer to Fig. 1, it is the structural representation of a kind of embodiment of the operable communication module test system of communication module method of testing provided by the invention.Described communication module test system 100 comprises multiple communication module 110 and Test Host 120.For ease of describe, the present embodiment respectively by described multiple communication module 110 called after first communication module, second communication module, third communication module ... with N communication module; Each communication module 110 has serial ports respectively, and the present embodiment is respectively by its called after first serial M 1, second serial M 2, the 3rd serial ports M 3... with N serial ports M n, as shown in Figure 1.
Described multiple communication module 110 can be respectively global system for mobile communications (GlobalSystemforMobileCommunications, GSM) module or general packet radio service technology (GeneralPacketRadioService, GPRS) module; Or, 3G (Third Generation) Moblie module, such as Wideband Code Division Multiple Access (WCDMA) (WidebandCodeDivisionMultipleAccess, WCDMA) CDMA (Code Division Multiple Access) (TimeDivisionSynchronousCodeDivisionMultipleAccess, the TD-SCDMA) module of module or time division synchronous; Or, forth generation mobile communication module, such as timesharing Long Term Evolution (TimeDivisionLongTermEvolution, TD-LTE) module or Frequency Division Duplexing (FDD) Long Term Evolution (FrequencyDivisionDuplexingLongTermEvolution, FDD-LTE) module; Or, the combination in any etc. of above-mentioned module.
Described Test Host 120 can be personal computer (PersonalComputer, PC), and it comprises multiple serial port of host computer P 1~ P n, the present embodiment is respectively by its called after first serial port of host computer P 1, the second serial port of host computer P 2, the 3rd serial port of host computer P 3... with N serial ports P n.Described serial port of host computer P 1~ P nthe serial ports M of described multiple communication module 110 can be connected respectively to 1~ M n, and connect automatic adaptation to described multiple communication module 110 by serial ports.
The inside of described Test Host 120 can be provided with testing software, and described testing software can provide multiple test case, and described multiple test case can distribute to the serial ports M of described multiple communication module 110 automatically by calling bottom modular interface 1~ M n, thus realize test case described in described communication module 110 concurrence performance thus effectively improve testing efficiency.In a particular embodiment, described test case can use the higher script of any development efficiency to write, such as practical form extracts language (PracticalExtractionandReportLanguage, PERL), VB script (VisualBasicScript, or Tool Command Language (ToolCommandLanguage, TCL) etc. VBScript).
And, the inside of described Test Host 120 can also be configured with the low level embedded software module 125 of a high speed, described low level embedded software module 125 can as the common interface of third party's automatization test system, process the higher test data of requirement of real-time for centralized, thus improve bottom software testing efficiency.
For understanding the course of work of above-mentioned communication module test system 100 better, below in conjunction with the flow chart shown in Fig. 2, the concurrent type frog communication module method of testing based on Multi-serial port automatic adaptation pattern provided by the invention is described in detail.Particularly, refer to Fig. 2, it is the schematic flow sheet of a kind of embodiment of communication module method of testing provided by the invention, and described communication module method of testing goes for the communication module test system 100 shown in Fig. 1, and it mainly comprises the following steps:
Step S1, adopts script to write multiple test case in advance;
Particularly, tester is by the higher script of development efficiency, and such as PERL, VBScript or TCL etc., write multiple test script at described Test Host 120 in advance, and described multiple test script is mainly used in described multiple communication module M 1~ M ndescribed multiple communication module M is distributed to when testing 1~ M n, to test accordingly it.
Step S2, is obtained the connection status of multiple communication module, and carries out adaptation and setting by serial ports to described communication module by serial ports scanning monitoring;
When needs are tested described multiple communication module 110, first can by the serial ports M of described multiple communication module 110 1~ M nbe connected respectively to the serial port of host computer P of described Test Host 120 1~ P n.Described Test Host 120 can capture the serial ports of work used by serial ports Scanning Detction, thus gets the connection status of described multiple communication module 110; Further, described Test Host 120 can pass through described multiple serial port of host computer P 1~ P nautomatic adaptation and relative set are carried out to the communication module 110 be connected.
Step S3, is distributed to described multiple communication module by serial ports by multiple test case, and described multiple communication module concurrent type frog ground performs corresponding test case;
Specifically, described Test Host 120 can call bottom modular interface and multiple test script itself, and by described serial port of host computer P 1~ P ndescribed multiple test case is distributed to the serial ports M of described multiple communication module 110 1~ M n, and described multiple communication module 110 is by respective serial ports M 1~ M nafter receiving the test case of its correspondence, described test case can be performed in concurrency ground, and obtain corresponding test data.
Step S4, receives the test data that described multiple communication module returns;
Described multiple communication module 110 can by respective serial ports M 1~ M ntest data is returned to described Test Host 120, described Test Host 120 can pass through described multiple serial port of host computer P 1~ P ncollect the test data that described multiple communication module 110 returns, i.e. serial data.
Step S5, processes integrated for test data higher for requirement of real-time to pre-configured low level embedded software module.
Described Test Host 120 by serial ports after the test data collecting described multiple communication module 110, first the requirement of real-time of described test data can be judged, and, test data higher for requirement of real-time can be exported to the low level embedded software module 125 of its inside to carry out centralized processing by described Test Host 120 further, in other words, in the present embodiment, described low level embedded software module 125 can as the common interface of third party's automatization test system, described Test Host 120 processes integrated for test data higher for requirement of real-time to described low level embedded software module 125.
Multiple communication module is connected to the serial ports of Test Host by communication module test system provided by the invention and method of testing, and the serial ports of multiple communication module described in automatic adaptation is carried out by serial ports scanning monitoring, and by serial ports, multiple test case is distributed to described multiple communication module, thus performing corresponding test case carries out module testing with realizing described multiple communication module concurrent type frog, effectively improves the testing efficiency of described communication module.And, in technical scheme provided by the invention, described test case can adopt the scripting language that development efficiency is higher, and adopt low level embedded software module to focus on the higher serial data of requirement of real-time, thus can also realize taking into account bottom software testing efficiency and automatic test script development efficiency.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize description of the present invention to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical field, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a communication module method of testing, is characterized in that, comprising:
Multiple communication module is connected respectively to multiple serial port of host computer of Test Host;
Test Host obtains the connection status of multiple communication module by serial ports scanning monitoring, and described multiple serial port of host computer multiple communication module described in automatic adaptation respectively;
Respectively multiple test case is distributed to corresponding communication module by described multiple serial port of host computer, and described multiple communication module concurrent type frog performs corresponding test case.
2. communication module method of testing according to claim 1, is characterized in that, also comprise:
The test data that described multiple communication module returns is received respectively by described serial port of host computer;
Process integrated for test data higher for requirement of real-time to pre-configured low level embedded software module.
3. communication module method of testing according to claim 2, is characterized in that, also comprise: adopt script to write described multiple test case in advance in described Test Host inside.
4. communication module method of testing according to claim 3, is characterized in that, described by the distribution of multiple test case by calling bottom modular interface and described multiple test script itself realizes.
5. communication module method of testing according to claim 3, is characterized in that, described low level embedded software module as the common interface of third party's automatization test system, for the test data that integrated process real-time is higher.
6. a communication module test system, is characterized in that, comprises multiple communication module and Test Host, and described Test Host comprises multiple serial port of host computer, and described multiple serial port of host computer is connected respectively to the serial ports of described multiple communication module; Wherein, described Test Host is used for the connection status being obtained described multiple communication module by serial ports scanning monitoring, and by described multiple serial port of host computer multiple communication module described in automatic adaptation respectively, and respectively multiple test case is distributed to corresponding communication module by described multiple serial port of host computer; Described multiple communication module is used for concurrent type frog and performs the corresponding test case that described Test Host provides.
7. communication module test system according to claim 6, it is characterized in that, described Test Host also for being received the test data that described multiple communication module returns respectively by described serial port of host computer, and is processed integrated for test data higher for requirement of real-time to pre-configured low level embedded software module.
8. communication module test system according to claim 7, is characterized in that, described Test Host inside adopts script to write described multiple test case in advance.
9. communication module test system according to claim 8, is characterized in that, described multiple test case exports to described multiple communication module respectively by calling bottom modular interface.
10. communication module test system according to claim 7, is characterized in that, described low level embedded software module as the common interface of third party's automatization test system, for the test data that integrated process real-time is higher.
CN201510491181.7A 2015-08-12 2015-08-12 Communication module test method and system Pending CN105188077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510491181.7A CN105188077A (en) 2015-08-12 2015-08-12 Communication module test method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510491181.7A CN105188077A (en) 2015-08-12 2015-08-12 Communication module test method and system

Publications (1)

Publication Number Publication Date
CN105188077A true CN105188077A (en) 2015-12-23

Family

ID=54909865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510491181.7A Pending CN105188077A (en) 2015-08-12 2015-08-12 Communication module test method and system

Country Status (1)

Country Link
CN (1) CN105188077A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106950442A (en) * 2017-02-17 2017-07-14 深圳市广和通无线通信软件有限公司 Pin method of testing and device
CN109029501A (en) * 2018-07-27 2018-12-18 惠州市德赛西威汽车电子股份有限公司 A kind of full-automation engineering test system and method
CN111398701A (en) * 2019-01-02 2020-07-10 深圳市广和通无线股份有限公司 Equipment testing method and device, computer equipment and storage medium
CN112306637A (en) * 2020-11-06 2021-02-02 深圳市广和通无线股份有限公司 Script extension method and device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120271980A1 (en) * 2011-04-19 2012-10-25 Hon Hai Precision Industry Co., Ltd. Test device and method for testing serial ports of computing device
CN104133073A (en) * 2014-08-07 2014-11-05 力合科技(湖南)股份有限公司 Intelligent multi-channel analyzer
CN203982361U (en) * 2014-06-26 2014-12-03 中国航天科工集团第三研究院第八三五七研究所 A kind of multiple serial communication proving installation
CN104394029A (en) * 2014-11-10 2015-03-04 中国电子科技集团公司第二十研究所 An AFDX bus detecting method based on a hybrid channel
CN104539356A (en) * 2014-11-28 2015-04-22 武汉电信器件有限公司 10G multifunctional test system
CN104699609A (en) * 2015-03-12 2015-06-10 青岛海尔智能家电科技有限公司 Method and device for detecting serial port communication
CN104808134A (en) * 2015-04-18 2015-07-29 南通金泰科技有限公司 Multi-channel chip test system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120271980A1 (en) * 2011-04-19 2012-10-25 Hon Hai Precision Industry Co., Ltd. Test device and method for testing serial ports of computing device
CN203982361U (en) * 2014-06-26 2014-12-03 中国航天科工集团第三研究院第八三五七研究所 A kind of multiple serial communication proving installation
CN104133073A (en) * 2014-08-07 2014-11-05 力合科技(湖南)股份有限公司 Intelligent multi-channel analyzer
CN104394029A (en) * 2014-11-10 2015-03-04 中国电子科技集团公司第二十研究所 An AFDX bus detecting method based on a hybrid channel
CN104539356A (en) * 2014-11-28 2015-04-22 武汉电信器件有限公司 10G multifunctional test system
CN104699609A (en) * 2015-03-12 2015-06-10 青岛海尔智能家电科技有限公司 Method and device for detecting serial port communication
CN104808134A (en) * 2015-04-18 2015-07-29 南通金泰科技有限公司 Multi-channel chip test system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106950442A (en) * 2017-02-17 2017-07-14 深圳市广和通无线通信软件有限公司 Pin method of testing and device
CN106950442B (en) * 2017-02-17 2019-09-17 深圳市广和通无线通信软件有限公司 Pin test method and device
CN109029501A (en) * 2018-07-27 2018-12-18 惠州市德赛西威汽车电子股份有限公司 A kind of full-automation engineering test system and method
CN111398701A (en) * 2019-01-02 2020-07-10 深圳市广和通无线股份有限公司 Equipment testing method and device, computer equipment and storage medium
CN111398701B (en) * 2019-01-02 2022-07-22 深圳市广和通无线股份有限公司 Equipment test method, device, computer equipment and storage medium
CN112306637A (en) * 2020-11-06 2021-02-02 深圳市广和通无线股份有限公司 Script extension method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102036350B (en) Protocol processing method for multi-sim terminal and apparatus for multi-sim terminal
CN105188077A (en) Communication module test method and system
CN100461926C (en) System and method for testing speech service
CN102202132B (en) Method, system and equipment for initializing networking equipment
CN103313292B (en) Inter-system measuring method based on single baseband chip dual link framework
CN104301926A (en) Distributed automatic dial testing system and method used for communication network testing
CN103926592A (en) Method for achieving Big Dipper RD communication virtual lead aircraft
CN108919720A (en) A method of fast implementing vehicle-mounted external equipment remote control
CN103024023B (en) Digital Reading Room network audit method
CN1484469A (en) Collection of internal infor mation of mobile communication terminal by external module
CN104123185A (en) Resource scheduling method, device and system
CN101867956A (en) Monitoring method, device and system of base station and corollary equipment thereof
CN106708688B (en) Module test method and terminal
CN104301882A (en) Device and method for perceiving identity information of 3G mobile terminal user
CN106332227A (en) Network search method and network search device
CN109189718A (en) A kind of SOCKET Component that supporting multiple network interface and method
CN104954417B (en) Method and apparatus for handling data
CN101626431B (en) Processing method and processing system capable of adapting to communication mode
CN204119526U (en) A kind of device of perception 3G mobile phone users identity information
CN114302436B (en) Physical layer testing method and device, chip and module equipment
CN109788034A (en) For the configuration method of gateway access equipment, electronic equipment and storage medium
CN103179610A (en) Method and system for maintaining multi-mode base station
CN201893938U (en) Multi-service gateway 3G device
CN105120532A (en) RIL processing method based on multiplexing and wireless communication module
CN208143496U (en) A kind of evolution master control borad

Legal Events

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

Application publication date: 20151223