A SCADE display and control component rapid prototyping method, device and electronic equipment

By analyzing the input and output ports and dependencies of display and control components, automatically importing display and control components and generating simulation applications in batches, and using visual configuration logic and data transmission, the problems of complex dependencies between display and control components and low simulation efficiency are solved, and rapid prototyping is achieved.

CN113987780BActive Publication Date: 2025-10-10NANJING XINCHUANHUI ELECTRONIC TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111237529.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-22
Publication Date
2025-10-10
Estimated Expiration
2041-10-22

AI Technical Summary

Technical Problem

The dependencies between display and control components in the SCADE system are complex, which leads to high difficulty in component reuse, inflexible configuration of stimulus data transmission, and low simulation efficiency in multi-display scenarios.

Method used

By parsing the input and output ports and dependencies of display and control components, the required components are automatically imported from the library, simulation applications are generated in batches, the control logic is configured in a visual way, and stimulus data is transmitted to control the start and stop of simulation applications and component style adjustment.

Benefits of technology

The operational complexity of the display and control component dependencies is reduced, the flexibility and efficiency of simulation applications are improved, and the simulation effects are closer to actual usage scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113987780B_ABST
    Figure CN113987780B_ABST
Patent Text Reader

Abstract

The application provides a SCADE display control component rapid prototyping design method, device and electronic equipment, and relates to the technical field of virtual environment; the method comprises the following steps: analyzing input and output ports and dependent display control components of the display control component, managing and storing the display control component and the style, automatically importing the display control component required by the human-computer interaction interface from a display control component library; batch generating a simulation application supporting simulation configuration for the display control component; configuring the control logic between the display control components in a visual manner, obtaining and storing simulation configuration data; transmitting excitation data between multiple display control components; and controlling the simulation application. The application automatically imports dependent display control components by using the dependency relationship of the display control component, configures the port connection of the display control component in a visual manner, generates a simulation application in a customized manner, dynamically adjusts during the simulation process, reduces the workload of the operator, and realizes rapid design of the human-computer interaction interface.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of virtual environment, and particularly relates to a SCADE display control component rapid prototyping design method and device and electronic equipment. BACKGROUND

[0002] Industrial simulation can simulate product visual effects and predict product performance, reduce product development process risks, and improve production efficiency, and is an important technology for industrial digital transformation in the era of Industry 4.0. The SCADE system is a simulation software developed by France's Esterel Technologies Co., Ltd. It is a high-safety application development environment, mainly used for the design and simulation of human-computer interaction interfaces in embedded environments, and has a wide range of applications in the fields of aerospace, automotive electronics, etc. In the development process of human-computer interaction interfaces, SCADE uses an engineering approach to management, each project includes a number of display control components and a set of customized styles, and the display control components can present animation effects during simulation. During the development of simulation applications, a batch of display control components will be gradually accumulated, and there may be certain dependency relationships between multiple display control components, making it difficult to use the accumulated display control components in new projects.

[0003] First, the dependency relationship between multiple display control components increases the difficulty of display control component reuse. During the generation of simulation applications using display control components, display control components that are directly or indirectly dependent need to be added to the project, otherwise the simulation application cannot be generated. The current approach is to manually add dependent display control components to the project according to project prompt information, which is relatively cumbersome, and when a display control component depends on multiple display control components, a lot of time is consumed to find the dependent display control components.

[0004] Second, the configuration of excitation data transmission between display control components is not flexible enough. In the SCADE system, display control components include DISPLAY components for display and SUITE components for control, DISPLAY components are displayed on the display in a graphical manner, and SUITE components are used for data processing and operation, the two types of display control components are associated together to complete dynamic simulation. The association method in the SCADE system is to first configure the connection relationship between the input and output ports of multiple display control components, and then generate an application program according to the connection relationship of the input and output ports. This method can integrate multiple display control components, but if the connection relationship between the ports needs to be changed, the configuration file needs to be modified and the simulation application needs to be regenerated, which requires a long waiting time for the operator. The existing connection method displays two ports with a connection relationship in the form of a table, which cannot intuitively display the connection relationship between data in components and is not convenient for operators to modify the connection relationship between ports according to the control logic between components.

