The idea of common application interface (CAPI)
Everyone should use the computer, it should not be strange to the operating system. Many people will say what MS-DOS, Windows 95/98 / ME / XP, Windows NT / 2000, not bad these are operating systems, but these Not all of the operating system, these only members of the Microsoft operating system family, actually have a lot of operating systems, such as now people have more linux columns such as red flag Linux, blue dot Linux, China Soft Linux , Redhatlinux, Xteamlinux, Turbolinux, etc., there is any FreeBSD, UNIX family, etc., these are not all operating systems, these are just some operating systems on the PC, as well as the MacintonSH Machine OS series, and the Beos Series, The non-PC operating system is too much, such as embedded operating systems, such as Hopen, QNX, handheld computer operating system TCL998, XPLORER, celebrity, etc., mainframe operating system, such as IBM AS / 600, teaching case Use the operating system Minix, etc. ...
People who have aware of the operating system know that a program is usually not running on multiple operating systems, usually needs to be transplanted, modifying the source code recompilation (Windows Series remains downward, but the Windows 2000 is not compatible. DOS program), not only makes the generality of the program, but also is not conducive to the competition of the operating system developer, because a manufacturer has to develop an operating system and the previous operating system competition, the first problem is that there is no application available, of course he You can take a compatible path, but the code of the operating system is usually confidential (except for Linux, she is completely open, but because of their complex, it is not suitable for the PC, and its many issues are not compatible with each other. To be a high price (mainly performance), it has lost its original significance and its own role, and it often does not pay for the new operating system.
People who understand the database should know that the core is "transform" in the database, using the three-level model two-stage change to get many benefits, such as reducing data redundancy, sharing data, improving data security, etc., will this Once applied to the operating system, the operating system can make the operating system, in order to improve the application's versatility, eliminate the monopoly of the operating system vendor, promote the benign development of the operating system, should develop universal application interfaces (CommON Application Interface, CAPI). This application uses the same CAPI, and the different operating system provides a unified application interface CAPI. The internal specific implementation is developed by each operating system developer, and the operating system competition is mainly in the internal competition. No longer press the opponent with compatibility. The program can be run on a different operating system by compilation, without any modifications.
In this way, not only the programmer gains great benefits, and the majority of users will have greater flexibility when choosing operating systems and applications, or better protecting their previous investments, not due to replacement operating systems or The application is completely lost.
General Application Interface (CAPI)
General Application Interface (CAPI) should be a hierarchical, dynamic. Different application requirements are different, and the CAPI should also be different. If the PC can be used as standard CAPI, the CAPI of the embedded system, and the CAPI of the handheld should be included in the standard CAPI, and the server and mainframe CAPI should be the standard CAPI extension, supercharge, including standard CAPI. Dynamic means that CAPI should continue to release new versions due to changes in technology development and application requirements to provide more and better CAPI to facilitate the development of operating systems and applications, but must remain downwardly compatible, each operating system And the application has a smooth transition.
Only after doing two points can really realize the benefits of CAPI, but to truly implement CAPI, it must be enforced by the relevant state departments, because each company is unwilling to do this, every company wants himself. Monopoly market, and facts prove that monopoly is ultimately harmful, which requires national administrative means to implement corresponding measures to promote the development of the operating system to standardization. Finally benefit users and programmers.