Research on mold cam system based on network
Abstract: This paper briefly describes the structural characteristics of c/s and b/s of network and the working principle of ASP, establishes the framework of mold cam system based on network, analyzes the establishment and implementation process of the system, and realizes the remote control and manufacturing of mold products
Keywords: Internet; Mold cam; ASP; Networked manufacturing
0 introduction
with the rapid development of interconnection, the web-based network structure has gone deep into all aspects of social life, and the web-based application design has also been applied to the product design and manufacturing process from the initial information field. There have been technologies such as web-based product design, web-based PDM and web production management. Mold is a typical one-piece production mode. In order to respond quickly to the needs of users, we must change the traditional design and manufacturing methods and make full use of the current advanced manufacturing technology. Using network technology can improve the first-time success rate of mold design, quickly respond to the market, and reduce time and capital investment; At the same time, it increases the scientificity of mold design, which is of great significance to the development and prosperity of mold manufacturing industry. Under the background of manufacturing networking, the author developed a mold manufacturing system. Through web pages, we can share a large amount of basic information involved in mold product design and manufacturing in different places, improve the efficiency of product development, and realize the partial development of the system
1 system architecture based on Web
because the WWW application on the Internet is a client/server (hereinafter referred to as c/s) interactive network system based on ht1, which wants to improve the stiffness e A0 of parts, that is, to reduce the elastic deformation of parts TP (Hypertext Transfer Protocol), Therefore, the computing model of enterprise application software has also changed from the traditional c/s computing model to the browser/server (hereinafter referred to as b/s) model based on tcp/ip standard protocol [1]. The structure of c/s mode is shown in Figure 1, which is divided into two subsystems: client and database server. The former mainly realizes the following functions: providing a friendly interface of the application, establishing a connection with the server, processing the input and output of data, submitting data access requests, etc; The latter is mainly used to manage an independent database for multiple users, manage and process the received data access requests, etc
Figure 1 c/s architecture
b/s model is shown in Figure 2. Its three-tier structure is user service layer, application service layer and data service layer, and its functions are as follows:
a) userservicetier: also known as presentationtier. This layer is mainly responsible for realizing the interaction with users through the graphical interface on the client side, and submitting service requests to the application service layer. This layer corresponds to the web browser of the client
Figure 2 b/s architecture
b) applicationservicetier: also known as business logic tier. This layer handles all service requests from clients, including numerical calculation, numerical analysis and other work unrelated to user interface and data storage. At the same time, it can also serve as an intermediary to further submit service requests to other distributed application system servers. This layer corresponds to the web server
c) dataservicetier: in fact, it is a relational database system, which is responsible for data maintenance and completes data query, access and other operations through this layer. This layer corresponds to the database server
these two modes have their own characteristics. C/s mode has mature design and development methods and strong interactivity. In b/s, it has three logical layers. In the case of completing the same task, c/s mode is faster than b/s mode, which is conducive to the processing of a large amount of data. Compared with c/s, b/s only needs to install a general browser software on the client, which not only simplifies the development and maintenance of the system, makes the user's operation on the client easier, but also is suitable for the release of information
2 ASP principle
at present, Internet users mainly obtain information by visiting sites. Site information is divided into static pages and dynamic pages. Static page refers to that the web server returns the pre stored HTML file to the user as it is; Dynamic pages are completed by database +web server. After receiving the user's request, the web server submits the request to process the database to the database server through middleware. After the database server finishes processing, it returns the processing results to the web server. The web server returns to the user with the help of HTTP protocol [2]. Middleware is the interface between application and database. Responsible for the communication between the web server and the database server
asp (activeserverpages) is a server-side scripting environment that can generate and run dynamic, interactive, high-performance web server applications. ASP as a middleware has the following advantages over CGE, jsapi and other interface technologies:
A) it is a common difficulty faced by third tier cities ASP is an extension, and the code does not need to be registered. It can be written with any kind of texter, and does not depend on compiled code and registered ActiveX objects, which is easy to maintain and upgrade
b) the core of ASP is htmltag, which is mainly in HTML text format. VBScript, JavaScript and other scripting languages are used as the default development tools, and "" is used as the delimiter of the embedded script to realize the dynamic home page through the embedded description language script
c) ASP includes server-side script, which can be directly executed on the server without manual compilation and connection. After execution, the generated HTML dynamic page will be returned to the client. As long as the client uses a conventional browser that can execute HTML program, it can browse the main page content generated by ASP. Therefore, it has nothing to do with the browser and can effectively protect the source program
d) ASP itself is derived from a considerable number of standard server ActiveX elements, which allow users to display differently according to browser capabilities and include counters in the browser. At the same time, users can also easily create their own additional ActiveX components with VB, VC, Java and other development tools to enhance the functions of ASP [3, 4]
3 Internet based mold cam system
3 1 system architecture
Figure 3 overall structure of webcam
network based mold cam system architecture is shown in Figure 3. The system adopts the architecture of combining c/s and b/s, in order to give full play to the advantages of c/s and b/s, avoid their shortcomings, effectively use the existing resources of the enterprise, and realize the unity of effectiveness, economy and maintainability. Using the c/s mode, using the enterprise's own high-speed local area, the functions of the system are reasonably allocated to the client and server. On the one hand, the bottleneck caused by frequent data transmission between the client and server is avoided; On the other hand, it can take full advantage of the high configuration of the client, share some of the computing functions of the server, and reduce the burden of the server. B/s mode, because it uses the Internet to realize the operation of the system, and the Internet bandwidth is low, the speed is slow, and it is not suitable for a large number of data transmission, so all the computing functions are undertaken by the server, and the client only undertakes the interface interaction, parameter input, browsing and other functions
32 system development language
the c/s mode of the system is developed by visualc++6.0, the operating system of the system server is windows2000server, the webserver is iis4.0, the database is mssqlserver7.0, and the browser end is a browser of more than ie5.0
the b/s development of the system fully adopts Java technology, and the popular jbuilder5.01de is selected as the integrated development environment. As a new computer language and a mobile computing platform, Java has the advantages of platform independence, robustness and security, which make it a specification for cross platform application development. Due to the cross platform advantage of "write once, run everywhere", Java language has become the best choice for writing mobile components in the network environment [5]. By using java language, the client interaction is carried out in the form of downloaded javaapplets, which can greatly reduce the configuration workload of the system client, and finally realize the zero configuration of the client, and it is easy to integrate with the c/s mode system developed with c++
3 basic working process of the system
according to the configuration of the web server and database, the basic working process of the system:
a) the client connects to the server through the browser, after authentication, sends a request to the web server through HTTP protocol, and establishes communication
b) after receiving the client request, the web server must first execute the ASP intermediate program, connect with the back-end database, process it, and return the generated results to the web server. The system will generate dynamic response content according to different requests of the client
c) the web server returns the generated dynamic response content to the client through HTTP protocol, thus completing a complete interaction
partial implementation of the system
in the web-based mold cam system, we use a FANUC NC system composed of cam server, remote client and Internet. This system is implemented by using the voloviewexpress control recently launched by Autodesk company dwg,. DXF and Browse on the DWF format file, but why are there so many different products? Relevant technicians told customers that if they need to customize the interface and expand functions in the future, they can use the whipptoolkit provided by them to carry out secondary development on vc++6.0. Using vc++6.0 to develop ActiveX control upload, the client can upload drawings or download and browse (according to permissions)
dwf files can be published using markups. The following is the main code of publishing f file on the web page:
4 Conclusion
this system adopts the method of combining b/s and c/s mode, gives full play to their respective advantages, and realizes the networking of mold NC machining. The b/s end can query the database through the Internet, browse, view, generate NC code and simulation, which is of great significance to the cooperation between people working in different places and enterprises. The c/s end can realize the query, maintenance, modeling and processing of users in the local area, with friendly interface and strong interaction, which can meet the requirements of the system for security and processing speed. The future work will be to improve the functions of CAD and cam modules, and further study the key technologies of graphic interaction
References:
[1] Li Dongbo, Tang dunbing, Zhang Shiqi Research on new mold cad/cam system based on Internet technology [j] Forging technology, 1999, (5):57 58
[2] Luo Juan, Fang Rui, Zhu Qiuping Web and database technology [j] Computer engineering, 1998, (8):42
[3] Zhang shengxia, Xie rang Development of mechanical design support system based on Web [j] Modern machinery, 2002 (3):1314
[4] caidanmei, Ji Chunjiao Using ASP to easily realize dynamic interactive access to the web [j] Computer application research, 1999, (2):6263
[5] Chen Jun, Zhou Laishui A development scheme of cad/cam system based on Web [j] Computer applications, 2001, (12):27 28
[6] Wang huiran Computer aided design and manufacturing technology based on Internet [j] Microcomputer development, 1999, (6):40 (end)
LINK
Copyright © 2011 JIN SHI