Mobile phone test (reposted)

xiaoxiao2021-03-06  26

Mobile phones are a big topic involving hardware testing and software testing, and structural tests, such as compressive, anti-falling, anti-fatigue, anti-low temperature high temperature, etc., structural design is unreasonable, will result in stress concentration, The shell is deformed, and there are other serious problems for flip phone, cover failures. Hardware tests generally have strict physical electrical indicators, and there are special instruments. The instrument here is not more, and if it is a professional testers, it will not be strange.

Mobile phones are generally referred to as software testing, this one aspect shows important lines on the mobile phone. On the one hand, it also shows the difficulty of mobile testing. Because he has a clear indicator, strict operating procedures, as well as various instruments. The mobile phone test mentioned below is generally a mobile phone software test, and it is not repeated in the future.

Before explaining the phone test, I don't think what is embedded in the city operating system. This is a fashionable noun. Although we have been surrounded by the product of the city operating system, it is not necessarily clear, what is embedded operation The system, and the school's classroom, there are not many, so many people feel this Yunshan flock.

simply put,

A embedded market operating system is an operating system that is specially developed to complete a particular function. The function of this operating system is clear, unlike large operating systems, a wide range of large-scale worlds, all in which the operating system is only for one or several functions. Then talk about the particularity of your mobile phone, that is, requires a certain range of restrictions on the response time. That is, the so-called real-time operating system, if a phone can't answer in 90 seconds, then the other party will hang. Your operating system has not been reflected, then this operating system is undoubtedly failed, this is right

Embed a real-time requirements for operating systems. As a tester, you must understand these, may have some software developers, he doesn't have to care about these aspects, because he just knows how to understand the entrance description and export description of your module. But testers can't. Advanced testers should understand the characteristics of embedded operating systems. This system is not Windows, there is a graphical interface to enter output, nor like the DOS command line mode, all of which need to write an editor, write a interactive interface, Write an input and output interface, in Windows, use some APIs and some M FCs, do not consider hardware problems, because the system has been completed, and Windows is paying attention to hardware, because this can protect the system from invading.

Inside the city system. Some of these are required to be related to hardware. In the mobile phone test, the fault of software does not necessarily be due to the errors of the software, or because the hardware and software have no perfect combination.

So we are understanding the operating system, you have to know other mobile phone hardware performance, such as CPUs, such as memory.

The CPU's processing computing power is measured in MIPS. Of course, the faster, but also related to cost, I don't know now Motorola T39's CPU, but because it is PDA, it is a handwritten screen, so the menu is very slow . About memory needs to be specifically made, because the memory here is very special, not like PC, mobile phone has no hard drive!

The programming language of the system is typically c, and it is also the most, there are other languages. For example, C uses compilation in the first time, but compilation is difficult to understand, and it is not easy to transplant, and gradually be replaced, but even so, when starting the program, start the board, that is, the circuit board, still need to use Some assembly languages ​​are completed. As a program embedded in the city system, there is no different procedures running on the PC, the only difference may be program running on the PC, you can see the result - if you use the output statement, here, you It is the way to look at the results. Unless you add the L CD hardware, then write the LCD driver, then write the display program. Write an embedded procedure, everything must be solved.

If our mobile phone does not think it is cut off, or if the power is consumed to a certain level, it will always be used, so the mobile phone program is always running, that is, it is always a loop, this, for understanding the embedding procedure It should be a good material -

The embedded program is an unlimited loop of programs unless there is a test point here: hardware interrupt is the most advanced, it will terminate your program, even if your current program is high, such as calls, If there is no electricity, everything will be o Ver.

The mobile phone program is in an unlimited loop program, when is it jumped out of this unlimited loop? You are shut down, if you feel unhappy, remove the battery because it is possible to enter the dead cycle, and the shutdown button is invalid, - I have to remove the battery.

Here, you must specifically explain the memory, because many mobile phone problems are related to storage, and many problems are related to storage, the computer's storage is the key, while the phone is more critical, because the computer has a hard disk as a storage, while all mobile phone is in memory in

Memory is divided into several categories, RAM random memory, ROM random read only memory now has some flash memory, and electronic programmable storage and non-volatile stored. A one comes. RAM random memory, where SRAM (Static RAM) DRAM (Dynamic RAM),

SRAM, as long as the power is driven, it will be saved, we call, some last dialed numbers, temporarily exist in the SRAM, and write call records immediately. Only normal shutdown will be written. If you take a battery, you will not write a call record of your phone. If you have already dial on the call record, but there is no record, it is possible to be related to this memory, Maybe your software is wrong, or it is hardware. DRAM is not used on the phone because the retaining data time is short. From the price,

SRAM is very expensive, while DRAM is very cheap compared to.

There are several ROMs, and PROM programmable ROM and EPROM can erase programmable ROM. The difference is that the PROM is a one-time, that is, after the software is inserted, this is ended, this is an early product, and it is now impossible to use, and E PROM is a general memory, these memories do not match and Mobile phone software products, generally use ROM less.

Other Flash. This has recently used the most mobile phone to use the most memory, which combines the strength of ROM and RAM, but it is not RAM and does not belong to ROM.

