USPatent applicationPatented

Communication apparatus and test method thereof

Granted 29 Mar 2022 · no office action yet

Assignee: Pegatron Corporation

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: Chia-Han Hsieh · Examiner: Siu M Lee · AU 2632 · TC 2600

Life of the application

7 dated events
⤢ drag to zoom20202022202420262028203020322034203620382040ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

A communication apparatus and a test method thereof are provided. The communication apparatus includes a wireless communication module, a wireless driver and an application unit. The test method of the communication apparatus includes the following steps: after the communication apparatus performs a booting operation, setting an operation mode as a default mode by the wireless driver to activate a first wireless interface and a second wireless interface of the wireless communication module, and controlling the wireless communication module by the wireless driver to not transmit a wireless signal. The test method further includes re-setting the operation mode according to a test item, by the application unit when the application unit receives an execution command, so that the wireless driver controls the wireless communication module to transmit the wireless signal corresponding to the operation mode.

Description

8 parts
›CROSS-REFERENCE TO RELATED APPLICATION

This application claims the priority benefit of Taiwan application serial no. 108134559, filed on Sep. 25, 2019. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.

›BACKGROUND

Technology Field

The invention relates to a test method, and particularly relates to a test method with high efficiency and a communication apparatus using the test method.

›Description of Related Art

The communication apparatus nowadays is usually provided with a WiFi module, and such WiFi module is normally compatible with a real simultaneous dual band (RSDB) mode and a non-RSDB mode. Also, before the communication apparatus is shipped out of factory, the RSDB mode and the non-RSDB mode of the WiFi module needs to be tested to ensure the WiFi module functions properly in these modes.

In the conventional test process, if the mode under test (e.g., the RSDB mode) of the WiFi module is different from the default mode (e.g., the non-RSDB mode) of the WiFi module, the communication apparatus needs to be booted and stays at the bootloader stage in the booting process of the communication apparatus. Then, the data in the non-volatile memory of the communication apparatus is removed. The data in the non-volatile memory include various default parameters (e.g., the default mode and corresponding operation parameters) of the WiFi module. Then, the communication apparatus is rebooted, and the setting values of the mode under test of the WiFi module and the corresponding operation parameters are written into the non-volatile memory. Afterwards, the communication apparatus is rebooted again so that the communication apparatus may set up the WiFi module according to the setting values and the corresponding operation parameters in the non-volatile memory during this booting process, and thus the WiFi module may transmit service set identifiers (SSID) and perform data transmission after the communication apparatus is booted. At this time, a test device may conduct a test on the WiFi module. Since the communication apparatus may require three booting operations to switch the mode of the WiFi module to the mode under test (e.g., switching from the RSDB mode to the non-RSDB mode), such a procedure not only prolongs the whole test, but also complicates the test process.

Besides, since the WiFi module starts sending WiFi signals (e.g., SSID) after being booted, when multiple communication apparatuses are being tested on the production line, the WiFi signals transmitted by the WiFi modules of these communication apparatuses may affect each other. Besides, it is also difficult for the test device to identify which communication apparatus transmits the WiFi signal that has been received. As a result, a test error may arise.

›SUMMARY

The embodiments of the invention provide a communication apparatus and a test method thereof capable of reducing the overall test time, simplifying a test process, and reducing test errors.

A communication apparatus according to an embodiment of the invention includes a wireless communication module, a wireless driver and an application unit. The wireless communication module is configured to transmit a wireless signal. The wireless driver is coupled to the wireless communication module and is configured to control the wireless communication module. After the communication apparatus performs a booting operation, the wireless driver sets an operation mode as a default mode to activate a first wireless interface and a second wireless interface of the wireless communication module and controls the wireless communication module to not transmit the wireless signal. The application unit is coupled to the wireless driver and configured to reset the operation mode according to a test item when receiving an execution command, so that the wireless driver controls the wireless communication module to transmit the wireless signal corresponding to the operation mode.

