CN103123660A - Computer-aided design (CAD) graphical modeling method for software/hardware system - Google Patents

Computer-aided design (CAD) graphical modeling method for software/hardware system Download PDF

Info

Publication number
CN103123660A
CN103123660A CN2012105929922A CN201210592992A CN103123660A CN 103123660 A CN103123660 A CN 103123660A CN 2012105929922 A CN2012105929922 A CN 2012105929922A CN 201210592992 A CN201210592992 A CN 201210592992A CN 103123660 A CN103123660 A CN 103123660A
Authority
CN
China
Prior art keywords
hardware
software
module
model
data
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.)
Granted
Application number
CN2012105929922A
Other languages
Chinese (zh)
Other versions
CN103123660B (en
Inventor
汤俊
汤小为
罗军
韦文
鉴福生
李宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua 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 Tsinghua University filed Critical Tsinghua University
Priority to CN201210592992.2A priority Critical patent/CN103123660B/en
Publication of CN103123660A publication Critical patent/CN103123660A/en
Application granted granted Critical
Publication of CN103123660B publication Critical patent/CN103123660B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a computer-aided design (CAD) graphical modeling method for a software/hardware system and belongs to the field of graphical modeling. The method is characterized by comprising a user graph manipulation interface F1, a software/hardware module library management device F2, a graphics modeling device F3, a program task allocation mapping device F4, a core data module F5, a model and mapping file resolver F6 and a model and mapping file F7. The user graph manipulation interface F1 is used for completing the function of modeling according to instructions such as the drawing instruction of a user; the software/hardware module library management device F2 is used for managing a software/hardware basic module with parameters capable of being configured; the graphics modeling device F3 is used for building a software/hardware graphical model by use of the software/hardware basic module; the program task allocation mapping device F4 is used for building a task allocation mapping relationship from software to hardware; the core data module F5 is used for defining various data contents of a modeling system; the model and mapping file resolver F6 is used for resolving files stored according to formats to acquire the various data contents, or storing the data contents as the files according to the formats; and the model and mapping file F7 is used for storing the files according to the formats. By means of the CAD graphical modeling method for the software/hardware system, visualized and efficient software/hardware integrated modeling can be achieved by the user, and an allocation mapping scheme of software tasks on the hardware can be specified.

Description

A kind of method to the graphical modeling of software and hardware system CAD
Technical field
The invention belongs to the comprehensive modeling field of software and hardware system development, a kind of specifically the software and hardware system is carried out graphical modeling and sets up software and the device of the task allocation map relation of hardware.
Background technology
In system's software/hardware exploitation, it is poor that traditional software-oriented task is carried out program development mode inefficiency, versatility that code line by line writes, the close-coupled of software and hardware development proposes high requirement to developer's level, and the system that develops has the shortcoming that model structure is unintelligible, complexity is high, be difficult to safeguard.
Carrying out at first using the graphical modeling tool of software and hardware to set up system model before system realizes, carrying out system development based on the model of clear in structure can partly address the above problem.Graphical modeling tool commonly used is to set up the CAD(computer-aided design (CAD) of software program structural model and hardware structure model by graphic user interface) instrument.
In traditional cad tools, the interface of module of software and hardware and attribute lack unified interface and encapsulation definition to module by user's self-defining, are unfavorable for the management of module and reuse; System scale is large, when structure is more complicated, graphical model is very complicated, is difficult to clear assurance and management; Lack effective task association and communication path coupling between the software model of setting up respectively and hardware model, make the developer still need process complicated software and hardware coupled problem when realizing system, effective division of labor of hardware and software development can't be realized, the related scheme of software and hardware task can not be revised easily.The systems development process of carrying out the software and hardware modeling based on traditional C AD instrument still faces very large difficulty.
Summary of the invention
Purpose of the present invention is exactly for above-mentioned deficiency, and a kind of graphical modeling method of software and hardware system and device with good modeling ability and software and hardware model interaction ability is provided.
The invention is characterized in, realize according to the following steps successively in a computing machine:
Step (1) computer initialization
Arrange: the graphical user operation interface, software/hardware module library administration module, model and mapped file parsing module, the drawing MBM, program task allocation map module and core data module, wherein:
The graphical user operation interface, receive user management and module library and use instruction, show switchable software/hardware module library, the software data flow graph is drawn and is distinguished, switchable hardware topology figure, the switchable hardware resource figure district that draws, module and line parameter configuration district and allocation map relational result viewing area, wherein:
Switchable software/hardware module library comprises: several basic modules and several composite modules,
The software data flow graph is drawn and is distinguished, be used for software for drawing data flow diagram model, be software module by using described software/hardware module library and the line instrument between software module draw represent software task with software module, line represents the data communications context between software module, the attribute of the incidental Parametric Representation software module of line and line
Switchable hardware topology figure comprises the hardware topology figure district that draws, and switchable hardware resource figure comprises the hardware resource figure district that draws, wherein
The hardware topology figure district that draws, contain several in order to represent the hardware basic module of hardware computing node, memory node or communication interface, line between the hardware basic module represents the data communication path between described computing node, line incidental Parametric Representation hardware basic module between described hardware basic module and the attribute of line form the hardware topology graph model.
The hardware resource figure district that draws is used for rendering hardware resource map model, and wherein, what the hardware basic module represented is that hardware is in kind, the attribute of hardware material object shown in incidental Parametric Representation,
The user carries out operation associated at software data flow graph model and hardware topology graph model, formed from selected software basic module to the task allocation map table the hardware basic module.
Module and line parameter configuration district, be used between the current hardware basic module of choosing of user, software basic module or hardware basic module, the parameter of the basic intermodule of software is configured, described parameter refers to described incidental parameter separately, comprises parameter name and corresponding parameter value.
Allocation map relational result viewing area shows that described software basic module is to the mapping relations of described hardware basic module.
Software/hardware module library administration module, be provided with software function module storehouse, hardware topology module library and hardware resource blocks storehouse, any one or more function in the search, interpolation, modification, delete function of software basic module, hardware basic module and place catalogue is provided.
the drawing MBM, utilize software basic module software for drawing data flow diagram, utilize hardware basic module rendering hardware topological diagram and hardware resource figure, software basic module and line during the parameter configuration that utilization arranges and sub module stored are distinguished described software data flow graph drawing, and hardware basic module and line that described hardware topology figure hardware resource is drawn in distinguishing configure described incidental parameter, and various results all are presented on described graphical user operation interface in corresponding each switchable drawing district, and for the user, storage or modification, described parameter configuration and sub module stored are kept at result in corresponding parameter configuration files,
program task allocation map module, for the user, a described software basic module and function assignment of allocation thereof are mapped to the man-to-man mapping relations of formation on a described hardware computing node, the described composite module that perhaps more than one software basic module is formed and function assignment of allocation thereof are to same described hardware computing node, form many-to-one mapping relations, be provided with simultaneously communication path Auto-matching submodule and communication mode chooser module, for the user by the own communication mode of selecting the data communication Auto-matching of the basic intermodule of each software to the hardware line between the hardware computing node of specified mapping,
The core data module contains software data flow data, hardware topology data, hardware resource data and allocation map relation data, wherein:
The software data flow data is supported described software data flow graph, comprising: functional module and FPDP thereof, and the communication connection between functional module,
The hardware topology data are supported described hardware topology figure, comprising: the interconnection topology between hardware computing node and each hardware computing node,
The hardware resource data, the data of the hardware resource figure that support drawing model building device is drawn,
The allocation map relation data is supported the allocation map function in described program task allocation map module, comprising: software function module, hardware computing node and mapping relations between the two,
The parsing module of model and mapped file, comprise: software data stream file, hardware topology file, hardware resource file, allocation map relational file, model and mapped file and be used for resolved file one or more of described software/hardware module library, wherein:
The software data stream file, corresponding with the software data flow data of described core data module,
The hardware topology file, corresponding with the hardware topology data of described core data module,
The hardware resource file, corresponding with the hardware resource data of described core data module,
The allocation map relational file, corresponding with the allocation map relation data of described core data module,
Model and mapped file are pressed data content and mapping relations in the specified format described model of storage and mapped file parsing module,
Be used for resolving the file of described software/hardware module library, be used for obtaining the module data of described software/hardware module library, or the module data of described software/hardware module library is saved as the module library file by form;
Step (2) user carries out graphical modeling according to the following steps:
Step (2.1) graphical interface of user loads and shows describedly establishes module in various,
Step (2.2) user loads described software/hardware basic module storehouse, and is classified into tabular form with catalogue and shows, for calling or manage operation,
Step (2.3) judges whether the user proposes to load the request of existing software/hardware model:
If: do not load existing software/hardware model, execution in step (2.4),
If: load existing software/hardware model, call the software/hardware model of before having drawn, after resolving with described model and mapped file parsing module in described graphical interface of user demonstration, execution in step (2.5) then,
Step (2.4), the user creates new software/hardware model, and the software/hardware model of newly-built blank and the correspondence that is presented at described graphical interface of user are drawn in the district, change step (2.5) over to,
Step (2.5), the user according to the following steps in each district that draws of described graphical interface of user to the software/hardware model that loaded or the newly-built software/hardware model modelling operability of drawing:
Step (2.5.1) is placed into the described software data flow graph user software data flow diagram model of drawing in the district to the software basic module in the software module storehouse and draws,
Step (2.5.2) is encapsulated as described software composite module to the part software model of described software data flow graph model on demand and adds in described software module storehouse,
Step (2.5.3) is transferred to the composite module described in step (2.5.2) described software data flow graph and is drawn and be used for the data flow diagram model in the district and draw from described software module storehouse,
Step (2.5.4) is placed into hardware topology figure and hardware resource figure to the hardware basic module in described hardware module storehouse and draws and be used for hardware topology figure in the district and the hardware resource graph model is drawn,
Wherein, described software model refers to software data flow graph model, and described hardware model refers to hardware topology graph model or hardware resource graph model,
Step (2.6), after the user chooses software basic module in described software data flow graph, be dragged and dropped on the hardware computing node of described hardware topology figure, described program task allocation map module is presented at the allocation map relation that is used to specify in described allocation map relational result viewing area automatically, perhaps is mapped to the basic module assignment of described software on the hardware computing node of hardware resource figure and is presented in described allocation map relational result viewing area.
The graphical model building device of software and hardware system provided by the invention has following beneficial effect and advantage:
(1) system by the module library manage, the function such as drawing modeling, program task allocation map, model and mapped file resolver, when the software/hardware system modelling, the user can set up and the multiplexing module library that meets development object, and be absorbed in the realization of software model and hardware model, set up easily the association between software model and hardware model, greatly simplify software/hardware modeling work, reduce difficulty and the risk of system model adjustment and maintenance;
(2) system by the drawing modeling function, can be encapsulated as composite module with partial model, simplifies complicated model general view, is convenient to the user and holds system architecture, and carry out multiplexing to composite module;
(3) system is by program task allocation map function, can reduce the degree of coupling of software development work and hardware development work, the user can hold the feasibility that software task is realized, and can carry out the contrast of different allocation map schemes by rapid adjustment allocation map scheme on hardware.
(4) carry out the software/hardware comprehensive modeling based on native system, make the software and hardware system exploitation have medelling characteristics efficiently directly perceived, realized the accumulation of development and multiplexing, greatly shortened the system modelling cycle, subsequent step to system development also provides effective guidance program, be conducive to reduce development risk, cost of development and enforcement difficulty, and be conducive to improve the quality that the software/hardware system realizes.
Description of drawings
In the accompanying drawings, the identical or intimate identical functional module of each shown in each accompanying drawing represents with same label.
Fig. 1 is the one-piece construction block diagram of apparatus of the present invention;
The method flow of Fig. 2 for using this device to carry out the software/hardware modeling;
Fig. 3 is an embodiment of the software/hardware module library management devices of Fig. 1, comprises the module library type that it is managed;
Fig. 4 is an embodiment of the drawing model building device of Fig. 1, comprises the modeling graph style that it is supported, also comprises the parameter configuration function of modeling process;
Fig. 5 is an embodiment of the program task allocation map device of Fig. 1;
Fig. 6 is an embodiment of the core data module of Fig. 1;
Fig. 7 is the model of Fig. 1 and an embodiment of mapped file resolver, comprises its handled file layout type;
Fig. 8 is an embodiment of the graphical user operation interface (tool screen) of Fig. 1.
Embodiment
A kind of method to the graphical modeling of software and hardware system comprises the steps:
A) graphical user operation interface loading software/hardware module library management devices, drawing model building device, program task allocation map device and model and mapped file resolver;
B) the software/hardware module library management devices existing module of software and hardware of loading storehouse, and carry out library management;
C) model and mapped file resolver resolves and the existing software and hardware model of loading, otherwise the drawing model building device creates new software and hardware model;
D) the drawing model building device is revised the software and hardware model that has loaded or created;
E) the related software and hardware model of program task allocation map device, designated software is to the task allocation map scheme of hardware;
Model and mapped file resolver are preserved software and hardware model and allocation map scheme.
A kind of device to the graphical modeling of software and hardware system comprises:
A) graphical user operation interface is used for showing each functional part of this model building device, and is used for receiving the external user instruction, uses apparatus of the present invention to complete modeling and correlation function;
B) software/hardware module library management devices is used for organization and management software/hardware basic module and composite module, forms module directory, and the management function of module and place catalogue is provided;
C) drawing model building device is used for completing the graphical modeling of software and hardware;
D) program task allocation map device is used for setting up the related of software model and hardware model, forms software function module to the task allocation map relation of hardware computing node;
E) core data module is for the every software and hardware data content that defines model building device of the present invention;
F) model and mapped file resolver are used for analytic model and mapped file and obtain every data content corresponding to core data module, or data content is stored as model and mapped file by form;
G) model and mapped file are by the file of format memory data content.
Be elaborated below in conjunction with the embodiment of drawings and Examples to apparatus of the present invention.
A kind of device for the software and hardware system is carried out graphical modeling, a kind of by draw the device of software/hardware system model with module and intermodule line instrument specifically, it can also associated software model and hardware model and forms task allocation map scheme, as shown in Figure 1, it comprises:
(1) graphical user operation interface F1 is used for showing each functional part of this model building device, and is used for receiving the external user instruction, uses apparatus of the present invention to complete modeling and correlation function.
Figure 8 shows that the embodiment of graphical user operation interface F1.
Graphical user operation interface F1 can show software/hardware module library F29, and receives user management and use the instruction of module library.
Graphical user operation interface F1 can also distinguish in the display model drawing, and the user uses module and the intermodule line instrument rendering model of module library in this draws the district.Model is drawn to distinguish and can be comprised software data flow graph drawing district F31, be used for software for drawing data flow diagram model, the different task of software is represented as disparate modules, and represent the data communications context of intermodule with the intermodule line, wherein module and intermodule line can select subsidiary parameter to be used for showing the attribute of module and line; Can also comprise hardware model drawing district F32, be used for the rendering hardware model.The hardware model district F32 that draws can comprise the hardware topology figure district that draws, be used for rendering hardware topological diagram model, represent the hardware computing node with hardware module, represent data communication path between computing node with the intermodule line, wherein hardware module and intermodule line can select subsidiary parameter to be used for showing the attribute of module and line; The hardware model district F32 that draws can also comprise the hardware resource figure district that draws, be used for rendering hardware resource map model, the hardware such as computing node, memory node, communication interface that represent hardware with hardware module are in kind, and wherein hardware module can select subsidiary parameter to be used for showing the attribute of module.When in graphical user operation interface F1, the district F31 of software for display data flow diagram drawing simultaneously and hardware topology figure draw the district, the user can carry out operation associated between software data flow graph model and hardware topology graph model, forms the task allocation map scheme from the software module to the hardware module.
The all right display module of graphical user operation interface F1 and line parameter configuration district F30 are used for the current module of choosing of user or line are carried out parameter configuration.If module and line in the software flow graph model are accompanied with configurable parameter, can carry out parameter configuration in module and line parameter configuration district F30; If module and line in the hardware topology graph model are accompanied with configurable parameter, can carry out parameter configuration in module and line parameter configuration district F30; If the module in the hardware resource graph model is accompanied with configurable parameter, can carry out parameter configuration in module and line parameter configuration district F30.
Graphical user operation interface F1 can also show allocation map relational result viewing area F33, is used for the association results between software for display data flow diagram model and hardware topology graph model, i.e. task allocation map scheme from the software module to the hardware module.
(2) software/hardware module library management devices F2 is used for organization and management software/hardware basic module and composite module, forms module directory, and the management function of module and place catalogue is provided.
Figure 3 shows that the embodiment of software/hardware module library management devices F2, comprise the management to software function module storehouse F8 and hardware module storehouse.Wherein the hardware module library management can comprise hardware topology module library F9 management and hardware resource blocks storehouse F10 management.
Software/hardware module library management devices F2 can provide the one or more function in the search, interpolation, modification, delete function of module and place catalogue.Software/hardware module library management devices F2 to the storage of module library can usage data the storehouse realize, above-mentioned module library management function also can realize by operating database.In exploitation and operational process, the user can 1, by system management facility or text editor and the direct modified module of database management tools or administration module storehouse, 2, the software/hardware module library management devices F2 that provides by apparatus of the present invention in operational process manages the module library.
(3) drawing model building device F3 is used for completing the graphical modeling of software and hardware.By drawing model building device F3, the module in the software/hardware module library can be placed on model and draw and show in the district, and adjusting module position and size.When placement module, after the user can choose module in the module library, directly be dragged to the model release module again of drawing in the district, a example of this module will appear at model and draw in the district, and same module can have many parts of examples.Drawing model building device F3 provides module line instrument, and the module of model being drawn in distinguishing by the picture connecting line couples together, the expression data communication path.
Figure 4 shows that the embodiment of drawing model building device F3, comprise and use software module software for drawing data flow diagram F11 function and use hardware module rendering hardware illustraton of model function.Wherein rendering hardware illustraton of model function can comprise rendering hardware topological diagram F12 function and rendering hardware resource map F13 function.
Drawing model building device F3 also can comprise parameter configuration and memory storage F14, is used for module instance and the affiliated parameter of line in the district that draws are configured.Module or the parameter of line and module and the line parameter configuration district F30 that parameter value appears at graphical user operation interface F1 that in the drawing district, the user chooses, the user can revise parameter value.Parameter configuration and memory storage F14 are kept at parameter and the parameter value of all modules and line in illustraton of model in parameter configuration files F15, and same illustraton of model can configure and preserve a plurality of parameter configuration files F15.The user can 1, by parameter configuration and memory storage F14, parameter is configured and preserves in operational process, and 2, directly revise parameter configuration files F15 by system management facility or text editor.
(4) program task allocation map device F4 as shown in Figure 5, is used for setting up the related of software model and hardware model, forms software function module F16 to the task allocation map relation of hardware computing node F17.The user can be mapped to each software function module F16 assignment of allocation in software model on hardware computing node F17 in hardware model.Different software function module F16 can be assigned on same hardware computing node F17, realizes the many-one mapping relations.
Program task allocation map device F4 can also comprise communication path automatic matching device F18, the user with program task allocation map device F4 designated software after the task allocation map scheme of hardware, on the hardware line that communication path automatic matching device F18 can use the intermodular data communication connection Auto-matching of software model to the intermodule of hardware model.
Program task allocation map device F4 can also comprise communication mode selecting arrangement F19, and the communication mode that above-mentioned communication connection is used can be selected in available communication mode list.
(5) core data module F5 is used for defining every software and hardware data content of model building device of the present invention, provides the support of back-end data content to other device and the functional part of model building device of the present invention.As shown in Figure 6, core data module F5 can comprise following one or more data: software data flow data F20 is used for the software data flow graph F11 that supports that drawing model building device F3 draws; Hardware topology data F21 is used for the hardware topology figure F12 that supports that drawing model building device F3 draws; Hardware resource data F22 is used for the hardware resource figure F13 that supports that drawing model building device F3 draws; Allocation map relation data F23 is for the allocation map function of support program task allocation map device F4.
In the embodiment shown in fig. 6, software data flow data F20 comprises FPDP, the intermodule communication connection of functional module, module; Hardware topology data F21 comprises interconnection topology between computing node, node; Hardware resource data F22; Allocation map relation data F23 comprises functional module to be mapped, mapped computing node, mapping relations.
(6) model and mapped file resolver F6 are used for analytic model and mapped file F7 and obtain every data content corresponding to core data module F5, or data content is stored as model and mapped file F7 by form.
Figure 7 shows that the embodiment of model and mapped file resolver F6, the file type of resolving comprises following one or more: software data stream file F24 is corresponding with the software data flow data F20 of core data module F5; Hardware topology file F25 is corresponding with the hardware topology data F21 of core data module F5; Hardware resource file F26 is corresponding with the hardware resource data F22 of core data module F5; Allocation map relational file F27 is corresponding with the allocation map relation data F23 of core data module F5.
Model and mapped file resolver F6 can also comprise the module data that parsing module library file F28 obtains the software/hardware module library, or the module data of software/hardware module library is saved as module library file F28 by form.
(7) model and mapped file F7 store the file that contains data content, as shown in Figure 7 by form.
And the flow process of this method of the software and hardware system being carried out graphical modeling is as shown in Figure 2, for:
Process starts from step S1, and graphical interface of user F1 loads each device, and is presented in graphical interface of user F1, as shown in Figure 8;
Then enter step S2, load and management module of software and hardware storehouse, the module library that loads is sorted out with catalogue and the form of list shows, prepares to supply the user to call, and the user also can manage operation to the module library that loads;
Step S3, the user selects whether to load existing model.If select to load, access the model of before having drawn, show in the drawing district of graphical interface of user F1 after resolving through model and mapped file resolver F6, then enter step S5, if the user selects not load existing model, enter step S4;
Step S4, the user creates new model, and namely the software/hardware models show of newly-built blank is in the drawing district of graphical interface of user F1;
Step S5, the user revises model, and namely the user to the model that loaded or the newly-built model modelling operability of drawing, revises the model in the district that draws in the district that draws.Fig. 8 has shown the embodiment of step S5, can comprise following one or more operation: operation X1 is placed into the basic module in software module storehouse F29 in software data flow graph drawing district F31 and draws for the data flow diagram model; Operation X2 is encapsulated as the department pattern of data flow diagram model the software composite module and adds in software module storehouse F29; Operation X3 is placed into the composite module in software module storehouse F29 in software data flow graph drawing district F31 and draws for the data flow diagram model; Operation X4 is placed into the basic module in hardware module storehouse F29 in hardware topology figure/resource map drawing district F32 and draws for hardware topology figure/resource map model.Step S5 can also comprise following operation: the department pattern of hardware topology graph model is encapsulated as the hardware composite module and adds in hardware module storehouse F29;
Step S6, user carry out the task allocation map of software program, namely set up the related of software model and hardware model, form software function module F16 to the task allocation map relation of hardware computing node F17.Embodiment as Fig. 8 demonstration, after operation X5 chooses the software basic module of software data process flow diagram for the user, be dragged and dropped on the hardware basic module (expression hardware computing node) of hardware topology figure, expression specifies the basic module assignment of this software to be mapped on this hardware basic module; Operation X6 is that program task allocation map device F4 is presented at the allocation map scheme of user's appointment in allocation map relational result viewing area F33 automatically.Also software can be mapped on the hardware basic module of hardware resource figure basic module assignment in operation X5;
Step S7, preservation model and mapping are about to the software/hardware model of user's drafting and the allocation map scheme of appointment and save as model and mapped file F7.Use Method Modeling process of the present invention to finish.

