CN110096261A - Embedded system structure design method, device and equipment - Google Patents

Embedded system structure design method, device and equipment Download PDF

Info

Publication number
CN110096261A
CN110096261A CN201910357957.4A CN201910357957A CN110096261A CN 110096261 A CN110096261 A CN 110096261A CN 201910357957 A CN201910357957 A CN 201910357957A CN 110096261 A CN110096261 A CN 110096261A
Authority
CN
China
Prior art keywords
control
embedded system
function
user
creation
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
CN201910357957.4A
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.)
Hangzhou Shanshi Technology Co Ltd
Original Assignee
Hangzhou Shanshi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Shanshi Technology Co Ltd filed Critical Hangzhou Shanshi Technology Co Ltd
Priority to CN201910357957.4A priority Critical patent/CN110096261A/en
Publication of CN110096261A publication Critical patent/CN110096261A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of embedded system structure design method, device and equipment, are related to the technical field of software development, comprising: receive the creation design drawing instruction of user's input;Multiple design drawings of embedded system to be designed are generated according to creation design drawing instruction, include patcicipant's gruop in multiple design drawings into figure, function composition figure, logic composition figure, system function architecture diagram and state diagram;The relationship between multiple design drawings is obtained, and according to relationship, is associated with multiple design drawings;Multiple trigger controls are established for state diagram, multiple trigger controls are associated with state diagram foundation, Simulation Control panel is generated according to multiple trigger controls, so that user passes through the trigger control on clicking operation Simulation Control panel, the operating condition of observation state figure, solves that Embedded System Design difficulty is big, because of design alteration bring fund and the high technical problem of time cost, reach reduction design difficulty, saves the technical effect of time and fund cost.

Description

