Mobile phone testing is a big topic, involving hardware testing, software testing, and structural testing, such as stress resistance, wrestling, fatigue resistance, and low temperature resistance. The structural design is unreasonable, it will cause stress concentration and deformation of the shell. for mobile phone flip and lid failure, there are other serious problems. Hardware testing generally has strict physical and electrical indicators, as well as specialized instruments. The instruments here are not to be said. Generally, if they are professional testers, they will not be unfamiliar with them.
Mobile phone testing generally refers to software testing, which also shows the importance of software on mobile phones. On the one hand, it also shows the difficulty of mobile phone testing. Because other tests have clear indicators, strict operating procedures, and various instruments. The mobile phone tests described below are generally mobile phone software tests and will not be repeated in the future.
Before explaining the mobile phone test, I think we should know what an embedded operating system is. This is a fashionable term. Although we are already surrounded by embedded operating system products, but it may not be clear what an embedded operating system is, and there are not many lectures in the school class, so many people feel confused about this.
Simply put, an Embedded Operating System is an operating system specially developed to fulfill a specific function. The functions of this operating system are clearly defined. Unlike large operating systems, this system has a wide range and is widely used across the world. The embedded operating system only provides one or more functions.
Let's talk about the particularity of mobile phones, that is, to limit the response time, that is, the so-called real-time operating system. If a call cannot be answered within 90 seconds, the other party fails. Your operating system has not been reflected yet, so this operating system will undoubtedly fail, which is a requirement for real-time embedded operating systems.
As a tester, you must understand this. Maybe you do not need to care about these aspects for some software developers, because you only need to understand the entry instructions and exit instructions of your modules. But not the tester. Senior testers should understand the characteristics of the embedded operating system. Unlike windows, the system has a graphical interface that allows input and output, and does not use the command line mode for DOS. All these must be edited by themselves, write an interactive interface and an input/output interface. In Windows, you do not need to consider hardware issues because the system has been completed, windows is especially isolated from hardware because it can protect the system from intrusion. In the embedded system. These requirements are closely related to hardware. During mobile phone testing, software faults may not be caused by software errors, or because the combination of hardware and software is not considered perfect.
Therefore, while learning about the operating system, we also need to know about the performance of other mobile phone hardware, such as CPU and memory.
The CPU processing and computing power is measured by MIPS. Of course, the faster the better, but it is also related to the cost. I don't know the CPU of Motorola t39, but because it is a PDA, it is also a handwritten screen, so the menu is particularly slow. Special Instructions need to be made on the storage, because the storage here is very special, unlike the PC, the mobile phone does not have a hard disk!
The programming languages of embedded systems generally use C, and are also the most commonly used. There are also other languages. For example, C ++ uses assembly at the beginning, but the compilation is hard to understand and is not easy to transplant. It is gradually replaced by C. However, even so, when starting a program, it is necessary to start the board, that is, the circuit board still needs to be completed in some assembly languages.
As an embedded system program, it is no different from the program running on the PC. The only difference may be that the program running on the PC, you can see the result-if you use an output statement, you cannot see the result here. Unless you add the LCD hardware, then write the LCD driver, and then write the display program. Write embedded programs, everything should be done by yourself.
If our mobile phone does not think that the power is cut off, or the power is consumed to a certain extent, it will be used all the time. Therefore, the mobile phone program is always running, that is to say, there is always a loop. For embedded programs, it should be a good material. embedded programs are infinite loops. Unless the power supply and power supply are turned off, there is also a test point here: hardware interruption is the highest level, and it will terminate your program, even if your current program level is very high, such as the call, if there is no power, everything will be over.
The mobile phone program is an infinite loop program. When will it jump out of this infinite loop? Shut down. If you are not happy, remove the battery because it may enter an endless loop and the shutdown key becomes invalid. -- You have to remove the battery.
Here, I would like to elaborate on storage, because many mobile phone problems are related to storage, and many problems are related to storage. Computer storage is the key, while mobile phones are the key because computers have hard disks for storage, and all the mobile phones are in the memory.
There are several types of memory: Ram random memory, Rom random read-only memory, and some flash memory, as well as electronic programmable storage and non-Easy loss storage. One by one. Ram random memory (including static RAM) and DRAM (Dynamic RAM );
SRAM, as long as the power is on, it will be saved. We call and some of the last dialing numbers are temporarily in the SRAM and will not immediately write the call records. It is written only when it is shut down normally. If it is battery, it will not be written into the phone call record. If there is a call that has been made but not recorded in the call record, this memory may be related to errors in your software or hardware. DRAM is rarely used on mobile phones because it takes a short time to retain data. In terms of price, SRAM is very expensive, while DRAM is very cheap.
There are also several types of Rom. The prom programmable ROM and EPROM can erase the programmable Rom. The difference between the two is that the prom is one-time, that is, after the software is filled in, this is the end, this is an early product, it is no longer available, and EPROM is a general-purpose storage, these memories do not comply with mobile phone software products and generally use less Rom.
Other Flash files. This is the most memory used by mobile phones recently. This storage combines the strengths of ROM and Ram, but not Ram or ROM. A large number of NVRAM non-Easy memory is used by mobile phones. Similar to the SRAM property, the eeprom electronics can erase programmable memory. Future generations of flash memory and Rom. The mobile phone software is generally placed in the EEPROM, And the EPROM is erased by ultraviolet light, while the EEPROM is wiped out through electronics, of course, the price is also very high, and the write time is very long, the write is very slow, therefore, the phone number mentioned above is generally put in S Ram first, instead of writing the eeprom immediately, because there is a very important job to do at that time-call. If the phone number is written, A long wait is unbearable for users. NVRAM is a very special memory. It is similar to SRAM, but the price is much higher. Because some data is really important, it must be kept after power failure, so it can only be stored here, generally, data related to personal information is stored here, for example, data related to the S im card. The capacity is only several hundred bytes.
Flash memory is the first choice for all mobile phones. It combines all the advantages of the above, does not lose data (NVRAM) fast reading, and electronics can erase programmable (EEPROM), so a large number of mobile phones are now used.
After talking about so many memories, we may be confused. Which kind of memory is used for such a large amount of memory? In the development of mobile phones, all kinds of memory have been used. As for now, the storage used by various mobile phones is different. This is related to the cost. The price of various types of storage is different. Based on the optimal cost-effective combination, it is determined by the designers. Some of them are optional and some are necessary, it is determined by the mobile phone solution. We understand that it is only a variety of storage performance and features, and we can determine the cause of the error during testing.