Claims (4)

1. the method for the graphical modeling of a software and hardware system CAD, is characterized in that, realizes according to the following steps successively in a computing machine:
Step (1) computer initialization
Arrange: the graphical user operation interface, software/hardware module library administration module, model and mapped file parsing module, the drawing MBM, program task allocation map module and core data module, wherein:
The graphical user operation interface, receive user management and module library and use instruction, show switchable software/hardware module library, the software data flow graph is drawn and is distinguished, switchable hardware topology figure, the switchable hardware resource figure district that draws, module and line parameter configuration district and allocation map relational result viewing area, wherein:
Switchable software/hardware module library comprises: several basic modules and several composite modules,
The software data flow graph is drawn and is distinguished, be used for software for drawing data flow diagram model, be software module by using described software/hardware module library and the line instrument between software module draw represent software task with software module, line represents the data communications context between software module, the attribute of the incidental Parametric Representation software module of line and line
Switchable hardware topology figure comprises the hardware topology figure district that draws, and switchable hardware resource figure comprises the hardware resource figure district that draws, wherein
The hardware topology figure district that draws, contain several in order to represent the hardware basic module of hardware computing node, memory node or communication interface, line between the hardware basic module represents the data communication path between described computing node, line incidental Parametric Representation hardware basic module between described hardware basic module and the attribute of line form the hardware topology graph model.
The hardware resource figure district that draws is used for rendering hardware resource map model, and wherein, what the hardware basic module represented is that hardware is in kind, the attribute of hardware material object shown in incidental Parametric Representation,
The user carries out operation associated at software data flow graph model and hardware topology graph model, formed from selected software basic module to the task allocation map table the hardware basic module.
Module and line parameter configuration district, be used between the current hardware basic module of choosing of user, software basic module or hardware basic module, the parameter of the basic intermodule of software is configured, described parameter refers to described incidental parameter separately, comprises parameter name and corresponding parameter value.
Allocation map relational result viewing area shows that described software basic module is to the mapping relations of described hardware basic module.
Software/hardware module library administration module, be provided with software function module storehouse, hardware topology module library and hardware resource blocks storehouse, any one or more function in the search, interpolation, modification, delete function of software basic module, hardware basic module and place catalogue is provided.
the drawing MBM, utilize software basic module software for drawing data flow diagram, utilize hardware basic module rendering hardware topological diagram and hardware resource figure, software basic module and line during the parameter configuration that utilization arranges and sub module stored are distinguished described software data flow graph drawing, and hardware basic module and line that described hardware topology figure hardware resource is drawn in distinguishing configure described incidental parameter, and various results all are presented on described graphical user operation interface in corresponding each switchable drawing district, and for the user, storage or modification, described parameter configuration and sub module stored are kept at result in corresponding parameter configuration files,
program task allocation map module, for the user, a described software basic module and function assignment of allocation thereof are mapped to the man-to-man mapping relations of formation on a described hardware computing node, the described composite module that perhaps more than one software basic module is formed and function assignment of allocation thereof are to same described hardware computing node, form many-to-one mapping relations, be provided with simultaneously communication path Auto-matching submodule and communication mode chooser module, for the user by the own communication mode of selecting the data communication Auto-matching of the basic intermodule of each software to the hardware line between the hardware computing node of specified mapping,
The core data module contains software data flow data, hardware topology data, hardware resource data and allocation map relation data, wherein:
The software data flow data is supported described software data flow graph, comprising: functional module and FPDP thereof, and the communication connection between functional module,
The hardware topology data are supported described hardware topology figure, comprising: the interconnection topology between hardware computing node and each hardware computing node,
The hardware resource data, the data of the hardware resource figure that support drawing model building device is drawn,
The allocation map relation data is supported the allocation map function in described program task allocation map module, comprising: software function module, hardware computing node and mapping relations between the two,
The parsing module of model and mapped file, comprise: software data stream file, hardware topology file, hardware resource file, allocation map relational file, model and mapped file and be used for resolved file one or more of described software/hardware module library, wherein:
The software data stream file, corresponding with the software data flow data of described core data module,
The hardware topology file, corresponding with the hardware topology data of described core data module,
The hardware resource file, corresponding with the hardware resource data of described core data module,
The allocation map relational file, corresponding with the allocation map relation data of described core data module,
Model and mapped file are pressed data content and mapping relations in the specified format described model of storage and mapped file parsing module,
Be used for resolving the file of described software/hardware module library, be used for obtaining the module data of described software/hardware module library, or the module data of described software/hardware module library is saved as the module library file by form;
Step (2) user carries out graphical modeling according to the following steps:
Step (2.1) graphical interface of user loads and shows describedly establishes module in various,
Step (2.2) user loads described software/hardware basic module storehouse, and is classified into tabular form with catalogue and shows, for calling or manage operation,
Step (2.3) judges whether the user proposes to load the request of existing software/hardware model:
If: do not load existing software/hardware model, execution in step (2.4),
If: load existing software/hardware model, call the software/hardware model of before having drawn, after resolving with described model and mapped file parsing module in described graphical interface of user demonstration, execution in step (2.5) then,
Step (2.4), the user creates new software/hardware model, and the software/hardware model of newly-built blank and the correspondence that is presented at described graphical interface of user are drawn in the district, change step (2.5) over to,
Step (2.5), the user according to the following steps in each district that draws of described graphical interface of user to the software/hardware model that loaded or the newly-built software/hardware model modelling operability of drawing:
Step (2.5.1) is placed into the described software data flow graph user software data flow diagram model of drawing in the district to the software basic module in the software module storehouse and draws,
Step (2.5.2) is encapsulated as described software composite module to the part software model of described software data flow graph model on demand and adds in described software module storehouse,
Step (2.5.3) is transferred to the composite module described in step (2.5.2) described software data flow graph and is drawn and be used for the data flow diagram model in the district and draw from described software module storehouse,
Step (2.5.4) is placed into hardware topology figure and hardware resource figure to the hardware basic module in described hardware module storehouse and draws and be used for hardware topology figure in the district and the hardware resource graph model is drawn,
Wherein, described software model refers to software data flow graph model,
Described hardware model refers to hardware topology graph model or hardware resource graph model,
Step (2.6), after the user chooses software basic module in described software data flow graph, be dragged and dropped on the hardware computing node of described hardware topology figure, described program task allocation map module is presented at the allocation map relation that is used to specify in described allocation map relational result viewing area automatically, perhaps is mapped to the basic module assignment of described software on the hardware computing node of hardware resource figure and is presented in described allocation map relational result viewing area.
2. the graphical modeling method of a kind of software and hardware system CAD according to claim 1, is characterized in that, also comprises in step (2.5.4): the part hardware model in described hardware topology figure is encapsulated as the hardware composite module adds in the hardware module storehouse.
3. the graphical modeling method of a kind of software and hardware system CAD according to claim 1, it is characterized in that, in the software/hardware module library, also comprise: the user coordinates the direct modified module of database management tools or management software/hardware module library by system management facility or text editor.
4. the graphical modeling method of a kind of software and hardware system CAD according to claim 1, is characterized in that, in the drawing MBM, also comprises: the user directly revises parameter configuration files by system management facility or text editor.
CN201210592992.2A 2012-12-31 2012-12-31 A kind of method to software and hardware system CAD mathematics library Active CN103123660B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210592992.2A CN103123660B (en) 2012-12-31 2012-12-31 A kind of method to software and hardware system CAD mathematics library

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210592992.2A CN103123660B (en) 2012-12-31 2012-12-31 A kind of method to software and hardware system CAD mathematics library