A test method for a communication apparatus according to an embodiment includes the following steps: after the communication apparatus performs a booting operation, setting, by a wireless driver, an operation mode as a default mode of the communication apparatus to activate a first wireless interface and a second wireless interface of the wireless communication module, and controlling, by a wireless driver, the wireless communication module of the communication apparatus to not transmit a wireless signal; and re-setting, by the application unit, the operation mode according to a test item when the application unit receives an execution command, so that the wireless driver controls the wireless communication module to transmit the wireless signal corresponding to the operation mode.

Based on the above, in the communication apparatus and the test method thereof according to the embodiments of the invention, since the wireless communication module of the communication apparatus does not transmit a wireless communication signal before being tested, the wireless communication module can prevent the test results of other communication devices undergoing a wireless signal test operation from being affected, thereby preventing a test error from happening. Besides, the communication apparatus only needs to be booted once, and the application unit executes the test item to switch the operation mode executed by the wireless driver to a mode to be tested. Accordingly, an external test device may test the wireless signal transmitted by the wireless communication module under various modes, thereby significantly reducing the overall test time of the wireless communication module and simplifying the test process.

To make the above features and advantages of the present invention more comprehensible, several embodiments accompanied with drawings are described in detail as follows.

›BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

FIG. 1 is a schematic block diagram illustrating a communication apparatus according to an embodiment of the invention.

FIG. 2 is a flowchart illustrating a test method according to an embodiment of the invention.

FIG. 3 is a schematic block diagram illustrating a communication apparatus according to another embodiment of the invention.

FIG. 4 is a flowchart illustrating a test method according to another embodiment of the invention.

›DESCRIPTION OF THE EMBODIMENTS · 1 of 3

Reference will now be made in detail to the present preferred embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.

FIG. 1 is a schematic block diagram illustrating a communication apparatus according to an embodiment of the invention. Referring to FIG. 1 , a communication apparatus 100 of the embodiment may be, for example, an access point (AP). However, the invention is not limited thereto. The communication apparatus 100 may include a wireless communication module 110 , a wireless driver 120 , and an application unit 130 . However, the invention is not limited thereto. The wireless communication module 110 is configured to transmit a wireless signal WLS. According to an embodiment of the invention, the wireless communication module 110 may be, for example, a WiFi module, and is compatible with a real simultaneous dual band (RSDB) mode and a non-RSDB mode. However, the invention is not limited thereto.

The wireless driver 120 is coupled to the wireless communication module 110 and is configured to control the wireless communication module 110 . After the communication apparatus 110 performs a booting operation, the wireless driver 120 may set an operation mode MD as a default mode MDO and control the wireless communication module 110 to not transmit the wireless signal WLS.

According to an embodiment of the invention, the wireless driver 120 may be implemented as hardware, firmware, or a combination of hardware and firmware. If the wireless driver 120 is implemented as hardware, the wireless driver 120 may be realized as a micro controller. However, the invention is not limited thereto.

According to an embodiment of the invention, the wireless signal WLS may include a service set identifier (SSID). However, the invention is not limited thereto.

According to an embodiment of the invention, the default mode MDO may be the RSDB mode. Therefore, after the communication apparatus 100 performs the booting operation, the wireless driver 120 may directly set the operation mode MD as the RSDB mode (i.e., the default mode MDO). However, the invention is not limited thereto and such setting is dependent upon the application or design needs. According to another embodiment of the invention, the default mode MDO may be the non-RSDB mode. Therefore, after the communication apparatus 100 performs the booting operation, the wireless driver 120 may directly set the operation mode MD as the non-RSDB mode.

The application unit 130 is coupled to the wireless driver 120 and is configured to reset the operation mode MD executed by the wireless driver 120 according to a test item TSI when the application unit 130 receives an execution command CMD, so that the wireless communication module 110 transmits the wireless signal WLS corresponding to the operation mode MD.