Embedded system structure design method, device and equipment
Technical field
The present invention relates to technical field of software development, more particularly, to a kind of embedded system structure method, apparatus and set It is standby.
Background technique
Currently, embedded system has become one of hot spot of computer industry, embedded system has penetrated into information The fields such as household electrical appliances, Industry Control, communication-electronics, artificial intelligence equipment.The mechanical knot of intuitive threedimensional model compared with Structure design is different, the research and development object of embedded system be all often it is abstract, therefore the design of embedded system research and develop difficulty compared with Greatly, and in the system research and development later period system words of problems are found, needs to be designed change to embedded system again, and become More quantity is more, because design alteration bring fund and time cost are often also higher.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of embedded system structure method, apparatus and equipment, to alleviate Embedded System Design difficulty is big, because of design alteration bring fund and the high technical problem of time cost.
In a first aspect, the embodiment of the invention provides a kind of embedded system structure design methods, comprising:
Receive the creation design drawing instruction of user's input;
It is instructed according to the creation design drawing, generates multiple design drawings of embedded system to be designed, the multiple design It include patcicipant's gruop in figure into figure, function composition figure, logic composition figure, system function architecture diagram and state diagram;
The relationship between the multiple design drawing is obtained, and according to the relationship, is associated with the multiple design drawing;
Multiple trigger controls are established for the state diagram, the multiple trigger control and the state diagram are established and closed Connection generates Simulation Control panel according to the multiple trigger control, so that user passes through Simulation Control panel described in clicking operation On the trigger control, observe the operating condition of the state diagram.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein institute Stating creation design drawing instruction includes the first instruction and the second instruction, and first instruction describes embedded system to be designed for generating The first kind control of the composition object of system framework, second instruction are closed for generating each connection for forming object of description Second class control of system.
With reference to first aspect, the embodiment of the invention provides second of possible embodiments of first aspect, wherein institute It states and is instructed according to the creation design drawing, generate multiple design drawings of the embedded system to be designed, specifically include:
In the design drawing creation instruction for receiving user's input, the first kind control and described is shown to user Second class control, the first kind control include participant's control, and the second class control includes that participant connects control;
According to user demand, identification meets all participants of the embedded system to be designed of user demand;
Control, which is connected, according to all participants, participant's control and/or the participant generates participant Composition figure.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, wherein institute It states and is instructed according to the creation design drawing, generate multiple design drawings of the embedded system to be designed, specifically include:
In the creation design drawing instruction for receiving user's input, the first kind control and described is shown to user Second class control, the first kind control include system function control, and the second class control includes function connects control;
Determine the system function of the embedded system to be designed;
The function is generated according to the system function, the system function control and/or the function connects control Composition figure.
With reference to first aspect, the embodiment of the invention provides the 4th kind of possible embodiments of first aspect, wherein institute It states and is instructed according to the creation design drawing, generate multiple design drawings of the embedded system to be designed, specifically include:
In the creation design drawing instruction for receiving user's input, the first kind control and described is shown to user Second class control, the first kind control include logic module control, and the second class control includes logic module connection control;
The system function is divided by default principle, determines the logic composition mould of the embedded system to be designed Block;
Control is connected according to the logic comprising modules, the logic module control and/or the logic module to generate Logic composition figure.
With reference to first aspect, the embodiment of the invention provides the 5th kind of possible embodiments of first aspect, wherein institute It states and is instructed according to the creation design drawing, generate multiple design drawings of the embedded system to be designed, specifically include:
In the creation design drawing instruction for receiving user's input, the first kind control and described is shown to user Second class control, the first kind control include port control, and the second class control includes function flow connection control;
Determine the patcicipant's gruop at figure, the interactive relation of the function composition figure and system logic figure;
Control is connected according to the interactive relation, the port control and/or the function flow, generates system function frame Composition.
With reference to first aspect, the embodiment of the invention provides the 6th kind of possible embodiments of first aspect, wherein institute It states and is instructed according to the creation design drawing, generate multiple design drawings of the embedded system to be designed, specifically include:
In the creation design drawing instruction for receiving user's input, the first kind control and described is shown to user Second class control, the first kind control includes status control, and the second class control includes that state conversion control and condition connect Connect control;
Determine the system mode of the embedded system to be designed;
Control is converted according to the system mode, the status control and/or the state, the condition connects control Generate the state diagram.
Second aspect, the embodiment of the present invention also provide a kind of embedded system structure design device, comprising:
Receiving module, for receiving the creation design drawing instruction of user's input;
Design module is generated, for instructing according to the creation design drawing, generates the multiple of embedded system to be designed Design drawing includes patcicipant's gruop in the multiple design drawing into figure, function composition figure, logic composition figure, system function architecture diagram And state diagram;
Relationship module is obtained, for obtaining the relationship between the multiple design drawing, and according to the relationship, described in association Multiple design drawings;
Establish relating module, for establishing multiple trigger controls for the state diagram, by the multiple trigger control with Association is established in the state diagram, Simulation Control panel is generated according to the multiple trigger control, so that user passes through clicking operation The trigger control on the Simulation Control panel, observes the operating condition of the state diagram.
The third aspect, the embodiment of the present invention also provide a kind of embedded system structure design equipment, including memory, processing Device and it is stored in the computer program that can be run on the memory and on the processor, wherein the processor executes Above-mentioned first aspect any method is realized when the computer program.
Fourth aspect, the embodiment of the present invention also provide a kind of computer-readable medium, wherein the computer-readable medium It is stored with computer program, the computer program executes above-mentioned first aspect described in any item sides when being run by processor Method.
The embodiment of the present invention brings following the utility model has the advantages that receiving the creation design drawing instruction of user's input first, and root Multiple design drawings of embedded system to be designed are generated according to creation design drawing instruction, include patcicipant's gruop in multiple design drawings at Figure, function composition figure, logic composition figure, system function architecture diagram and state diagram;Then by obtaining between multiple design drawings Relationship carries out multiple design drawings interrelated;Multiple trigger controls are established for state diagram, by multiple trigger controls and state Figure establishes association, generates Simulation Control panel according to multiple trigger controls, so that user passes through clicking operation Simulation Control panel On trigger control, the design and verifying to embedded system structure may be implemented in the operating condition of observation state figure.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of embedded system structure design method provided in an embodiment of the present invention;
Fig. 2 is a kind of ginseng that embedded system to be designed is generated according to creation design drawing instruction provided in an embodiment of the present invention The flow chart of figure is formed with person;
Fig. 3 is a kind of function that embedded system to be designed is generated according to creation design drawing instruction provided in an embodiment of the present invention The flow chart of figure can be formed;
Fig. 4 is a kind of patrolling according to creation design drawing instruction generation embedded system to be designed provided in an embodiment of the present invention Collect the flow chart of composition figure;
Fig. 5 is provided in an embodiment of the present invention The flow chart of system functional frame composition;
Fig. 6 is a kind of patcicipant's gruop of garden shutdown system provided in an embodiment of the present invention into figure;
Fig. 7 is that a kind of function of garden shutdown system provided in an embodiment of the present invention forms figure;
Fig. 8 is that a kind of logic of garden shutdown system provided in an embodiment of the present invention forms figure;
Fig. 9 is a kind of system function architecture diagram of garden shutdown system provided in an embodiment of the present invention;
Figure 10 is a kind of state diagram of garden shutdown system provided in an embodiment of the present invention;
Figure 11 is a kind of Simulation Control panel schematic diagram of the state diagram of garden shutdown system provided in an embodiment of the present invention.
Specific embodiment
Technical solution of the present invention is clearly and completely described below in conjunction with embodiment, it is clear that described reality Applying example is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, the common skill in this field Art personnel every other embodiment obtained without making creative work belongs to the model that the present invention protects It encloses.
Currently, embedded system has become one of hot spot of computer industry, embedded system has penetrated into information The fields such as household electrical appliances, Industry Control, communication-electronics, artificial intelligence equipment.The mechanical knot of intuitive threedimensional model compared with Structure design is different, the research and development object of embedded system be all often it is abstract, therefore the design of embedded system research and develop difficulty compared with Greatly, and in the system research and development later period system words of problems are found, needs to be designed change to embedded system again, and become More quantity is more, because design alteration bring fund and time cost are often also higher, is based on this, provided in an embodiment of the present invention A kind of embedded system structure method and apparatus method, apparatus and equipment can reduce design difficulty, save time and fund at This.
For convenient for understanding the present embodiment, first to a kind of embedded system structure disclosed in the embodiment of the present invention Design method describes in detail, as shown in Figure 1, may comprise steps of:
Step S1 receives the creation design drawing instruction of user's input;
Specifically, the creation design drawing instruction of user's input may include the first instruction and the second instruction, the first instruction is used In the first kind control for generating the composition object for describing embedded system structure to be designed, the second instruction is each for generating description Form the second class control of the connection relationship of object.
Here, the composition object of embedded system structure can refer to the component in embedded system, describe each group Second class control of the connection relationship of pairs of elephant can refer to connector or connection in embedded system structure between component Line etc..
Step S2 generates multiple design drawings of embedded system to be designed, multiple design drawings according to creation design drawing instruction In include patcicipant's gruop into figure, function composition figure, logic composition figure, system function architecture diagram and state diagram;
Specifically, the patcicipant's gruop for generating embedded system to be designed can at the step of figure according to creation design drawing instruction With as shown in Figure 2, comprising:
Step S201 shows first kind control and the to user in the creation design drawing instruction for receiving user's input Two class controls, first kind control include participant's control, and the second class control includes that participant connects control;
Here, participant's control can be the corresponding graphical symbol of participant, and participant connects control and can be for table The connecting line or bound symbol of connection relationship between participant are stated, illustratively, user can be to participant's control and participant The attribute of connection control is edited, for example, the size that can be changed the control title of participant's control, change participant's control Deng being not particularly limited here.
Here, patcicipant's gruop includes two controls at figure: participant's control connects control with participant;Here, participant All participants that can refer to and directly be interacted outside system with system, illustratively, participant can be people or external system System, participant, which connects control, can express the combination incidence relation between participant.
Step S202, according to user demand, identification meets all participants of the embedded system to be designed of user demand;
Illustratively, user propose design garden shutdown system demand, then participant may include: driver, vehicle, Administrator and sentry box security personnel;
Here, the first step of system architecture design, which can be, identifies the outer institute directly interacted with system of system boundary There is participant, is described using patcicipant's gruop at participant of the figure to embedded system.Patcicipant's gruop can be one kind at figure Structure chart, for express and embedded system to be designed there are the relationships between the object of information exchange and object.
Step S203, according to all participants, participant's control and/or participant connect control generate patcicipant's gruop at Figure.
Here, the corresponding participant's control of participant that will represent the embedded system to be designed identified, passes through participation After person's connection control is associated, the patcicipant's gruop of available embedded system to be designed is at figure.When not having between participant When having connection relationship, then it is not related to the second class control i.e. participant and connects control.It can be cheer and bright at figure by patcicipant's gruop Expression embedded system to be designed patcicipant's gruop at, can if need that participant is added or is changed in research and development Directly to be carried out in patcicipant's gruop in figure, convenient for the design and operation of user.
Specifically, the step of instructing according to creation design drawing, generate the function composition figure of embedded system to be designed may be used also With as shown in Figure 3, comprising:
Step S204 shows first kind control and the to user in the creation design drawing instruction for receiving user's input Two class controls, first kind control include system function control, and the second class control includes function connects control;
Here, system function control can refer to the block diagram for describing system function, function connects control can refer to for The connecting line or connector that system function control is attached, are not particularly limited here.
Step S205 determines the system function of embedded system to be designed;
Here, it is interacted between participant and system by carrying out a series of movement, to realize system requirements, and is carried out The emphasis of system architecture design is it needs to be determined that the function of system forms.Illustratively, determine that the mode of system function can be User is directly defined creation, is also possible to, by identifying user demand, determine system function, here according to user demand It is not particularly limited.
Step S206 is formed according to system function, system function control and/or function connects control systematic function and is schemed.
Here, system function control is attached by function connects control, obtains function composition figure;Here, pass through Function composition figure can create the system function of the embedded system of meet demand.Function composition figure can be a kind of structure chart, use Carry out expression system function, function composition figure mainly includes two controls: system function control and function connects control;System function Figure can the hierarchical relationship between the function and function to system be intuitively described in detail, convenient for user to embedded system Design.
Illustratively, participant's functional diagram can also be established by same mode, specifically, it is first determined participant's function Can, then according to user instructions, participant's functionality controls and participant's function connects control are shown to user, pass through participant's function Control can be connected to be attached participant's functionality controls, obtain participant's functional diagram.
Specifically, according to creation design drawing instruction, the step of generating the logic composition figure of embedded system to be designed, can be with As shown in Figure 4, comprising:
Step S207 shows first kind control and the to user in the creation design drawing instruction for receiving user's input Two class controls, first kind control include logic module control, and the second class control includes logic module connection control;
Step S208 is divided system function by default principle, determines the logic composition of embedded system to be designed Module;
Step S209 connects control according to logic comprising modules, logic module control and/or logic module and generates logic Composition figure.
Here, the logic composition of system is on the basis of system function, by certain principle partition functionality collection, then Definition executes the logic entity of function collection, realizes the work such as function classification recombination, logic entity distribution, is made up of and schemes logic Divide the logic composition of embedded system.Logic composition figure can be a kind of structure chart, close for the composition of expression system function System.Logic, which forms figure, mainly to include two controls: logic module control connects control with logic module.Logic module control It can be and system function is combined, the system decomposition unit of obtain in logic;Logic module connects control can be with Express the hierarchical relationship between logic module control and the hierarchical relationship and each logic module control of system.
Specifically, the step of instructing according to creation design drawing, generate embedded system functional frame composition to be designed can wrap It includes: as shown in connection with fig. 5,
S210: in the creation design drawing instruction for receiving user's input, first kind control and the second class are shown to user Control, first kind control include port control, and the second class control includes function flow connection control;
Here, port control can be added for user for describing system port;Function flow control can be added for user Function flow.Here function flow can refer to the specific implementation for meeting the system function of user demand.
S211: determine patcicipant's gruop at figure, the interactive relation of function composition figure and system logic figure;
Here, determine that patcicipant's gruop at figure, the interactive relation of function composition figure and system logic figure, can specifically refer to and be based on Participant, function composition and the logic that patcicipant's gruop is determined at figure, function composition figure and system logic figure form, and obtain to be designed Interactive relation and resident relationship between each coherent element of embedded system, here it is possible to the integration to multiple design drawings To refer to the reference incidence relation of multiple design drawings, multiple design drawings are combined, illustratively, patrolling in logic composition figure Corresponding one or more function being accomplished that in systems function diagram of module is collected, then one or more functions can be combined Into in corresponding logic module.Specifically here with no restrictions.
S212: control is connected according to interactive relation, port control and/or function flow, generates system function architecture diagram.
Here it is possible to carry out system architecture behavioural analysis by system function architecture diagram.System function architecture diagram can be A kind of topological diagram, for describing the topological relation between the complete logic composition of embedded system to be designed and logic module, function Interactive function stream between distribution and function is the complete static description to system architecture.Illustratively, functional frame composition include with Lower element: system, module, system function, participant, participant's function, module port, port connection and function flow.Functional frame Composition is the complete static description that system is formed and realized.
Specifically, the step of instructing according to creation design drawing, generate the state diagram of embedded system to be designed may include:
In the creation design drawing instruction for receiving user's input, first kind control and the second class control are shown to user, First kind control includes status control, and the second class control includes that state conversion control with condition connects control;
Here, status control can add the control for describing system mode for user;State converts control can be for User completes the control of system mode conversion, and condition connects control can realize the connection relationship of system mode part for user.
Determine the system mode of embedded system to be designed;
Here, the corresponding embedded system to be designed of different user demands is illustratively with different system modes System state may include system closedown state, system standby state, system boot state etc.;
Control is converted according to system mode, status control and/or state, condition connection control generates state diagram.
Here it is possible to connect control life with condition using status control, state conversion control according to determining system mode At the state diagram of embedded system to be designed.
Step S4 establishes multiple trigger controls for system function architecture diagram, and multiple trigger controls and state diagram are established Association generates Simulation Control panel according to multiple trigger controls, so that user passes through the touching on clicking operation Simulation Control panel Send out control, the operating condition of observation state figure.
Here, by state diagram emulation can by the operational process of the intuitive display systems of patterned mode, It illustratively, can be with the conversion in analogue system life cycle between state in which, state and with the movement of conversion, touching Hair control required trigger event and switch condition when can be for analog state figure emulation.Illustratively, according to state Figure emulates process, can be generated with automatic synchronization with the simulation result of sequence diagram form, can further analysis system frame The design of structure whether with meet user demand, and then adjust system architecture until fully meeting system requirements.
The embodiment of the present invention creates multiple design drawings that embedded system to be designed is established in design drawing instruction, packet by user Patcicipant's gruop is included into figure, function composition figure, logic composition figure, system function architecture diagram and state diagram, state diagram is emulated Verifying, the design of embedded system to be designed can be carried out by way of generating design drawing, design difficulty is effectively reduced, passes through Emulation to system function architecture diagram can be researched and developed in embedded system and be found the problem early period, can be with effectively save time cost And fund cost.
Embedded system structure design method provided by the invention can according to embedded system user demand according to design Process constructs the logic composition, function composition and system architecture of system.In the system architecture design phase, can be joined by establishing Figure, function composition figure, logic composition figure, system function architecture diagram and the design method of state diagram are formed, it can be achieved that design with person Data visualization carries out the emulation of state diagram, to realize that the early stage of user demand tests finally in such a way that dynamic simulation executes Card helps avoid more problem occur during system research and development later period especially system operation, needs to set system architecture Meter is constantly changed, and brings higher time cost and fund cost.
Below as an example with garden shutdown system, embedded system structure provided in an embodiment of the present invention is discussed in detail to set Meter method.
1, participant is identified
According to user demand and system usage scenario, all participants outside garden shutdown system boundary are identified, participate in Person includes: driver, vehicle, administrator, sentry box security personnel, is described using patcicipant's gruop at participant of the figure to system.Garden Shutdown system patcicipant's gruop can be as shown in Figure 6 at figure.
2, determine that system function forms
For the use demand for meeting user, garden shutdown system needs to provide a series of function, is made up of and schemes function Subordinate relation between the complete function composition of creation system and function.According to user demand, determine that garden shutdown system needs to have Standby following system function: in-let dimple, access information show, entrance vehicle detection, entrance Car license recognition, control of export, outlet Information shows, exports vehicle detection, outlet Car license recognition, parking information processing and configuration etc. from the background, illustratively, garden parking The function composition figure of system can be as shown in Figure 7, wherein in-let dimple is for controlling whether that allowing vehicle to drive into garden stops; Entrance Car license recognition is used for after allowing vehicle to drive into, and identifies the license plate number of vehicle;Entrance vehicle detection is driven into for detecting The information of vehicles of vehicle;Access information is shown for showing the above-mentioned information of vehicles detected;Likewise, control of export is for controlling Whether system allows vehicle to be driven out to garden, and outlet vehicle detection is used to detect the information of vehicles for the vehicle for being driven out to garden;Outlet information Display is for showing that is detected will be driven out to the information of vehicles of the vehicle of garden;Export Car license recognition outgoing vehicles for identification License plate number;Parking information handles management, such as down time, passway etc. for completing vehicle parking information;Match on backstage Set for carrying out system configuration management to garden shutdown system, for example, setting participant function, change the account, close of administrator Code and permission etc..
3, determine that system logic forms
It is formed according to the system function of garden shutdown system, according to function convergence principle dividing system function collection, and then really Surely the logic entity of function collection is executed.It, can be by the system function of garden shutdown system according to function as described in earlier examples Energy convergence principle is divided into inlet module, vehicle identification module, outlet module and system service module;Illustratively, garden stops The logic composition figure of vehicle system can be as shown in Figure 8, wherein inlet module is by the in-let dimple of system and entrance display function It is polymerize, vehicle identification module is will to export vehicle detection, outlet Car license recognition, entrance vehicle detection and entrance license plate to know Function polymerization has not been carried out, and outlet module is to show control of export and outlet information to have carried out function polymerization, system service mould Block is that backstage configuration and parking information processing have been carried out function polymerization.
4, system function framework is created
Functional frame composition is created, the function in module and function composition figure in figure is formed by reference logic, and pass through The connection relationship for creating the interactive function stream and intermodule between function, can determine the system architecture scheme of system.
Illustratively, by the patcicipant's gruop of above-mentioned creation at figure, function composition figure and logic composition figure, patcicipant's gruop at Participant in figure includes: that driver, vehicle, sentry box security personnel and logic module of the administrator respectively with garden shutdown system are handed over Mutually, the parking management of system is realized;Functional module in function composition figure is respectively corresponding to the logic module in logic composition figure In, participant passes through the function of function stream description system by certain function in port and logic module, in conjunction with above-mentioned example institute Description, the system function architecture diagram of available garden shutdown system can with as shown in figure 9, with described in above example, For the administrator in participant identified according to user demand, administrator has the function of back-stage management, with system service mould Block carries out function flow interaction by port, the system function that backstage configures may be implemented, illustratively, administrator, which can pass through, is The management of system service module progress account number cipher, configuration information and interior vehicle information, the realization of specific garden shutdown system, Here it is not particularly limited.
5, system mode Action logic is defined
According to user's parking demand, it can determine that the system mode of garden shutdown system can be as shown in Figure 10, can wrap Include shutdown, it is standby, booting and backstage setting etc. states, and under standby mode can also include can stop, can not dead ship condition, Parking success status, the states such as parking is failed, vehicle leaves, after determining system mode, and by between creation system mode Transformational relation and connection relationship, can determine the system state diagram of system.
Illustratively, in conjunction with described in above-mentioned example, garden shutdown system in the standby state, is examined by entrance vehicle Survey and entrance Car license recognition, determine that vehicle is garden interior vehicle or external vehicle, in the case where determination is external vehicle, Further determine that in garden whether there is empty parking space, in the case where there is parking stall, be converted to can dead ship condition, here, external vehicle, Empty parking space be standby mode be converted to can dead ship condition condition, here, both can be understood as can be by adding above-mentioned item Part control is realized.
6, system function emulation is carried out based on state diagram
For proofing state figure accuracy and can be visually seen entire Dynamic Execution process, can for state diagram establish emulation Control panel, illustratively, the Simulation Control panel design of the state diagram of garden shutdown system can be as shown in figure 11, emulation control It may include multiple trigger controls on panel processed, trigger control is associated with state diagram, and trigger control may include: that account is close Code, configuration parking stall quantity, typing license plate number and configuring charging rule etc., user can be by clicking the triggering control on control panel Whether part, the corresponding implementing result of observation state figure are reasonable with the design for verifying embedded system to be designed, if to meet user Demand can change design when finding the problem in time.
Corresponding based on above-mentioned embedded system structure design method, the application also proposed a kind of embedded system Architecture design device, comprising:
Receiving module, for receiving the creation design drawing instruction of user's input;
Design module is generated, for instructing according to the creation design drawing, generates the embedded system to be designed Multiple design drawings include patcicipant's gruop in the multiple design drawing into figure, function composition figure, logic composition figure, system function frame Composition and state diagram;
Relationship module is obtained, for obtaining the relationship between the multiple design drawing, and according to the relationship, described in association Multiple design drawings;
Establish relating module, for establishing multiple trigger controls for the state diagram, by the multiple trigger control with Association is established in the state diagram, Simulation Control panel is generated according to the multiple trigger control, so that user passes through clicking operation The trigger control on the Simulation Control panel, observes the operating condition of the state diagram.
Embedded system structure provided by the embodiment of the present invention designs the technical effect of device, realization principle and generation Identical with preceding method embodiment, to briefly describe, apparatus embodiments part does not refer to place, can refer to preceding method embodiment Middle corresponding contents.
The embodiment of the present invention also provides a kind of system architecture design equipment, including memory, processor and is stored in storage On device and the computer program that can run on a processor, wherein processor realizes above-described embodiment when executing computer program Any method.
The embodiment of the present invention also provides a kind of computer-readable medium, wherein calculating is stored on computer-readable medium Machine program executes above-described embodiment any method when computer program is run by processor.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of embedded system structure design method characterized by comprising
Receive the creation design drawing instruction of user's input;
It is instructed according to the creation design drawing, generates multiple design drawings of embedded system to be designed, in the multiple design drawing Including patcicipant's gruop at figure, function composition figure, logic composition figure, system function architecture diagram and state diagram;
The relationship between the multiple design drawing is obtained, and according to the relationship, is associated with the multiple design drawing;
Multiple trigger controls are established for the state diagram, the multiple trigger control are associated with state diagram foundation, root Simulation Control panel is generated according to the multiple trigger control, so that user passes through the institute on Simulation Control panel described in clicking operation Trigger control is stated, the operating condition of the state diagram is observed.
2. embedded system structure design method according to claim 1, which is characterized in that the creation design drawing instruction Including the first instruction and the second instruction, first instruction is for generating the composition object for describing embedded system structure to be designed First kind control, it is described second instruction for generates describe it is each it is described form object connection relationship the second class control.
3. embedded system structure design method according to claim 2, which is characterized in that described to be set according to the creation Meter figure instruction, generates multiple design drawings of the embedded system to be designed, specifically includes:
In the design drawing creation instruction for receiving user's input, the first kind control and described second are shown to user Class control, the first kind control include participant's control, and the second class control includes that participant connects control;
According to user demand, identification meets all participants of the embedded system to be designed of user demand;
According to all participants, participant's control and/or the participant connect control generate patcicipant's gruop at Figure.
4. embedded system structure design method according to claim 2, which is characterized in that described to be set according to the creation Meter figure instruction, generates multiple design drawings of the embedded system to be designed, specifically includes:
In the creation design drawing instruction for receiving user's input, the first kind control and described second are shown to user Class control, the first kind control include system function control, and the second class control includes function connects control;
Determine the system function of the embedded system to be designed;
The function composition is generated according to the system function, the system function control and/or the function connects control Figure.
5. embedded system structure design method according to claim 2, which is characterized in that described to be set according to the creation Meter figure instruction, generates multiple design drawings of the embedded system to be designed, specifically includes:
In the creation design drawing instruction for receiving user's input, the first kind control and described second are shown to user Class control, the first kind control include logic module control, and the second class control includes logic module connection control;
The system function is divided by default principle, determines the logic comprising modules of the embedded system to be designed;
Control, which is connected, according to the logic comprising modules, the logic module control and/or the logic module generates logic Composition figure.
6. embedded system structure design method according to claim 2, which is characterized in that described to be set according to the creation Meter figure instruction, generates multiple design drawings of the embedded system to be designed, specifically includes:
In the creation design drawing instruction for receiving user's input, the first kind control and described second are shown to user Class control, the first kind control include port control, and the second class control includes function flow connection control;
Determine the patcicipant's gruop at figure, the interactive relation of the function composition figure and system logic figure;
Control is connected according to the interactive relation, the port control and/or the function flow, generates system function framework Figure.
7. embedded system structure design method according to claim 2, which is characterized in that described to be set according to the creation Meter figure instruction, generates multiple design drawings of the embedded system to be designed, specifically includes:
In the creation design drawing instruction for receiving user's input, the first kind control and described second are shown to user Class control, the first kind control includes status control, and the second class control includes that state conversion control connects control with condition Part;
Determine the system mode of the embedded system to be designed;
Control is converted according to the system mode, the status control and/or the state, condition connection control generates The state diagram.
8. a kind of embedded system structure designs device characterized by comprising
Receiving module, for receiving the creation design drawing instruction of user's input;
Design module is generated, for instructing according to the creation design drawing, generates multiple designs of embedded system to be designed Scheme, includes that patcicipant's gruop is schemed at figure, function composition, logic forms figure, system function architecture diagram and shape in the multiple design drawing State figure;
Relationship module is obtained, for obtaining the relationship between the multiple design drawing, and according to the relationship, is associated with the multiple Design drawing;
Establish relating module, for establishing multiple trigger controls for the state diagram, by the multiple trigger control with it is described Association is established in state diagram, generates Simulation Control panel according to the multiple trigger control, so that user passes through described in clicking operation The trigger control on Simulation Control panel, observes the operating condition of the state diagram.
9. a kind of embedded system structure designs equipment, including memory, processor and it is stored on the memory and can be The computer program run on the processor, which is characterized in that the processor is realized when executing the computer program State the described in any item methods of claim 1 to 7.
10. a kind of computer-readable medium, which is characterized in that the computer-readable medium storage has computer program, described Method described in any one of the claims 1 to 7 is executed when computer program is run by processor.
CN201910357957.4A 2019-04-29 2019-04-29 Embedded system structure design method, device and equipment Pending CN110096261A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910357957.4A CN110096261A (en) 2019-04-29 2019-04-29 Embedded system structure design method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910357957.4A CN110096261A (en) 2019-04-29 2019-04-29 Embedded system structure design method, device and equipment

