Font Size: a A A

The Design And Implementation Of The Logging Data Web Drawing System

Posted on:2008-02-18Degree:MasterType:Thesis
Country:ChinaCandidate:Z P FuFull Text:PDF
GTID:2178360212996994Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the scope of the logging data in the LiaoHe Oilfield become wider and wider, we recognize the logging data better and better, so the development of the"Logging Data Web Managing System"is inevitable trend in the development of the modern enterprise.The group and person, such as the oilfield exploration, the development sector, the oil extraction plant, the logging company leaders, experts, and the scientific researchers, by using the"Logging Data Web Managing System", could manage the logging data rapidly and conveniently such as browsing, accessing, and knowing the key well and exploration wells of production dynamics, geology, well logging field data quality and the interpretation results after the logging data processing.These logging results data can be sent to the users in the first time, so this system brought strong security to improving the logging information quality and the multipurpose use.This paper meanly discuss the method and the system structure of the design and the implementation to the"Logging Data Web Managing System", and discuss the mean technology in the implementation of the drawing sub-system.The system structure has three layer such as the Client, the Application server and the Database server pattern.(1) The Client implement the user interface. The user layer is divided into two forms. The first is the browser's web page form,which deals with entry,query of the data and the database maintenance, which means that it doesn't occupy the client resources and we needn't dispose the client program, so it is very convinent to operate. Another form is the Java application, meanly in connection with the drawing program of the graphics. Because the drawing program need much system resources, it may bring more pressure to the server, so that the application program in the client could use the system resources in the client, and it is favorable for the reasonable distribution of the resources. In order to avoid disposing the client application program in the client, we design the client program by the communication between the Applet application and the application server.(2)The intermediate server is in charge of the processing of the logical work and the data-access. For the middle-tier can be visited by various clients, and the business is also conducive to maintaining and upgrading the system, this pattern is the main mode in the software development. The middle-tier can be divided into the performance tier, the business logic tier and the lasting tier. The performance tier mainly control the acquirement of the user interface data, the invocation of the business logic, the distribution of the web page and so on. The business tier encapsulates all the business operations, such as the addition, the deletion, the modification, the searching, and the upload/download of the data to the different kind of the logging data. The lasting tier encapsulates the operation of the data by using the function such as the transformation of the relational database table of the Hibernate to the class mode, the business properties and the linking pools.(3)The database server sets uo the Oracle Database in order to store all the logging data.In connection with the dependency relationship between the drawing object, we analyze the tree-construction-plan whose root node is the panel object of the drawing object. This paper analyze the structure of the"Logging Data Web Drawing System",and the drawing system includes four sub-system such as the data transmission system, the object property transmission system, the drawing model system and the drawing area operation system.(1)In the data transmission system, we use the interaction between the Applet and the Servlet. The Client submit the request, and the Servlet in the Server read the data from the database, by the analyzing of the middlie-tier-file, send to the Applet. It realize the communication between the Applet of the Client and the Servlet of the Server. There are many types of the logging data, and these data should be stored to the database by the data managing system. We can analyze all the types of the logging data, so we use the Middler-Tier files, and providethat the file of this type could be push into the database, so that the professional logging staffs could offer that all the data regardless of its type transform into the Middle-Tier file in the future. The expandability of the system get remarkable improvement.(2)In the object property transmission system, using the 1D curve for example, we input the curve ID in the Client, and then read the data from the Server. In the process, the curve property we need is sent by the form of object-serialization. The object-serialization means that we transform the state of the object into the byte stream at first, and then produce a object of the same state by using the byte stream. In short, the object-serialization is a mechanism to deal with the object stream. The process of the object-serialization is that the object write into the byte stream and we read the object from the byte stream. After we transform the state of the object into the byte stream, we could use the byte stream class in the java.io package in order to save the byte stream to the files, and send the object data to another host by the way of the Internat.(3) In the drawing model system, The model object is the carrier of all the drawing object. In order to avoid recustomizing the model when we draw the graphics, usually we need to save the model we have created, so that we could invoke these models when we need. After the preservation of the model information, it comes to a XML file, then we need to send it to the database by the Servlet and save into the database. At first, we acquire the input stream from the Client, that means to acquire the XML file stream preservated. Then insert this file into the database, and invoke the updataBlob() in order to write the data to the BLOB field, invoke the inserted() in order to acquire the ID in the database. After the insertion of the XML file to the database, we need to read the model file, that means we send the model file by the Servlet from the Server. This process is similar to the transmission of the curve file.(4) In the drawing area operation system, we use the technology of Double-Buffering in order to eliminate the blinking phenomenon. The Double-Buffering create a picture in the memory, and then show this picture to the screen. In order to create the picture, we need to use the method that createImage() to create a suitable buffer area in the memory, and acquire the drawing enviroment of the buffer area, so that we can finish the drawing of the picture. At last, by the drawing environment we draw the picture of the memory in the screen.The Logging Data Managing System is satisfying in logging data managing, and the Logging Data Web Drawing System is a very important part of this system. Its convenience and practicability will definitely be fully used and it will bring infinite convenience for the storing, managing and using of the logging data. And it will be greatly helpful to the construction of the oilfields informatization.
Keywords/Search Tags:Logging, Drawing system, Object-serialization, Double-Buffering, MVC, STRUTS
PDF Full Text Request
Related items