In an embodiment of the invention, the application unit 130 may be, for example, software, a central processing unit (CPU) or other programmable general-purpose or special-purpose microprocessors, digital signal processors (DSPs), programmable controllers, application specific integrated circuits (ASICs), other similar components, or a combination thereof. However, the invention is not limited thereto.

A test method of the communication apparatus 100 will be described in the following. FIG. 2 is a flowchart illustrating a test method according to an embodiment of the invention, and the test method may be used in the communication apparatus 100 of FIG. 1 . Referring to FIGS. 1 and 2 , the test method according to this exemplary embodiment includes steps as follows. First of all, in Step S 200 , the communication apparatus 100 is booted. After the communication apparatus 100 performs a booting operation, in Step S 210 , the wireless driver 120 sets the operation mode MD as the default mode MDO to activate a first wireless interface and a second wireless interface of the wireless communication module 110 and controls the wireless communication module 110 to not transmit the wireless signal WLS.

Then, in Step S 220 , the application unit 130 determines whether an execution command CMD is received. If it is determined in Step S 220 that the execution command CMD is received, the wireless communication module 110 is to be tested. Accordingly, in Step S 230 , the application unit 130 resets the operation mode MD according to the test item TSI, so that the wireless communication module 110 transmits the wireless signal WLS corresponding to the current operation mode MD. If it is determined in Step S 220 that the execution command CMD is not received, the flow stays at Step S 220 to wait for reception of the execution command CMD.

Since the wireless communication module 110 does not transmit the wireless communication signal WLS before being tested, the wireless communication module 110 can prevent other communication devices undergoing a wireless signal test from being affected, thereby preventing a test error from happening.

In addition, since the application unit 130 resets the operation mode MD executed by the wireless driver 120 according to the test item TSI, after the communication apparatus 100 has finished the booting operation, the application unit 130 may dynamically switch the operation mode MD executed by the wireless driver 120 according to the test item TSI, so that the wireless communication module 110 transmits the wireless signal WLS corresponding to different operation modes MD, thereby realizing testing on the wireless communication module 110 under different operation modes MD. Accordingly, the communication apparatus 100 only needs to be booted once, and the application unit 130 executes the test item TSI to switch the operation mode MD executed by the wireless driver 120 to a mode to be tested. Accordingly, an external test device may test the wireless signal WLS transmitted by the wireless communication module 110 under various modes, thereby significantly reducing the overall test time of the wireless communication module 110 and simplifying the test process.

›DESCRIPTION OF THE EMBODIMENTS · 2 of 3

FIG. 3 is a schematic block diagram illustrating a communication apparatus according to another embodiment of the invention. Referring to FIG. 3 , a communication apparatus 300 may include a wireless communication module 310 , a wireless driver 320 , and an application unit 330 , a storage device 360 , and a wired communication module 380 . However, the invention is not limited thereto. The embodiments and the operations of the wireless communication module 310 , the wireless driver 320 , and the application unit 330 shown in FIG. 3 are similar to the embodiments and the operations of the wireless communication module 110 , the wireless driver 120 , and the application unit 130 , so the details of these components can be referred to the aforementioned descriptions about FIG. 1 .

In addition, in this embodiment, the wireless communication module 310 may include a first wireless interface ET 1 and a second wireless interface ET 2 . When the wireless driver 320 executes the RSDB mode (i.e., the default mode MDO), the first wireless interface ET 1 and the second wireless interface ET 2 of the wireless communication module are activated. The first wireless interface ET 1 and the second wireless interface ET 2 are conventional hardware interface circuits, which comply with the WiFi communication standard. The first wireless interface ET 1 serves to transmit and receive signals in a frequency band of 2.4 GHz, and the second wireless interface ET 2 serves to transmit and receive signals in a frequency band of 5 GHz.

