CN102137162B - CAD (Computer Aided Design) integrated system based on mode of software used as service - Google Patents

CAD (Computer Aided Design) integrated system based on mode of software used as service Download PDF

Info

Publication number
CN102137162B
CN102137162B CN 201110068776 CN201110068776A CN102137162B CN 102137162 B CN102137162 B CN 102137162B CN 201110068776 CN201110068776 CN 201110068776 CN 201110068776 A CN201110068776 A CN 201110068776A CN 102137162 B CN102137162 B CN 102137162B
Authority
CN
China
Prior art keywords
cad
module
web
service
server
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
CN 201110068776
Other languages
Chinese (zh)
Other versions
CN102137162A (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.)
Shanghai Jiaotong University
Original Assignee
Shanghai Jiaotong 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 Shanghai Jiaotong University filed Critical Shanghai Jiaotong University
Priority to CN 201110068776 priority Critical patent/CN102137162B/en
Publication of CN102137162A publication Critical patent/CN102137162A/en
Application granted granted Critical
Publication of CN102137162B publication Critical patent/CN102137162B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a CAD (Computer Aided Design) integrated system based on a mode of software used as service, belonging to the technical field of computer application. The CAD integrated system based on the mode of software used as service comprises a client agent module, a Web server module, a CAD agent server module and a resource management module, wherein the client agent module is embedded into a client browser in a mode of plug-in and is communicated with the Web server module, the Web server module and the CAD agent server module are background servers of the system, the Web server module is communicated with the CAD agent server module, and the resource management module processes data generated by the Web server module and the CAD agent server module, distributes calculation resources of the servers, stores an Auto CAD execution result and client information and manages CAD data and CAD state information generated when processing is requested. With the adoption of the invention, the functions and a programming interface of the AutoCAD are encapsulated and abstracted to form Web service, thereby the traditional CAD use mode is changed, and the problems existing in the CAD system are efficiently solved.

Description