[0005] Finally, simulation efficiency is low in scenarios with multiple display and control components and multiple monitors. When simulating multiple display and control components on a monitor, the current approach is to design a new display and control component and make it dependent on multiple display and control components. This approach does not produce ideal simulation results in multi-monitor scenarios. Furthermore, after the simulation starts, it is not possible to add or delete components involved in the simulation, nor is it possible to adjust the style or position of the simulated components. The style, position, and number of display and control components can only be adjusted after the simulation stops, significantly reducing the efficiency of human-computer interaction interface development. Summary of the Invention

[0006] The present invention aims to provide a SCADE display and control component rapid prototyping method, device and electronic equipment to solve the technical problems in the current design of human-computer interaction interfaces, such as the dependency between display and control components, which makes the display and control components complex and difficult to use, the inflexible configuration of incentive data transmission, and the low simulation efficiency in scenarios with multiple display and control components and multiple displays, thereby realizing the rapid design of human-computer interaction interfaces.

[0007] To achieve the above objectives, the present invention proposes the following technical solution: a SCADE display and control component rapid prototyping method, comprising:

[0008] Analyze the input and output ports of the display and control components and the dependent display and control components, manage and store the display and control components and styles, and automatically import the display and control components required for the human-computer interaction interface from the display and control component library;

[0009] Batch generate simulation applications that support simulation configuration for display and control components, including generating simulation applications of various styles of display and control components for display;

[0010] Configure the control logic between display and control components in a visual way, and obtain and store simulation configuration data;

[0011] Transmitting excitation data between multiple display and control components, including from the source output port of any display and control component to the target input port of another display and control component;

[0012] Controlling simulation applications includes starting and stopping the simulation applications, dynamically switching the styles of display and control components, adjusting the positions of display and control components on the display, and storing the style and position data of the display and control components.

[0013] Furthermore, the automatic importing of the display and control components required for the human-computer interaction interface from the display and control component library is to automatically add dependent display and control components according to the dependency relationship of the display and control components.

[0014] Furthermore, the display control component for display includes an SGFX component and an OGFX component;

[0015] The process of generating a simulation application using the SGFX component includes:

[0016] Select the SGFX component; select the style required to generate the component;

[0017] Call the generate code command to obtain the simulation adaptation code and the code generated by the ScadeDisplayKCG software; call the DISPLAY code compilation environment to generate the DISPLAY simulation application;

[0018] The steps for generating a simulation application using the OGFX component are as follows:

[0019] Select the OGFX component; select the style required to generate the component;

[0020] Call the component conversion method to convert the OGFX component into an SGFX component; call the generate code command to obtain the simulation adaptation code and the code generated by ScadeDisplayKCG; call the DISPLAY code compilation environment to generate a DISPLAY simulation application.

[0021] Another embodiment of the present invention is to disclose a SCADE display and control component rapid prototyping device, comprising:

[0022] The display and control management module manages display and control components and styles, and is used to parse the input and output ports of all display and control components and dependent display and control components, and send them to the data storage module;

[0023] An application generation module, used to batch generate simulation applications that support simulation configuration for the display and control components in the display and control management module, including generating simulation applications of various styles of display and control components for display;

[0024] The simulation configuration module is used to configure the control logic between the display and control components in the display and control management module in a visual manner, obtain simulation configuration data, and send it to the data storage module;

[0025] A data transmission module, used to transmit excitation data between multiple display and control components, including transmitting from a source output port of a display and control component to a target input port of another display and control component;

[0026] The prototype design module is used to control the simulation application, including starting and stopping the simulation application, dynamically switching the style of the display and control components, adjusting the position of the components on the display, and sending the style data and position data of the display and control components to the data storage module;

[0027] The data storage module is used to receive and store various types of data sent by the above modules, and support each module to read the stored data.

[0028] Furthermore, the display and control management module automatically adds dependent display and control components according to the dependency relationship of the display and control components; the management style is a management style resource file.

[0029] Furthermore, the application generation module generates simulation control interface code so that the generated simulation application can read the simulation configuration data and control the sending and receiving of the stimulus data according to the simulation configuration data;

[0030] The application generation module generates a configurable display and control component position code so that the generated simulation application can record the position data of the display and control component and move the display and control component to a specified position on the display for display according to the position data when the display and control component is started next time.