A large number of NVRAMs used in the mobile phone NVRAM non-volatile memory. And the SRAM attribute is similar, EEPROM electron can erase the programmable memory. Flash, future generation of ROM. Mobile software is generally placed in EEPROM, EPROM is illuminated by ultraviolet light, erase the original program, and EEPROM is erased by electronics, of course, the price is also very high, and the write time is very long, written is very slow, so The phone number mentioned earlier is usually placed in S RAM. It is not immediately written to EEPROM, because there is a very important job to do - call, if written, long wait is to make users can't bear it. NVRAM is a very special memory, it is similar to the SRAM, but the price is much higher. Since some data is important, they must maintain this data after power failure, so it can only be stored here, general and personal information related data will be put Here, for example, the data is related to the S IM card. There is only a few hundred bytes of capacity.

Flash memory is the first choice for all mobile phones. It integrates all the advantages in front. It does not power off the loss of data (NVRAM) Quick reading, electronic can be programmable (EEPROM), so the mobile phone is now adopted.

Said so much memory, it may be confused, so many memory, which is used, in the development of mobile phones, all kinds of memory have been used, so that the memory used by various phones is different, this and cost-related Various memory prices are different. Based on the cost-effective combination, the designer is determined, some are optional, some are necessary, the mobile program is determined, we understand that all storage performance, characteristics, in the test Judging the reason for the error.

-----------------------------------------------

White box test of mobile phone protocol station software

The mobile phone software test list from the content of the test, including the above MMI and Protocol under the bottom. Due to the flexibility of MMI, and the individual manufacturers of each manufacturer, as well as users of mobile phone itself. The side focus of the MMI is different. On the basis of basic calls, short messages, data function completion, the focus of test is different. The test method is different. But the agreement is different, the agreement is unified, although you can implement the method, but the function must be the same, and the MMI is different, although it is chat, but some use short messages

Chat, some use of Push chat, and the agreement software has a compliant specification - Tetsi specified protocol specification, unified command specification and unified standards. Message (term, not the news in software programming, communication terminology) is fixed. For the test of the protocol, because there is a standard, there is a specification, the software test has a lot of tools, the company is also more, automated testing should be automatically, otherwise, according to people's testing ability, no one can guarantee its absolute reliability, There is no such a big man to do test carefully. Generally, the white box test is stricter, and it is also costly, so automated test tools are often used. This saves human and shortens test time. As for those tools, it is relatively good, involving each need, also involves cost issues. If you want to buy a product, you will give you a Demo version, give you a monthly evaluation period, this assessment version makes you familiar with the advantages and disadvantages of its products.

Test tools generally have secondary development functions, that is, you can write scripts yourself, do some changes to different software platforms, which can prepare the test case test from your own needs. Of course, even if you have all automated tests, your psychology is still not available, you still have to look at the code carefully. Analyze the process, understand its meaning, a small problem, the error protection is not good, generally this problem,

The error protection mechanism does not work, causing serious problems such as crash. This is a white box test for the protocol code. If you are tested for the purchase of the agreement, there are general instruments, simulate a network base station, test, but this instrument is very expensive, and testers should be familiar with the ETSI protocol. I didn't directly participate in the white box test for the protocol, but the evaluation test software used to Practise, the coverage can be tested, I am very strange that the general point (tracking) is also required to consume the CPU time, which is reduced. And I want to test the efficiency of the program to consider the CPU, and the work operation of the program must be closely related to the CPU, and now the CPU is guaranteed by the program RUN, but also the point, whether the index is tested, and whether it does not match, Did not achieve the real level? And this product (Buffalo) said, generally does not take up the CPU time, I think it is for a long time without thinking, I want to consult, tell this is their patent and cannot be paid. Since this test tool is targeted for the platform, there is no way to use if your platform is not supported. There are also integrated tests, etc., there is a detailed description in the introduction of the software, no longer detailed. White testing on the agreement, I want to ask for you:

Familiar with relevant agreements, otherwise wear; familiar with the development of the language, otherwise we will freely. --------------------------------------------

1 Classification of computer industry

In the past, we divided into large computers, medium-sized machines, small machines and microcomputers in accordance with the computer architecture, computing speed, structural scale, and to organize disciplines and industrial divisions. This classification follows about 40 year. In the past 10 years, with the rapid development of computer technology, the actual situation has produced fundamental changes, such as personal computers (PCs) evolved from the microcomputers defined at the end of the 1970s, and now it has taken a 90% market in the global computer industry. The processing speed has also exceeded the definition of the large and medium-sized computers. With the broad penetration of computer technology and products, it becomes more practical with the application-centric classification method, that is, it is divided into embedded computers and general-purpose computers according to computer embedded applications and non-embedded applications. . The general computer has a computer standard form. By assembling different applications, the class is in various aspects of the society, and the typical products are PCs; and embedded computers are hidden in various forms of embedded systems. Devices, products and systems.

2 Embedded Systems

The embedded system is defined as a centered, based on computer technology, software hardware can be cropped, adapting to the application system to function, reliability, cost, volume, and power consumption. Computer system. The embedded computer far exceeds a variety of general-purpose computers on the application, including 5-10 embedded microprocessors, keyboards, mouse, floppy drives, hard drives, display cards, displays, modems in an external device of a general computer. , NIC, sound card, printer, scanner, digital camera, USB hub, is controlled by embedded processors. In the manufacturing industry, process control, communication, instruments, instruments, automobiles, ships, aviation, aerospace, military equipment, consumer products, etc. are the application areas of embedded computers.

转载请注明原文地址:https://www.9cbs.com/read-65157.html

New Post(0)