CN100535853C - Embedded real-time operating system - Google Patents

Embedded real-time operating system Download PDF

Info

Publication number
CN100535853C
CN100535853C CNB200410056191XA CN200410056191A CN100535853C CN 100535853 C CN100535853 C CN 100535853C CN B200410056191X A CNB200410056191X A CN B200410056191XA CN 200410056191 A CN200410056191 A CN 200410056191A CN 100535853 C CN100535853 C CN 100535853C
Authority
CN
China
Prior art keywords
module
embedded
tcl
command language
tool command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB200410056191XA
Other languages
Chinese (zh)
Other versions
CN1737753A (en
Inventor
雷鹰
杨文龙
金雪锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB200410056191XA priority Critical patent/CN100535853C/en
Publication of CN1737753A publication Critical patent/CN1737753A/en
Application granted granted Critical
Publication of CN100535853C publication Critical patent/CN100535853C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

This invention relates to one imbedded real time operation system, which comprises the following parts: system interface module, imbedded TCL core analysis module, TCL application extension operation system and operation system adapting module, wherein, the said system interface module is connected to the TCL core analysis module to initiate imbedded core analysis module and to start the interface; the said core analysis module is connected ot the core analysis module to receive and execute TCL orders; the said TCL extension interface module provides the application extension of imbedded operation system; the said operation system adopting module is connected to the above module to fulfill the matching with other system.

Description

A kind of embedded real-time operating system
Technical field
The present invention relates to the communications field, relate in particular to a kind of embedded real-time operating system.
Technical background
Tool Command Language (TCL, Tool Command Language) was invented in 1980, was a kind of explanation execution script language (Scripting Language), had now become a popular descriptive language; It has an intrinsic core commands collection, supports the flow process control of class C: if control, cycle control and switch control etc., and the definition of supporting process and calling, and powerful array and character string processing capacity is provided.TCL is because of its ease for use, extensibility, and the fast characteristic of complete function and tempo of development has become industry member and tested one of the most frequently used language automatically.
Standard TCL only supports WINDOWS, UNIX/LINUX and three kinds of operating systems of MACINTOSH at present, for some embedded real-time operating systems, as VXWORKS, PSOS, it is not supported, the just impossible integration standard TCL of the system of many like this these embedded real-time operating systems of use; In addition, standard TCL only provides the interface of expansion, but the content of concrete expansion then needs user oneself definition.
Summary of the invention
Purpose of the present invention just provides an embedded real-time operating system that has TCL kernel explanation module, makes it can support most standard TCL functions.
For this reason, the following technical scheme of the bright employing of this law:
A kind of embedded real-time operating system comprises:
System interface module, embedded TCL kernel explanation module, TCL application extension interface module and operating system adaptation module;
Described system interface module links to each other with embedded TCL kernel explanation module, and initialization embedded TCL kernel explanation module also starts the interface of embedded TCL task;
Described embedded TCL kernel explanation module links to each other with TCL application extension interface module, receives and handle and carry out the TCL order;
Described TCL application extension interface module provides the application extension of embedded OS;
Described operating system adaptation module links to each other with system interface module, embedded TCL kernel explanation module, TCL application extension interface module respectively, finishes the adaptive of native system and other operating systems.
Described embedded TCL kernel explanation module further comprises:
The syntax check module, command analysis module, command execution module;
Described syntax check module is ordered TCL and is carried out syntax check, and check result is sent to the command analysis module;
Described command analysis module is ordered TCL and is resolved;
Described command execution module is carried out the TCL order according to the command analysis result.
Described embedded TCL kernel explanation module also comprises the one or more combinations in file operation module, process action scope module, control flow module, regular expression module, character string list block and the hash processing module.
Described TCL application extension interface module further comprises:
One or more combinations in test command expansion module, command line interface expansion module, FTP/TFTP loading interface module and the binary file loading interface module.
The present invention is applicable to embedded real-time operating system, combines with the product order line simultaneously, makes things convenient for the configuration and the test of system, improves configuration and system testing efficient, and the present invention also combines with the measurability of product in addition, and the measurability of product is provided.
Description of drawings
The structural drawing of Fig. 1 embedded real-time operating system of the present invention;
Fig. 2 is an embedded OS workflow diagram of the present invention;
Fig. 3 is the application synoptic diagram of embedded OS of the present invention in system.
Embodiment
Below in conjunction with Figure of description the specific embodiment of the present invention is described.
As shown in Figure 1, it is the structural representation of embedded real-time operating system of the present invention, as seen from the figure, the present invention includes following major part: system interface module, TCL application extension interface module, the embedded TCL kernel explanation module that links to each other with system interface module and TCL application extension module is with the operating system adaptation module that links to each other with above-mentioned module.Wherein:
Described system interface module links to each other with embedded TCL kernel explanation module, and initialization embedded TCL kernel explanation module also starts the interface of embedded TCL task;
Described embedded TCL kernel explanation module links to each other with TCL application extension interface module, receives and handle and carry out the TCL order;
Described TCL application extension interface module provides the application extension of embedded OS;
Described operating system adaptation module links to each other with system interface module, embedded TCL kernel explanation module, TCL application extension interface module respectively, finishes the adaptive of native system and other operating systems.
Described embedded TCL kernel explanation module further comprises: syntax check module, command analysis module, command execution module; Described syntax check module is ordered TCL and is carried out syntax check, and check result is sent to the command analysis module; Described command analysis module is ordered TCL and is resolved; Described command execution module is carried out the TCL order according to the command analysis result.
Described embedded TCL kernel explanation module also comprises the one or more combinations in file operation module, process action scope module, control flow module, regular expression module, character string list block and the hash processing module.
Described TCL application extension interface module further comprises: the one or more combinations in test command expansion module, command line interface expansion module, FTP/TFTP loading interface module and the binary file loading interface module.
The interface that described system interface module mainly provides in the embedded real-time operating system embedded TCL kernel of initialization and started embedded TCL task.
Embedded TCL kernel interpreter mainly provides following function: (I) syntax check of TCL order; (2) parsing of TCL order; (3) definition of intrinsic TCL order and TCL built-in function; (4) execution of TCL order.Wherein file operation module, process action scope module, control flow module, regular expression module, character string list block and Hash table processing module all belong to the definition of intrinsic TCL order and TCL built-in function.Generally speaking, the basic function of embedded TCL kernel interpreter and realization and standard TCL are similar, no longer carefully describe here.
The operating system adaptation module provides the adaptive of embedded TCL and several operation systems, comprise VXWORKS, PSOS, DOPRA etc., make embedded TCL kernel portion and concrete operating system independent, user need only the modification configuration file and just embedded TCL can be used above-mentioned various operating system.
Embedded TCL also provides abundant application extension, comprising: (1) test command expansion module; (2) command line interface expansion module, embedded TCL can be under the situation of log-in command not direct fill order line command; (3) FTP/TFTP loading scripts interface module, embedded TCL can carry out by the script that FTP or TFTP agreement are obtained far-end; (4) binary file loading interface expansion module.
As shown in Figure 2, be embedded OS workflow diagram of the present invention, as seen from the figure, in the process of carrying out the TCL order, whether complete, command analysis, associative operation steps such as command execution if relating to the TCL order.
As shown in Figure 3, be the application synoptic diagram of embedded OS of the present invention in system, as we can see from the figure, system of the present invention can link to each other with physical layer interface and each module by TCL application extension interface module, has expanded the system business processing power.
The invention provides the TCL kernel that may operate on the embedded real-time operating system, with standard TCL Compare, it can support most standard TCL functions, and its size of code still less, is adapted at embedding Use in the formula real time operating system, it also is provided at embedded system application extension commonly used: 1, produce with company The order line of product has level and smooth interface, makes things convenient for configuration and the test of system; 2, the notes of TCL explosion command are provided Volume and second development interface make things convenient for the user to use in test and diagnosis; 3, provide embedded system two to advance File load interface processed; 4, the function that provides FTP and TFTP loading scripts to carry out; 5, provide many The explosion command of testing and diagnosing.

Claims (4)

1, a kind of embedded real-time operating system is characterized in that, comprising:
System interface module, embedded Tool Command Language kernel explanation module, Tool Command Language application extension interface module and operating system adaptation module;
Described system interface module links to each other with embedded Tool Command Language kernel explanation module, and initialization embedded Tool Command Language kernel explanation module also starts the interface of embedded Tool Command Language task;
Described embedded Tool Command Language kernel explanation module links to each other with Tool Command Language application extension interface module, receives and handle and carry out the Tool Command Language order;
Described Tool Command Language application extension interface module provides the application extension of embedded OS;
Described operating system adaptation module links to each other with system interface module, embedded Tool Command Language kernel explanation module, Tool Command Language application extension module respectively, finishes the adaptive of native system and other operating systems.
2, the system as claimed in claim 1 is characterized in that, described embedded Tool Command Language kernel explanation module further comprises:
The syntax check module, command analysis module, command execution module;
Described syntax check module is carried out syntax check to the Tool Command Language order, and check result is sent to the command analysis module;
Described command analysis module to Tool Command Language order resolve;
Described command execution module is carried out the Tool Command Language order according to the command analysis result.
3, system as claimed in claim 2, it is characterized in that, described embedded Tool Command Language kernel explanation module also comprises the one or more combinations in file operation module, process action scope module, control flow module, regular expression module, character string list block and the hash processing module.
4, the system as claimed in claim 1 is characterized in that, described Tool Command Language application extension interface module further comprises:
One or more combinations in test command expansion module, command line interface expansion module, FTP/TFTP loading interface module and the binary file loading interface module.
CNB200410056191XA 2004-08-18 2004-08-18 Embedded real-time operating system Expired - Fee Related CN100535853C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200410056191XA CN100535853C (en) 2004-08-18 2004-08-18 Embedded real-time operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200410056191XA CN100535853C (en) 2004-08-18 2004-08-18 Embedded real-time operating system

Publications (2)

Publication Number Publication Date
CN1737753A CN1737753A (en) 2006-02-22
CN100535853C true CN100535853C (en) 2009-09-02

Family

ID=36080557

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200410056191XA Expired - Fee Related CN100535853C (en) 2004-08-18 2004-08-18 Embedded real-time operating system

Country Status (1)

Country Link
CN (1) CN100535853C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101276269B (en) * 2007-03-30 2010-05-19 上海众恒信息产业股份有限公司 Expandable resource management platform
CN101398778B (en) * 2007-09-29 2011-09-21 中兴通讯股份有限公司 Automatic integration test method
CN101594390A (en) * 2009-06-17 2009-12-02 中兴通讯股份有限公司 A kind of ftp client and its implementation
CN104699489B (en) * 2015-04-02 2017-12-05 成都彬鸿科技有限公司 Embedded Software Platform based on multiple operating system
CN116339736B (en) * 2023-05-29 2023-07-28 英诺达(成都)电子科技有限公司 Configuration method, device, equipment and storage medium of TCL (TCL) interactive interface

Also Published As

Publication number Publication date
CN1737753A (en) 2006-02-22

Similar Documents

Publication Publication Date Title
CN105378689B (en) Method and apparatus for unified Extensible Firmware Interface (UEFI) driver and agreement
CN102902618B (en) The method of mobile device application development debugging and device
KR980004025A (en) Computer system and method for executing architecture specific code with reduced run-time memory space requirements
US20110179260A1 (en) Method for integrating operating system into bios chip and method for booting operating system from server
ATE438893T1 (en) METHOD AND SYSTEM FOR LINKING FIRMWARE MODULES IN A PRE-STORAGE EXECUTION ENVIRONMENT
CN107577477B (en) DTB file-based multi-platform software version self-adaption method and system
CN100535853C (en) Embedded real-time operating system
CN102662884B (en) Device driving program configuration method based on network
US7363338B2 (en) Selective assembly loading and execution based on platform capabilities
CN100370432C (en) Automated testing apparatus and method for embedded software
US7500147B2 (en) Test system and method
CN101916208A (en) System and method for calling driver module in multithreading
CN111008046A (en) Cross-platform dynamic loading and dynamic management system for software radar components
EP1522971A3 (en) Information processing device and information processing terminal
CN110046094A (en) The switching method of running environment and the switching device of running environment
CN111538659A (en) Interface testing method and system for service scene, electronic device and storage medium
CN107341106B (en) Application compatibility detection method, development terminal and storage medium
CN108874662B (en) Test method and non-transitory computer readable medium storing program
CN106325868A (en) Method for binding starting equipment with shortcut keys in UEFI (unified extensible firmware interface)
US20090044004A1 (en) Method for operating computer and operating system thereof
CN101876898B (en) Registration method of COM assembly and device thereof
CN110502230A (en) A kind of application development method based on dynamically load component
CN115145722A (en) System and method for switching micro-service architecture and single architecture
CN100419682C (en) System and method for fast starting attachment memory of computer
CN102567195B (en) Object file walkthrough method and object file walkthrough system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090902

Termination date: 20170818