[0031] Furthermore, the simulation configuration module graphically displays the display and control components and their input ports and output ports, and supports creating connections between the input ports and output ports of the display and control components, so as to configure the control logic between the display and control components;

[0032] The simulation configuration module creates a simulation function in a graphical manner and supports connecting the input and output ports of the simulation function with the input and output ports of the display and control component to provide simulation excitation data for the display and control component;

[0033] The simulation function includes a fixed value function, a random value function, and a linear growth function.

[0034] Furthermore, the prototype design module controls the start and stop of the simulation application to control the operation of the display and control components in groups, including controlling the start, pause, resume and stop operations of the display and control components.

[0035] Another embodiment of the present invention is to disclose an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the SCADE display and control component rapid prototyping method described above is implemented.

[0036] It can be seen from the above technical solutions that the technical solutions of the present invention have the following beneficial effects:

[0037] The present invention discloses a SCADE display and control component rapid prototyping method, device, and electronic device. The method includes: parsing the input and output ports of the display and control components and dependent display and control components, managing and storing the display and control components and their styles, and automatically importing the display and control components required for the human-computer interaction interface from the display and control component library; batch-generating simulation applications that support simulation configuration for the display and control components, including generating simulation applications with multiple styles of display and control components for display; visually configuring the control logic between the display and control components, and acquiring and storing simulation configuration data; transmitting stimulus data between multiple display and control components, including from the source output port of any display and control component to the target input port of another display and control component; controlling the simulation application, including starting and stopping the simulation application, dynamically switching the style of the display and control component, adjusting the position of the display and control component on the display, and storing the style and position data of the display and control component. The above method enables rapid design of the human-computer interaction interface.

[0038] The present invention automatically introduces dependent display and control components by utilizing the dependency relationships of display and control components, thereby reducing the workload of operators in adding dependent display and control components. By customizing and generating simulation applications, it is no longer necessary to regenerate the application after modifying the display and control component port connection configuration, making the excitation data transmission configuration between simulation applications more flexible. The display and control component port connections are configured in a visual manner, making it easier for operators to view the control logic between display and control components. By dynamically adjusting the number, style, and position of components during the simulation process, the simulation effect is closer to the actual usage scenario, thereby accelerating the development of SCADE display and control component rapid prototyping.

[0039] It should be appreciated that all combinations of the foregoing concepts, as well as additional concepts described in greater detail below, to the extent such concepts are not mutually inconsistent, can be considered to be part of the inventive subject matter of this disclosure.

[0040] The foregoing and other aspects, embodiments, and features of the present invention will be more fully understood from the following description in conjunction with the accompanying drawings. Other additional aspects of the present invention, such as features and / or beneficial effects of the exemplary embodiments, will become apparent from the following description or through practice of specific embodiments according to the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings are not intended to be drawn to scale. In the drawings, each identical or nearly identical component shown in various figures may be represented by the same reference numeral. For the sake of clarity, not every component is labeled in every figure. Embodiments of various aspects of the present invention will now be described by way of example and with reference to the accompanying drawings, in which:

[0042] Figure 1 A flow chart of the design method of the present invention;

[0043] Figure 2It is the overall framework diagram of the device of the present invention;

[0044] Figure 3 Generate a simulation application process for the SGFX component of the present invention;

[0045] Figure 4 Generate a simulation application process for the OGFX component of the present invention;

[0046] Figure 5 Generate a simulation application process for the SUITE component of the present invention;

[0047] Figure 6 It is the simulation configuration interface of the present invention;

[0048] Figure 7 This is a diagram of the physical deployment architecture of the present invention. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings of the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the described embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Unless otherwise defined, the technical terms or scientific terms used herein should be the common meanings understood by people with ordinary skills in the field to which the present invention belongs.

[0050] The words "first", "second" and similar terms used in the patent application specification and claims of the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, unless the context clearly indicates otherwise, the singular forms of "a", "an" or "the" and similar words do not indicate a quantity limitation, but rather indicate the presence of at least one. Words such as "include" or "comprises" mean that the elements or objects appearing before "include" or "comprises" cover the features, wholes, steps, operations, elements and / or components listed after "include" or "comprises", and do not exclude the existence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections.

[0051] Based on the technical problems in the prior art of designing human-computer interaction interfaces, such as the dependency relationship between display and control components, which makes the display and control components complex and difficult to use, the inflexible configuration of incentive data transmission between display and control components, and the low simulation efficiency in scenarios with multiple display and control components and multiple displays, the present invention aims to propose a SCADE display and control component rapid prototyping method, device, and electronic device, which automatically introduces dependent display and control components through the dependency relationship of display and control components, configures the port connections of display and control components in a visual manner, and customizes and generates simulation applications at the same time. It dynamically adjusts them during the simulation process, greatly reducing the workload of adding dependent display and control components, realizing the rapid design of human-computer interaction interfaces, making the incentive data transmission configuration between display and control components more flexible, and making the simulation effect closer to the actual usage scenario.

[0052] The SCADE display and control component rapid prototyping method, device, and electronic device disclosed in the present invention will be further specifically introduced below with reference to the embodiments shown in the accompanying drawings.

[0053] Combine Figure 1 In the embodiment shown, the present invention provides a SCADE display and control component rapid prototyping method, comprising the following steps:

[0054] Step S1: parsing the input and output ports and dependent display and control components of all display and control components, managing and storing all display and control components and styles, and automatically importing the display and control components required for the human-computer interaction interface from the display and control component library; wherein automatically importing the display and control components required for the human-computer interaction interface from the display and control component library is to automatically add dependent display and control components according to the display and control component dependency relationship;

[0055] Step S2: Batch generating simulation applications that support simulation configuration for display and control components, including generating simulation applications of various styles of display and control components for display, where the display and control components for display include SGFX components and OGFX components;

[0056] Step S3: configuring the control logic between the display and control components in a visual manner, and obtaining and storing simulation configuration data;

[0057] Step S4: transmitting excitation data between multiple display and control components, including from a source output port of any display and control component to a target input port of another display and control component;

[0058] Step S5: controlling the simulation application, including controlling the start and stop of the simulation application, dynamically switching the style of the display and control component, adjusting the position of the display and control component on the display, and storing the style data and position data of the display and control component.

[0059] According to the above-mentioned SCADE display and control component rapid prototyping method, another embodiment of the present invention discloses a SCADE display and control component rapid prototyping device, combined with Figure 2As shown, the device includes the following program modules:

[0060] The display and control management module manages all display and control component data and all display and control component style data, and is used to parse the input and output ports of all display and control components and dependent display and control components, automatically import the display and control components required for the human-computer interaction interface from the display and control component library, and send them to the data storage module;

[0061] An application generation module, used to batch generate simulation applications that support simulation configuration for the display and control components in the display and control management module, including generating simulation applications of various styles of display and control components for display;

[0062] The simulation configuration module is used to configure the control logic between the display and control components in the display and control management module in a visual manner, obtain simulation configuration data, and send it to the data storage module;

[0063] A data transmission module, used to transmit excitation data between multiple display and control components, including transmitting from a source output port of a display and control component to a target input port of another display and control component;

[0064] The prototype design module is used to control the simulation application, including starting and stopping the simulation application, dynamically switching the style of the display and control components, adjusting the position of the components on the display, and sending the style data and position data of the display and control components to the data storage module;

[0065] The data storage module is used to receive and store various types of data sent by the above modules, and support each module to read the stored data.

[0066] During implementation, the display and control management module automatically adds dependent display and control components according to the display and control component dependency relationships. The algorithm for automatically adding dependent display and control components is as follows: add all display and control components c in the display and control management module M to the to-be-parsed set P; if the to-be-parsed set P is not empty, take out the display and control components c one by one from the to-be-parsed set P, and parse the dependency relationships of the display and control components c to obtain the dependent display and control component set C. d ; If it depends on the display and control component set C d If it is not empty, the dependent display control components c in the collection will be displayed one by one d Whether to make a judgment in the display and control management module M; if there is a dependent display and control component c in the display and control management module M d No processing is done, otherwise query the dependent display control component c in the display control component library Lib d Corresponding file c f , and copy the file c f Add it to the display and control management module M and depend on the display and control component c dThe added dependent display control component is added to the to-be-resolved set P, and when the to-be-resolved set P is empty, the automatic addition of the dependent display control component is completed, otherwise the above-mentioned loop step is repeated until the to-be-resolved set P is empty. The operator does not need to manually add the dependent display control component, and the workload of adding the dependent display control component is significantly reduced.

