CN112929226A - Test system and method - Google Patents

Test system and method Download PDF

Info

Publication number
CN112929226A
CN112929226A CN201911240622.0A CN201911240622A CN112929226A CN 112929226 A CN112929226 A CN 112929226A CN 201911240622 A CN201911240622 A CN 201911240622A CN 112929226 A CN112929226 A CN 112929226A
Authority
CN
China
Prior art keywords
test
tested
testing
bridge connection
equipment
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
CN201911240622.0A
Other languages
Chinese (zh)
Other versions
CN112929226B (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.)
Shenzhen Futaihong Precision Industry Co Ltd
Chiun Mai Communication Systems Inc
Original Assignee
Shenzhen Futaihong Precision Industry Co Ltd
Chiun Mai Communication Systems 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 Shenzhen Futaihong Precision Industry Co Ltd, Chiun Mai Communication Systems Inc filed Critical Shenzhen Futaihong Precision Industry Co Ltd
Priority to CN201911240622.0A priority Critical patent/CN112929226B/en
Publication of CN112929226A publication Critical patent/CN112929226A/en
Application granted granted Critical
Publication of CN112929226B publication Critical patent/CN112929226B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The invention discloses a test system and a method, wherein the system comprises: the device to be tested comprises a device to be tested, test equipment and a server, wherein the test equipment and the server have access to a wireless network, and the device to be tested is not connected to the wireless network; the device to be tested acquires preset wireless access information in an optical identification or close-range sensing mode, and a debugging bridge connection is established between the device to be tested and the testing equipment according to the wireless access information so as to test.

Description

Test system and method
Technical Field
The invention relates to the technical field of communication, in particular to a test system and a test method.
Background
Mobile terminals, especially smart phones and tablet computers with multiple application functions, have become essential electronic devices for people's daily life and work. With the rapid development of terminal technology, functions of a mobile terminal are increasing, but the use and operation of many functions require the mobile terminal to perform information interaction with a Personal Computer (PC). For example, before the smart phone leaves the factory, when the smart phone is subjected to radio frequency test and verification, the smart phone and the PC need to perform instruction exchange to complete the radio frequency test and verification. For another example, in order to ensure normal use and operation of Applications (APPs) embedded in the mobile terminal, before the mobile terminal leaves the factory, the APP use and operation need to be tested, and these tests also need the mobile terminal to perform information interaction with the PC.
In a traditional interaction scenario, a mobile terminal needs to be connected to a PC through a cable to be able to realize information interaction between the two. Generally, a mobile terminal is connected to a PC through a Universal Serial Bus (USB) cable, and in the connection process, a driver, such as a Serial port driver, an Android Debug Bridge (ADB) driver, which is matched with the PC side, needs to be installed in advance, and after the driver is installed, a connection channel between the mobile terminal and the PC can be established, so that the mobile terminal and the PC can complete information interaction with each other through the connection channel. When a large number of mobile terminals are tested before leaving the factory, a large amount of manpower and material resources are consumed when the mobile terminals are frequently plugged and unplugged, and the production cost is increased.
Disclosure of Invention
In view of the above problems, it is necessary to provide a testing system that does not require USB cable connection, saves manpower and material resources, and reduces production cost.
In addition, it is necessary to provide a testing method corresponding to the testing system.
A test system, the system comprising: the device to be tested comprises a device to be tested, test equipment and a server, wherein the test equipment and the server have access to a wireless network, and the device to be tested is not connected to the wireless network; the device to be tested acquires preset wireless access information in an optical identification or close-range sensing mode, and a debugging bridge connection is established between the device to be tested and the testing equipment according to the wireless access information so as to test.
A method of testing, the method comprising:
providing test equipment and a server which have access to a wireless network and a device to be tested which has not access to the wireless network;
the device to be tested acquires wireless access information in an optical identification or close-range sensing mode;
establishing a debugging bridge connection between the device to be tested and the testing equipment according to the wireless access information; and
and the test equipment tests the device to be tested through the debugging bridge connection.
The test system and the test method can test the equipment to be tested through the test equipment without USB cable connection, thereby saving manpower and material resources and reducing production cost.
Drawings
FIG. 1 is a system architecture diagram of a preferred embodiment of a test system according to the present invention.
FIG. 2 is a schematic diagram of an application of the test system shown in FIG. 1 according to a preferred embodiment.
FIG. 3 is a flowchart of a communication protocol of a preferred embodiment of the testing method of the present invention.
FIG. 4 is a flowchart of a communication protocol of another preferred embodiment of the testing method of the present invention.
FIG. 5 is a display interface diagram of a preferred embodiment of the device under test in the testing method shown in FIG. 4.
FIG. 6 is a schematic diagram of another embodiment of the test system shown in FIG. 1.
FIG. 7 is a functional block diagram of a preferred embodiment of the device under test of FIG. 1.
Description of the main elements
Test system 100
Device to be tested 10
Wireless communication module 11
Sensing module 12
Camera module 13
Display module 14
Processor 15
Test apparatus 20
Server 30
Conveyor belt 200
Test station 300
The following detailed description will further illustrate the invention in conjunction with the above-described figures.
Detailed Description
Referring to FIG. 1, a system architecture diagram of a preferred embodiment of the test system 100 of the present invention is shown. The test system 100 includes a plurality of devices under test 10, a plurality of test apparatuses 20, and a server 30. The device to be tested 10 may be an electronic device such as a smart phone or a tablet computer. The test equipment 20 may be a computer. The test equipment 20 is used for testing whether the functions of various elements (e.g., a touch screen, a switch button, etc.) of the device to be tested are normal. The server 30 is configured to provide a communication platform for the device under test 10 and the testing apparatus 20, and support transmission and storage of test data during a test process performed on the device under test 10 by the testing apparatus 20.
The testing system 100 may be installed in a factory for manufacturing the device to be tested 10, and specifically, referring to fig. 2 together, the device to be tested 10 may be placed on a conveyor 200 and sequentially pass through a plurality of testing stations 300 to perform different tests, each testing station 300 is provided with the testing device 20, when the device to be tested 10 passes through one testing station 300, the corresponding testing device 20 performs a corresponding test on the device to be tested, and after the corresponding test is completed, the device to be tested is transmitted to the next testing station 300 to perform the next test.
FIG. 3 is a flowchart of a communication protocol of a preferred embodiment of the testing method of the present invention. In the preferred embodiment, before testing the device under test 10, the device under test 10 is not connected to the wireless network, and at this time, the device under test 10 may be located at the start position of the conveyor belt 200, and the testing apparatus 20 and the server 30 have access to the wireless network, and have established wireless connection therebetween. The test method comprises the following steps:
step S501, the device to be tested 10 acquires wireless access information through optical identification or proximity sensing, establishes connection with the server 30, and notifies the server 30 that the device to be tested 10 has entered a preset test area, where the preset test area may be a preset area on the conveyor belt 200, for example, a part of the conveyor belt 200 that is close to the right along a dotted line AA', and at this time, the server 30 may notify the first test equipment 20 located in the preset test area, and the device to be tested 10 will enter the preset test area.
In this preferred embodiment, the test station 300 may preset a two-dimensional code or a barcode at a preset position, and when the device to be tested 10 reaches the preset position, the wireless access information corresponding to the wireless network is pre-stored in the two-dimensional code or the barcode in a photographing manner or an NFC sensing manner. In the preferred embodiment, the wireless access information includes a network identifier and a password.
Step S502, the device to be tested 10 connects to the testing apparatus 20 according to the wireless access information, and sends its own device information to the testing apparatus 20. The device information includes a MAC address and an actually used packet.
In step S503, the testing apparatus 20 establishes an ADB connection with the device under test 10 according to the device information.
In step S504, after the test apparatus 20 establishes the ADB connection with the device to be tested 10, it sends a test instruction to the device to be tested 10 through the ADB connection.
Step S505, the device to be tested 10 receives and executes the test instruction, completes the test of the test station 300, and transmits the test result to the test equipment 20, and the test equipment 20 generates the test data of the device to be tested 10 and uploads the test data to the server 30.
In the test system 100 and the method of the present invention, the device to be tested 10 can acquire the wireless access information by optical identification or short-distance sensing without accessing a wireless network, and establish a connection with the server 30 for testing, so that the test process is more convenient.
FIG. 4 is a flowchart of a communication protocol of another preferred embodiment of the testing method of the present invention. In the preferred embodiment, the devices under test 10, the testing equipment 20 and the server 30 are already connected to the wireless network, and at this time, the devices under test 10 can be located at a position subsequent to the starting position of the conveyor belt 200, i.e. at least one test has been completed. The test mode comprises the following steps:
step S601, the device to be tested 10 displays its own wireless connection information. Referring to fig. 5, in the preferred embodiment, the wireless connection information may include the name of the wireless network to which the device under test 10 is connected, the IP address of the device under test 10, and the information of the currently connected testing equipment 20.
In step S602, the testing device 20 reads the wireless connection information through optical recognition or proximity sensing.
Referring to fig. 6, in the preferred embodiment, the predetermined test area may further include a plurality of sub-areas, such as an area between the dashed lines AA 'and BB', and an area between the dashed lines BB 'and CC'. Each sub-area is correspondingly provided with a test station 300 and a test device 20. When the device to be tested 10 enters the sub-area, the server 30 notifies the corresponding testing device 20, and the testing device 20 reads the wireless connection information.
Step S603, the testing apparatus 20 establishes ADB connection with the device under test 10 according to the wireless connection information.
In step S604, after the test apparatus 20 establishes the ADB connection with the device to be tested 10, it sends a test instruction to the device to be tested 10 through the ADB connection.
Step S605, the device to be tested 10 receives and executes the test instruction, completes the test of the test station 300, the device to be tested 10 transmits the test result to the test equipment 20, and the test equipment 20 generates the test data of the device to be tested 10 and uploads the test data to the server 30.
FIG. 7 is a functional block diagram of a device under test 10 according to a preferred embodiment of the test system of the present invention. The device to be tested 10 includes a wireless communication module 11, a sensing module 12, a camera module 13, a display module 14, and a processor 15. The wireless communication module 11, the sensing module 12, the camera module 13 and the display module 14 are all connected to the processor 15. The wireless communication module 11 is used for establishing wireless connection with the test equipment 20 and the server 30. The sensing module 12 may be an NFC sensing module, and is configured to sense a preset two-dimensional code or barcode and acquire wireless access information corresponding to the wireless network prestored in the two-dimensional code or barcode. It can be understood that the device to be tested 10 may also acquire the wireless access information corresponding to the wireless network in the two-dimensional code or the barcode in a photographing manner through the camera module 13. The display module 14 is configured to display wireless connection information of the device to be tested 10 when the device to be tested has access to a wireless network. The processor 15 is used for controlling the above modules to work normally and receiving and executing the test instruction sent by the test equipment 20.
The test system 100 and the method of the invention can realize the test of the test equipment 20 to the equipment to be tested 10 without USB cable connection, thereby saving manpower and material resources and reducing production cost.