The storage device 360 is coupled to the wireless driver 320 and is configured to store a default value DV 2 and at least one operation parameter MP corresponding to the default value DV 2 . However, the invention is not limited thereto. Specifically, the default value DV 2 and the operation parameter MP are stored in the storage device 360 in advance. According to an embodiment of the invention, the storage device 360 may be implemented by a non-volatile random access memory (NVRAM). However, the invention is not limited thereto. According to an embodiment of the invention, the default value DV 2 corresponds to the RSDB mode or the non-RSDB mode. However, the invention is not limited thereto and is dependent upon the application or design needs.

The wired communication module 380 is coupled to the application unit 330 and is configured for wired signal transmission with other electronic apparatuses. According to an embodiment of the invention, the wired communication module 380 may be, for example, an Ethernet module. However, the invention is not limited thereto.

A test method of the communication apparatus 300 will be described as follows. FIG. 4 is a flowchart illustrating a test method according to another embodiment of the invention, and the test method may be used in the communication apparatus 300 of FIG. 3 . Referring to FIGS. 3 and 4 , the test method according to this exemplary embodiment includes the following steps. First of all, in Step S 400 , the communication apparatus 300 is booted. Then, in Step S 402 , a test image file TIF is obtained through the wired communication module 380 . The test image file TIF includes the test item TSI. According to an embodiment of the invention, the wired communication module 380 may, for example, download the test image file TIF from an external test device. However, the invention is not limited thereto. According to an embodiment of the invention, the test image file TIF may also include a parameter value related to the default mode MDO. However, the invention is not limited thereto.

After the communication apparatus 300 performs the booting operation, in Step S 404 , the wireless driver 320 does not execute the bootloader program and ignores the default value DV 2 and the at least one operation parameter MP corresponding to the default value DV 2 in the storage device 360 . Specifically, after the communication apparatus 300 of the invention performs the booting operation, the communication apparatus 300 does not execute the bootloader program. Therefore, the communication apparatus 300 does not read the default value DV 2 and the at least one operation parameter MP corresponding to the default value DV 2 from the storage device 360 . Since it is not necessary to read the default value DV 2 and the at least one operation parameter MP corresponding to the second default value DV 2 from the storage device 360 , the storage device 360 does not have to be cleared after the communication apparatus 300 of the invention performs the booting operation.

Then, in Step S 410 , the wireless driver 320 may set the operation mode MD as the default mode MDO and control the wireless communication module 310 to not transmit the wireless signal WLS. Specifically, in Step S 410 , when the operation mode of the wireless driver 320 is directly set to the RSDB mode, the wireless driver 320 setups the first wireless interface ET 1 and the second wireless interface ET 2 of the wireless communication module 310 , so that before the wireless communication module 310 starts being tested, the first wireless interface does not transmit the SSID corresponding to the first frequency band and the second wireless interface ET 2 does not transmit the SSID corresponding to the second frequency band. Accordingly, other wireless communication apparatuses undergoing the wireless signal test operation can avoid being affected. According to an embodiment of the invention, the first frequency band is a frequency band of 2.4 GHz, and the second frequency band is a frequency band of 5 GHz, for example. However, the invention is not limited thereto.

Then, in Step S 420 , the application unit 330 determines whether the execution command CMD is received. If it is determined in Step S 420 that the execution command CMD is received, the wireless communication module 310 is to be tested. Accordingly, in Step S 430 , the application unit 330 resets the operation mode MD according to the test item TSI, so that the wireless communication module 310 transmits the wireless signal WLS corresponding to the operation mode MD. If it is determined in Step S 420 that the execution command CMD is not received, the flow stays at Step S 420 to wait for reception of the execution command CMD.

›DESCRIPTION OF THE EMBODIMENTS · 3 of 3