Be the CAD integrated system of service mode based on software
Technical field
What the present invention relates to is the device in a kind of Computer Applied Technology field, specifically is a kind of CAD (computer aided design, computer-aided design) integrated system based on SaaS (software as a service, software is namely served) pattern.
Background technology
Based on network cad technique is to utilize network and deriving technology thereof, collaborative working method makes the product design rational and orderly by distributing, design and data are extensively optimized, design resource and information model are extensively shared, thereby guarantee high-performance, high-quality, low cost and the short period of CAD product.The research of domestic and international CAD system Network Based mainly concentrates on CAD resource-sharing aspect and the integrated direction of CAD system under Collaborative Design Based on Internet and the network environment.Along with development and the maturation of Web technology, become a new research direction gradually based on the CAD system of Web.The Web technology can provide far-end CAD to calculate and design tool with CAD system effective connections different on the geography together, and isomery service in strange land is in order to improve the mode of operation of remote design.At present most CAD systems based on Web are to pay close attention between CAD resource-sharing under Collaborative Design Based on Internet, the distributed environment and the CAD system and CAD and CAM system integrated equally.Collaborative Design Based on Internet is namely paid close attention to the collaborative design ability that realizes each user in the WebCAD system; CAD designs resource-sharing, i.e. the data of Web CAD system storage and data sharing; CAD system and CAM or other CAD systems integrated.
AutoCAD is present popular CAD software widely, has powerful graphing capability, takies important effect in the computer-aided design of industries such as building, machinery, electronics, light industry.Development along with the Internet technology, CAD software has also run into many problems, the one, along with the CAD software function from strength to strength, what itself also became gradually becomes increasingly complex, use cost is also more and more higher, brought more and more heavier burden to the user, comprising the upgrade cost of software and hardware.The 2nd, CAD software is only supported the Windows system, then needs the CAD system for each platform development particular version if will realize support to all platforms, and this has increased software development cycle and difficulty undoubtedly.The 3rd, CAD software is just paid close attention to local the processing, and the resource information between the user all disperses to isolate among each custom system, and the resource between the user can not realize sharing efficiently and effectively.
Based on above background context, find through the retrieval to prior art, existing correlative study concentrates on the collaborative design of CAD and the networking of CAD system realizes, as Fuh, J.Y.H., Li, W.D.Advances in collaborative CAD:the-state-of-the art[J]. (advantage of CAD associated treatment) (Computer Aided Design vol.37, no.5; 571-81.2005); System described in " based on the figure CAD networked coordination design framework of Web service " (computer integrated manufacturing system 2005.5) has similar architecture to system of the present invention: all be to be its scheduling core with Web server, utilize certain CAD system as its service driving device on the backstage, all need to pay close attention to the Web server system at server.But the main purpose of design of above-mentioned two systems is to set up the collaborative design framework of CAD system, and its focal point is to solve the concentrated design conflicts problem in the CAD collaborative design, exchanges the correct and stable of collaborative design for certain efficient and space.System of the present invention then mainly is encapsulation and the simulation to the CAD system function, mainly pays close attention to the backstage CAD system for the execution efficient of client requests and the concurrent processing ability of a large number of users.
A Web-based CAD system. (CAD System Based on Network) (Journal of Materials Processing Technology 139 (2003) 229-232) has wherein put down in writing a kind of system that lays particular emphasis on the processing of 3-D view, the transmission image is bigger but this technology exists, the problem that efficiency of transmission has much room for improvement.For improving the graph image efficiency of transmission between client and the server, when generating picture by AutoCAD, can select less relatively picture format, and adopt the incremental transmission pattern to improve efficiency of transmission to graphic file.
Summary of the invention
The present invention is directed to the prior art above shortcomings, providing a kind of is the CAD integrated system of service mode based on software, function and the DLL (dynamic link library) of AutoCAD are encapsulated the abstract Web service that is, change traditional CAD and use pattern, effectively solved the existing above problem of CAD system.
The present invention is achieved by the following technical solutions, the present invention includes: customer's representative's module, the Web server module, CAD proxy modules and resource management module, wherein: customer's representative's module is embedded in the client browser with the form of plug-in unit, customer's representative's module realize with the Web server module between communicate by letter, Web server module and CAD proxy modules are the background server of system, the Web server module realize with the CAD proxy modules between communicate by letter, resource management module realizes handling the data of Web server and the generation of CAD acting server, the server computational resource is distributed, cad data and CAD state information that storage AutoCAD execution result and customer information and management request produce when handling.
Described customer's representative's module comprises: interface management unit and Web service counterfoil, wherein: interface management Single Component Management user interface, receive user's output, the server return results is carried out respective handling,
Described Web server module schedules service request also realizes communicating with backstage CAD acting server, this Web server module comprises the Web service scheduler module, session management module and customer management module, wherein: the Web service scheduler module links to each other with customer's representative's module and realizes receiving and the dispatching client service request, the balance server load is also handled concurrent user's visit, session management module links to each other with the CAD proxy service module and realizes setting up according to client-requested, safeguard and cancel session, customer management module realizes access control and the authentication of administrative client.
Described CAD acting server comprises: driven management unit and CAD scheduling controlling unit, wherein: driven management unit and CAD scheduling controlling unit cooperatively interact as the front and back end of acting server respectively and provide back-office support for Web server, the realization management of driven management unit is communicated by letter with the Web server module, the request that reception passes over via session, according to execution result and the corresponding intermediate data in request call corresponding CAD access controller execution request and the processing CAD access controller, CAD scheduling controlling unit is realized by one group of server background process or thread, the concrete visit for the AutoCAD process of com interface control by AutoCAD, the request of client is converted into actual CAD operation, realizes that long-range CAD calls.
Described resource management module distributes the server computational resource with the form of AutoCAD process, cad data and CAD state information that storage CAD execution result and customer information and management request produce when handling.
The present invention carries out work in the following manner: by CAD proxy modules encapsulation CAD access interface, the function that the Web server module provides according to the CAD access interface, the DLL (dynamic link library) of CAD system is carried out the Web encapsulation, form WSDL (WSDL) interface document, and use for customer's representative's module to client's issuing interface file.Be bridge with the Web service between the client and server, communicate by the SOAP information that comprises in the http protocol; Also adopt the client/server structure between Web server module and the CAD proxy modules, be about to the CAD proxy modules and hold as server, for the Web server module provides the backstage service, realize the CAD access process.Adopt the server architecture of this two-stage, be conducive to the expansion of server end, be easy to realize the load balance of server end; Service end for each client sets up corresponding agency service program respective handling is carried out in the request from customer's representative's module, as new client's registration, the operation requests of handling registered client and client's cancellation etc.Server is registered in session manager and CAD proxy modules for each client and according to the different respective handling of carrying out of request.
Native system structurally initiative proposition is applied to the AutoCAD system with the SaaS pattern, DLL (dynamic link library) to AutoCAD encapsulates, adopt the DLL (dynamic link library) of Web service technology encapsulation AutoCAD, and serve as to classify to the Web service technology and abstractly become corresponding serve port in the basis with the basic function of AutoCAD, by the Web service technology with these serve ports externally issue so that service to be provided.The Promethean com interface technology by AutoCAD of native system obtains in the periphery the control of AutoCAD process at server end.AutoCAD software externally provides abundant DLL (dynamic link library), but most DLL (dynamic link library) all is to design at the secondary development of AutoCAD, and main purpose is the function of expansion AutoCAD, realizes sophisticated functions expansion and customization.Web AutoCAD system is when improving service for each client, need all will safeguard an independent sessions in service end, this server session needs to monitor constantly the AutoCAD process that service is provided for client, comprises to the AutoCAD process sending instruction, reading command execution result and monitoring AutoCAD process executing state etc.Adopt the com interface technology when realizing the AutoCAD process monitoring, can also fully guarantee the extensibility of CAD proxy modules and Web server module.
Description of drawings
Fig. 1 is the native system structure chart.
Fig. 2 is the native system process chart.
Fig. 3 is performance test figure of the present invention.
Embodiment
Below embodiments of the invention are elaborated, present embodiment is being to implement under the prerequisite with the technical solution of the present invention, provided detailed execution mode and concrete operating process, but protection scope of the present invention is not limited to following embodiment.
As shown in Figure 1, present embodiment comprises:
As shown in Figure 2, described system will be divided into two types from client's request, the one, initialization request, need at first call an initialization Web service interface for new client registers to the Web server module, the Web server module is set up session manager for the client of each registration, by session manager realize with the CAD proxy modules between communicate by letter, the driven management device can be created an AutoCAD process for new client and provide service for client requests.The 2nd, client's operation requests, after the success of new client enrollment, the service that customer's representative's module provides in just can the called Web service interface.Invoked procedure and initialization procedure are similar, the Web service request is at first handled by the Web server module, and dispatched by the Web server module, be transmitted to corresponding CAD proxy modules by the session that belongs to each client, the AutoCAD process of creating for each client when transferring to registration is at last carried out client requests.
Customer's representative's module adopts Flex to realize, is embedded in the client browser with the form of plug-in unit.The client-side management user interface receives user's output, the server return results is carried out respective handling, for example the conversion between the conversion of data format and client window coordinate system and the server end AutoCAD actual coordinates.The coordinate information of user's input is the coordinate in the client coordinates system, and coordinate need convert the coordinate in the server A utoCAD example to, could send to service end as the parameter of operation.The picture formats such as DWG that AutoCAD generates adopt the AutoCAD in-line coding, thus the picture that server returns and data to be converted to suitable format could be in the correct demonstration of client.
Use mouse to pull when drawing in client browser, the Web CAD system has the drawing prompt facility, in order to reduce the client-requested number of times, reduces the traffic between the client and server, and this part drawing function need be carried out by client rather than server.
Called Web service need be added the Web service assembly and generated the local calling interface of corresponding Web service in Flex.What the Web service assembly was finished is exactly to resolve wsdl and soap are handled.Below be the code that adds the Web service assembly:<mx:WebService id=" webService " showBusyCursor=" true " wsdl=" http: // 202.120.38.223:80/AutocadWebServer/AutocadWebServer.dll? Handler=GenAutocadWebServerWSDL "/
For Web service interfaces all in this assembly adds corresponding monitor method, the definition result returns and handles function and the wrong function of handling.Then, just can be in program called Web service interface easily, for example when calling initialization interface, can directly call:
webService.InitClient0;
The Web server module adopts IIS to realize.IIS can be together fully-integrated with Window NT Server, thereby system can utilize Windows NT Server and NTFS (NT File System, the file system of NT) built-in security feature and management tool, the safety of maintaining webs server module easily.Based on these advantages of IIS, system utilizes the NLB function of Windows NTServer to realize the load balance of Web server module, selects suitable background server to carry out the Web service request.
ATL Web Server framework is used in Web service, by the xml web service structure of VC++.ATLWeb Server provides basic realization and the simple C++ level of abstraction of code commonly used at ISAPI and platform api, and powerful class is provided, and these classes can be undertaken being specially adapted to develop high performance web application alternately by ISAPI and IIS.Therefore system selects ATL Web Server framework to realize service.Client registration and the Web service interface definition code that withdraws from are as follows:
Figure BDA0000051403520000051
Figure BDA0000051403520000061
Native system comes issuing service by the WSDL address to client's issuing service, and client obtains service interface by resolving WSDL.
The ActiveX Automation of AutoCAD possesses most AutoCAD functions, all the mode with method and attribute is encapsulated in the ActiveX object, can use the language of object based programming that wherein method, attribute are quoted, thereby reach the purpose that AutoCAD is realized programming.COM (Component Object Model) the interface realization that AutoCAD proxy modules use AutoCAD provides is communicated by letter with AutoCAD software.The AutoCAD proxy modules has not only realized carrying out client requests from external control AutoCAD system by the COM technology, and system can produce lot of data, safeguards that a large amount of and the closely-related data of AutoCAD software systems can be very complicated.By using corresponding com interface to call AutoCAD system self database and the storage of other data and management function, system will carry out relevant data with AutoCAD and utilize the database of AutoCAD system to manage, simplify the complexity of system data management, more be conducive to manage the internal data type of AutoCAD.Program is as follows by the code of program initialization COM access interface:
The operation response time of native system is the key index of weighing system effectiveness and availability.For the execution efficient of verification system for client requests, to system each the operation response time test.As shown in Figure 3, according to the difference of action type respectively to being the drawing type operations of representative with circle and straight line, being that figure retouching operation and the initialization operation of representative carried out the test of corresponding time with stretching, rotation and translation.Because network condition has significant effects to response time of this model system, in quite good network status local area network (LAN) and relatively slow outer net, each operation is tested respectively respectively.

