[go: up one dir, main page]

CN101782848B - Simulation software interface integrating method - Google Patents

Simulation software interface integrating method Download PDF

Info

Publication number
CN101782848B
CN101782848B CN2009100209660A CN200910020966A CN101782848B CN 101782848 B CN101782848 B CN 101782848B CN 2009100209660 A CN2009100209660 A CN 2009100209660A CN 200910020966 A CN200910020966 A CN 200910020966A CN 101782848 B CN101782848 B CN 101782848B
Authority
CN
China
Prior art keywords
simulation software
software
integrated
simulation
adapter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009100209660A
Other languages
Chinese (zh)
Other versions
CN101782848A (en
Inventor
刘更
杨小辉
王海伟
韩冰
吴立言
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Northwestern Polytechnical University
Original Assignee
Northwestern Polytechnical University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Northwestern Polytechnical University filed Critical Northwestern Polytechnical University
Priority to CN2009100209660A priority Critical patent/CN101782848B/en
Publication of CN101782848A publication Critical patent/CN101782848A/en
Application granted granted Critical
Publication of CN101782848B publication Critical patent/CN101782848B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

一种仿真软件界面集成方法,其通过Eclipse环境的RCP插件形成集成软件平台,然后,部署仿真软件服务器,在集成软件平台中通过Agent Web Services客户端调用仿真软件服务器上的Agent Web Services服务器端,最后,嵌入仿真软件界面。本发明解决了背景技术中本地界面集成仿真软件时不能实现嵌入窗口与父窗口间的联动;远程仿真软件界面集成时操作费时、繁琐,不能共享指定仿真软件运行窗口,无法将远程桌面或远程仿真界面嵌入到本地软件中的技术问题。本发明具有通用性,可集成各类仿真软件界面,可实现数据关系定义和仿真软件的顺序启动,远程仿真软件界面集成具有跨操作系统和跨编程语言的特点。

Figure 200910020966

A kind of emulation software interface integration method, it forms integrated software platform by the RCP plug-in of Eclipse environment, then, deploy emulation software server, call the Agent Web Services server end on the emulation software server by Agent Web Services client end in the integrated software platform, Finally, embedding the simulation software interface. The invention solves the problem that the linkage between the embedded window and the parent window cannot be realized when the local interface is integrated with the simulation software in the background technology; the operation is time-consuming and cumbersome when the remote simulation software interface is integrated, and the specified simulation software running window cannot be shared, and the remote desktop or remote simulation cannot be integrated. Technical issues with interfaces embedded in native software. The invention has universality, can integrate various simulation software interfaces, can realize data relation definition and sequential startup of simulation software, and the remote simulation software interface integration has the characteristics of crossing operating systems and cross programming languages.

Figure 200910020966

Description

Simulation software interface integrating method
Technical field
The present invention relates to a kind of simulation software interface integrating method.
Background technology
When the integrated emulation software of local interface, can utilize different Windows api functions, be generally to use Move Window function, but the method can not realize embedding the interlock between window and parent window.
Carry out the remote emulation software interface when integrated, can use VNC(Virtual Network Computing, virtual network is calculated) technology, but use separately VNC technology access remote emulation software interface to there is following shortcoming:
(1) each connection all will be inputted username and password, complex operation.
(2) before using VNC, need the manual configuration attribute, time-consuming and complex operation.
(3) what share is whole desktop, can not share and specify the simulation software human window.
(4) although can realize that remote interface arrives local connection, can not realize remote desktop is embedded in local software.
The Windows Terminal Services that the method for existing access remote interface also has Microsoft to start to provide from Windows 2000 Server, claim again remote terminal service, is called for short WTS.But there is following shortcoming when integrated carrying out the remote emulation software interface:
(1) WTS can realize that remote interface arrives local connection, but can not realize the remote emulation interface is embedded among local software.
(2) what use WTS to share is long-range whole desktop, and can not share, specifies the simulation software human window, and which kind of simulation software the basic None-identified of user specifically need to be used.
Summary of the invention
The object of the present invention is to provide a kind of simulation software interface integrating method, can not realize embedding the interlock between window and parent window when it has solved in the background technology local interface integrated emulation software; When the remote emulation software interface is integrated during operating cost, loaded down with trivial details, can not share and specify the simulation software human window, remote desktop or remote emulation interface can't be embedded into to the technical matters in local software.
Technical solution of the present invention is as follows:
A kind of simulation software interface integrating method, the method comprises following performing step:
(1) form the integrated software platform: the RCP(Rich Client Platform that utilizes the Eclipse environment) plug-in unit forms the integrated software platform, and this integrated software platform comprises SWT(Standard Widget Toolkit) plug-in unit and Agent Web Service client;
(1.1) utilize the RCP plug-in unit of Eclipse environment to form the integrated software platform, on this integrated software platform, by the view mode, provide software integrated region view;
(1.2) to simulation software, carry out integrated;
(2) dispose the simulation software server: comprise the installation of Web service acting server end, simulation software adapter (adapter) and simulation software;
(3) call the Web service acting server end on the simulation software server by the Web service agent client in the integrated software platform;
(4) embed simulation software interface.
Web service acting server end in above-mentioned steps (3) can adopt WCF to realize; The api interface that described Web service acting server end provides is Start (String adapter (adapter) Name, Dictionary params, int step); Call the Web service acting server end on the simulation software server by the Web service agent client in described step (3) in the integrated software platform, concrete steps are as follows:
(3.1) the Web service agent client in the integrated software platform dynamically generates the ServicesClient object, and it is Ansys adapter (adapter) that adapter (adapter) Name is set simultaneously, and params is set respectively;
(3.2) by the Start of ServicesClient object reference Web service acting server end;
(3.3) simulation software adapter (adapter), according to (adapter) Name of the adapter in Start and step, calls emulation component, and the operation simulation software.
Adapter in the parameter of above-mentioned Start (adapter) Name refers to the title of simulation software adapter (adapter), corresponding with the simulation software that will start; Described params comprises InputPath, OutputPath, PicturePath, FlowId and TaskId, wherein InputPath is the realistic model file path of input, OutputPath is the realistic model file path of output, the picture path of PicturePath for exporting, FlowId is No. ID of flow process, and TaskId is task No. ID; Described Step refers to the emulation component sign corresponding with simulation software adapter (adapter), and described emulation component is the encapsulation to the simulation software functional module.
Above-mentioned steps (1) is carried out when integrated local emulation software, be that the org.eclipse.swt.internal.Windows.OS class with the SWT plug-in unit is encapsulated the Windows api function on the integrated software platform, the view control of Using API Function interface SetParent SWT plug-in unit is set to be integrated the parent window of simulation software.
Above-mentioned steps (4) is that while embedding the local emulation software interface, concrete steps are as follows:
(4.1) simulation software adapter (adapter) obtains the desktop handle by the GetDesktopWindow method of Windows API, utilize the GetWindow method to carry out hierarchical alterative to all desktop forms, and obtain class name and title name by the SendMessage method; Then, judge and find class name and the title name forms consistent with simulation software fully that the rreturn value of server end using the forms handle of simulation software as Start that Web service is acted on behalf of passes to the Web service agent client of integrated software platform;
(4.2) after the Web service agent client obtains the window handle of simulation software, the platform profit SWT of integrated software plug-in unit call operation system Windows API, utilize the SetParent method that the parent window of simulation software human window is set, the simulation software human window is embedded in the human window of integrated software platform;
(4.3) make to be full of in the view control of SWT plug-in unit by the embedding human window integrated region view by the SendMessage method.
Above-mentioned steps (1) is carried out when integrated remote emulation software, and the integrated software platform comprises the VNC reader; To the integrated of remote emulation software, be with the SWT plug-in unit, the VNC client to be embedded in local integrated region view on the integrated software platform; In described step (2), the deployment of remote emulation software server also comprises the installation of VNC server.
Above-mentioned steps (4) is that while embedding the remote emulation software interface, concrete steps are as follows:
(5.1) simulation software adapter (adapter) obtains the human window title name of simulation software from self configuration file;
(5.2) simulation software adapter (adapter) calls the VNC server to share the simulation software human window;
(5.3) simulation software adapter (adapter) is combined the IP of VNC server place server and VNC server end slogan, as the VNC link information, and returns to the Web service agent client by Start;
(5.4) human window of VNC reader using the VNC client as the integrated software platform of VNC client;
(5.5) the integrated software platform, obtaining the VNC link information of returning by the Web service agent client, afterwards, is resolved this VNC link information, according to IP and the port numbers of the VNC server got, the VNC reader is set;
(5.6) the VNC reader connects the VNC server;
(5.7) the integrated software platform simulation software human window shared the VNC server is embedded into the view control of SWT plug-in unit.
Above-mentioned configuration file is arranged in simulation software adapter (adapter) installation directory, and described configuration file comprises emulation component pathname, simulation software human window title name.
The specific implementation function of above-mentioned steps (5.2) is: System.Diagnostics.Process.Start (configFileName, " sharewindow " "+mainWindowTitle+" " "); Wherein configFileName is for starting the path of VNC server, and mainWindowTitle is the human window title of simulation software.
The present invention has following advantage:
1. the present invention has versatility, can integrated all kinds of simulation software interfaces.
2. because simulation process will relate to a plurality of simulation softwares usually, and start respectively a plurality of simulation softwares while using, need to carry out complicated data relationship definition, boot sequence definition etc.The present invention can realize the sequence starting of data relationship definition and simulation software.
3. when integrated local and remote simulation software interface, the simulation software human window can be embedded in current software platform interface.
4. can realize the interlock of parent window in simulation software human window and integrated software platform.
6. the remote emulation software interface is integrated has cross operating system and across the characteristics of programming language.
7. carry out the remote emulation software interface when integrated, without the input username and password, easy and simple to handle.
8. carry out the remote emulation software interface when integrated, the integrated software platform can configure VNC operation attribute automatically.
9. in remote emulation software interface integrating process, can realize human window to specifying simulation software share and integrated.
The accompanying drawing explanation
The process flow diagram that Fig. 1 is the integrated local emulation software interface of the present invention.
The process flow diagram that Fig. 2 is the integrated remote emulation software interface of the present invention.
Embodiment
The present invention can be integrated into the human window of the various simulation softwares of windows desktop program schema in unified software platform, realizes the simulation software human window of operation Local or Remote in same software platform.
Main performing step of the present invention is as follows:
(1) form the integrated software platform: utilize the RCP plug-in unit of Eclipse environment to form the integrated software platform, this integrated software platform comprises SWT plug-in unit and Agent Web Service client.The present invention possesses the cross-platform characteristic of java application, not only can be integrated in the simulation software of the windows desktop program schema of moving in Windows operating system, can also be integrated in the Linux that moves in Linux and Unix operating system and the simulation software of Unix desktop programs pattern.Specific implementation is:
(1.1) utilize the RCP plug-in unit of Eclipse environment to form the integrated software platform, on this integrated software platform, by the view mode, provide software integrated region view.
(1.2) integrated to local emulation software: the org.eclipse.swt.internal.Windows.OS class with the SWT plug-in unit on the integrated software platform is encapsulated Windows API, and the view control of Using API Function interface SetParent SWT plug-in unit is set to be integrated the parent window of simulation software.Integrated to local emulation software, can adopt different Windows api functions.If, while not realizing the interlock between simulation software window and integrated software platform parent window, also can use Move Window.
(1.3) integrated to remote emulation software: with the SWT plug-in unit, the VNC client is embedded in local integrated region view on the integrated software platform.
(2) dispose the simulation software server:
(2.1) deployment of local emulation software server comprises: the installation of Web service acting server end, simulation software adapter (adapter) and simulation software, it is all standard installation procedures.Web service acting server end and simulation software adapter (adapter) transmit the control message to simulation software, are the interactive interfaces of integrated software platform and simulation software.
(2.2) deployment of remote emulation software server comprises: the installation of Web service acting server end, simulation software adapter (adapter), simulation software and VNC server, it is all standard installation procedures.Web service acting server end and simulation software adapter (adapter) transmit the control message to simulation software, are the interactive interfaces of integrated software platform and simulation software.
(3) no matter call the Web service acting server end on the simulation software server by the Web service agent client in the integrated software platform, be the simulation software server disposition method that adopts Local or Remote, and its concrete mode is:
(3.1) Web service acting server end adopts WCF(Windows Communication Foundation) the technology realization.
(3.2) api interface that Web service acting server end provides is: Start (String adapter (adapter) Name, Dictionary params, int step), and the Start parameter declaration is as follows:
Adapter (adapter) Name: refer to the title of simulation software adapter (adapter), corresponding with the simulation software that will start.
Params: comprise InputPath, OutputPath, PicturePath, FlowId and TaskId; Wherein InputPath is the realistic model file path of input, and OutputPath is the picture path that will export for the realistic model file path of output, PicturePath, and FlowId is flow process No. ID, and TaskId is task No. ID.
Step: be emulation component sign corresponding with simulation software adapter (adapter) in database, emulation component is the encapsulation to the simulation software functional module.
(3.3) the Web service agent client in the integrated software platform dynamically generates the ServicesClient object, and the parameter value of adapter (adapter) Name and params is set.
(3.4) by the Start of ServicesClient object reference Web service acting server end.
(3.5) simulation software adapter (adapter), according to (adapter) Name of the adapter in Start and step, calls emulation component, and the operation Ansys of simulation software.
(4) embed the local emulation software interface, step is as follows:
(4.1) simulation software adapter (adapter) obtains the desktop handle by the GetDesktopWindow method of Windows API, utilize the GetWindow method to carry out hierarchical alterative to all desktop forms, and obtain class name and title name by the SendMessage method.Then, judge and find class name and the title name forms consistent with simulation software fully that the rreturn value of server end using the forms handle of simulation software as Start that Web service is acted on behalf of passes to the Web service agent client of integrated software platform.
(4.2) after the Web service agent client obtains the window handle of simulation software, the platform profit SWT of integrated software plug-in unit call operation system Windows API, utilize the SetParent method that the parent window of simulation software human window is set, thereby the simulation software human window is embedded in the human window of integrated software platform.
(4.3) last, make to be full of in the view control of SWT plug-in unit by the embedding human window integrated region view by the SendMessage method.
(5) embed the remote emulation software interface, step is as follows:
(5.1) simulation software adapter (adapter) obtains the human window title name of simulation software from self configuration file.This configuration file is arranged in simulation software adapter (adapter) installation directory, and configuration file comprises emulation component pathname, simulation software human window title name.
(5.2) simulation software adapter (adapter) calls the VNC server to share the Ansys of simulation software human window, the specific implementation function is: System.Diagnostics.Process.Start (configFileName, " sharewindow " "+mainWindowTitle+" " "), wherein configFileName is for starting the path of VNC server, and mainWindowTitle is the human window title of simulation software.
(5.3) simulation software adapter (adapter) is combined the IP of VNC server place server and VNC server end slogan, as the VNC link information, and returns to the Web service agent client by Start.
(5.4) the integrated software platform comprises VNC client-side program VNC reader, human window that can be using the VNC client as the integrated software platform.
(5.5) the integrated software platform, after obtaining the VNC link information of returning by the Web service agent client, is resolved this VNC link information, according to IP and the port numbers of the VNC server got, the VNC reader is set.
(5.6) the VNC reader connects the VNC server.
(5.7) the integrated software platform simulation software human window shared the VNC server is embedded into the view control of SWT plug-in unit.
Referring to Fig. 1, the Ansys of simulation software comparatively commonly used in engineering analysis of take is arranged on this locality as example, when semi-girder is carried out to statics Analysis, starts union and becomes the concrete implementation step of local simulation software as follows:
(1) form the integrated software platform: utilize the RCP plug-in unit of Eclipse environment to form the integrated software platform, this integrated software platform comprises SWT plug-in unit and Agent Web Service client.
Integrated to local emulation software: the org.eclipse.swt.internal.Windows.OS class with the SWT plug-in unit on the integrated software platform is encapsulated the Windows api function, and the view control of Using API Function interface SetParent SWT plug-in unit is set to be integrated the parent window of simulation software.
(2) deployment of local emulation software server comprises: the installation of Web service acting server end, simulation software adapter (adapter) and the Ansys of simulation software, it is the standard installation procedure.Web service acting server end and simulation software adapter (adapter) transmit the control message to simulation software, are the interactive interfaces of integrated software platform and simulation software.
(3) the Web service agent client in the integrated software platform dynamically generates the ServicesClient object, and it is Ansys adapter (adapter) that adapter (adapter) Name is set simultaneously, and params is set respectively:
InputPath=Project xuanbiliang StaticAnalysis OriginalModelImport, wherein xuanbiliang means that the object of being analyzed is semi-girder, StaticAnalysis means to carry out statics Analysis;
OutputPath=?Project\xuanbiliang\StaticAnalysis\SimulationModel\;
PicturePath=Project\xuanbiliang\StaticAnalysis\SimulationModel\Pic\;
FlowId is that 1, TaskId is 1, and it is 1 that step is set.
(4) by the Start of ServicesClient object reference Web service acting server end.
(5) simulation software adapter (adapter), according to (adapter) Name of the adapter in Start and step, calls emulation component 1, and the operation Ansys of simulation software.
(6) simulation software adapter (adapter) obtains the desktop handle by the GetDesktopWindow method of Windows api function, utilize the GetWindow method to carry out hierarchical alterative to all desktop forms, and obtain class name and title name by the SendMessage method.Then, judge and find class name and the title name forms consistent with the Ansys of simulation software fully, Web service agency's the rreturn value of server end using the forms handle of the Ansys of simulation software as Start, pass to the Web service agent client of integrated software platform.
(7) after the Web service agent client obtains the window handle of the Ansys of simulation software, the Windows api function of the platform profit SWT of integrated software plug-in unit call operation system, utilize the SetParent method that the parent window of the Ansys of simulation software human window is set, thereby simulation software Ansys human window is embedded in the human window of integrated software platform.
(8) last, by the SendMessage method, make to be full of the integrated region view by the human window of embedding forms Ansys in SWT plug-in unit control.
Referring to Fig. 2, it is example that the Ansys of simulation software comparatively commonly used of take in engineering analysis is arranged on remote server, when semi-girder is carried out to statics Analysis, start and the concrete implementation step of integrated remote emulation software as follows:
(1) form the integrated software platform: utilize the RCP plug-in unit of Eclipse environment to form the integrated software platform, this integrated software platform comprises SWT plug-in unit, Agent Web Service client and VNC reader.
Integrated to remote emulation software: with the SWT plug-in unit, the VNC client is embedded in local integrated region view on the integrated software platform.
(2) deployment of remote emulation software server comprises: the installation of Web service acting server end, simulation software adapter (adapter), the Ansys of simulation software and VNC server, it is the standard installation procedure.Web service acting server end and simulation software adapter (adapter) transmit the control message to simulation software, are the interactive interfaces of integrated software platform and simulation software.
(3) the Web service agent client in the integrated software platform dynamically generates the ServicesClient object, and it is Ansys adapter (adapter) that adapter (adapter) Name is set simultaneously, and params is set respectively:
InputPath=Project xuanbiliang StaticAnalysis OriginalModelImport, wherein xuanbiliang means that the object of being analyzed is semi-girder, StaticAnalysis means to carry out statics Analysis;
OutputPath=?Project\xuanbiliang\StaticAnalysis\SimulationModel\;
PicturePath=Project\xuanbiliang\StaticAnalysis\SimulationModel\Pic\;
FlowId is that 1, TaskId is 1, and it is 1 that step is set.
(4) by the Start of ServicesClient object reference Web service acting server end.
(5) simulation software adapter (adapter), according to (adapter) Name of the adapter in Start and step, calls emulation component 1, and the operation Ansys of simulation software.
(6) simulation software adapter (adapter) obtains the human window title name Ansys Multiphsics Utility Menu of the Ansys of simulation software from self configuration file.This configuration file is arranged in simulation software adapter (adapter) installation directory, and configuration file comprises emulation component pathname, simulation software human window title name.
(7) simulation software adapter (adapter) calls the VNC server to share the Ansys of simulation software human window, the specific implementation function is: System.Diagnostics.Process.Start (configFileName, " sharewindow " "+mainWindowTitle+" Ansys Multiphsics Utility Menu " ").Wherein configFileName is for starting the path of VNC server, and mainWindowTitle is the human window title of simulation software.
(8) simulation software adapter (adapter) is combined the IP of VNC server place server and VNC server end slogan 5700, as the VNC link information, and returns to the Web service agent client by Start.
(9) the integrated software platform comprises VNC client-side program VNC reader, human window that can be using the VNC client as the integrated software platform.
(10) the integrated software platform, after obtaining the VNC link information of returning by the Web service agent client, is resolved this VNC link information, according to IP and the port numbers 5700 of the VNC server got, the VNC reader is set.
(11) the VNC reader connects the VNC server.
(12) the integrated software platform simulation software Ansys human window shared the VNC server is embedded into the view control of SWT plug-in unit.
The present invention when integrated, if without the single simulation software interface that appointment is provided, can adopt WTS to replace VNC long-range, and this method can improve the travelling speed of program.

Claims (7)

1.一种仿真软件界面集成方法,该方法包括如下实现步骤:1. A simulation software interface integration method, the method comprising the following implementation steps: (1)形成集成软件平台:利用Eclipse 环境的胖客户端平台RCP插件形成集成软件平台,该集成软件平台包括标准部件工具箱SWT插件和Web服务代理客户端;(1) Form an integrated software platform: use the fat client platform RCP plug-in of the Eclipse environment to form an integrated software platform, which includes a standard component toolbox SWT plug-in and a Web service proxy client; (1.1)利用Eclipse 环境的胖客户端平台RCP插件形成集成软件平台,在该集成软件平台上用视图方式提供软件集成区域视图;(1.1) Use the RCP plug-in of the fat client platform in the Eclipse environment to form an integrated software platform, and provide a view of the software integration area on the integrated software platform in the form of a view; (1.2)对仿真软件进行集成;(1.2) Integrate the simulation software; (2)部署仿真软件服务器:包括Web服务代理服务器端、仿真软件适配器以及仿真软件的安装;(2) Deployment of simulation software server: including installation of Web service proxy server, simulation software adapter and simulation software; (3)在集成软件平台中通过Web服务代理客户端调用仿真软件服务器上的Web服务代理服务器端;所述步骤(3)中的Web服务代理服务器端采用Windows通讯接口WCF实现;所述Web服务代理服务器端所提供的API接口为Start(String 适配器Name,Dictionary params,int Step);所述步骤(3)中的在集成软件平台中通过Web服务代理客户端调用仿真软件服务器上的Web服务代理服务器端,具体步骤如下:(3) In the integrated software platform, call the Web service proxy server on the simulation software server through the Web service proxy client; the Web service proxy server in the step (3) is implemented by using the Windows communication interface WCF; the Web service The API interface provided by the proxy server is Start(String Adapter Name, Dictionary params, int Step); in the step (3), in the integrated software platform, call the Web service proxy on the simulation software server through the Web service proxy client On the server side, the specific steps are as follows: (3.1)集成软件平台中的Web服务代理客户端动态生成ServicesClient对象,同时设置适配器Name为Ansys适配器,分别设置params;(3.1) The Web service proxy client in the integrated software platform dynamically generates the ServicesClient object, and at the same time sets the adapter Name to Ansys adapter, and sets the params respectively; (3.2)通过ServicesClient对象调用Web服务代理服务器端的Start;(3.2) Call the Start of the Web service proxy server through the ServicesClient object; (3.3)仿真软件适配器根据Start中的适配器Name和Step,调用仿真组件,并运行仿真软件;所述Start的参数中的适配器Name是指仿真软件适配器的名称,与所要启动的仿真软件对应;所述的params包括InputPath、OutputPath、PicturePath、FlowId以及TaskId,其中InputPath为输入的仿真模型文件路径,OutputPath为输出的仿真模型文件路径,PicturePath为要输出的图片路径,FlowId为流程的ID号,TaskId为任务的ID号;所述的Step是指与仿真软件适配器对应的仿真组件标识,所述仿真组件是对仿真软件功能模块的封装;(3.3) The simulation software adapter calls the simulation component according to the adapter Name and Step in Start, and runs the simulation software; the adapter Name in the parameter of Start refers to the name of the simulation software adapter, corresponding to the simulation software to be started; The above params include InputPath, OutputPath, PicturePath, FlowId and TaskId, where InputPath is the path of the input simulation model file, OutputPath is the path of the output simulation model file, PicturePath is the path of the image to be output, FlowId is the ID number of the process, and TaskId is The ID number of task; Described Step refers to the emulation component mark corresponding with emulation software adapter, and described emulation component is the encapsulation to emulation software functional module; (4)嵌入仿真软件界面。(4) Embedded simulation software interface. 2.根据权利要求1所述的仿真软件界面集成方法,其特征在于,所述步骤(1)对本地仿真软件进行集成时,是在集成软件平台上用SWT插件的org.eclipse.swt.internal.Windows.OS类对Windows API函数进行封装,调用API函数接口SetParent将SWT插件的视图控件设置为被集成仿真软件的父窗口。2. The simulation software interface integration method according to claim 1, characterized in that, when the step (1) integrates the local simulation software, the org.eclipse.swt.internal of the SWT plug-in is used on the integrated software platform The .Windows.OS class encapsulates the Windows API function, and calls the API function interface SetParent to set the view control of the SWT plug-in as the parent window of the integrated simulation software. 3.根据权利要求2所述的仿真软件界面集成方法,其特征在于,所述步骤(4)是嵌入本地仿真软件界面时,具体步骤如下:3. The simulation software interface integration method according to claim 2, characterized in that, when said step (4) is embedded in a local simulation software interface, the specific steps are as follows: (4.1)仿真软件适配器通过Windows API的GetDesktopWindow方法获得桌面句柄,利用GetWindow方法对所有桌面窗体进行分层迭代,并通过SendMessage方法获取类名和标题名;然后,判断并找到类名和标题名完全与仿真软件一致的窗体,Web服务代理的服务器端将仿真软件的窗体句柄作为Start的返回值,传递给集成软件平台的Web服务代理客户端;(4.1) The simulation software adapter obtains the desktop handle through the GetDesktopWindow method of the Windows API, uses the GetWindow method to perform hierarchical iteration on all desktop windows, and obtains the class name and title name through the SendMessage method; then, judges and finds that the class name and title name are completely consistent with The same form of the simulation software, the server side of the Web service proxy will pass the window handle of the simulation software as the return value of Start to the Web service proxy client of the integrated software platform; (4.2)Web服务代理客户端获得仿真软件的窗口句柄后,集成软件平台利SWT插件调用操作系统Windows API,利用SetParent方法设置仿真软件运行窗口的父窗口,将仿真软件运行窗口嵌入到集成软件平台的运行窗口中;(4.2) After the Web service proxy client obtains the window handle of the simulation software, the integrated software platform uses the SWT plug-in to call the Windows API of the operating system, uses the SetParent method to set the parent window of the simulation software running window, and embeds the simulation software running window into the integrated software platform in the running window of (4.3)通过SendMessage方法使被嵌运行窗口在SWT插件的视图控件中充满集成区域视图。(4.3) Use the SendMessage method to make the embedded running window fill the integrated area view in the view control of the SWT plug-in. 4.根据权利要求1所述的仿真软件界面集成方法,其特征在于,所述步骤(1)对远程仿真软件进行集成时,集成软件平台包括VNC查看器;对远程仿真软件的集成是在集成软件平台上用SWT插件把VNC客户端嵌入本地集成区域视图中;所述步骤(2)中,远程仿真软件服务器的部署还包括VNC服务器的安装。4. The simulation software interface integration method according to claim 1, characterized in that, when the step (1) integrates the remote simulation software, the integrated software platform includes a VNC viewer; the integration of the remote simulation software is done during the integration On the software platform, the SWT plug-in is used to embed the VNC client in the local integration area view; in the step (2), the deployment of the remote simulation software server also includes the installation of the VNC server. 5.根据权利要求4所述的仿真软件界面集成方法,其特征在于,所述步骤(4)是嵌入远程仿真软件界面时,具体步骤如下:5. The simulation software interface integration method according to claim 4, characterized in that, when the step (4) is embedded in the remote simulation software interface, the specific steps are as follows: (5.1)仿真软件适配器从自身配置文件中获取仿真软件的运行窗口标题名;(5.1) The simulation software adapter obtains the title name of the running window of the simulation software from its own configuration file; (5.2)仿真软件适配器调用VNC 服务器以共享仿真软件运行窗口;(5.2) The simulation software adapter calls the VNC server to share the simulation software running window; (5.3)仿真软件适配器把VNC 服务器所在服务器的IP与VNC 服务器端口号进行组合,作为VNC连接信息,并通过Start返回给Web服务代理客户端;(5.3) The simulation software adapter combines the IP of the server where the VNC server is located with the port number of the VNC server as VNC connection information, and returns it to the Web service proxy client through Start; (5.4)VNC客户端的VNC 查看器将VNC客户端作为集成软件平台的运行窗口;(5.4) The VNC viewer of the VNC client uses the VNC client as the running window of the integrated software platform; (5.5)集成软件平台在获得通过Web服务代理客户端返回的VNC连接信息,之后,解析该VNC连接信息,根据获取到的VNC 服务器的IP和端口号设置VNC查看器;(5.5) After obtaining the VNC connection information returned by the Web service proxy client, the integrated software platform parses the VNC connection information, and sets the VNC viewer according to the obtained VNC server IP and port number; (5.6)VNC 查看器连接VNC服务器;(5.6) VNC viewer connects to VNC server; (5.7)集成软件平台把VNC服务器所共享的仿真软件运行窗口嵌入到SWT插件的视图控件。(5.7) The integrated software platform embeds the running window of the simulation software shared by the VNC server into the view control of the SWT plug-in. 6.根据权利要求5所述的仿真软件界面集成方法,其特征在于,所述的配置文件位于仿真软件适配器安装目录中,所述的配置文件包含仿真组件路径名、仿真软件运行窗口标题名。6. The simulation software interface integration method according to claim 5, wherein the configuration file is located in the installation directory of the simulation software adapter, and the configuration file includes the path name of the simulation component and the title name of the running window of the simulation software. 7.根据权利要求6所述的仿真软件界面集成方法,其特征在于,所述步骤(5.2)的具体实现函数为:System.Diagnostics.Process.Start(configFileName, "-sharewindow \"" +mainWindowTitle + "\"");其中configFileName为启动VNC服务器的路径,mainWindowTitle是仿真软件的运行窗口标题。7. The simulation software interface integration method according to claim 6, characterized in that, the specific implementation function of the step (5.2) is: System.Diagnostics.Process.Start(configFileName, "-sharewindow \"" +mainWindowTitle + "\""); where configFileName is the path to start the VNC server, mainWindowTitle is the running window title of the simulation software.
CN2009100209660A 2009-01-19 2009-01-19 Simulation software interface integrating method Expired - Fee Related CN101782848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100209660A CN101782848B (en) 2009-01-19 2009-01-19 Simulation software interface integrating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100209660A CN101782848B (en) 2009-01-19 2009-01-19 Simulation software interface integrating method

Publications (2)

Publication Number Publication Date
CN101782848A CN101782848A (en) 2010-07-21
CN101782848B true CN101782848B (en) 2013-12-04

Family

ID=42522860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100209660A Expired - Fee Related CN101782848B (en) 2009-01-19 2009-01-19 Simulation software interface integrating method

Country Status (1)

Country Link
CN (1) CN101782848B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279892B (en) * 2011-12-21 2016-07-06 大同电力高级技工学校 Simulation run time management server and simulation object thereof find method
CN102609261B (en) * 2012-02-10 2017-07-28 天津市电力公司 The visual view integrated control method of intelligent grid
TWI448968B (en) * 2012-07-30 2014-08-11 Faraday Tech Corp Apparatus of system level simulation and emulation, and associated method
CN106250204B (en) * 2016-07-21 2019-08-13 北京理工大学 A kind of optimizer developing plug method of multidisciplinary optimization simulation software
CN106934136A (en) * 2017-03-02 2017-07-07 西安电子科技大学 The Simulation System of Vibration Test and method of a kind of slender type aircraft
CN112181419B (en) * 2020-12-03 2021-08-31 成都极米科技股份有限公司 Interface generation method and device and storage medium
CN112558903B (en) * 2020-12-09 2023-07-28 北京仿真中心 Distributed simulation model display control system based on components and interaction method
CN114064322A (en) * 2021-11-23 2022-02-18 上海同星智能科技有限公司 Software host construction method, construction system, software host and simulation equipment
CN115499432B (en) * 2022-07-29 2025-09-16 浪潮通信技术有限公司 Household terminal computing power resource management system and computing power resource scheduling method
CN116257218B (en) * 2023-01-13 2024-02-02 华中科技大学 Interface design method and integrated system for statistical analysis software and nuclear energy program
CN117519883B (en) * 2023-11-24 2024-08-27 北京长擎软件有限公司 Web desktop imitation system for server operating system management

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1779645A (en) * 2004-11-23 2006-05-31 北京航空航天大学 The Realization Method of Visual Development System of Assembled Simulation Program
CN1950771A (en) * 2004-05-04 2007-04-18 费舍-柔斯芒特系统股份有限公司 Integrated user interface for process control
CN101216846A (en) * 2008-01-04 2008-07-09 清华大学 A method for visualization and collaborative sharing of simulation data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1950771A (en) * 2004-05-04 2007-04-18 费舍-柔斯芒特系统股份有限公司 Integrated user interface for process control
CN1779645A (en) * 2004-11-23 2006-05-31 北京航空航天大学 The Realization Method of Visual Development System of Assembled Simulation Program
CN101216846A (en) * 2008-01-04 2008-07-09 清华大学 A method for visualization and collaborative sharing of simulation data

Also Published As

Publication number Publication date
CN101782848A (en) 2010-07-21

Similar Documents

Publication Publication Date Title
CN101782848B (en) Simulation software interface integrating method
CN110377438B (en) Routing method, device and system of cross-process communication interface
CN102209111B (en) Open cross-platform system for cloud computing mobile network terminal equipment
US20230308504A9 (en) Method and system of application development for multiple device client platforms
CN102752369B (en) The supplying method of TV applications service and virtual content service platform
CN103237083B (en) A kind of mobile information service resource paradigmatic system and method
CN104615462B (en) Cross-platform Mobile solution generation service end and system
CN111176627A (en) Device and method for separating front end from back end based on micro-service
CN101132413A (en) Reuse Method of ActiveX Component Based on Web Application
CN104007724B (en) A kind of excavator remote failure diagnosis system based on LabVIEW and method
CN113568672B (en) Cloud application startup method, device, electronic device and computer storage medium
CN101155174B (en) Remote subscriber interface service implementing method based on common protocol
MXPA06000106A (en) Web application architecture.
CN117707702A (en) Method and system for realizing online IDE
CN118796252A (en) Cross-platform mobile terminal power station construction management system and implementation method thereof
CN103677854A (en) Design method and design system of OSGI (Open Service Gateway Initiative)-WEB framework applicable to cloud computing environment
CN118656110A (en) Page configuration method and device
CN116599949A (en) Third-party API protocol access method and system based on HTTP protocol
JP2002073585A (en) Debugging support device, debugging support method, and recording medium
CN115061941A (en) Method and device for determining test data of application interface
CN114816358A (en) A service platform development method and device
CN111221524B (en) Method and system for generating front-end module by one key
CN102567003A (en) Method for debugging and realizing services in telecom value added service development environment
CN113791773A (en) Data packaging system, method, storage medium and electronic device
CN117215577A (en) Construction method and system of cross-platform HMI software

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: NORTHWESTERN POLYTECHNICAL UNIVERSITY

Free format text: FORMER OWNER: XIAN YISHENG INFORMATION TECHNOLOGY CO., LTD.

Effective date: 20131018

C41 Transfer of patent application or patent right or utility model
C53 Correction of patent for invention or patent application
CB03 Change of inventor or designer information

Inventor after: Liu Geng

Inventor after: Yang Xiaohui

Inventor after: Wang Haiwei

Inventor after: Han Bing

Inventor after: Wu Liyan

Inventor before: Zhao Jinping

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: ZHAO JINPING TO: LIU GENG YANG XIAOHUI WANG HAIWEI HAN BING WU LIYAN

TA01 Transfer of patent application right

Effective date of registration: 20131018

Address after: 710072 No. 127 friendship West Road, Shaanxi, Xi'an, Northwestern Polytechnical University

Applicant after: Northwestern Polytechnical University

Address before: 324 box 710072, Northwestern Polytechnical University, 127 friendship West Road, Xi'an, Shaanxi

Applicant before: Xian Yisheng Information Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131204

Termination date: 20170119

CF01 Termination of patent right due to non-payment of annual fee