Publications (2)

Publication Number Publication Date
CN103123660A true CN103123660A (en) 2013-05-29
CN103123660B CN103123660B (en) 2016-03-23

Family

ID=48454635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210592992.2A Active CN103123660B (en) 2012-12-31 2012-12-31 A kind of method to software and hardware system CAD mathematics library

Country Status (1)

Country Link
CN (1) CN103123660B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824621A (en) * 2016-03-11 2016-08-03 深圳航天科技创新研究院 Multi-user concurrent modeling method and system based on embedded software for graphical modeling
CN106777785A (en) * 2017-01-12 2017-05-31 中国人民解放军国防科学技术大学 A kind of mathematics library and analysis method based on time sequence status
CN110287734A (en) * 2019-07-01 2019-09-27 Oppo广东移动通信有限公司 Setting method, device, terminal and the storage medium of secure communication node
CN110555233A (en) * 2019-07-22 2019-12-10 深圳市紫光同创电子有限公司 circuit connection storage method, device and storage medium
CN112989446A (en) * 2021-03-11 2021-06-18 新誉庞巴迪信号系统有限公司 Automatic drawing method and system for target controller cabinet
CN113609627A (en) * 2021-05-24 2021-11-05 交控科技股份有限公司 Line topology design method and device for modular rail transit
CN117011444A (en) * 2023-10-07 2023-11-07 芯动微电子科技(武汉)有限公司 Performance analysis method and system for GPU block rendering

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101303762A (en) * 2008-06-06 2008-11-12 北京四方继保自动化股份有限公司 Method for managing primitive of automatization system based on dynamically loading and plug-in unit technique
CN101582099A (en) * 2008-05-12 2009-11-18 福特汽车公司 Method and system for generating assembly configuration
CN102117361A (en) * 2009-12-31 2011-07-06 达索系统公司 Design of an assembly modeled by a graph
CN102750301A (en) * 2011-12-29 2012-10-24 中国航空工业集团公司第六三一研究所 Blueprint generating method for integrated avionic system model aiming at architecture analysis and design language (AADL) description

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582099A (en) * 2008-05-12 2009-11-18 福特汽车公司 Method and system for generating assembly configuration
CN101303762A (en) * 2008-06-06 2008-11-12 北京四方继保自动化股份有限公司 Method for managing primitive of automatization system based on dynamically loading and plug-in unit technique
CN102117361A (en) * 2009-12-31 2011-07-06 达索系统公司 Design of an assembly modeled by a graph
CN102750301A (en) * 2011-12-29 2012-10-24 中国航空工业集团公司第六三一研究所 Blueprint generating method for integrated avionic system model aiming at architecture analysis and design language (AADL) description

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824621A (en) * 2016-03-11 2016-08-03 深圳航天科技创新研究院 Multi-user concurrent modeling method and system based on embedded software for graphical modeling
CN106777785A (en) * 2017-01-12 2017-05-31 中国人民解放军国防科学技术大学 A kind of mathematics library and analysis method based on time sequence status
CN110287734A (en) * 2019-07-01 2019-09-27 Oppo广东移动通信有限公司 Setting method, device, terminal and the storage medium of secure communication node
CN110555233A (en) * 2019-07-22 2019-12-10 深圳市紫光同创电子有限公司 circuit connection storage method, device and storage medium
CN112989446A (en) * 2021-03-11 2021-06-18 新誉庞巴迪信号系统有限公司 Automatic drawing method and system for target controller cabinet
CN112989446B (en) * 2021-03-11 2023-10-20 新誉庞巴迪信号系统有限公司 Automatic drawing method and system for target controller cabinet
CN113609627A (en) * 2021-05-24 2021-11-05 交控科技股份有限公司 Line topology design method and device for modular rail transit
CN113609627B (en) * 2021-05-24 2023-12-22 交控科技股份有限公司 Line topology design method and device for modularized track traffic
CN117011444A (en) * 2023-10-07 2023-11-07 芯动微电子科技(武汉)有限公司 Performance analysis method and system for GPU block rendering
CN117011444B (en) * 2023-10-07 2024-01-02 芯动微电子科技(武汉)有限公司 Performance analysis method and system for GPU block rendering

Also Published As

Publication number Publication date
CN103123660B (en) 2016-03-23

Similar Documents

Publication Publication Date Title
CN103123660B (en) A kind of method to software and hardware system CAD mathematics library
CN106681730B (en) System and method for creating VR content conveniently by common designers
CN103208046A (en) Workflow engine architecture method and system based on interactive dynamic flow diagram
JP2863428B2 (en) Conversational graphics system
CN109636301A (en) Workflow configuration method, system, terminal and the readable storage medium storing program for executing of financial business
CN104915201A (en) Interface generating method and device
CN106062711A (en) Compound controls
CN105743946A (en) Template disposition method and apparatus
CN101111821A (en) Methods, systems, and data models for describing an electrical device
CN110941614A (en) Form generation method and device, electronic equipment and computer readable storage medium
CN106156306A (en) A kind of template rendering intent and device
CN107590592A (en) Job dependence relation method for expressing, operation displaying and dispatch control method and device
CN111666100A (en) Software framework generation method and device, electronic equipment and storage medium
CN104063231A (en) Test resource rapid access method based on HIT-TENA
CN106415416A (en) Rendering software
CN101685395A (en) Object property processing method of product data management system
CN111078782A (en) Industrial big data visualization system and method
CN114282029A (en) Primitive management method and device, electronic equipment and storage medium
CN112256163B (en) Screen configuration method, device and system for spliced display screen
US11797719B2 (en) Dynamic preview generation in a product lifecycle management environment
JP6520029B2 (en) INFORMATION PROCESSING SYSTEM, PRODUCTION LINE MODEL GENERATING METHOD, AND PROGRAM FOR THE SAME
JP2006338134A (en) Method and system for managing facility data
US7477251B2 (en) System for acquiring profile information from three-dimensional profile data, its method and computer software program
CN117113313B (en) Authority management method and device
JPH09330215A (en) Program editing method

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Tang Jun

Inventor after: Tang Xiaowei

Inventor after: Wei Wen

Inventor after: Li Ning

Inventor before: Tang Jun

Inventor before: Tang Xiaowei

Inventor before: Luo Jun

Inventor before: Wei Wen

Inventor before: Jian Fusheng

Inventor before: Li Ning