# Patent

## Title
Method for testing working states of mobile phone

## Abstract

A method for testing working states of a mobile phone. The mobile phone is switched from a first working state to a second working state automatically by a switch module. In the first working state, a non-emergency phone number with a subscriber identity module card can be connected. The non-emergency phone number is dialed to test the working state of the mobile phone. The mobile phone is switched from the second working state to the first working state automatically by a switch module. The non-emergency phone number is dialed to test the working state of the mobile phone.

## Background
BACKGROUND
1. Technical Field
The disclosure generally relates to methods for testing mobile phones.
2. Description of Related Art
Mobile phones are becoming increasingly popular, and new models with enhanced functionality are constantly in demand. To ensure that a mobile phone is functioning as expected requires a series of tests before being sent to market. Typically, in a laboratory, a mobile phone is subjected to functional tests for validating the performance thereof. A functional test line of mobile phones has many workstations, each of which has one test for a component or a functional item. Conventionally, during the testing procedure, test results are manually recorded. So a plurality of operators is needed, and it may take a long time to finish the whole functional test line.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block view showing components and a connection relationship of a mobile phone.
FIG. 2 is a flowchart of a method for testing a working state of the mobile phone.



DETAILED DESCRIPTION
Referring to FIG. 1, a mobile phone 10 includes a screen 12, a switch module 14, a test module 16, and a subscriber identity module (SIM) card 18. The mobile phone 10 is connected to a mobile phone network, such as a global system for mobile communications (GSM) network. The switch module 14 is used for switching a working state of the mobile phone 10.
The mobile phone 10 can be detected if the mobile phone 10 is successfully switched from a first state to a second state. In the first state, the mobile phone 10 is ready for dialing non-emergency phone numbers with the SIM card 18. In the second state, a communicating function of the mobile phone 10 is disabled and only emergency telephone numbers may be dialed and connected using the mobile phone 10. Some mobile phones have a preprogrammed list of emergency numbers. On some networks, a GSM phone without a SIM card may be used to make emergency calls and most GSM phones accept a large list of emergency numbers without SIM card, such as 112, 911, 118, 119, 000, 110, 08, and 999.
Referring to FIG. 2, a method for testing working states of the mobile phone, includes the following steps:
In step 10, the SIM card 18 is inserted into the mobile phone 10, the mobile phone 10 is powered on, non-emergency phone numbers predefined in the mobile phone 10 are dialed by the test module 16 automatically to test if the working state of the mobile phone 10 is the first state. If the non-emergency phone numbers can be connected, the mobile phone 10 is in the first working state and step 12 is next.
In step 12, the mobile phone 10 is automatically switched from the first working state to a second working state by the switch module 14. This step further include: shielding communication signal from or disenabling the SIM card in the mobile phone 10.
In step 14, the non-emergency phone numbers predefined in the mobile phone 10 is dialed by the test module 16 automatically to test if the working state of the mobile phone 10 is the second state. If the non-emergency phone numbers cannot be connected, the mobile phone 10 has been successfully switched to the second state and step 16 is next. If the non-emergency phone numbers can be connected, the switch module has failed, and the mobile phone 10 is still in the first working state. The process ends.
In step 16, the mobile phone 10 is switched from the second working state to the first working state by the switch module 14. This step further include: enabling the SIM card in the mobile phone 10.
In step 18, the non-emergency phone numbers are dialed by the test module 16 automatically to test if the working state of the mobile phone 10 is the first working state. If the non-emergency phone numbers can be connected, the mobile phone 10 has been successfully switched to the first working state.
The steps 12-18 are repeated a predefined number of times. Test results are recorded and displayed on the screen 12 of the mobile phone 10 instantly.
It is to be understood, however, that even though numerous characteristics and advantages have been set forth in the foregoing description of preferred embodiments, together with details of the structures and functions of the preferred embodiments, the disclosure is illustrative only, and changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the invention to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
It is also to be understood that the above description and the claims drawn to a method may include some indication in reference to certain steps. However, the indication used is only to be viewed for identification purposes and not as a suggestion as to an order for the steps.

## Claims

1. A method for testing working states of a subscriber identity module card communicating through a mobile phone, the method comprising:
dialing non-emergency phone numbers to test a first working state of the mobile phone, wherein if non-emergency phone numbers can be connected, the mobile phone is in the first working state;
switching the mobile phone from the first working state to a second working state automatically by a switch module of the mobile phone, wherein the switching the mobile phone from the first working state to the second working state comprises shielding communication signals of the subscriber identity module card in the mobile phone, wherein the subscriber identity module card is in the mobile phone during the switching from the first working state to the second working state;
dialing the non-emergency phone number to test the working state of the mobile phone, wherein if the non-emergency phone number cannot be connected, the mobile phone is in the second working state, wherein the non-emergency phone number is predefined in the mobile phone;
switching the mobile phone from the second working state to the first working state automatically by the switch module; and
dialing the non-emergency phone number to test the working state of the mobile phone, wherein if the non-emergency phone number can be connected, the mobile phone has been successfully switched to the first working state;
wherein all the steps are repeated a predefined number of times.

2. The method of claim 1, wherein a testing result of the second working state of the mobile phone is recorded after the second working state of the mobile phone is tested.

3. The method of claim 2, wherein the testing result of the second working state of the mobile phone is displayed on a screen of the mobile phone.

4. The method of claim 1, wherein the mobile phone in the first working state communicates via a global system for mobile communications network.

5. The method of claim 1, wherein the mobile phone comprises a test module for dialing the non-emergency phone number when the mobile phone is switched from the first working state to the second working state or from the second working state to the first working state.

6. The method of claim 1, wherein the step of switching the mobile phone from the second working state to the first working state further comprises enabling a subscriber identity module card in the mobile phone.