Specifically, Step S 430 includes the details of Steps S 432 and S 436 . First of all, in Step S 432 , the application unit 330 determines the test item of the wireless communication module 310 according to the test item TSI. If the test item of the wireless communication module 310 is related to the RSDB mode, that is, the test item of the wireless communication module 310 is a test of the RSDB mode, Step S 433 is performed. In Step S 433 , the application unit 330 sets the operation mode MD as the RSDB mode. Then, in Step S 434 , the wireless driver 320 executes the RSDB mode, and controls the wireless communication module 310 to transmit the wireless signal WLS in the first frequency band through single input single output transmission, and transmit the wireless signal WLS in the second frequency band through single input single output transmission, and the wireless driver 320 transmits an SSID corresponding to the first frequency band and an SSID corresponding to the second frequency band.

Specifically, in Step S 434 , the wireless driver 320 may control the first wireless interface ET 1 to transmit the SSID corresponding to the first frequency band and transmit the wireless signal of the first frequency band through single input single output transmission, and the wireless driver 320 may control the second wireless interface ET 2 to transmit the SSID corresponding to the second frequency band and transmit the wireless signal of the second frequency band through single input single output transmission. In this way, the external test device is able to test the signal intensity and transmission throughput of the wireless communication module 310 under the RSDB mode according to the detected wireless signal.

In contrast, if the test item of the wireless communication module 310 is related to the non-RSDB mode, that is, the test item of the wireless communication module 310 is a test of the non-RSDB mode, Step S 435 is performed. In Step S 435 , the application unit 330 sets the operation mode MD as the non-RSDB mode. Then, in Step S 436 , the wireless driver 320 executes the non-RSDB mode and controls the wireless communication module 310 to transmit the wireless signal WSL in the first frequency band through dual-input dual-output transmission and the wireless driver 320 transmits an SSID corresponding to the first frequency band.

Specifically, in Step S 436 , the wireless driver 320 may control the first wireless interface ET 1 to transmit the SSID corresponding to the first frequency band and transmit the wireless signal in the first frequency band through dual-input dual-output transmission. In this way, the external test device is able to test the signal intensity and transmission throughput of the wireless communication module 310 under the non-RSDB mode according to the detected wireless signal. It is noted here that the second wireless interface ET 2 does not transmit the wireless signal under the non-RSDB mode.

Since the wireless communication module 310 does not transmit the wireless communication signal WLS before being tested, the wireless communication module 110 can prevent the test results of other communication devices undergoing a wireless signal test from being affected, thereby preventing a test error from happening.

Besides, according to the embodiment the wireless driver 320 does not set or reset the operation mode MD according to the default value DV 2 stored in the storage 360 . Instead, the application unit 330 resets the operation mode MD executed by the wireless driver 320 according to the test item TSI. Therefore, the application unit 330 may dynamically switch the operation mode MD executed by the wireless driver 320 according to the test item TSI, so that the wireless communication module 310 transmits the wireless signal WLS corresponding to different operation modes MD, thereby realizing testing on the wireless communication module 310 under different operation modes MD. Accordingly, compared with the conventional communication apparatus requiring multiple booting operations to switch the mode of the wireless communication module to the mode to be tested, the communication apparatus 300 in the embodiment only needs to be booted once, and the application unit 330 executes the test item TSI to switch the operation mode MD executed by the wireless driver 320 to a mode to be tested. Accordingly, an external test device may test the wireless signal WLS transmitted by the wireless communication module 310 under various modes, thereby significantly reducing the overall test time of the wireless communication module 310 and simplifying the test process.

It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.

Claims as granted

14 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

4 codes
IPC · International Patent Classification
Section H — Electricity
  • H04W24/06
  • H04W84/22
  • H04W48/16
  • H04W72/04

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJul 2020Oct 2020Jan 2021Apr 2021Jul 2021Oct 2021Jan 2022Apr 2022USPTOApplicantNotice of allowance
USPTOApplicanthover for detail · click to open
Pendency
1.6 y
594 days filing → grant
Office actions
0
none on record
Examiner
Siu M Lee
art unit 2632 · TC 2600
Citations: 11 back · 0 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20202022202420262028203020322034203620382040Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock