CN202177891U - Device for operating embedded computer system developing tool - Google Patents

Device for operating embedded computer system developing tool Download PDF

Info

Publication number
CN202177891U
CN202177891U CN 201020652740 CN201020652740U CN202177891U CN 202177891 U CN202177891 U CN 202177891U CN 201020652740 CN201020652740 CN 201020652740 CN 201020652740 U CN201020652740 U CN 201020652740U CN 202177891 U CN202177891 U CN 202177891U
Authority
CN
China
Prior art keywords
script
function
instruction
file
district
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 - Lifetime
Application number
CN 201020652740
Other languages
Chinese (zh)
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.)
Beijing Watertek Information Technology Co Ltd
Original Assignee
Beijing Watertek Information Technology 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 Beijing Watertek Information Technology Co Ltd filed Critical Beijing Watertek Information Technology Co Ltd
Priority to CN 201020652740 priority Critical patent/CN202177891U/en
Application granted granted Critical
Publication of CN202177891U publication Critical patent/CN202177891U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The utility model provides a device for operating an embedded computer system developing tool. The device comprises a scripting language editor and an explaining runner, wherein the scripting language editor is used for compiling a scripting document according to an established standard of scripting languages controlling the operation of a developing tool; and the explaining rubber is used for explaining and running the scripting languages. The device can realize the automation and programming of the developing tool.

Description

A kind of device of operating the embedded computer system developing instrument
Technical field
This language relates to the developing instrument field of embedded computer system, refers more particularly to the device of operation developing instrument.
Background technology
The operation of the developing instrument of embedded computer system has multiple mode.Most common form is the graphic user interface of menu and dialog box and window composition.In this mode, the user is through menu and dialog box input operation instruction, through the window observations.It is visual, simple that the benefit of this mode of operation is exactly that the user operates.But also there is very big drawback in this mode of operation, is exactly that the user must accomplish these operations personally, can not realize robotization, programming operations, is unfavorable for raising the efficiency.
The utility model content
The technical matters that the utility model will solve is, proposes a kind of device of operating the embedded computer system developing instrument, can realize robotization and sequencing that developing instrument is carried out.
In order to solve the problems of the technologies described above, the utility model proposes a kind of device of operating the embedded computer system developing instrument, comprising:
Be used for microprocessor according to the standard compile script file of the script of the control developing instrument operation of formulating;
Be used to explain the explanation performer of the said script file of operation.
Further, said apparatus also can have following characteristics:
Said microprocessor is the microprocessor according to the standard compile script file of following script:
Steering order is in order to the operation of control developing instrument;
Function is packaged with one or more said steering order; Said function comprises principal function and subfunction;
Grand, in order to the global variable of defined function, local variable and the parameter of becoming;
Operational character is in order to carry out arithmetic operation to grand or function;
Parameter comprises shape ginseng and real ginseng, in order to realize the numerical value transmission.
Further, said apparatus also can have following characteristics:
Said microprocessor is the microprocessor according to following one or more steering order compile script files:
The debugging control elementary instruction is used to realize the debugging control function of developing instrument;
The script steering order is used for controlling each instruction of said script file and is explained the order of carrying out;
The graphic user interface instruction is used to the operation interface that the user provides menu and/or dialog box form;
The operating system instruction is used to develop the control operation system acting.
Further, said apparatus also can have following characteristics:
Said microprocessor is the microprocessor of the standard compile script file of the following script of basis still:
Built-in function is in order to the function of state that developing instrument is provided;
Note is used to mark the descriptive declarative statement of operational order function.
Further, said apparatus also can have following characteristics:
Said explanation performer comprises a storer and a processor, wherein:
Said storer is for comprising a shell script district, the storer of a script data district and a script stack area;
Said processor is stored in said script data district in order to said script file is stored in said shell script district with the global variable in the said script file; Explain each instruction in the said script file of carrying out in the said shell script district in order; And when carrying out function call; Deposit the parameter of principal function and the shell script pointer that returns said principal function in a pre-assigned script stack area; Then with the invoked subfunction of current shell script pointed; The local variable that will in said subfunction, define deposits said script stack area in, carries out said subfunction according to said parameter in the said script storehouse and said local variable; After said subfunction is complete, return the processor of principal function according to the program pointer that returns said principal function in the said script storehouse.
Further, said apparatus also can have following characteristics:
What said microprocessor was to use is the microprocessor of the EDS of embedded type debugging system script compile script file.
Further, said apparatus also can have following characteristics:
Said microprocessor is to adopt the CString type to realize the microprocessor of said global variable, said parameter and said local variable;
Said storer is realized the storer of said shell script district, said script data district and said script stack area for adopting the CArray type;
Said processor is to adopt the int type to realize said shell script pointer and said script stack pointer, and it is as the index value of CArray type, in order to visit the processor of said shell script district, said script data district and said script stack area.
Further, said apparatus also can have following characteristics:
Said microprocessor is the microprocessor that adopts following classification naming method that said steering order and function are named:
The name title comprise first order name, second level name ..., and N level name; N is a positive integer.
Further, said apparatus also can have following characteristics:
Said microprocessor is to adopt following mode to name the microprocessor to said steering order and function:
Adopt each grade name all to take the lead with any letter in 26 English alphabets, the character of back can be by character, numeral, and one or more composition in the underscore; Said name case-insensitive; Capitalization in the said name is used as writing a Chinese character in simplified form of whole name.
A kind of device of operating the embedded computer system developing instrument that the utility model proposes can be realized robotization and sequencing that developing instrument is carried out.
Description of drawings
Fig. 1 is a kind of device block scheme of operating the embedded computer system developing instrument of the utility model embodiment;
Fig. 2 is a kind of device block scheme of explaining performer of the utility model embodiment.
Embodiment
To combine accompanying drawing to specify the utility model embodiment below.
Referring to Fig. 1, the figure shows a kind of device of operating the embedded computer system developing instrument of the utility model embodiment, comprising:
Be used for microprocessor (RAM) according to the standard compile script file of the script of the control developing instrument operation of formulating;
Be used to explain the explanation performer of the said script file of operation.
The utility model embodiment through formulating the script standard to the embedded computer system developing instrument, carries out with the form realization developing instrument robotization of script file dexterously.
Wherein, said microprocessor is the microprocessor according to the standard compile script file of following script:
Steering order is in order to the operation of control developing instrument;
Function is packaged with one or more said steering order; Said function comprises principal function and subfunction;
Grand, in order to the global variable of defined function, local variable and the parameter of becoming;
Operational character is in order to carry out arithmetic operation to grand or function;
Parameter comprises shape ginseng and real ginseng, in order to realize the numerical value transmission.
Wherein, said microprocessor is the microprocessor according to following one or more steering order compile script files:
The debugging control elementary instruction is used to realize the debugging control function of developing instrument;
The script steering order is used for controlling each instruction of said script file and is explained the order of carrying out;
The graphic user interface instruction is used to the operation interface that the user provides menu and/or dialog box form;
The operating system instruction is used to develop the control operation system acting.
On concrete the realization, wherein:
Said debugging control elementary instruction can comprise one or more in BREAK halt instruction, DATA data command, GO operating instruction, MAP mapping instruction, REGISTER register instruction, STEP single-step instruction, SYMBOL symbolic instruction, the SYSTEM system directive;
Said script steering order can comprise that STOP and CONTINUE script suspend and continue execution command; DO and the instruction of RUN Run Script language file; IF and ELSE conditional execution instruction; The ENTER input instruction; Out of service and the removing stack instruction of END script; The ENDDO script is out of service and do not know stack instruction; GOSUB and RETURN subroutine call and link order; GOTO and JUMPTO jump instruction; INKEY waits for key command; REPEAT repeats instruction; ON incident or state change the detection instruction; The WAIT time delay command; In the WHILE circulation execution command one or more;
Said graphic user interface instruction can comprise the instruction of AREA message window; The instruction of DIALOG dialog box; The MENU menu instructions; The instruction of MODE program listing display mode; The instruction of MSGBOX message box; The instruction of SCREEN screen-refresh; The instruction of TITLE system interface title; The instruction of WINCASCADE window stacked arrangement; WINCLEAR window clear instruction; WINICONARRANGE arranges the window icons instruction; The instruction of WINPAGE window page or leaf; The instruction of WINPOS the window's position; In the WINTITILE window tiling instruction one or more;
The instruction of said operating system can comprise that the APPEND file adds that information command, BEEP buzzing instruction, the instruction of CHDIR working directory, the instruction of CLOSE closing of a file, DIR display file instruction, HELP help command, HISTORY instruction history buffered instructions, the instruction of LICENSE software for display License Info, MKDIR create that sub-directory instruction, OPEN open file that instruction, PRINT type information are instructed, QUIT withdraws from that debugging software instructs, READ reads file instruction, RMDIR deletes that sub-directory instructs, in the VERSION show version information command one or more.
Said grand ENTRY parameter transmission instruction, the instruction of GLOBAL definition global variable, the LOCAL of comprising defines one or more in the local variable instruction.When concrete a realization, can be, said grand with adding before the character string ' & ' symbol representes.
Operational character comprise bracket ' (' and ') ', scope '--' and ' .. ', negative sign '-', step-by-step negate '~', logic NOT '! ', shift left '<<', dextroposition '>>', multiplication sign ' * ', the division sign '/', plus sige '+', minus sign '-', greater than '>', less than '<', equal '==, be not equal to '!=, more than or equal to '>=, smaller or equal to '<=, step-by-step and ' & ', step-by-step XOR
In ' ^ ', step-by-step or ' | ', logical and ' ', logic XOR ' ^^ ', logical OR ' || ', the assignment '=' one or more.
Said parameter can adopt following data mode to represent: one or more in binary value, decimal value, hexadecimal value, scope, floating point values, time value, time range, ASCII value, character string, address, address realm, sexadecimal mask, binary mask, file path, function, label, asterisk wildcard, delivery, the underscore.
In another embodiment, said microprocessor is the microprocessor of the standard compile script file of the following script of all right basis:
Built-in function is in order to the function of state that developing instrument is provided.
On concrete the realization, said built-in function can comprise one or more in floating number functions such as CLOCK clock function, CONV numeric format transfer function, CPU and CPUFAMILY processor function, DATA data function, DIALOG dialog box function, FEXP, OS operating system function, RANDOM random function, REGISTER register function, SELECTION choice function, STATE function of state, STRING character string function, SYSTEM system function, VERSION version function, WARNINGS warning function, the WINDOW window function.
In another embodiment, said microprocessor is the microprocessor of the standard compile script file of the following script of all right basis:
Note is used to mark the descriptive declarative statement of operational order function.
Said note can be represented with the character string of for example branch beginning.
The utility model is formulated script to the embedded computer system developing instrument; Utilize script to explain the characteristics of execution automatically dexterously; Use said script to write the control embedded computer system developing instrument script of operation automatically, realize the control embedded computer system developing instrument purpose of operation automatically according to this.
Preferably, the utility model also provides a kind of explanation performer, and is as shown in Figure 2, comprises a storer and a processor, wherein:
Said storer is for comprising a shell script district, the storer of a script data district and a script stack area;
Said processor is stored in said script data district in order to said script file is stored in said shell script district with the global variable in the said script file; Explain each instruction in the said script file of carrying out in the said shell script district in order; And when carrying out function call; Deposit the parameter of principal function and the shell script pointer that returns said principal function in a pre-assigned script stack area; Then with the invoked subfunction of current shell script pointed; The local variable that will in said subfunction, define deposits said script stack area in, carries out said subfunction according to said parameter in the said script storehouse and said local variable; After said subfunction is complete, return the processor of principal function according to the program pointer that returns said principal function in the said script storehouse.
When concrete the realization; Said processor can be can store a storehouse in said script stack area, when carrying out function call; Through carry out stack-incoming operation with the parameter of principal function, return the shell script pointer of said principal function, and the local variable that defines in the subfunction deposits said storehouse in; In the process of carrying out subfunction; From said storehouse, obtain required parameter, the local variable of the said subfunction of execution through revising stack pointer; After executing subfunction, through revising stack pointer obtains the shell script pointer that returns principal function from said storehouse processor.Said processor can be when carrying out function, uses global variable like need, then obtains the processor of required global variable from said script data district.
Said processor; Can also be after returning principal function; To for carry out parameter, the local variable that the operation of said function call deposits in said storehouse, the pointer that returns principal function is carried out out stack operation, to avoid the processor of the effective memory space inadequate in stack area.
The utility model is dexterously according to the script executing characteristics; Carry out function division: global variable is stored to an independent storage area (script data district) carries out unified management, use, then go said storage area to search like need; All necessary assignment when need not in shell script, at every turn to use; Realized recycling, practiced thrift storage space global variable, and when revising the assignment of global variable, also become convenient.In addition, call required parameter, local variable and return the pointer of principal function, realized in the function call process that storage space has been practiced thrift in the recycling of local variable, parameter, pointer greatly with independent stack area storage function.
In concrete an application, what said microprocessor was to use is the microprocessor of the EDS of embedded type debugging system script compile script file.Said microprocessor is to adopt the CString type to realize the microprocessor of said global variable, said parameter and said local variable.Said storer is realized the storer of said shell script district, said script data district and said script stack area for adopting the CArray type.Said processor is to adopt the int type to realize said shell script pointer and said script stack pointer, and it is as the index value of CArray type, in order to visit the processor of said shell script district, said script data district and said script stack area.
In order to increase the extensibility of script file; Preferably; Said microprocessor is the microprocessor that adopts following classification naming method that said steering order and function are named: name title comprise first order name, second level name ..., and N level name; N is a positive integer.Said name title can be, for example " first order name. second level name. third level name ... ".
Said processor has only the script steering order to influence the shell script pointer in explaining operational process, and other instruction all is that order is carried out.
Wherein, Said microprocessor can also be to adopt following mode to name the microprocessor to said steering order and function: adopt each grade name all to take the lead with any letter in 26 English alphabets; The character of back can be by character, numeral, and one or more composition in the underscore; Said name case-insensitive; Capitalization in the said name is used as writing a Chinese character in simplified form of whole name.
Wherein, said microprocessor can be the microprocessor that adopts Microsoft Visual C++6.0 language edit script file.
More than be merely the preferred embodiment of the utility model, be not limited to the utility model, for a person skilled in the art, the utility model can have various changes and variation.All within the spirit and principle of the utility model, any modification of being done, be equal to replacement, improvement etc., all should be included within the protection domain of the utility model.

Claims (2)

1. a device of operating the embedded computer system developing instrument is characterized in that, comprising:
Be used for microprocessor according to the standard compile script file of the script of the control developing instrument operation of formulating;
Be used to explain the explanation performer of the said script file of operation.
2. device as claimed in claim 1 is characterized in that, said explanation performer comprises a storer and a processor, wherein:
Said storer is for comprising a shell script district, the storer of a script data district and a script stack area;
Said processor is stored in said script data district in order to said script file is stored in said shell script district with the global variable in the said script file; Explain each instruction in the said script file of carrying out in the said shell script district in order; And when carrying out function call; Deposit the parameter of principal function and the shell script pointer that returns said principal function in a pre-assigned script stack area; Then with the invoked subfunction of current shell script pointed; The local variable that will in said subfunction, define deposits said script stack area in, carries out said subfunction according to said parameter in the said script storehouse and said local variable; After said subfunction is complete, return the processor of principal function according to the program pointer that returns said principal function in the said script storehouse.
CN 201020652740 2010-12-10 2010-12-10 Device for operating embedded computer system developing tool Expired - Lifetime CN202177891U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201020652740 CN202177891U (en) 2010-12-10 2010-12-10 Device for operating embedded computer system developing tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201020652740 CN202177891U (en) 2010-12-10 2010-12-10 Device for operating embedded computer system developing tool

Publications (1)

Publication Number Publication Date
CN202177891U true CN202177891U (en) 2012-03-28

Family

ID=45867763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201020652740 Expired - Lifetime CN202177891U (en) 2010-12-10 2010-12-10 Device for operating embedded computer system developing tool

Country Status (1)

Country Link
CN (1) CN202177891U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106547606A (en) * 2016-10-25 2017-03-29 交控科技股份有限公司 Storehouse self checking method and device
CN106919366A (en) * 2017-02-15 2017-07-04 杭州中天微系统有限公司 Realize the processor of storehouse adaptive guard

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106547606A (en) * 2016-10-25 2017-03-29 交控科技股份有限公司 Storehouse self checking method and device
CN106547606B (en) * 2016-10-25 2019-07-02 交控科技股份有限公司 Storehouse self checking method and device
CN106919366A (en) * 2017-02-15 2017-07-04 杭州中天微系统有限公司 Realize the processor of storehouse adaptive guard

Similar Documents

Publication Publication Date Title
CN105302545B (en) Method and device for developing custom control of configuration software
US6715132B1 (en) Datasheet browsing and creation with data-driven datasheet tabs within a microcontroller design tool
US7949995B2 (en) Visual programming method
CN105868166B (en) Regular expression generation method and system
CN112711408A (en) Vue componentization-based visualization configuration rendering method, system and terminal
WO2017065991A1 (en) Generation of application behaviors
CN102637168A (en) Method for realizing automatic language translation in graphical user interface
CN102364437A (en) Multi-language site development system and implementation method thereof
CN202177891U (en) Device for operating embedded computer system developing tool
CN101000555B (en) Hand terminal system
Chapman Picoblaze 8-bit microcontroller for virtex-e and spartan-ii/iie devices
CN102567065A (en) Method for operating development tool of embedded computer system
CN101000557B (en) Virtual machine
CN107391099B (en) Resource preprocessing method and device
US9405739B1 (en) Source code format for IDE code development with embedded objects
CN103294470A (en) Programming language system with built-in natural language
Stephens Start Here! Fundamentals of Microsoft. NET Programming
Topley Core Swing: advanced programming
Cornelius Fearless Cross-Platform Development with Delphi: Expand your Delphi skills to build a new generation of Windows, web, mobile, and IoT applications
US10222944B1 (en) Embedding user interface elements in documents containing code
Khalid et al. Python based power system automation in PSS/E
Horton Ivor Horton's Beginning Java
Baka Getting Started with Qt 5: Introduction to programming Qt 5 for cross-platform application development
Lawhead QGIS Python Programming Cookbook
Pereira et al. EcoDynamo-Ecological Dynamics Model Application

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20120328