[0067] The display control management module further comprises management of styles, addition of fonts, colors and other resource files to the display control management module, and combination of different types of resources into a style resource type for management. Table 1 is a style resource type used in the module, and each type of resource corresponds to a file with a specific extension, such as a color resource corresponding to a file extension of "sct". The file "color.sct" can be identified as a color resource type file according to its extension.

[0068] Table 1 Style Resource Type

[0069] Serial number Style resource type File extension 1 Color sct 2 Line width swt 3 Line type sst 4 Texture stt 5 Font sft 6 Gradient sgt

[0070] In implementation, the application generation module supports simulation control interface code generation, so that the generated simulation application can read simulation configuration data and control the sending and receiving of stimulation data according to the simulation configuration data. At the same time, the application generation module supports configurable display control component position code generation, so that the generated simulation application can record the position data of the display control component, and can move the display control component to the specified position on the display for display when the display control component is started next time according to the position data.

[0071] The display control component used in the device designed by the application is the SGFX component and the OGFX component in the DISPLAY component library, and the steps of generating a simulation application by the SGFX component and the OGFX component are different during configuration.

[0072] As shown in Figure 3 , the steps of generating a simulation application by the SGFX component are as follows:

[0073] 1) Select the SGFX component; 2) select the style required for generating the component; 3) call the generation code command to obtain the simulation adaptation code and the code generated by the ScadeDisplayKCG software; 4) call the DISPLAY code compilation environment to generate the DISPLAY simulation application.

[0074] As shown in Figure 4 , the steps of generating a simulation application by the OGFX component are as follows:

[0075] 1) selecting the OGFX component; 2) selecting the style required for generating the component; 3) calling the component conversion method to convert the OGFX component into an SGFX component; 4) calling the generating code command to obtain the simulation adaptation code and the C code generated by ScadeDisplayKCG; 5) calling the DISPLAY code compilation environment to generate the DISPLAY simulation application.

[0076] In addition, the embodiment also discloses steps of generating a simulation application for the SUITE component for control by the application generation module, as shown in the following table: Figure 5

[0077] 1) selecting the SUITE component; 2) calling the generating code command to obtain the simulation adaptation code and the code generated by the KCG software; 3) calling the SUITE code compilation environment to generate the SUITE simulation application. The application generation module is essentially to generate a simulation application by customization, so that the simulation application does not need to be regenerated after the port connection configuration of the display control component is modified, and the excitation data transmission configuration between simulation applications is more flexible.

[0078] In order to realize that the control logic between the display control components is clearly viewed by the operator, the simulation configuration module configures the port connection of the display control component in a visual manner. Specifically, the simulation configuration module supports displaying the display control component and the port thereof in a graphical manner, as shown in the following table: Figure 6

[0079] In order to enhance the efficiency of data transmission between the display control components, the data transmission module supports excitation data transmission of UDP, DDS and other protocols.

[0080] When the display control component is controlled, the prototype design module supports controlling the operation of the display control component in a group unit, and supports starting, pausing, continuing and stopping the operation of the display control component; and supports prototyping on the embedded display, as shown in the following table: Figure 7

[0081] ​​​Based on the same inventive concept as the SCADE display and control component rapid prototyping method in the aforementioned example, the present invention also provides an electronic device; the device includes a memory, a processor, and a computer program stored in the memory and executable on the processor; wherein the memory and the processor are communicatively connected to each other, for example, via a bus or other means; when the processor executes the stored computer program, the execution steps of the SCADE display and control component rapid prototyping method described above are implemented.

[0082] During specific implementation, the electronic device may include one or more processors and memories. The processor is preferably, but not limited to, a central processing unit (CPU), and may also be other forms of processing units with data processing capabilities and / or instruction execution capabilities, and may control other components in the test equipment to perform desired functions. For example, the processor may also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.

[0083] The memory, as a non-transitory computer-readable storage medium, can include one or more computer program products that can be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as the program instructions / modules corresponding to the SCADE display and control component rapid prototyping method in the embodiments of the present invention. The processor executes the non-transitory software programs, instructions, and modules stored in the memory to execute various functional applications and data processing of the processor, thereby implementing a SCADE display and control component rapid prototyping method in the above method embodiments. The memory can include a program storage area and a data storage area, wherein the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created by the processor, etc. In addition, the memory is preferably, but not limited to, high-speed random access memory. For example, it can also be a non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory can optionally include a memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0084] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0085] The present invention is described with reference to flowcharts and / or block diagrams of methods, apparatuses, devices, and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A system that specifies the functions of a box or boxes.