Claims (1)

1. one kind is the CAD integrated system of service mode based on software, it is characterized in that, comprise: customer's representative's module, the Web server module, CAD proxy modules and resource management module, wherein: customer's representative's module is embedded in the client browser with the form of plug-in unit, customer's representative's module realize with the Web server module between communicate by letter, Web server module and CAD proxy modules are the background server of system, the Web server module realize with the CAD proxy modules between communicate by letter, resource management module realizes handling the data of Web server and the generation of CAD acting server, the server computational resource is distributed, cad data and CAD state information that storage AutoCAD execution result and customer information and management request produce when handling;
Described customer's representative's module comprises: interface management unit and Web service counterfoil, wherein: interface management Single Component Management user interface, receive user's output, the server return results is carried out respective handling; This customer's representative's module adopts Flex to realize, is embedded in the client browser with the form of plug-in unit; Calling Web service in Flex needs to add the Web serviced component and generates corresponding Web and serve local calling interface, and what the Web service assembly was finished is exactly to resolve wsdl and soap processing;
Described Web server module schedules service request also realizes communicating with backstage CAD proxy modules, this Web server module comprises the Web service scheduler module, session management module and customer management module, wherein: the Web service scheduler module links to each other with customer's representative's module and realizes receiving and the dispatching client service request, the balance server load is also handled concurrent user's visit, session management module links to each other with the CAD proxy service module and realizes setting up according to client-requested, safeguard and cancel session, customer management module realizes access control and the authentication of administrative client; This Web server module adopts IIS to realize, ATL Web Server framework is used in Web service, by the xml web service structure of VC++;
Described CAD proxy modules comprises: driven management unit and CAD scheduling controlling unit, wherein: driven management unit and CAD scheduling controlling unit cooperatively interact as the front and back end of acting server respectively and provide back-office support for Web server, the realization management of driven management unit is communicated by letter with the Web server module, the request that reception passes over via session, according to execution result and the corresponding intermediate data in request call corresponding CAD access controller execution request and the processing CAD access controller, CAD scheduling controlling unit is realized by one group of server background process or thread, the concrete visit for the AutoCAD process of com interface control by AutoCAD, the request of client is converted into actual CAD operation, realizes that long-range CAD calls; The com interface realization that this CAD proxy modules use AutoCAD provides is communicated by letter with AutoCAD software;
Described resource management module distributes the server computational resource with the form of AutoCAD process, cad data and CAD state information that storage CAD execution result and customer information and management request produce when handling.
CN 201110068776 2011-03-22 2011-03-22 CAD (Computer Aided Design) integrated system based on mode of software used as service Expired - Fee Related CN102137162B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110068776 CN102137162B (en) 2011-03-22 2011-03-22 CAD (Computer Aided Design) integrated system based on mode of software used as service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110068776 CN102137162B (en) 2011-03-22 2011-03-22 CAD (Computer Aided Design) integrated system based on mode of software used as service

