Font Size: a A A

Design And Realization Of The Management Software Of Drawing Jobs In The Network

Posted on:2015-12-29Degree:MasterType:Thesis
Country:ChinaCandidate:C ZhuFull Text:PDF
GTID:2308330473454635Subject:Software engineering
Abstract/Summary:PDF Full Text Request
GeoMountain process engineer software is one of the three core Geomountain integrated seismic exploration software that researched by technology development center of CNPC independently, and undertake the task of seismic data processing, has been put into use in actual production, and good effect is obtained, but the the result map printing function is suggested by all the processing departmant.Based on the need of "long-case meeting" which is demand by the work. On the other hand, due to large format plotter with high cost, so the software must provide print services in the network.By now almost known seismic data processing systems which belong to the world’s major companies have network printing technology, like Omega、Geocluster、CGG. For example, CGG’s network printing technology was achieved by C/S structure,one computer used as a server, read the LAN information,set various parameters by the related functions of the server, such as setting NFS storage and folders. Client initiates a print job, the pattern will be sent to the NFS storage that the location was set by server. When the server receives the print command, reads the pattern stored in the NFS storage, and printing. If more than one print command is received, the server will determine the sort and avoid disorderly print batch printing situations based on the time it receives a print command. Print log will be generated after printing is complete. If there are printing problems, artificial sorting the print job is allowed. GeoEast software system that developed by China Eastern geophysical exploration company is also equipped with a fairly complete network printing capabilities.This paper is aimed at these problem above, make the thread pool technology, Multi multi-threaded thread synchronization, network printing technology based on the database, TCP file transmission and communication platform for message passing technology, project data batch print technology as the main object of study, based on in-depth analysis and the actual work needs, can provide a convenient, friendly, efficient network printing tools for Geomountain processing engineer software system; reduce the use of maps of single print the labor intensity, improve production efficiency. The main content:Research thread pool technology, Implement a method which can use pre-created thread pool to distribute tasks, remove the use of idle threads with need, and use the new thread object without the need, reducing overhead and improve the response rate. When there are no idle threads, waiting for idle threads appear, thus preventing the response failures caused by lack of resources. While concurrent response happens, manage each running thread to prevent the thread of control.Research the technology which for sending large files and communications platform messaging by TCP protocol, achieve the function that based on the boost library, using TCP protocol to transfer large files, communication platform based, start a thread transmission of large files individually, exchanging information with the main thread function, file transfer does not affect other operation, ensure network stability, accurate transmission fast, at the same time, using QT signal and slot mechanism to optimize the reception of the message.Research bulk printing technology based on project area data. Achieve the function that request automatically generate a network print jobs for easy drawing module and network printing customer-side interface between the interface module by an approach which saves and matching-manages project area display parameters, and print client service through a network to manage print jobs on the network to facilitate the project area data to complete batch printing capabilities.Research bulk printing technology based on project area data. Achieve the function that a display parameters and field data show the parameter matching management by project, all seismic data generated under section convenient area, thus automatic request generation network print job, between the convenient drawing module and the network print client module interface cohesion function, and through the network printing service terminal pair network print job management, convenient project data completed batch print function.Research Database-based network printing technology, Achieve the function that database store basic information and job log information, storage information of the printer, and register and update state in real time to convenient print management, While providing timely query and sorting capabilities, able to quickly locate jobs, provide sufficient information to help users make print selection.Research signal synchronization between multiple threads, Achieve the function that when a print job is received, the receiving thread can wait for it by using the synchronization signal notifies threads; when you need to handle the response task, using the signal notification mechanism to inform the idle thread with new response mission capabilities.
Keywords/Search Tags:thread pool, project data, signal synchronization
PDF Full Text Request
Related items