CN105117210A - WSCN-oriented graphical programming system - Google Patents

WSCN-oriented graphical programming system Download PDF

Info

Publication number
CN105117210A
CN105117210A CN201510450272.6A CN201510450272A CN105117210A CN 105117210 A CN105117210 A CN 105117210A CN 201510450272 A CN201510450272 A CN 201510450272A CN 105117210 A CN105117210 A CN 105117210A
Authority
CN
China
Prior art keywords
wscn
component
icon
graphic programming
information
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.)
Pending
Application number
CN201510450272.6A
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.)
Suzhou University
Original Assignee
Suzhou University
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 Suzhou University filed Critical Suzhou University
Priority to CN201510450272.6A priority Critical patent/CN105117210A/en
Publication of CN105117210A publication Critical patent/CN105117210A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention provides a WSCN-oriented graphical programming system. According to the WSCN-oriented graphical programming system, a hierarchical system that supports graphical programming is constructed and used for implementing the effects of using a member icon as a graphical programming element and further performing graphical programming in a graphical programming panel by using the existing member icon. The system supports basic operations of graphical programming, which comprise main functions such as creation of icon controls, setting of icon control attributes, interconnection and separation between the icon controls and the like.

Description

A kind of graphic programming system towards WSCN
Technical field
The present invention relates to wireless senser net control field, particularly relate to a kind of graphic programming system towards WSCN.
Background technology
Wireless senser net control (WirelessSensor & ControlNetworks, WSCN) application and development is based on embedded microcontroller, relate to hardware design, driving is write, communicate the comprehensive knowledge such as realization, networking plan design, has higher technical threshold.
At present, the main flow development platform of domestic and international WSCN development field still uses traditional text type programmed method.In text type programming mode, all program codes all need manual input, and unavoidably have the mistake in some spellings, when some is special, these misspellings are not easily found, and add difficulty and the time of program debug.Secondly, text type programming mode is often structurally not bery clear, and for the embedded development taking modularization programming as main programming mode, this structural unintelligible meeting brings very large inconvenience to the debugging of program and the maintenance in later stage.Finally, the precondition adopting text type programming mode to be familiar with the grammer of used programming language.For embedded development person, add learning difficulty and time, the flesh and blood of embedded development can not be contacted very soon.Visible, because text editing itself has unsurmountable shortcoming, bring very large inconvenience often to the exploitation of embedded product.
Graphic programming is developed, as the term suggests, refer to and adopt icon to replace the mode of line of text to carry out programming development.It has that clear in structure, software development efficiency are high, programming error rate is low and the advantage such as flexible in configuration.What graphic programming was paid close attention to is the execution flow process of program but not the implementation procedure of program concrete function, it carries out rational modularization to program, each module uses an icon to substitute, and uses line to represent flow process relation each other between icon and icon.The development approach that this icon adds line makes developer not need to be familiar with the exploitation that certain programming language can complete application.
In embedded software developing, graphic programming more easily plays the advantage of modularization programming.Adopt patterned programming mode to carry out embedded development, Internet of Things study development difficulty can be reduced, can development efficiency be improved again, can the flesh and blood of very fast contactant networking project development.Meanwhile, increasing company have also been introduced the mode of graphic programming in embedded software developing, this programming mode gradually approve by industry, be the development trend of embedded development.Desirable WSCN graphic programming platform should possess the functions such as graphic programming, code compilation, machine code download, and possesses the features such as development efficiency is high, price is low, easy to use.
Visible, developing desirable WSCN graphic programming System and method for has become hot issue of the prior art.
Summary of the invention
In order to overcome the defect that above-mentioned prior art exists, the invention provides a kind of graphic programming system towards WSCN.The present invention constructs and supports the hierarchical system of graphic programming, for realizing component icon as graphic programming key element, and then uses existing component diagram to be marked in graphic programming panel to carry out graphic programming.
The invention provides a kind of graphic programming system towards WSCN, it is characterized in that, comprising:
Hardware parameter and program layer, the instrument needing in WSCN node hardware parameter, WSCN node hardware driver of modules and pattern development to use and the closely-related information of WSCN node are carried out unifying to process, forming surface, to the configuration information collection of MCU, is called for upper strata;
Customizable pel middle layer, is processed into driver file destination, these starting material of icon the component icon needed in graphic programming;
General graphical programming layer, utilizes the component icon that customizable pel middle layer provides, and carries out the tissue of program, can realize the program function of desired design according to normal process figure mode.
Preferably, described hardware parameter and program layer comprise: WSCN node bsp driver component base, MCU configuration database, and compiling link tool set and executable code download module; Wherein,
WSCN node bsp driver component base is a static library file be made up of the object code of the hardware module driver of concrete MCU, can realize calling the function of related hardware driver of modules by linking this static library file;
MCU configuration database saves the parameter information of concrete MCU chip;
Compiling link tool set emulates unix environment as a dynamic link library file;
Executable code downloads mainly the file destination information of graphical programs to be downloaded in chip according to the parameter information of WSCN node and runs.
Preferably, in described customizable pel middle layer, pel in graphical by WSCN between bsp driver component base and the component icon needed for graphic programming realizes contacting, and the customization of pel arranges component diagram target essential information sum functions information.
Further preferably, component diagram target essential information comprises component diagram entitling, component icon type and component diagram mark pictorial information.
Further preferably, component diagram target function information is the essential information of the function that component icon is corresponding, comprises function name, function return value sum functions parameter.
The invention provides a kind of implementation method of graphic programming, its feature with, comprising:
Create the component icon of graphic programming;
Perform flow process by described component icon interconnection and/or separation according to design, generate final available programs.
Preferably, component diagram is designated as X and Y, and wherein X is father's control, and Y is child control, and the interconnection of component diagram target comprises the following steps:
(1) preserve the component icon type of X, instance objects and X and connect point coordinate.
(2) the child control field of clear X, and the icon type of Y is written in the child control field of X instance objects.
(3) father's control field of clear Y, and by the component icon type of X in father's control field of Y instance objects, finally record Y is connected into coordinate a little.
(4) connect coordinate a little and Y according to X and be connected into coordinate a little, adopt Bezier to draw connecting line between X to Y.
(5) refresh graphicsization programming panel again, and regenerates source code.
Preferably, component diagram is designated as X and Y, and wherein X is father's control, and Y is child control, and component diagram target is separated and comprises: X calls ResetChild method and empties child control information, and Y calls ResetParent method and empties father's control information.
Preferably, the implementation method of graphic programming comprises further: create graphical subroutine.
Further preferably, graphical subroutine is divided into common subroutine and interruption subroutine; Namely common subroutine represents some functional modules that user divides, the Interrupt Service Routine of interruption subroutine corresponding WSCN radio node chip, and user can create corresponding interruption subroutine by selecting corresponding interrupt vector number.
Visible, the invention provides the framework of the pattern development platform towards WSCN, have employed the fundamental element of graphic programming, realize the design of graphic programming icon; There is design and the design of easily extensible machine code download function of easily extensible code compilation; Support the basic operation of graphic programming, comprise and create icon control, arrange and to interconnect between icon control attribute, icon control and the major function such as to be separated.
Accompanying drawing explanation
Fig. 1 is the graphic programming system construction drawing towards WSCN described in the embodiment of the present invention;
Fig. 2 is the customizable pel structural representation described in the embodiment of the present invention;
Fig. 3 is the process flow diagram of the interpolation component icon function described in the embodiment of the present invention;
Fig. 4 is the programming write device frame diagram described in the embodiment of the present invention;
Fig. 5 is the layoutprocedure figure of the write-in functions described in the embodiment of the present invention;
The key step schematic diagram that Fig. 6 is the interconnection described in the embodiment of the present invention.
Embodiment
Below by embodiment, and by reference to the accompanying drawings, technical scheme of the present invention is done more specifically bright.
The architecture design of graphic programming system
As shown in Figure 1, the graphic programming system towards WSCN of the present invention comprises and is divided into three layers: the hardware parameter relevant to MCU and program layer, the general graphical programming layer irrelevant with MCU and customizable pel middle layer.To the function of each layer be elaborated below, and analyze the contact between each layer.
(1) relevant to MCU hardware parameter and program layer
The hardware parameter relevant to MCU and program layer comprise: WSCN node bsp driver component base, MCU configuration database, and compiling link tool set and executable code download module.By above four modules, the instrument needing in WSCN node hardware parameter, WSCN node hardware driver of modules and pattern development to use and the closely-related information of WSCN node can be carried out unifying to process, forming surface, to the configuration information collection of MCU, keeps supplying the pattern development platform invoke of aspect to WSCN.They realize the graphic programming meat and potatoes towards WSCN.
WSCN node bsp driver component base is a static library file be made up of the object code of the hardware module driver of concrete MCU, can realize calling the function of related hardware driver of modules by linking this static library file.
MCU configuration database saves the parameter information of concrete MCU chip, as bsp driver component base, compiler, linker and executable code download the disk routing information etc. of module.By MCU configuration database, the graphical embedded development platform on upper strata can find the hardware parameter of current MCU and support its instrument developed and program etc., and automatically can configure development platform according to these information, automatic forming surface is to the graphical embedded development platform of current MCU.MCU configuration database is the pith with MCU relevant layers.
The present invention adopts GNU assembler to complete the compiling link of program and to generate object code.But it is the instrument used under unix environment, in order to use this instrument in Windows environment, compiling link tool set must be used as a dynamic link library file to emulate unix environment.
Executable code downloads and mainly runs as the first address of Flash and the first address of size and RAM and the file destination information of large young pathbreaker's graphical programs download in chip according to the parameter information of WSCN node.Patterned download function towards WSCN is also most important, and it is the important channel detecting development platform practicality.
(2) customizable pel middle layer
Customizable pel middle layer is the bridge of icon in file destination in the middle of contact WSCN node bsp driver component base and member figure standard packing box, and it is processed into driver file destination, these starting material of icon the component icon needed in graphic programming.For the isonomic MCU of WSCN node, when changing MCU, need not write again and driving, as long as the actual information of the information in MCU configuration database according to them is modified, again link just after having revised.In concrete program implement, to arrange according to information such as the rreturn value of function, parameters each icon.
(3) with the general graphical programming layer that MCU is irrelevant
The general graphical programming layer had nothing to do with MCU achieves the embedded development platform of a graphic programming, utilize the component icon that customizable pel middle layer provides, carry out the tissue of program according to normal process figure mode, just can realize the program function of desired design.This layer has nothing to do with the type of MCU, mainly comprises: component icon management unit, graphic programming control module.
Component icon management unit mainly completes component diagram target taxonomic organization function.Component icon comprises hardware module component icon, power function component icon and Row control component icon.The driver one_to_one corresponding of hardware module component icon and hardware module, mainly realizes the hardware capability of MCU; In fact power function component icon is exactly the graphic representation of subroutine, has the program segment of specific function or implication more often; Row control component icon mainly realizes branch in C language programming and the function of loop structure.Component icon management unit adopts the method for classification that the above-mentioned component icon in program is carried out Classification Management, facilitates the automatic generation of graphic software platform and code.
Graphic programming control module is the core of the general graphical programming layer had nothing to do with MCU, mainly completes the writing of graphical programs, shows, annotates and the function such as automatic generation and display of text application corresponding to graphical programs.Developer uses graphic programming control module can complete writing of graphical programs, and simultaneously development platform can text application in real time corresponding to display graphics program, and facilitating developer to contrast debugging, is also that the compiling link of program is provided convenience.
(4) contact between above-mentioned each layer
The hardware parameter relevant to MCU and program layer are the bottoms of the graphical embedded development platform had nothing to do with MCU, on the one hand for graphic programming layer provides the hardware parameter relevant to concrete MCU and implementing procedure, on the other hand, at the component diagram timestamp of customizable primitive generating graphic programming, for customizable figure element module provides necessary routine interface information.The hardware parameter relevant to MCU and program layer, originally as a removable file set, by changing hardware parameter and program layer, can realize the versatility of graphical embedded development platform, improve the extensibility of platform.
Graphic programming key element
Fig. 2 is the customizable pel structural representation that the present invention adopts.How the function that WSCN bsp driver component base comprises being converted to the component icon needed for graphic programming, is one of gordian technique realizing WSCN pattern development platform.
Pel in graphical by WSCN between bsp driver component base and the component icon needed for graphic programming realizes contacting.The customization of pel is mainly arranged component diagram target essential information sum functions information.
Fig. 2 is the structured flowchart of customizable pel.Component diagram target essential information comprises component diagram entitling, component icon type and component diagram mark pictorial information.Component icon type comprises execution control, communication control and subroutine control.Component diagram target function information is the essential information of the function that component icon is corresponding, comprises function name, function return value sum functions parameter etc.
When designing, according to the function interface defined in bsp driver component base and relevant to import into, spread out of parameter and customize pel.After completing the Data Structure Design of pel, next we will design customization pel program function.Pel custom program function is divided into four functions by this present invention: add component icon, delete component icon, revise component icon and empty component icon.
Interpolation component diagram target function mainly achieves and add new component icon information in component icon library.Fig. 3 is the flow process of adding component icon function.Wherein, component icon library and Drivers Library all adopt Access database, are all to be conducted interviews to Access database by the database access mode of OLEDB.When design customization program function function, the operation relevant to database all encapsulates into a database class of operation by author, and the reusability of calling program is strengthened.
The function that the function deleted component icon, amendment pel control and empty pel widget library mainly realizes deletion to the pel control information in pel widget library, revises and empty, its essence is deleted Access database exactly, is revised and empty function.Its implementation and the similar process adding pel control function, no longer elaborate here.
By four functions enumerated above, user can complete the function of foundation to pel control, amendment and deletion, for the graphic programming of upper strata development platform provides condition precedent.
Easily extensible code compilation linking functions designs
The present invention uses the compilation tool arm-none-eabi that increases income that provides of GNUARM towards the code compilation function of the graphic programming development platform of WSCN, needs to use Makefile file and Linker script file.The design of the compiling flow process from application program, Makefile file edit and Linker file edit three parts are discussed code compilation function of the present invention by the present invention.
(1) design of flow process is compiled
Make instrument, compiler and linker that the present invention uses GNUARM to provide compile program and link, final generation ELF and HEX two kinds of machine code files.
Make instrument, for reading and explaining the instruction in Makefile file, needs first to compile to indicate which file, compiling after which file needs, and which file needs to recompilate, and even carries out more complicated operation.
Compilation tool is used for c program source file being compiled into file destination (ObjectFiles), i.e. .o file.
The Link tool is mainly used in reading and explains Linker file, according to the rule in Linker file by program block and variable reorientation, thus a large amount of file destinations is synthesized the machine code file of the forms such as ELF or HEX.
The effect serving key in whole compiling link process of Makefile file and Linker file can be found out through above analysis.Designed, designed of the present invention Makefile file and Linker file, when carrying out compiling link to program, using make instrument to perform makefile file, can complete automatic compiling link.Main compiling flow process is divided into the following steps:
(1) make instrument is used to perform Makefile file;
(2) Makefile file calls corresponding compiler according to type of code (C source program or assembly routine) compile program code is become file destination, and under being left in the catalogue that Makefile file specifies.
(3), after completing compiling, Makefile calls linker makes it run, and the path of Linker file is passed to linker.ELF or HEX file will be generated according to its inside dependency rule after linker reads in Linker file.
(2) Makefile file analysis with write
According to the compiling flow process designed, can find out that Makefile contains the path of associated documents and defines the flow process of whole compiling above.Some key effects that this section have chosen in Makefile make an explanation.
(1) all source files and the path of chained file is specified;
(2) before compiling, the path of specifying compiler, remittance compiler and linker is needed;
(3) when compiling source program, need to carry out setup parameter according to chip core and engineering relevant information.As, chip core is ARMCortex-M0+, then need to add "-mcpu=cortex-m0plus " instruction when calling compiler; The instruction set that source program uses is Thumb instruction set, therefore needs to add "-mthumb " instruction; In order to allow compiler automatically generate dependence, and the relation of interdependence between the manual write file of user need not be allowed, needing to use "-MM " order; Conveniently user's checking source program dependence, needs to use "-MF " instruction the dependence of each file destination to be outputted in specified file.
(4) after compiler completes the compiling to source program, Makefile will call linker, read the Linker file under specified path.
(5) because the final program generated uses the self-defining run function of this present invention, therefore need when calling compiler to use "-nostartfiles " to order the standard run function prohibitting the use GNUARM to carry.Simultaneously in order to the map file of the memory mapping of generator program, conveniently debug use, need to use "-Wl ,-Map, OUTPUT.map " to be outputted in OUTPUT file.
The present invention considers versatility when designing Makefile, automatically reads the source program under introductory path and compiles, then utilizing the function of Windows operating system batch processing to be integrated in development platform, has really accomplished the function of a key compiling.
(3) Linker file analysis with write
Linker file is also called chained file, and in the process calling linker, read in relevant chained file in Makefile file, this section will be introduced the analysis of chained file and write.
The process of link is actually the problem in order to solve symbolic reference (SymbolResolution) and address between multiple file, allocation of space (AddressandStorageAllocation).Only Single document is processed during compiler compiling, if need the symbol (as global variable or function) referred in other file inside this file, the address of this symbol cannot be determined so in this document, could determine final address when must wait linker that all file destinations are connected together.
The problem of reorientation code and the memory location that provides data in internal memory when chained file is mainly used in linking.The base unit section of being of code and data, linker can identify these sections, and is placed in the Flash space of specifying according to the regulation in link script file.Chained file mainly comprises MEMORY and SECTIONS two order, and the two acting in conjunction, provides the positional information of each section and file destination to linker.MEMORY instruction indicates that interrupt vector table, Flash configure territory, the start address in rom district and ram district and length.SECTIONS provides code segment and mapping relations between data segment and actual address space to linker.Linker assigns each SECTIONS in file destination as body one by one, is exactly reorientation, finally all file destinations is merged into a file destination for it distributes this process of address required for running.Linker is controlled by a link script, and this script describes the mapping of SECTIONS to output file of input file, and the internal memory distribution of output file.SECTIONS regulation interrupt vector table, Flash configure territory, code segment and overall static variable and are stored in rom district, and data segment, BSS section, heap and stack etc. are stored in ram district.
Configurable machine code download function design
Main flow programming write device in the market all have employed the framework shown in Fig. 4: programming write device is communicated with PC by USB interface or serial ports, is communicated by write interface with target MCU simultaneously.Under this framed structure, detail programming device receives the operational order and data of sending from PC, after resolving, communicates with target MCU, allow target MCU complete corresponding feature operation to order.For different target MCU, the information such as the model of telling write device target MCU of being given an order by the traditional text formula Integrated Development Environment of PC or independent write software.Also this design philosophy is followed during the configurable machine code download unit of development platform of the present invention's design.
The present invention starts with from independent write software when design configuration component-based development platform, adopts the method for dynamic and configurable to realize the function of machine code download.User only needs the layoutprocedure according to the write-in functions shown in Fig. 5, JLink independently can be write software and add development platform to.Its configuration flow can divide following a few step:
(1) JLink is installed and independently writes software;
(2) find the JLink of installation independently to write software, JLink is independently write software in units of file, copy in " standaloneprogrammer " file under installation directory;
(3) independence that trial running copy is come writes the executable file in software, i.e. JFlash.exe, if it can normally run, then enters step (4), otherwise cannot complete interpolation;
(4) if JLink only has " .exe " application program, i.e. " JFlash.exe " under independently writing software document folder, so write-in functions has added; If there is multiple executable file, deleted, and retained the executable file required for user, again entered step (3).
The realization of graphic programming function
This section will be told about and how use existing component diagram to be marked in graphic programming panel to carry out graphic programming, i.e. the design of graphic programming unit.
Programming Control unit and component icon class administrative unit cooperative cooperating, primary responsibility component diagram target creates, be interconnected, graphic programming time icon arrange and the code display of correspondence.Graphic programming control module relates generally to that component diagram target creates, interconnection between component icon be separated, component diagram target copies, pastes, shears and deletes, the setting of component icon attribute, the generation of the source code program that graphical programs is corresponding and the preservation of graphical programs and the function such as to open.
(1) component icon creates functional realiey
Graphical embedded development platform is mainly user-friendly to component diagram and is marked in graphic programming panel and carries out graphic programming.User, before carrying out graphic programming, first should create the compile element of graphic programming: component icon.
Component diagram target information is all in component icon library, the present invention is when designing and developing platform, all concentrate in component diagram standard packing box by component icons all in component icon library, user can select the component icon needed to carry out graphic programming as required from component diagram standard packing box.
(2) interconnection of component icon and separation algorithm realize
Create in graphic programming panel and complete after component icon arranges, following user will perform flow process according to design could generate final available programs by the interconnection of these icons.Component icon interconnecting operation is the process mutually linked up by component icon, and lock out operation is the process of being separated between two by icon.Suppose will connect now to be designated as X and Y with the component diagram be separated, wherein X is father's control, and Y is child control.To be explained in detail these two kinds of operations below.
1. the interconnection between component icon
The present invention adopts Bezier to realize two component diagram target interconnection.Fig. 6 is the key step schematic diagram of interconnection, and its major design flow process is as follows:
(1) preserve the component icon type of X, instance objects and X and connect point coordinate.
(2) the child control field of clear X, and the icon type of Y is written in the child control field of X instance objects.
(3) father's control field of clear Y, and by the component icon type of X in father's control field of Y instance objects, finally record Y is connected into coordinate a little.
(4) connect coordinate a little and Y according to X and be connected into coordinate a little, adopt Bezier to draw connecting line between X to Y.
(5) refresh graphicsization programming panel again, and regenerates source code.
2. the separation between component icon
Connection between separation between component icon refers to X and Y component icon is cancelled, and the present invention is realized by ResetParent and ResetChild method.Suppose component icon X with Y to be separated now, then X only needs to call ResetChild method and empties child control information, and Y only needs to call ResetParent method and empties father's control information.
(3) graphical subroutine creates
Development platform additionally provides the establishment function of graphical subroutine, and application function can reasonably be divided by user, and the programming idea of binding modules carries out graphic programming simultaneously.Graphical subroutine is divided into again common subroutine and interruption subroutine.Namely common subroutine represents some functional modules that user divides, the Interrupt Service Routine of interruption subroutine corresponding WSCN radio node chip, and user can create corresponding interruption subroutine by selecting corresponding interrupt vector number.Except preserving type, subroutine is almost identical with the programmed method of graphical master routine, and each graphical subroutine can be kept at separately in the file of expansion .sub by name.Hereafter will mainly tell about two kinds of method of calling of subroutine:
(1) if graphical subroutine exists, so need this subroutine to be added to current engineering and form subroutine component icon.
(2) if need newly-built graphical subroutine, so need the subroutine that establishment one is new, user only needs to select corresponding interrupt vector number can complete the establishment of interruption subroutine.
Visible, the invention provides the framework of the pattern development platform towards WSCN, have employed the fundamental element of graphic programming, realize the design of graphic programming icon; There is design and the design of easily extensible machine code download function of easily extensible code compilation; Support the basic operation of graphic programming, comprise and create icon control, arrange and to interconnect between icon control attribute, icon control and the major function such as to be separated.
Above embodiment is only for illustration of the present invention; and be not limitation of the present invention; the those of ordinary skill of relevant technical field; without departing from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all equivalent technical schemes also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.

