Brew is an application platform framework built on the mobile operating system. Taking the embedded operating system Rex as an example, the brew software system built on Rex is divided into several tasks based on the functions, execution speed, and resource occupation of each part, tasks communicate with each other through APIS, semaphores, and other mechanisms, and are centrally scheduled and managed by the operating system. Rex runs on the cpu Of the ARM kernel and is responsible for scheduling and management of resources in the entire environment. The specific functions include: task Management, memory management, NV storage management, peripheral device management, and system scheduling.
Rex is a simple, effective, low-consumption, real-time multi-task operating system designed for small embedded systems, it provides APIs for task control, task synchronization, mutex, timer, and interrupt control,
Rex was initially designed for the ntel 80186 processor and later transplanted to the ARM microprocessor. In addition to the status data of B stored in Rex and the stack space of B, the size of Rex is small, which only accounts for less than 4 kb of Rom. Rex provides tasks and signals as synchronization mechanisms, and provides simple Timing/counters. Rex can handle IRQ interrupt control. The REX operating system maintains a list of all activated timer instances. As with tasks, when the number of timer instances increases, the performance of Rex instances keeps decreasing. When a timer overflows, it is automatically deleted from the timer list, And Rex no longer knows its existence. In other words, timer is assigned and maintained only by tasks, while Rex only manages timer in the active state.
Brew encapsulates and re-uses the hardware and software features of mobile phones to demonstrate good software portability and practicability. Therefore, various standard software applications can be developed based on the Brew platform.
Brew technology can abstract almost all software functions of mobile phones into applications, such as phone book, short message, wireless browsing, ringing, multimedia playback, video recording, calendar, alarm clock, game, etc,
Even the most basic call functions can be summarized into applications for development. These applications can be developed by mobile phone manufacturers or by third-party content providers. Mobile app development is open and object-oriented,
It abandons the traditional process-oriented Mobile Phone development model and includes third-party software developers who have never dealt with mobile terminals in the entire industry chain,
This has strengthened the entire industrial team and fostered a new application development market, which is one of brew's powerful vitality.