Publications (1)

Publication Number Publication Date
CN110096261A true CN110096261A (en) 2019-08-06

Family

ID=67446465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910357957.4A Pending CN110096261A (en) 2019-04-29 2019-04-29 Embedded system structure design method, device and equipment

Country Status (1)

Country Link
CN (1) CN110096261A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070129931A1 (en) * 2005-12-05 2007-06-07 Lee Ji H Apparatus and method for supporting prototype development of embedded system
CN103048929A (en) * 2012-12-25 2013-04-17 中南大学 Visualization process control real-time simulation method based on matrix laboratory (MATLAB) engine
CN105022288A (en) * 2015-08-13 2015-11-04 杭州杉石科技有限公司 Simulation system of industrial electronic embedded system
CN108037970A (en) * 2017-12-07 2018-05-15 中国航空无线电电子研究所 Build the instrument and its method of civil aircraft cockpit man-machine interface rapid prototyping

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070129931A1 (en) * 2005-12-05 2007-06-07 Lee Ji H Apparatus and method for supporting prototype development of embedded system
CN103048929A (en) * 2012-12-25 2013-04-17 中南大学 Visualization process control real-time simulation method based on matrix laboratory (MATLAB) engine
CN105022288A (en) * 2015-08-13 2015-11-04 杭州杉石科技有限公司 Simulation system of industrial electronic embedded system
CN108037970A (en) * 2017-12-07 2018-05-15 中国航空无线电电子研究所 Build the instrument and its method of civil aircraft cockpit man-machine interface rapid prototyping