Publications (2)

Publication Number Publication Date
CN102137162A CN102137162A (en) 2011-07-27
CN102137162B true CN102137162B (en) 2013-07-03

Family

ID=44296815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110068776 Expired - Fee Related CN102137162B (en) 2011-03-22 2011-03-22 CAD (Computer Aided Design) integrated system based on mode of software used as service

Country Status (1)

Country Link
CN (1) CN102137162B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473105A (en) * 2013-09-25 2013-12-25 北京大学 Realizing method of online code completion function
CN104657124A (en) * 2013-11-25 2015-05-27 中国直升机设计研究所 Method for integrating PDM system based on XML RPC
CN106357646B (en) * 2016-09-21 2019-12-31 苏州浪潮智能科技有限公司 Agent control system for storage management software
CN106650090B (en) * 2016-12-21 2019-12-24 深圳市安冠科技有限公司 Method for quickly generating engineering terminal dial table, box diagram and system diagram based on data sharing
CN109815016A (en) * 2019-01-25 2019-05-28 北京仿真中心 A kind of High-Performance Computing Cluster method of servicing
CN113139219B (en) * 2021-04-26 2022-10-18 杭州新迪数字工程系统有限公司 Coordination-oriented three-dimensional CAD model external information synchronization system and method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
分布式同步协同CAD/CAM系统的Web模型及实现;刘巍巍等;《南京航空航天大学学报》;20041031;第36卷(第5期);539-543 *
刘巍巍等.分布式同步协同CAD/CAM系统的Web模型及实现.《南京航空航天大学学报》.2004,第36卷(第5期),539-543.
叶利娜等.基于SaaS的CAPP服务研究.《计算机工程》.2010,第36卷(第22期),268-271.
基于SaaS的CAPP服务研究;叶利娜等;《计算机工程》;20101130;第36卷(第22期);268-271 *