Claims (10)

1., towards a graphic programming system of WSCN, it is characterized in that, comprising:
Hardware parameter and program layer, the instrument needing in WSCN node hardware parameter, WSCN node hardware driver of modules and pattern development to use and the closely-related information of WSCN node are carried out unifying to process, forming surface, to the configuration information collection of MCU, is called for upper strata;
Customizable pel middle layer, is processed into driver file destination, these starting material of icon the component icon needed in graphic programming;
General graphical programming layer, utilizes the component icon that customizable pel middle layer provides, and carries out the tissue of program, can realize the program function of desired design according to normal process figure mode.
2. the graphic programming system towards WSCN as claimed in claim 1, it is characterized in that, described hardware parameter and program layer comprise: WSCN node bsp driver component base, MCU configuration database, and compiling link tool set and executable code download module; Wherein,
WSCN node bsp driver component base is a static library file be made up of the object code of the hardware module driver of concrete MCU, can realize calling the function of related hardware driver of modules by linking this static library file;
MCU configuration database saves the parameter information of concrete MCU chip;
Compiling link tool set emulates unix environment as a dynamic link library file;
Executable code downloads mainly the file destination information of graphical programs to be downloaded in chip according to the parameter information of WSCN node and runs.
3. the graphic programming system towards WSCN as claimed in claim 2, it is characterized in that, in described customizable pel middle layer, pel in graphical by WSCN between bsp driver component base and the component icon needed for graphic programming realizes contacting, and the customization of pel arranges component diagram target essential information sum functions information.
4., as claimed in claim 3 towards a graphic programming system of WSCN, it is characterized in that, component diagram target essential information comprises component diagram entitling, component icon type and component diagram mark pictorial information.
5., as claimed in claim 4 towards a graphic programming system of WSCN, it is characterized in that, component diagram target function information is the essential information of the function that component icon is corresponding, comprises function name, function return value sum functions parameter.
6. an implementation method for graphic programming, its feature with, comprising:
Create the component icon of graphic programming;
Perform flow process by described component icon interconnection and/or separation according to design, generate final available programs.
7. an implementation method for graphic programming as claimed in claim 6, is characterized in that, component diagram is designated as X and Y, and wherein X is father's control, and Y is child control, and the interconnection of component diagram target comprises the following steps:
(1) preserve the component icon type of X, instance objects and X and connect point coordinate.
(2) the child control field of clear X, and the icon type of Y is written in the child control field of X instance objects.
(3) father's control field of clear Y, and by the component icon type of X in father's control field of Y instance objects, finally record Y is connected into coordinate a little.
(4) connect coordinate a little and Y according to X and be connected into coordinate a little, adopt Bezier to draw connecting line between X to Y.
(5) refresh graphicsization programming panel again, and regenerates source code.
8. the implementation method of a graphic programming as claimed in claim 6, it is characterized in that, component diagram is designated as X and Y, wherein X is father's control, Y is child control, component diagram target is separated and comprises: X calls ResetChild method and empties child control information, and Y calls ResetParent method and empties father's control information.
9. an implementation method for graphic programming as claimed in claim 6, is characterized in that, the implementation method of graphic programming comprises further: create graphical subroutine.
10. an implementation method for graphic programming as claimed in claim 9, is characterized in that, graphical subroutine is divided into common subroutine and interruption subroutine; Namely common subroutine represents some functional modules that user divides, the Interrupt Service Routine of interruption subroutine corresponding WSCN radio node chip, and user can create corresponding interruption subroutine by selecting corresponding interrupt vector number.
CN201510450272.6A 2015-07-28 2015-07-28 WSCN-oriented graphical programming system Pending CN105117210A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510450272.6A CN105117210A (en) 2015-07-28 2015-07-28 WSCN-oriented graphical programming system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510450272.6A CN105117210A (en) 2015-07-28 2015-07-28 WSCN-oriented graphical programming system