Claims (10)

1. A test system, the system comprising: the device to be tested comprises a device to be tested, test equipment and a server, wherein the test equipment and the server have access to a wireless network, and the device to be tested is not connected to the wireless network; the device to be tested acquires preset wireless access information in an optical identification or close-range sensing mode, and a debugging bridge connection is established between the device to be tested and the testing equipment according to the wireless access information so as to test.
2. The test system of claim 1, wherein the device under test connects to the test apparatus according to the wireless access information and transmits its own device information to the test apparatus.
3. The test system of claim 2, wherein the device information includes a mac address and an actual used packet.
4. The test system of claim 2, wherein the test equipment establishes the debug bridge connection with the device under test based on the device information.
5. The test system of claim 3, wherein the test equipment sends test instructions to the device under test through the debug bridge connection after establishing the debug bridge connection with the device under test, the device under test receiving and executing the test instructions.
6. A method of testing, the method comprising:
providing test equipment and a server which have access to a wireless network and a device to be tested which has not access to the wireless network;
the device to be tested acquires wireless access information in an optical identification or close-range sensing mode;
establishing a debugging bridge connection between the device to be tested and the testing equipment according to the wireless access information; and
and the test equipment tests the device to be tested through the debugging bridge connection.
7. The testing method of claim 6, wherein the establishing a debug bridge connection between the device under test and the testing apparatus according to the wireless access information comprises:
and connecting the device to be tested with the testing equipment according to the wireless access information, and sending the device information of the device to be tested to the testing equipment.
8. The test method of claim 7, wherein the device information comprises a MAC address and an actual used packet.
9. The testing method of claim 7, wherein the establishing a debug bridge connection between the device under test and the testing apparatus according to the wireless access information further comprises:
and establishing the debugging bridge connection between the test equipment and the device to be tested according to the device information.
10. The method of testing as claimed in claim 8, wherein said "said test equipment testing said device under test through said debug bridge connection" comprises:
sending a test instruction to the device to be tested through the debugging bridge connection; and
and the device to be tested receives and executes the test instruction.
CN201911240622.0A 2019-12-06 2019-12-06 Test system and method Active CN112929226B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911240622.0A CN112929226B (en) 2019-12-06 2019-12-06 Test system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911240622.0A CN112929226B (en) 2019-12-06 2019-12-06 Test system and method