[0086] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction system that is implemented in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0087] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The steps for the function specified in one or more boxes.

[0088] While the present invention has been disclosed above with reference to preferred embodiments, this is not intended to limit the present invention. Persons skilled in the art will readily appreciate that various modifications and variations can be made without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be determined by the claims.

Claims

1. A SCADE display and control component rapid prototyping method, characterized in that: include: Analyze the input and output ports of the display and control components and the dependent display and control components, manage and store the display and control components and styles, and automatically import the display and control components required for the human-computer interaction interface from the display and control component library; Batch generate simulation applications that support simulation configuration for display and control components, including generating simulation applications of various styles of display and control components for display; Configure the control logic between display and control components in a visual way, and obtain and store simulation configuration data; Transmitting excitation data between multiple display and control components, including from the source output port of any display and control component to the target input port of another display and control component; Controlling simulation applications, including starting and stopping simulation applications, dynamically switching the style of display and control components, adjusting the position of display and control components on the display, and storing style and position data of display and control components; The automatic import of the display and control components required for the human-computer interaction interface from the display and control component library is to automatically add dependent display and control components according to the dependency relationship of the display and control components; The display control components for display include SGFX components and OGFX components; The process of generating a simulation application using the SGFX component includes: Select the SGFX component; select the style required to generate the component; Call the generate code command to obtain the simulation adaptation code and the code generated by the ScadeDisplayKCG software; call the DISPLAY code compilation environment to generate the DISPLAY simulation application; The steps for generating a simulation application using the OGFX component are as follows: Select the OGFX component; select the style required to generate the component; Call the component conversion method to convert the OGFX component into an SGFX component; call the generate code command to obtain the simulation adaptation code and the code generated by ScadeDisplayKCG; call the DISPLAY code compilation environment to generate a DISPLAY simulation application.

2. A SCADE display and control component rapid prototyping device, characterized in that: include: The display and control management module manages display and control components and styles, and is used to parse the input and output ports of all display and control components and dependent display and control components, automatically import the display and control components required for the human-computer interaction interface from the display and control component library, and send them to the data storage module; An application generation module, used to batch generate simulation applications that support simulation configuration for the display and control components in the display and control management module, including generating simulation applications of various styles of display and control components for display; The simulation configuration module is used to configure the control logic between the display and control components in the display and control management module in a visual manner, obtain simulation configuration data, and send it to the data storage module; A data transmission module, used to transmit excitation data between multiple display and control components, including transmitting from a source output port of a display and control component to a target input port of another display and control component; The prototype design module is used to control the simulation application, including starting and stopping the simulation application, dynamically switching the style of the display and control components, adjusting the position of the components on the display, and sending the style data and position data of the display and control components to the data storage module; The data storage module is used to receive and store various types of data sent by the above modules, and support each module to read the stored data; The display and control management module automatically adds dependent display and control components according to the dependency relationships of the display and control components; Management style is to manage style resource files; The application generation module generates a simulation control interface code so that the generated simulation application can read the simulation configuration data and control the sending and receiving of the stimulus data according to the simulation configuration data; The application generation module generates a configurable display and control component position code so that the generated simulation application can record the position data of the display and control component and move the display and control component to a specified position on the display for display when the display and control component is next started according to the position data; The simulation configuration module graphically displays the display and control components and their input and output ports, and supports creating connections between the input and output ports of the display and control components to configure the control logic between the display and control components; The simulation configuration module creates a simulation function in a graphical manner and supports connecting the input and output ports of the simulation function with the input and output ports of the display and control component to provide simulation excitation data for the display and control component; The simulation function includes a fixed value function, a random value function, and a linear growth function; The prototype design module controls the start and stop of the simulation application to control the operation of the display and control components in groups, including controlling the start, pause, continue and stop operations of the display and control components.

3. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for rapid prototyping of a SCADE display and control component as claimed in claim 1 is implemented.

Citation Information

Patent Citations

  • UI management subsystem of avionics simulation test platform

    CN112286512A