Publications (1)

Publication Number Publication Date
CN105117210A true CN105117210A (en) 2015-12-02

Family

ID=54665212

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510450272.6A Pending CN105117210A (en) 2015-07-28 2015-07-28 WSCN-oriented graphical programming system

Country Status (1)

Country Link
CN (1) CN105117210A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105739996A (en) * 2016-03-03 2016-07-06 南京南瑞继保电气有限公司 Embedded device development and user step-by-step development method
CN106707848A (en) * 2016-12-01 2017-05-24 浙江中控研究院有限公司 Control program organization structure of control system and download method
CN106775683A (en) * 2016-11-30 2017-05-31 华南理工大学 A kind of graphic programming control and storage system
CN106842988A (en) * 2017-03-02 2017-06-13 深圳市尧天科技有限公司 One kind teaching graphical programming system and method
CN107329764A (en) * 2017-07-03 2017-11-07 苏州大学 A kind of multitask GCPLC systems and the method that application and development is realized using the system
CN107728561A (en) * 2016-08-11 2018-02-23 苏州汉扬精密电子有限公司 PLC programing systems and method
CN107861717A (en) * 2017-11-09 2018-03-30 用友网络科技股份有限公司 The method that primitive attribute customization is carried out in a manner of database registration
CN108304194A (en) * 2017-09-01 2018-07-20 潍柴动力股份有限公司 A kind of generation method of program, device and electronic equipment
CN108491201A (en) * 2018-03-13 2018-09-04 天津瑷睿卡仕福测控技术有限公司 A kind of integrated test system graphic programming interface and its programmed method
CN108924153A (en) * 2018-07-23 2018-11-30 深圳点猫科技有限公司 A kind of cloud variable operating method and electronic equipment in graphic programming tool
CN109545035A (en) * 2018-09-30 2019-03-29 上海畅学教育科技有限公司 The graphical hardware programming compatible system of more interacting messages and method
CN109697065A (en) * 2018-12-17 2019-04-30 蜂巢(武汉)微系统技术有限公司 A kind of visual development method of embedded onboard system
CN109799971A (en) * 2018-12-07 2019-05-24 陕西法士特齿轮有限责任公司 A kind of file creating apparatus and method
CN110494843A (en) * 2017-04-03 2019-11-22 创首公司 Mixing model programming
CN111856989A (en) * 2020-06-19 2020-10-30 中电科航空电子有限公司 Dynamic linking method for single chip microcomputer

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436050A (en) * 2007-11-12 2009-05-20 上海电气集团股份有限公司 Graphic interactive programming unit and method for open type numerical control system
CN102855135A (en) * 2012-04-23 2013-01-02 苏州大学 Graphical component-based sensing network development platform and method
CN104199661A (en) * 2014-08-29 2014-12-10 苏州大学 Wireless sensor network (WSN) reprogramming method for MC1321X

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436050A (en) * 2007-11-12 2009-05-20 上海电气集团股份有限公司 Graphic interactive programming unit and method for open type numerical control system
CN102855135A (en) * 2012-04-23 2013-01-02 苏州大学 Graphical component-based sensing network development platform and method
CN104199661A (en) * 2014-08-29 2014-12-10 苏州大学 Wireless sensor network (WSN) reprogramming method for MC1321X

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
冯上栋: "图形构件化无线传感网开发平台GCBDP-WSN的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
姚健东: "一种通用图形化嵌入式开发平台的设计及应用", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105739996A (en) * 2016-03-03 2016-07-06 南京南瑞继保电气有限公司 Embedded device development and user step-by-step development method
CN107728561A (en) * 2016-08-11 2018-02-23 苏州汉扬精密电子有限公司 PLC programing systems and method
CN106775683A (en) * 2016-11-30 2017-05-31 华南理工大学 A kind of graphic programming control and storage system
CN106775683B (en) * 2016-11-30 2020-06-19 华南理工大学 Graphical programming control and storage system
CN106707848A (en) * 2016-12-01 2017-05-24 浙江中控研究院有限公司 Control program organization structure of control system and download method
CN106707848B (en) * 2016-12-01 2019-02-15 浙江杰芯科技有限公司 A kind of the control program construction and method for down loading of control system
CN106842988A (en) * 2017-03-02 2017-06-13 深圳市尧天科技有限公司 One kind teaching graphical programming system and method
CN110494843A (en) * 2017-04-03 2019-11-22 创首公司 Mixing model programming
CN107329764A (en) * 2017-07-03 2017-11-07 苏州大学 A kind of multitask GCPLC systems and the method that application and development is realized using the system
CN108304194A (en) * 2017-09-01 2018-07-20 潍柴动力股份有限公司 A kind of generation method of program, device and electronic equipment
CN107861717A (en) * 2017-11-09 2018-03-30 用友网络科技股份有限公司 The method that primitive attribute customization is carried out in a manner of database registration
CN108491201A (en) * 2018-03-13 2018-09-04 天津瑷睿卡仕福测控技术有限公司 A kind of integrated test system graphic programming interface and its programmed method
CN108491201B (en) * 2018-03-13 2021-04-09 南京瑷卡测控技术有限公司 Graphical programming interface of integrated test system and programming method thereof
CN108924153A (en) * 2018-07-23 2018-11-30 深圳点猫科技有限公司 A kind of cloud variable operating method and electronic equipment in graphic programming tool
CN109545035A (en) * 2018-09-30 2019-03-29 上海畅学教育科技有限公司 The graphical hardware programming compatible system of more interacting messages and method
CN109799971A (en) * 2018-12-07 2019-05-24 陕西法士特齿轮有限责任公司 A kind of file creating apparatus and method
CN109799971B (en) * 2018-12-07 2022-04-15 陕西法士特齿轮有限责任公司 File generation device and method
CN109697065A (en) * 2018-12-17 2019-04-30 蜂巢(武汉)微系统技术有限公司 A kind of visual development method of embedded onboard system
CN111856989A (en) * 2020-06-19 2020-10-30 中电科航空电子有限公司 Dynamic linking method for single chip microcomputer