Publications (2)

Publication Number Publication Date
CN112929226A true CN112929226A (en) 2021-06-08
CN112929226B CN112929226B (en) 2023-05-02

Family

ID=76161466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911240622.0A Active CN112929226B (en) 2019-12-06 2019-12-06 Test system and method

Country Status (1)

Country Link
CN (1) CN112929226B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500984A (en) * 2021-12-02 2022-05-13 四川天邑康和通信股份有限公司 Two-dimensional code identification automatic distribution network factory self-checking method for network camera

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843686A (en) * 2012-09-14 2012-12-26 惠州Tcl移动通信有限公司 Wireless network system and portable electronic device
CN103152113A (en) * 2013-02-06 2013-06-12 深圳创维数字技术股份有限公司 Method and device for testing equipment
CN106657515A (en) * 2016-11-30 2017-05-10 上海与德信息技术有限公司 Intelligent test system and method and test station
WO2018040604A1 (en) * 2016-09-01 2018-03-08 深圳市中兴微电子技术有限公司 Mobile terminal testing method, apparatus, system, device, and storage medium
CN109669084A (en) * 2018-12-13 2019-04-23 歌尔科技有限公司 Equipment ESD test method and system
CN109873728A (en) * 2017-12-01 2019-06-11 腾讯科技(深圳)有限公司 A kind of terminal test method, device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843686A (en) * 2012-09-14 2012-12-26 惠州Tcl移动通信有限公司 Wireless network system and portable electronic device
CN103152113A (en) * 2013-02-06 2013-06-12 深圳创维数字技术股份有限公司 Method and device for testing equipment
WO2018040604A1 (en) * 2016-09-01 2018-03-08 深圳市中兴微电子技术有限公司 Mobile terminal testing method, apparatus, system, device, and storage medium
CN106657515A (en) * 2016-11-30 2017-05-10 上海与德信息技术有限公司 Intelligent test system and method and test station
CN109873728A (en) * 2017-12-01 2019-06-11 腾讯科技(深圳)有限公司 A kind of terminal test method, device and storage medium
CN109669084A (en) * 2018-12-13 2019-04-23 歌尔科技有限公司 Equipment ESD test method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500984A (en) * 2021-12-02 2022-05-13 四川天邑康和通信股份有限公司 Two-dimensional code identification automatic distribution network factory self-checking method for network camera

Also Published As

Publication number Publication date
CN112929226B (en) 2023-05-02

Similar Documents

Publication Publication Date Title
CN106415490B (en) Mobile terminal, power adapter and upgrading method thereof
KR101956574B1 (en) Apparatus and method for identifying operating system of host device in portable terminal
CN106028264B (en) Electronic equipment Bluetooth pairing methods and system
CN103581598A (en) Interconnection and interworking and multi-screen interaction equipment, system and implementation method
CN103974376A (en) Network connection assisting system and method
CN105354118B (en) Automatic test approach, the apparatus and system of intelligent terminal
CN103597805A (en) Techniques for facilitating interoperation between an accessory and multiple devices
CN109005532A (en) A kind of Bluetooth connecting method, bluetooth master and Bluetooth slave devices
CN111182515A (en) Network distribution method, device, terminal and computer storage medium
CN104346838A (en) Terminal and system
CN107543994A (en) The test system of Type C interface
CN106416196B (en) Mobile terminal, power adapter and upgrading method thereof
CN112929226B (en) Test system and method
CN104539799A (en) Communication control method and system based on multiple devices
CN104125593A (en) Information processing method and electronic equipment
CN112073771A (en) Wireless screen projection method and device
CN104079634A (en) Method, device and system for displaying device interface
TWI721689B (en) Testing system and method
CN115988524A (en) Network equipment compatibility testing method, device, equipment and storage medium
KR20120014957A (en) Apparatus and method for improving capability of wi-fi in wireless communication system
CN107040978B (en) Method and device for controlling terminal access in wireless local area network
JP2007028545A (en) Apparatus and method for testing mobile device
CN117460097A (en) Electronic device, communication control method, and communication control system
CN105577854A (en) Communication apparatus for incoming call diverting and incoming call diverting method
CN103929837B (en) Transmitting network data and the method and system of AT data in the dual-mode terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant