CN101446894B - Embedded graphic system based on household computerized embroidery machine - Google Patents
Embedded graphic system based on household computerized embroidery machine Download PDFInfo
- Publication number
- CN101446894B CN101446894B CN 200710187471 CN200710187471A CN101446894B CN 101446894 B CN101446894 B CN 101446894B CN 200710187471 CN200710187471 CN 200710187471 CN 200710187471 A CN200710187471 A CN 200710187471A CN 101446894 B CN101446894 B CN 101446894B
- Authority
- CN
- China
- Prior art keywords
- function
- embroidery machine
- page
- system based
- real
- 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
Links
Images
Landscapes
- Sewing Machines And Sewing (AREA)
- Automatic Embroidering For Embroidered Or Tufted Products (AREA)
Abstract
The invention provides an embedded graphic system based on a household computerized embroidery machine. The embedded graphic system based on the household computerized embroidery machine comprises a structure module of directivity functions, a function entry address mapping table, a real function body storage module and an execution module, the function entry address mapping table is established according to the structure module of the directivity functions, and the execution module executes the real function body stored in the real function body storage module according to the mapping table and interface numbers to achieve interface jump and interface action execution. The embedded graphic system has the beneficial technical effects of having high portability and cross-platform operation functions, being applicable to input devices and output devices of various specifications, having simple structure, and being especially applicable to household embedded devices without high real-time requirements.
Description
Technical field
The present invention relates to the household computerized embroidery machine field, relate in particular to a kind of embedded graph system based on household computerized embroidery machine.
Background technology
The graphics system of often using in the embedded system at present mainly contains external QT, μ c/GUI, linuxGTK, winCE and domestic MINIgui etc.; These graphics systems have higher requirement to embedded hardware; And the architecture more complicated of total system, the configuration that also need be correlated with again to different application environments.If the such embedded system of household computerized embroidery machine adopts above-mentioned graphics system, can cause the waste on the hardware, need pay corresponding cost of use simultaneously, improved the cost of product.
Summary of the invention
The object of the present invention is to provide a kind of embedded graph system based on household computerized embroidery machine; Being intended to solve existing household computerized embroidery machine graphics system has relatively high expectations to embedded hardware; And architecture is complicated, also need carry out the problem of relevant configuration again to different application environments.
Technical scheme of the present invention is to realize like this; A kind of embedded graph system based on household computerized embroidery machine; Comprise: the structure module, function entrance address mapping table, real function body memory module and the execution module that point to function; Said function entrance map addresses is set up according to the structure module of pointing to function, and execution module is according to the real function body of mapping table and interface number execution real function body memory module storage, and realization interface redirect and interface action are carried out.
The technical scheme that the present invention takes also comprises: the real function body of storing in the said real function body memory module is to be principal parameter with the page number, display page limited in the embedded system is packaged into respectively form.
The technical scheme that the present invention takes also comprises: said execution module is set up the pointer of the function that points to the real function body, changes through the sudden strain of a muscle that calling of said function pointer tabulation accomplished the page.
The technical scheme that the present invention takes also comprises: said execution module is accomplished the execution that realizes page triggering control when the page dodges commentaries on classics.
The technical scheme that the present invention takes also comprises: also comprise shape library, said shape library comprises character database, picture database and explicit function storehouse.
The technical scheme that the present invention takes also comprises: the character display data that said character database comprises in the graphics system being used, said data are to adopt delivery software to obtain with specific format in data file.
The technical scheme that the present invention takes also comprises: said picture database comprises some jumbo image datas that show in the graphics system.
The technical scheme that the present invention takes also comprises: said explicit function storehouse comprises the explicit function entity of interface control, through calling said function, cooperates character data, image data to carry out actual interface display.
Beneficial effect of the present invention is: the embedded graph system based on household computerized embroidery machine of the present invention is lower to the resource requirement of embedded system, the use scale of storage resources and system's individual page number relation in direct ratio in practical application; Adopt modular design idea on the program, video data is separated with explicit function.Adopt the described graphics system of this patent, can satisfy the requirement of one type of embedded system; Have very high portability and cross-platform operation function; Go for the input-output device of plurality of specifications, it is simple in structure, and being particularly suitable for real-time is required is not very high family expenses embedded device.
Characteristic of the present invention and advantage will combine accompanying drawing to be elaborated through embodiment.
Description of drawings
Fig. 1 is the structural representation of the embedded graph system based on household computerized embroidery machine of the present invention;
Fig. 2 is the workflow diagram of the embedded graph system based on household computerized embroidery machine of the present invention;
Fig. 3 is the development process synoptic diagram of the embedded graph system based on household computerized embroidery machine of the present invention;
Fig. 4 is the shape library structural representation.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.
See also Fig. 1; Embedded graph system based on household computerized embroidery machine of the present invention comprises structure module, function entrance address mapping table, real function body memory module and the execution module that points to function; Said function entrance map addresses is set up according to the structure module of pointing to function; Execution module is realized the execution of interface redirect and interface action according to the real function body of mapping table and interface number execution real function body memory module storage.Should realize a kind of pointer structure body that points to function based on the use through the C language pointer of the embedded graph system of household computerized embroidery machine; And set up a function entrance address mapping table with this structure, number carry out the real function body according to mapping table and interface and realize interface redirect and interface action execution.Concrete implementation is following:
1, point to the structure of function:
struct?Screen
{
void(*ShowScreen)(void);
void(*ClickKey)(void);
};
2, function entrance address mapping table:
struct?Screen?ScreenTable[]=
{
{
ShowScreen0,
ClickKey0,
},
{
ShowScreen1,
ClickKey1
},
{
ShowScreen2,
ClickKey2
},
{
ShowScreen3,
ClickKey3
},
};
3, real function body:
Void ShowScreen0 (void) // page zero explicit function body
{
The run time version * that/* comprises for the real function body here/
}
The empty part of void ClickKey0 (void) // page zero is carried out the function of movement body
{
The run time version * that/* comprises for the real function body here/
}
Void ShowScreen1 (void) // the 1st page explicit function body
{
The run time version * that/* comprises for the real function body here/
}
Void ClickKey1 (void) // the 1st page empty part is carried out the function of movement body
{
The run time version * that/* comprises for the real function body here/
}
Void ShowScreen2 (void) // the 2nd page explicit function body
{
The run time version * that/* comprises for the real function body here/
}
Void ClickKey2 (void) // the 2nd page empty part is carried out the function of movement body
{
The run time version * that/* comprises for the real function body here/
}
Embedded graph system based on household computerized embroidery machine of the present invention can be undertaken by method as shown in Figure 2 when practical application; Can directly this graphics engine be used when host process during the bare machine programming, can open up a detached process for this graphics engine when adopting the operating system programming.
Embedded graph system development process based on household computerized embroidery machine of the present invention is as shown in Figure 3.Build a PC end graphics system development platform at first as requested, the PC that is built end development platform can make full use of the advantage of IDE development platform, uses control to realize the input and output of simulation.After putting up platform; Need set up special module file for graphics system; All graphics system source codes all will be included among the module file of being set up; Make things convenient for next step code transplanting work, and in exploitation, follow standard C language rule, make embedded compiled device also can carry out the compiling of code.At first carry out the emulation of PC end after the exploitation of completion PC end, after confirming, get into next step graft procedure, the work of specifically transplanting joins source file in the target engineering exactly, and the correlativity of removal and original platform.
The design in character database, picture database and explicit function storehouse is mainly accomplished in the design of shape library, and is as shown in Figure 4:
The character display data that character database mainly comprises in the graphics system being used, these data are to adopt delivery software to obtain with specific format in data file.
Picture database mainly comprises some jumbo image datas that show in the graphics system, such as interface LOGO etc.
The explicit function storehouse mainly comprises the explicit function entity of some interface controls, and graphics system cooperates character data, image data to carry out actual interface display through these function calls.
Principle of work and concrete workflow
Of the present invention is to be principal parameter with the page number based on the concrete realization principle of the embedded graph system of household computerized embroidery machine; Display page limited in the embedded system is packaged into the real function body respectively; Set up a pointer that points to the function of these real function bodies; Change through the sudden strain of a muscle that calling of these function pointer tabulations accomplished the page in the program major cycle; Because each page corresponding again a page active carry out function, so dodge and can realize that again the page triggers the execution of control when changeing accomplishing the page, thereby accomplished the core engine of whole graphics system.Concrete workflow is: inquiring user input: touch-screen, button etc.; Carry out the current page input and carry out function; Carry out page furbishing according to new page number;
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (5)
1. embedded graph system based on household computerized embroidery machine; It is characterized in that; Comprise: the structure module, function entrance address mapping table, real function body memory module and the execution module that point to function; Said function entrance map addresses is set up according to the structure module of pointing to function, and execution module is according to the real function body of mapping table and interface number execution real function body memory module storage, and realization interface redirect and interface action are carried out; The real function body of storing in the said real function body memory module is to be principal parameter with the page number, display page limited in the embedded system is packaged into respectively form;
Said execution module is set up the pointer of the function that points to the real function body, changes through the sudden strain of a muscle that calling of said function pointer tabulation accomplished the page;
The corresponding page active of each page is carried out function, and said execution module realizes that the page triggers the execution of control when accomplishing page sudden strain of a muscle commentaries on classics.
2. the embedded graph system based on household computerized embroidery machine as claimed in claim 1 is characterized in that, also comprises shape library, and said shape library comprises character database, picture database and explicit function storehouse.
3. the embedded graph system based on household computerized embroidery machine as claimed in claim 2; It is characterized in that; The character display data that said character database comprises in the graphics system being used, said data are to adopt delivery software to obtain with specific format in data file.
4. the embedded graph system based on household computerized embroidery machine as claimed in claim 2 is characterized in that, said picture database comprises some jumbo image datas that show in the graphics system.
5. the embedded graph system based on household computerized embroidery machine as claimed in claim 2; It is characterized in that; Said explicit function storehouse comprises the explicit function entity of interface control, through calling said function, cooperates character data, image data to carry out actual interface display.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200710187471 CN101446894B (en) | 2007-11-27 | 2007-11-27 | Embedded graphic system based on household computerized embroidery machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200710187471 CN101446894B (en) | 2007-11-27 | 2007-11-27 | Embedded graphic system based on household computerized embroidery machine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101446894A CN101446894A (en) | 2009-06-03 |
CN101446894B true CN101446894B (en) | 2012-12-12 |
Family
ID=40742585
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200710187471 Expired - Fee Related CN101446894B (en) | 2007-11-27 | 2007-11-27 | Embedded graphic system based on household computerized embroidery machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101446894B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104199671A (en) * | 2014-09-15 | 2014-12-10 | 武汉精伦软件有限公司 | Implementing method for easy-to-transplant small graphic system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1450455A (en) * | 2003-04-25 | 2003-10-22 | 清华大学 | Method for forming user's interface in embedded type equipment |
CN1459719A (en) * | 2002-05-17 | 2003-12-03 | 义隆电子股份有限公司 | System of pattern development program and method |
CN1613057A (en) * | 2002-09-06 | 2005-05-04 | 索尼株式会社 | GUI application development support device, GUI display device, method, and computer program |
-
2007
- 2007-11-27 CN CN 200710187471 patent/CN101446894B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1459719A (en) * | 2002-05-17 | 2003-12-03 | 义隆电子股份有限公司 | System of pattern development program and method |
CN1613057A (en) * | 2002-09-06 | 2005-05-04 | 索尼株式会社 | GUI application development support device, GUI display device, method, and computer program |
CN1450455A (en) * | 2003-04-25 | 2003-10-22 | 清华大学 | Method for forming user's interface in embedded type equipment |
Non-Patent Citations (1)
Title |
---|
汪明光.C++语言中函数指针的分析与应用.《巢湖学院学报》.2006,第8卷(第3期),第32页右栏最后一行至第33页左栏第7行. * |
Also Published As
Publication number | Publication date |
---|---|
CN101446894A (en) | 2009-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102520922B (en) | Remote development method under a kind of Collaborative environment and system thereof | |
EP3304286B1 (en) | Data binding dependency analysis | |
CN101814024B (en) | Framework and tool for designing cross-platform 3D interface | |
Simon et al. | Java™ on the bare metal of wireless sensor devices: the squawk Java virtual machine | |
CN102246150B (en) | Transforming user script code for debugging | |
CN108027722A (en) | The dynamically renewal application in compiling and deployment | |
CN105683924A (en) | Debugging native code by transitioning from execution in native mode to execution in interpreted mode | |
CN108139896A (en) | EVM(extended virtual machine) instruction set framework | |
CN101641690A (en) | Be used to generate the method and the middleware platform engine thereof of cross platform program | |
CN103729235A (en) | Java virtual machine (JVM) and compiling method thereof | |
CN101256482A (en) | Development system and method for built-in application program | |
CN103412747A (en) | Model driven based imaging design method for embedded industrial real-time system | |
WO2015039628A1 (en) | Visualization step programming method | |
CN103793219A (en) | Mobile terminal application development system and method | |
CN104572034B (en) | A kind of implementation method and device for cancelling and/or reforming | |
CN113918195A (en) | Application interface updating method and device, electronic equipment and readable storage medium | |
CN102693238B (en) | Widget application process, system and multimedia terminal | |
CN103631645A (en) | Digital family middleware system based on digital medical treatment | |
CN101446894B (en) | Embedded graphic system based on household computerized embroidery machine | |
KR20060120638A (en) | Method and apparatus for continuation-passing in a virtual machine | |
Pérez-Castillo et al. | ANDRIU. A Technique for Migrating Graphical User Interfaces to Android (S). | |
Tsay et al. | A code generation framework for Java component-based designs | |
JP2000347875A (en) | File transplanting technique | |
CN111596923A (en) | Haxe static link library construction method and device and electronic equipment | |
CN101593257B (en) | System and method for protecting software based on.Net virtual machine |
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 |
Granted publication date: 20121212 Termination date: 20141127 |
|
EXPY | Termination of patent right or utility model |