Similar Documents

Publication Publication Date Title
CN107942720A (en) A kind of online flight Simulation System of portable type ground
CN106154865B (en) Vehicle-mounted bus simulation model self-generation method and system
CN105137943B (en) A kind of micro-hybrid system integration control device
Navarre et al. A tool suite for integrating task and system models through scenarios
CN107632845B (en) Integrated knowledge cloud service method and system for multi-axis milling of runner blade
CN101504688B (en) HLA based simulation software interaction method
CN102306223A (en) High level architecture (HLA) technology-based ship gas turbine device integrated simulation platform and implementation method thereof
CN110245409A (en) A kind of software reliability simulating analysis based on virtual reality and complex network
CN111767031A (en) Nuclear power industry internet experiment bed based on emulation
CN112052607A (en) Intelligent penetration testing method and device for power grid equipment and system
CN105429130B (en) Micro-capacitance sensor simulating experimental system and method based on RTDS and dSPACE
CN106168993A (en) Electrical network real-time simulation analysis platform
CN202694145U (en) Test system of main control board
CN106682323B (en) A kind of converting system and its method that framework model is converted to Dynamic Simulation Model
CN103576667B (en) Method, device and system for testing main control board
CN110096261A (en) Embedded system structure design method, device and equipment
Deng et al. A model of large-scale Device Collaboration system based on PI-Calculus for green communication
Cao et al. Research on VISSIM-MATLAB integrated traffic simulation platform based on COM interface technology
CN115622899A (en) Multi-mode intelligent network simulator architecture and simulation test method
CN104239630A (en) Simulation scheduling system for supporting test design
CN112859643A (en) Physical system simulator and construction method thereof
Jinghong et al. An overview on cyber-physical systems of energy interconnection
Šindelář et al. Framework for simulation integration
Faconti et al. Continuous interaction with computers: issues and requirements.
CN106055755A (en) Distribution grid and transmission grid collaborative real-time digital simulation method

Legal Events

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

Application publication date: 20190806

RJ01 Rejection of invention patent application after publication