Similar Documents

Publication Publication Date Title
CN105117210A (en) WSCN-oriented graphical programming system
US9754059B2 (en) Graphical design verification environment generator
US5956479A (en) Demand based generation of symbolic information
EP0664027B1 (en) Program modeling system
CN101601012B (en) Producer graph oriented programming framework with scenario support
US8341594B1 (en) Version control in modeling environments
CN105843630A (en) Method for graphical programming development based on robot
US20060248112A1 (en) Application description language
CN104615541A (en) Simulation testing modeling system and method based on flow chart
CN103970659A (en) Android application software automation testing method based on pile pitching technology
CN102270128A (en) Library conformity checker
US20100313181A1 (en) Application building
KR20040097941A (en) Method and system of developing a software with utilizing metadata of the client-side component under component-based development environment
CN114721647B (en) Object-oriented programming method based on codeless application development
CN103914331A (en) Emulator supporting multi-chip configuration function
Rieger et al. Challenges and Opportunities of Modularizing Textual Domain-Specific Languages.
Wenderholm Eclpss: a Java-based framework for parallel ecosystem simulation and modeling
Savolainen et al. Spine deliverable 2.1 software design document
Buchmann et al. Mapping features to domain models in fujaba
Barbacci et al. Durra: an integrated approach to software specification, modeling and rapid prototyping.
Fields et al. IntelliJ IDEA in Action
Fuksa Redesigning the Hamster Simulation
Cai et al. System-on-chip environment (SCE version 2.2. 0 beta): Manual
Verma Developing Real-World Extensions for Visual Studio Editor
Bieker Retargetable compilation of self-test programs using constraint logic programming

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151202

RJ01 Rejection of invention patent application after publication