Also Published As

Publication number Publication date
CN102137162A (en) 2011-07-27

Similar Documents

Publication Publication Date Title
Xie et al. When serverless computing meets edge computing: Architecture, challenges, and open issues
CN102137162B (en) CAD (Computer Aided Design) integrated system based on mode of software used as service
CN103699425B (en) Software T/C/V architecture based on cloud computing and cloud computing method thereof
Hucka et al. The ERATO Systems Biology Workbench: enabling interaction and exchange between software tools for computational biology
CN101188624B (en) Grid middleware system based on virtual machine
CN108932588A (en) A kind of the GROUP OF HYDROPOWER STATIONS Optimal Scheduling and method of front and back end separation
CN103116520A (en) Remote procedure call remote position control (RPC) method based on transmission control protocol (TCP)/user datagram protocol (UDP)
Wei et al. Product platform architecture for cloud manufacturing
CN102117294A (en) Information system based on Ajax (Asynchronous JavaScript and XML) technology
CN104346168B (en) A kind of monitoring management method for visualizing based on interexchange bus
Dai Design and implementation of ESB based on SOA in power system
Gomaa et al. Reusable component interconnection patterns for distributed software architectures
CN202798801U (en) Universal communication system for achieving distributed data interaction
CN100547967C (en) Mesh operation supervisor and grid job management method
Wu et al. Service-oriented communication architecture for automated manufacturing system integration
Aldinucci et al. Optimization techniques for implementing parallel skeletons in grid environments
Wu et al. Research and application of SOA and cloud computing model
CN1271541C (en) Machine group management system and its information processing method
Lin et al. Architecture of Web-EDA system based on Cloud computing and application for project management of IC design
Thiede et al. Service-oriented information visualization for smart environments
Xingping et al. A new generation EMS
CN109669793A (en) Object calling method in middleware process
Li et al. Development of a web-enabled environment for collaborative design and manufacture
CN115857915B (en) Object digitizing method for meta-universe system development
CN102306140B (en) Computer system constructing method based on data interactive fusion

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130703

Termination date: 20160322

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