CN101146116B - A CAD graph processing system based on the network - Google Patents
A CAD graph processing system based on the network Download PDFInfo
- Publication number
- CN101146116B CN101146116B CN2006101070149A CN200610107014A CN101146116B CN 101146116 B CN101146116 B CN 101146116B CN 2006101070149 A CN2006101070149 A CN 2006101070149A CN 200610107014 A CN200610107014 A CN 200610107014A CN 101146116 B CN101146116 B CN 101146116B
- Authority
- CN
- China
- Prior art keywords
- cad
- information
- client
- packet
- network
- 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
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
A CAD image processing method and a system based on network includes: a principle controller, which can access and convert CAD image files and distribute the files content on other clients for processing, after that, accept processed image information from other clients and represent the information thereon; at least a client, which is used to receive the image information from the principle controller and return the processed image information to the principle controller after processing. The principle controller includes: a CAD image information storage device (1) and a client data receiving device (8) used to receive CAD image parallel processing unit information and CAD image processing order information from network. The principle controller is connected with the client by computer network. The invention greatly improves processing speed and efficiency of large-scaled CAD image task.
Description
Technical field:
The present invention relates to computer network, grid computing, CAD graph processing technique, particularly a kind of based on network CAD graphic system.
Background technology:
At present, the general CAD graphics process on a small scale that only adapts to of the CAD graphics process that realizes on the unit, to the processing of large-scale complex figure, so far, or a problem that can't resolve.
Along with popularizing and development of computer networking technology, computer network is low price not only, and is seen everywhere.The personal computer system who distributes in the network, its system resource has only a small part to obtain utilizing, and its very large space that utilizes of leaving unused does not fully utilize, and causes great wasting of resources phenomenon.
The network of CAD graphics process distributes, not only need the key element in the CAD graphics process is analyzed, isolate can Parallel Implementation composition, but and need solve the Network storage technology of CAD figure parallel processing, with the parallel key element in the CAD figure is distributed on the network effectively, realize a series of technical barriers of the based on network high speed processing of CAD figure by network service, so far, also do not see report in this respect, more do not have the application precedent of this respect.
Summary of the invention:
Only adapt to CAD graphics process and the low problem of treatment effeciency on a small scale in order to solve present unit, the object of the present invention is to provide a kind of based on network CAD graphic system, make the CAD graphics process on computer network, to carry out effectively, make the potential calculating concurrency that exists in the computer network be effectively used and bring into play, and the CAD graphics process is being compared with existing unit CAD graphic system, no matter be processing speed, or the complexity of treatment effeciency and processing CAD figure all is greatly improved.
In order to realize the foregoing invention purpose, the present invention adopts following technical scheme:
A kind of based on network CAD graphic system, it comprises: the parallel processing on other client computer of an energy access and the distribution of content changing the CAD graphic file and make this document, then accept from the graphical information as a result of other client computer and the main control computer that on this machine, graphical information as a result reproduced; At least one is used to receive from the graphical information of main control computer and handles, returns afterwards the client computer of giving main control computer as the graphical information of result; Main control computer is connected with client's machine computer network; Main control computer comprises: the CAD graphical information storage device that is used to deposit the CAD figure parallel processing element of CAD graphical information, be used for finishing the CAD graphic file is read according to the read write command that receives, analyze and be converted to CAD graphical information that CAD graphical information storage device can discern is made up of CAD figure parallel processing element and the CAD figure that the CAD graphical information of being made up of CAD figure parallel processing element in the CAD graphical information storage device read and be converted to the CAD graphic file is read and write the analysis conversion equipment, be used to receive user profile, and make amendment according to user profile or to the CAD graphical information of forming by CAD figure parallel processing element in the CAD graphical information storage device, or conversion equipment is analyzed in CAD figure read-write sent and read the CAD graphic file, analyze and be converted to the CAD graphical information of forming by CAD figure parallel processing element and be stored in order in the CAD graphical information storage device, or conversion equipment is analyzed in CAD figure read-write sent and read CAD graphical information of forming by CAD figure parallel processing element in the CAD graphical information storage device and the order that is converted to the CAD graphic file, or provide the user profile receiving system of relevant treatment order for client processes CAD graphical information, be used for receiving and preserving client information, the client computer distributor that distributes client computer, be used for CAD graphical information storage device CAD figure parallel processing element with from the packing of the client information of client computer distributor and send to network, or will be from the CAD graphics process order of user's information receiver with from the client information packing of client computer distributor and send to CAD figure parallel processing element and user command dispensing device on the network, be used to receive the client information of automatic network and the return data receiving system of graphical information as a result, be used for the CAD graphic rendition device that graphical information is as a result restored on the output equipment of main control computer; Client computer comprises: the client data receiving system that is used to receive the CAD figure parallel processing element information and the CAD graphics process command information of automatic network; Be used to store figure parallel processing element storage device from the CAD figure parallel processing element information of client data receiving system; The graphic processing facility that is used for the CAD graphical information of the CAD graphics process command process figure parallel processing element storage device that sends according to the client data receiving system; Be used to receive graphical information as a result, and this information and client information packing are sent on the network, or only the client information packing is sent to the client data dispensing device on the network from graphic processing facility.
Described based on network CAD graphic system, the CAD figure parallel processing element and the user command dispensing device of its main control computer comprise: be used to receive figure parallel processing element, the order of CAD graphics process, this machine information of main control computer, and these information passed to the client computer graphic element packing device of packet transmitter respectively with the client information packing; Be used to receive from client computer graphic element packing device package information and send to packet transmitter on the network.
Described based on network CAD graphic system, the return data receiving system of its main control computer comprises: be used to receive the packet of graphical information and client information as a result that comprises of automatic network, and data packet delivery given the data packet receiver of de-packetizer; Be used to analyze and comprise the packet of graphical information and client information as a result, and wherein graphical information as a result and client information are separated the de-packetizer that passes to related device respectively.
Described based on network CAD graphic system, the client data receiving system of its client computer comprises: be used to receive the packet of figure parallel processing element information, CAD graphics process command information and the main control computer information of automatic network, and data packet delivery given the client data bag receiver of packet de-packetizer; Be used to analyze the packet that comprises figure parallel processing element information, CAD graphics process command information and main control computer information, and wherein figure parallel processing element information, CAD graphics process command information and main control computer information separated come out to pass to respectively the reception de-packetizer of related device.
Described based on network CAD graphic system, the client data dispensing device of its client computer comprises: be used for reception result graphical information and this machine information of client computer, and with they or only this machine information of client computer packing pass to the reception packing device of client data bag transmitter; Be used to receive from receiving the packing device package information and sending to client data bag transmitter on the network.
Described based on network CAD graphic system, the method step that its main control computer and client computer connect comprises:
1), after the main control computer start, soon this machine information and send into client computer graphic element packing device and be packaged into packet, passes to packet transmitter broadcast transmission to network;
2) after, the client data bag receiver of other computer system that exists on the network is received this packet, this packet is sent into the reception de-packetizer, receiving de-packetizer analyzes this packet and obtain main control computer information in the packet: the main control computer information that obtains is analyzed in this computer system utilization, connect with main control computer, and this machine information of client computer sent into receive packing device and be packaged into the connection request packet, pass to client data bag transmitter, send on the network;
3), the data packet receiver of main control computer is received behind the connection request packet that other computer system is sent, this bag is sent into de-packetizer analysis, the computerized information that de-packetizer obtains analysis is sent into the client computer round-robin queue in the client computer distributor, and the represented computer system of computerized information that enters client computer round-robin queue promptly becomes a client computer of main control computer.
Described based on network CAD graphic system, the storage means of its client information comprises the following steps:
1), after main control computer receives the packet of other computer system on the network, this packet is sent into de-packetizer, the computerized information that de-packetizer obtains analysis is sent into the client computer round-robin queue of client computer distributor;
2), in client computer round-robin queue, described computerized information is received the precedence composition formation of packet that computer sends according to main control computer, on article one information of this formation head pointer is set, on the last item information of this formation, tail pointer is set, with convenient scanning of inserting new client information and control client information; The scanning motion of client information is undertaken by the scan pointer scanning direction.
Described based on network CAD graphic system, the method step that its CAD graphical file information enters main control computer is:
1), the user profile receiving system is analyzed conversion equipment according to user's requirement to the read-write of CAD figure and is sent the order that the CAD graphic file is read;
2), CAD figure read-write analyzes and opens the CAD graphic file after conversion equipment is received the order that the CAD graphic file is read, analyze the content of CAD graphic file and convert them to the CAD graphical information of representing with the figure parallel processing element and send in the CAD graphical information storage device and store.
Described based on network CAD graphic system, the CAD graphical information is stored as the method step of file and is in its main control computer:
1), the user profile receiving system is analyzed conversion equipment according to user's requirement to the read-write of CAD figure and is sent the order of writing the CAD graphic file;
2), the read-write of CAD figure is analyzed and is read the CAD graphical information and be converted to the CAD graphical information that general CAD graphic file requires from CAD graphical information storage device after conversion equipment is received the order of writing the CAD graphic file, and these information are write the CAD graphic file.
Described based on network CAD graphic system after main control computer and client computer connect, to the process method step of CAD figure is:
1), client computer graphic element packing device takes out a figure parallel processing element from CAD graphical information storage device, then from the client computer distributor, take out a client information, it and figure parallel processing element are packaged into packet, send into the packet transmitter and send on the network, go to receive by the client data bag receiver of relative clients machine;
2), after client data bag receiver receives packet, it is passed to the reception de-packetizer, receiving de-packetizer sends into the CAD figure parallel processing element information that parses in the figure parallel processing element storage device and stores;
3), if the figure parallel processing element in the CAD graphical information storage device does not send to finish, then enter 1, carry out the transmission of figure parallel processing element next time;
4), client computer graphic element packing device is waited for and is received the CAD graphics process order that passes over from the user profile receiving system, and each the bar client information in this CAD graphics process order and the client computer distributor all is packaged into packet, and all send into the packet transmitter and send on the network, go to receive by being distributed in client data bag receivers all on the network;
5), after client data bag receiver receives packet, it is passed to the reception de-packetizer, receive de-packetizer the graphics process order that parses is passed to graphic processing facility;
6), graphic processing facility is got CAD figure parallel processing element according to this CAD graphics process order and is handled from figure parallel processing element storage device after receiving the order of CAD graphics process, its as a result graphical information will be admitted to the reception packing device, by receive packing device with this as a result graphical information pack with this client information and be packaged into packet, send into client data bag transmitter and send on the network, go to receive by the data packet receiver of main control computer;
7) after, data packet receiver receives packet from client data bag transmitter, the packet that receives is sent into de-packetizer, and the graphical information as a result that de-packetizer obtains according to analysis is sent into CAD figure reduction apparatus and finish the output of CAD figure on main control computer;
8), enter 4 reception and the transmissions of carrying out CAD graphics process order next time.
Described based on network CAD graphic system, the figure parallel processing element that takes out from the CAD graphical information storage device of main control computer wherein, this figure parallel processing element is made up of with the graphic feature data relevant with this order drawing command.
Owing to adopted technical scheme as mentioned above, the present invention has following superiority:
This based on network CAD graphic system, the hardware foundation of its foundation and realization are those various computer networks that extensively exist and using in society; After using the present invention, a large amount of idle computer resources that exist will be fully used in these networks, and potential distributed parallel calculates advantage and will greatly be brought into play; The realization of the present invention on computer network need not increase new equipment, but select in the network computer system of using arbitrarily as main control computer, other computer system of using is as client computer, and get in touch and the communication mode of main control computer and client computer is the network service that is present in the computer network; The present invention makes the computer system that is distributed in network become as a whole by the software and hardware resources in the computer network is reintegrated, and they are coordinated with each other, can handle large-scale user CAD graphics process task in the mode of parallel processing; Among the present invention, because the degree of parallelism of CAD graphics process improves, the speed of CAD graphics process and efficient also are greatly improved and improve.Data-searching shows, does not also find the research of this respect.
Description of drawings:
Figure 1 shows that the structural representation of based on network CAD graphic system;
Figure 2 shows that the structural representation of CAD figure parallel processing element and user command dispensing device;
Figure 3 shows that the structural representation of return data receiving system;
Figure 4 shows that the structural representation of client data receiving system;
Figure 5 shows that the structural representation of client data dispensing device;
Figure 6 shows that client computer round-robin queue management schematic diagram;
Figure 7 shows that the workflow diagram of main control computer;
Figure 8 shows that the workflow diagram of client computer;
Figure 9 shows that main control computer processing procedure embodiment schematic flow sheet;
Figure 10 shows that client processes process embodiment schematic flow sheet.
Embodiment:
Fig. 1 has specifically provided the structure that realizes the required employing of based on network CAD graphic system on network.It comprises: the parallel processing on other client computer of an energy access and the distribution of content changing the CAD graphic file and make this document, then accept from the graphical information as a result of other client computer and the main control computer that on this machine, graphical information as a result reproduced; At least one is used to receive from the graphical information of main control computer and handles, returns afterwards the client computer of giving main control computer as the graphical information of result; Main control computer is connected with client's machine computer network; Main control computer comprises: the CAD graphical information storage device (1) that is used to deposit the CAD figure parallel processing element of CAD graphical information; Be used for finishing the CAD graphic file is read, analyzes and be converted to CAD graphical information that CAD graphical information storage device can discern is made up of CAD figure parallel processing element and the CAD figure that the CAD graphical information that CAD graphical information storage device is made up of CAD figure parallel processing element read and be converted to the CAD graphic file is read and write analysis conversion equipment (5) according to the read write command that receives; Be used to receive user profile, and make amendment according to user profile or to the CAD graphical information of forming by CAD figure parallel processing element in the CAD graphical information storage device, or conversion equipment is analyzed in CAD figure read-write sent and read the CAD graphic file, analyze and be converted to the CAD graphical information of forming by CAD figure parallel processing element and be stored in order in the CAD graphical information storage device, or conversion equipment is analyzed in CAD figure read-write sent and read CAD graphical information of forming by CAD figure parallel processing element in the CAD graphical information storage device and the order that is converted to the CAD graphic file, or provide the user profile receiving system (3) of relevant treatment order for client processes CAD graphical information; The client computer distributor (4) that be used to receive and preserve client information, distributes client computer; Be used for CAD graphical information storage device CAD figure parallel processing element with from the packing of the client information of client computer distributor and send to network, or will be from the CAD graphics process order of user's information receiver with from the client information packing of client computer distributor and send to CAD figure parallel processing element and user command dispensing device (2) on the network; Be used to receive the client information of automatic network and the return data receiving system (7) of graphical information as a result; Be used for CAD graphic rendition device (6) that graphical information is as a result restored on the output equipment of main control computer; Client computer comprises: the client data receiving system (8) that is used to receive the CAD figure parallel processing element information and the CAD graphics process command information of automatic network; Be used to store figure parallel processing element storage device (9) from the CAD figure parallel processing element information of client data receiving system; The graphic processing facility (11) that is used for the CAD graphical information of the CAD graphics process command process figure parallel processing element storage device that sends according to the client data receiving system; Be used to receive graphical information as a result, and this information and client information packing are sent on the network, or only the client information packing is sent to the client data dispensing device (10) on the network from graphic processing facility.
Shown in Figure 2: the detailed diagram that is CAD figure parallel processing element and user command dispensing device (2), it comprises: be used to receive figure parallel processing element, the order of CAD graphics process, this machine information of main control computer, and these information passed to the client computer graphic element packing device (12) of packet transmitter respectively with the client information packing; Be used to receive from client computer graphic element packing device package information and send to packet transmitter (13) on the network.
Shown in Figure 3: be in detail diagram of return data receiving system (7), it comprises: be used to receive the packet of graphical information and client information as a result that comprises of automatic network, and data packet delivery given the data packet receiver (15) of de-packetizer; Be used to analyze and comprise the packet of graphical information and client information as a result, and wherein graphical information as a result and client information are separated the de-packetizer (14) that passes to related device respectively.
Shown in Figure 4: as to be client data receiving system (8) diagram in detail, it comprises: be used to receive the packet of figure parallel processing element information, CAD graphics process command information and the main control computer information of automatic network, and data packet delivery given the client data bag receiver (16) of packet de-packetizer; Be used to analyze the packet that comprises figure parallel processing element information, CAD graphics process command information and main control computer information, and wherein figure parallel processing element information, CAD graphics process command information and main control computer information separated come out to pass to respectively the reception de-packetizer (17) of related device.
Shown in Figure 5: as to be client data dispensing device (10) diagram in detail, it comprises: be used for reception result graphical information and this machine information of client computer, and with they or only this machine information of client computer packing pass to the reception packing device (19) of client data bag transmitter; Be used to receive from receiving the packing device package information and sending to client data bag transmitter (18) on the network.Comprise a client computer round-robin queue in the realization of client computer distributor (4).
Shown in Figure 6: be the management diagram of client computer round-robin queue, wherein, a client computer is all represented in each unit in the sector region.The concrete condition that client information is sent in the client computer round-robin queue is, the precedence that client information is received according to main control computer is formed formation, on article one information of formation head pointer is set, for scan pointer provides the initial pointer data, on the last item information of formation tail pointer is set, for scan pointer provides the ending pointer data; The scanning motion of scan pointer is undertaken by the scan pointer scanning direction: after scan pointer reads current information, move a position automatically backward, point on next bar information position; When scan pointer runs into tail pointer, again the value of head pointer is composed to it; The method that New Client information is joined the team is when a New Client information is sent into, and this fresh information is queued at the end of queue, and tail pointer is moved a position backward, points on this New Client information position.
Shown in Figure 7: be the diagram of main control computer workflow: main control computer is broadcasted this machine information on network, simultaneously by monitoring network, find to exist in the network operating and beam back the computer system of link information, they are registered, and the system after the registration is as the client computer of based on network CAD graphic system; In system, there is client computer, when having the user CAD graphics tasks of forming by CAD figure parallel processing element simultaneously, these CAD figure parallel processing elements are distributed on the client computer, receive the order of user CAD graphics process afterwards, and it is sent on the All Clients; No matter be in above-mentioned work is carried out or after carrying out, main control computer all will continue to monitor network, to find client computer.
Shown in Figure 8: as to be the client works flowchart illustrations: when the computer system in the network receives main control computer information, utilize main control computer information, send link information to main control computer, behind the response message that receives from main control computer, promptly transfer to and monitor network, CAD figure parallel processing element is being handled back return results graphical information according to the order of user CAD graphics process to find and to handle CAD figure parallel processing element and the order of user CAD graphics process from main control computer.When a computer system receives response message in the network, illustrate that it is found, registers and be converted into a client computer by main control computer.After sending link information to main control computer if the response message that can not receive in time from main control computer then needs to continue to send out link information to main control computer, so that possible afterwards can be received and be converted into client computer by main control computer sometime.
CAD figure parallel processing element is that some design at based on network CAD graphic system, but parallel processing, than the little basic CAD graphics process task of user task, they can be described by table one.CAD figure parallel processing element is made up of with the graphic feature data set relevant with drawing command drawing command.Drawing command be pass through that analysis to engineering machinery softwares such as CAD and PROE obtains one group of one group of symbolically can executed in parallel drawing function, the function of their expressions need provide the specific characteristic relevant with figure when realizing.Such as drawing command can be " circle ", and computer just can be drawn out concrete circle after providing data such as central coordinate of circle and radius.The CAD figure parallel processing element that this patent uses has only several classes seldom, and realization and application are all very convenient.
Drawing command | The graphic feature data set relevant with drawing command |
Table one is based on network by drawing command, the graphic feature data representation relevant with drawing command
The CAD figure parallel processing element of CAD graphic system
The specific implementation method of main control computer is: the user analyzes conversion equipment (5) by user profile receiving system (3) to the read-write of CAD figure and sends the order of reading the CAD graphic file, CAD figure read-write is analyzed conversion equipment (5) beginning and is analyzed the CAD graphic file while reading, and it is converted to the CAD graphical information of being made up of CAD figure parallel processing element is kept in the CAD graphical information storage device (1); In said process, main control computer sends to this machine information of oneself on the network by CAD figure parallel processing element and user command dispensing device (2), wait for the packet that comprises client information that receives automatic network simultaneously, analyze client information by de-packetizer (14) and send in the client computer round-robin queue of client computer distributor (4); After said process is finished, CAD figure parallel processing element and user command dispensing device (2) are got CAD figure parallel processing element from CAD graphical information storage device (1), from client computer distributor (4), get client information, and with their the packing and send on the network, up to all CAD figure parallel processing elements all send finish till; CAD figure parallel processing element and user command dispensing device (2) are waited for the CAD graphics process order that receives from user profile receiving system (3), and it is sent on the network, allow all client computer receive, afterwards, return data receiving system (7) is waited for the bag of graphic message data as a result that receives from client computer, behind the analysis packet relevant graphical information is as a result sent into CAD graphic rendition device (6) and exports; User profile receiving system (3) can be analyzed conversion equipment (5) to the read-write of CAD figure and send the order that the CAD graphical information in the CAD graphical information storage device (1) is deposited in the CAD graphic file, CAD figure read-write is analyzed conversion equipment (5) and is received the information that the CAD graphical information that will analyze and change after the order in the CAD graphical information storage device (1) can receive for the CAD graphic file and be kept in the CAD graphic file, also can make amendment to the CAD figure parallel processing element information in the CAD graphical information storage device (1), amended CAD figure parallel processing element also must synchronously send on the network by CAD figure parallel processing element and user command dispensing device (2), makes on the relevant client computer CAD figure parallel processing element information obtain revising.
Client computer specific implementation method is: client computer is by the packet of client data bag receiver (16) reception from main control computer, and it is passed to receive de-packetizer (17), from packet, isolate CAD figure parallel processing element or the order of user CAD graphics process by receiving de-packetizer (17), and be sent to figure parallel processing element storage device (9) respectively and store or be sent to graphic processing facility (11), with control graphic processing facility (11) the CAD figure parallel processing element in the figure parallel processing element storage device (9) is handled, after graphic processing facility (11) is handled CAD figure parallel processing element by order request, graphical information as a result sent into receive packing device (19), receive packing device (19) with graphical information and this machine information of client computer are packaged into packet as a result, pass to client data bag transmitter (18), this bag is sent on the network; Wherein, receiving packing device (19) can be with two kinds of packing data: 1. this client information; 2. this client information and graphic processing facility (11) are handled the graphical information as a result that sends over behind the CAD figure parallel processing element by user CAD graphics process order request.If have only this client information in the packet, after then de-packetizer (14) solves this information, with this information send in the client computer distributor (4) client computer round-robin queue (generally speaking, only comprise this machine information in the packet of being sent out when other computer system and main control computer connect in the network, promptly become the client computer of main control computer after computer system and main control computer connect); If the information in the packet had both included client information, include graphical information as a result again, de-packetizer (14) client information of will ignoring then, and just graphical information is as a result sent into CAD figure reduction apparatus (6).
In addition, table two is depicted as the packet that main control computer sends to client computer, table three is depicted as the packet that client computer sends to main control computer, packet shown in table two and the table three is after main control computer and client computer connect, and main control computer sends to client computer, comprise the graphical information as a result that obtains after the packet (table two) of client information and CAD figure parallel processing element or the order of user CAD graphics process and client computer are handled CAD figure parallel processing element according to CAD figure parallel processing element and the order of user CAD graphics process and send to main control computer, comprise this client information and the packet (table three) of graphical information as a result.When main control computer and client computer connected, the main control computer broadcast transmission only comprised main control computer information (promptly CAD figure parallel processing element or command component change the main control computer information of depositing in the table two) to the packet on the network; After client computer is received the broadcast data packet of main control computer, utilize this main control computer information, will send the connection request packet to main control computer after connecting with main control computer, only comprise the information of client computer in this connection request packet.
Table two main control computer sends packet table three client computer and sends packet
In sum, the invention provides a kind of based on network CAD graphic system, it comprises: the parallel processing on other client computer of an energy access and the distribution of content changing the CAD graphic file and make this document, then accept from the graphical information as a result of other client computer and the main control computer that on this machine, graphical information as a result reproduced; At least one is used to receive from the graphical information of main control computer and handles, returns afterwards the client computer of giving main control computer as the graphical information of result; Main control computer is connected with client's machine computer network; Main control computer comprises: the CAD graphical information storage device (1) that is used to deposit the CAD figure parallel processing element of CAD graphical information; Be used for finishing the CAD graphic file is read, analyzes and be converted to CAD graphical information that CAD graphical information storage device can discern is made up of CAD figure parallel processing element and the CAD figure that the CAD graphical information that CAD graphical information storage device is made up of CAD figure parallel processing element read and be converted to the CAD graphic file is read and write analysis conversion equipment (5) according to the read write command that receives; Be used to receive user profile, and make amendment according to user profile or to the CAD graphical information of forming by CAD figure parallel processing element in the CAD graphical information storage device, or conversion equipment is analyzed in CAD figure read-write sent and read the CAD graphic file, analyze and be converted to the CAD graphical information of forming by CAD figure parallel processing element and be stored in order in the CAD graphical information storage device, or conversion equipment is analyzed in CAD figure read-write sent and read CAD graphical information of forming by CAD figure parallel processing element in the CAD graphical information storage device and the order that is converted to the CAD graphic file, or provide the user profile receiving system (3) of relevant treatment order for client processes CAD graphical information; The client computer distributor (4) that be used to receive and preserve client information, distributes client computer; Be used for CAD graphical information storage device CAD figure parallel processing element with from the packing of the client information of client computer distributor and send to network, or will be from the CAD graphics process order of user's information receiver with from the client information packing of client computer distributor and send to CAD figure parallel processing element and user command dispensing device (2) on the network; Be used to receive the client information of automatic network and the return data receiving system (7) of graphical information as a result; Be used for CAD graphic rendition device (6) that graphical information is as a result restored on the output equipment of main control computer; Client computer comprises: the client data receiving system (8) that is used to receive the CAD figure parallel processing element information and the CAD graphics process command information of automatic network; Be used to store figure parallel processing element storage device (9) from the CAD figure parallel processing element information of client data receiving system; The graphic processing facility (11) that is used for the CAD graphical information of the CAD graphics process command process figure parallel processing element storage device that sends according to the client data receiving system; Be used to receive graphical information as a result, and this information and client information packing are sent on the network, or only the client information packing is sent to the client data dispensing device (10) on the network from graphic processing facility.
This based on network CAD graphic system, its CAD figure parallel processing element and user command dispensing device comprise: be used to receive figure parallel processing element, the order of CAD graphics process, this machine information of main control computer, and these information passed to the client computer graphic element packing device (12) of packet transmitter respectively with the client information packing; Be used to receive from client computer graphic element packing device package information and send to packet transmitter (13) on the network.
This based on network CAD graphic system, its return data receiving system comprises: be used to receive the packet of graphical information and client information as a result that comprises of automatic network, and data packet delivery given the data packet receiver (15) of de-packetizer; Be used to analyze and comprise the packet of graphical information and client information as a result, and wherein graphical information as a result and client information are separated the de-packetizer (14) that passes to related device respectively.
This based on network CAD graphic system, its client data receiving system comprises: be used to receive the packet of figure parallel processing element information, CAD graphics process command information and the main control computer information of automatic network, and data packet delivery given the client data bag receiver (16) of packet de-packetizer; Be used to analyze the packet that comprises figure parallel processing element information, CAD graphics process command information and main control computer information, and wherein figure parallel processing element information, CAD graphics process command information and main control computer information separated come out to pass to respectively the reception de-packetizer (17) of related device.
This based on network CAD graphic system, its client data dispensing device comprises: be used for reception result graphical information and this machine information of client computer, and with they or only this machine information of client computer packing pass to the reception packing device (19) of client data bag transmitter; Be used to receive from receiving the packing device package information and sending to client data bag transmitter (18) on the network.
This based on network CAD graphic system, wherein from the figure parallel processing element of described CAD graphical information storage device (1) taking-up, this figure parallel processing element is made up of with the graphic feature data relevant with this order drawing command.
For verifying realizability of the present invention, the inventor utilizes the Socket programming successfully to realize the experimental system of the present invention by Fig. 9 and Figure 10 design on Windows.In this experimental system:
1. network service utilizes the socket programming to realize.
2. the realization of CAD figure parallel processing element in the experimental system:
CAD figure parallel processing element is by analyzing the one group of test pattern unit that can represent solid figure that engineering machinery softwares such as CAD and PROE obtain.As, in this experimental system, cylindrical three-dimensional structure after the method that reference proe three-dimensional software is drawn and AutoCAD draws, think the bottom center point of getting drawn entity coordinate, diameter, height and along the picture of reference axis be orientated, five data of graphical display characteristic (representing whether as seen this cylinder) can show (seeing Table four), wherein yz is a drawing command, and the reference axis orientation of picture, diameter, height, bottom center's coordinate, graphical display characteristic constitute the relevant graphic feature data set of drawing command.
yz | The reference axis orientation of drawing | Diameter | High | Bottom center's point coordinates | The graphical display characteristic |
The cylindrical CAD figure of table four parallel processing element is represented
One group of CAD figure parallel processing element that the CAD figure parallel processing element that uses in the experimental system obtains after the method that reference proe three-dimensional software is drawn and AutoCAD draws just is as cylinder, cone, piece (square or cuboid piece) etc.
3. some important data structures explanations in the experimental system
The packet data structure that is sent by client computer graphic element packing device (12) that main control computer uses sees Table five.This packet comprises data identification information and concrete two contents of data.When being 0, data identification information represents that concrete data only are this machine information of main control computer, when being 1, data identification information represents that concrete data are CAD figure parallel processing element information, represent that when data identification information is 2 concrete data are command information, client computer receives de-packetizer (17) and is easy to isolate necessary information according to data identification information.The packet data structure by receiving packing device (19) transmission that client computer is used sees Table six.This packet comprises identifying information and two contents of the concrete data of client computer.Represent concrete data only for this machine information of client computer when data identification information is 0, represent that when data identification information is 1 concrete data are graphical information as a result, main control computer de-packetizer (14) is easy to isolate necessary information according to identifying information.
The packet data structure that packet data structural table six client computer that table five main control computer uses are used
Fig. 9 is the realization flow diagram of main control computer in the experimental system:
The handling process of main control computer is: initialization system; The client computer graphic element packing device (12) of main control computer is obtained the information of main control computer and is packaged into packet, pass to packet transmitter (13) broadcast transmission to network, and wait for that other computer system is received the connection request packet of beaming back behind this packet on the network; After the data packet receiver of main control computer (15) is received the connection request packet of other computer, send into de-packetizer (14) to its analysis, obtain other computerized information in the packet, this information is sent into client computer round-robin queue in the client computer distributor (4), become a client information; The client computer graphic element packing device (12) of main control computer is got the figure parallel processing element circularly, gets client information from client computer distributor (4) from CAD graphical information storage device (1), the two is packaged into packet, pass to packet transmitter (13) and send to client computer, wait for the packet of graphical information as a result that comprises that client computer beams back then; After the data packet receiver of main control computer (15) is received packet from client computer, the packet that receives is sent into de-packetizer (14), de-packetizer (14) is to drawing client information or graphical information as a result behind the data packet analysis, if only contain client information in the packet, then it is sent into the client computer round-robin queue in the client computer distributor (4), otherwise graphical information is as a result sent into CAD graphic rendition device (6) output.
Client computer realization flow diagram in Figure 10 experimental system:
The handling process of client computer is: the client machine system initialization; After the client data bag receiver (16) of client computer receives the broadcast message packet of main control computer issue, give reception de-packetizer (17) with data packet delivery, receive de-packetizer (17) and analyze this packet, after obtaining the information of main control computer, connect with main control computer, after reception packing device (19) is obtained the information of this client computer, be packaged into the connection request packet, pass to client data bag transmitter (18), send to main control computer; After main control computer is received, utilize client information and client computer in this connection request packet to connect; After connecting, the packet that main control computer will comprise figure parallel processing element or the order of user CAD graphics process sends to client computer, after client computer is received the packet of main control computer, this packet is handled.Client computer to the data package processing method that comprises figure parallel processing element or the order of user CAD graphics process that main control computer sent is: after the client data bag receiver (16) of client computer is received packet from main control computer, this packet is sent into reception de-packetizer (17), after receiving de-packetizer (17) analysis, figure parallel processing element storage device (9) storage is sent in figure parallel processing element or the order of user CAD graphics process that analysis obtains, or send into graphic processing facility (11), graphic processing facility (11) is according to this Graphics Processing Unit of user CAD graphics process command process, graphical information as a result sent into receive packing device (17), receive packing device (17) graphical information as a result is packaged into packet with this client information, pass to client data bag transmitter (18), send on the network.
In sum, the present invention utilizes network service, computer system by real work in rational management and the dispatch network, under the prerequisite that does not influence their operate as normal, CAD graphics process task with a complexity is distributed in each computer system of network, makes it to obtain parallel processing to a certain extent, like this, by network technology with the numerous computer systems that exist in the network virtual for can parallel processing the based on network CAD graphic system of CAD graphics process task.Such system improves greatly than existing single processor system speed on the large-scale user CAD graphics process task of processing, makes computer network resources be fully used simultaneously.
Claims (8)
1. based on network CAD graphic system, it is characterized in that: it comprises: the parallel processing on other client computer of an energy access and the distribution of content changing the CAD graphic file and make this document, then accept from the graphical information as a result of other client computer and the main control computer that on this machine, graphical information as a result reproduced; At least one is used to receive from the graphical information of main control computer and handles, returns afterwards the client computer of giving main control computer as the graphical information of result; Main control computer is connected with client's machine computer network; Main control computer comprises: the CAD graphical information storage device (1) that is used to deposit the CAD figure parallel processing element of CAD graphical information; Be used for finishing the CAD graphic file is read, analyzes and be converted to CAD graphical information that CAD graphical information storage device can discern is made up of CAD figure parallel processing element and the CAD figure that the CAD graphical information that CAD graphical information storage device is made up of CAD figure parallel processing element read and be converted to the CAD graphic file is read and write analysis conversion equipment (5) according to the read write command that receives; Be used to receive user profile, and make amendment according to user profile or to the CAD graphical information of forming by CAD figure parallel processing element in the CAD graphical information storage device, or conversion equipment is analyzed in CAD figure read-write sent and read the CAD graphic file, analyze and be converted to the CAD graphical information of forming by CAD figure parallel processing element and be stored in order in the CAD graphical information storage device, or conversion equipment is analyzed in CAD figure read-write sent and read CAD graphical information of forming by CAD figure parallel processing element in the CAD graphical information storage device and the order that is converted to the CAD graphic file, or provide the user profile receiving system (3) of relevant treatment order for client processes CAD graphical information; The client computer distributor (4) that be used to receive and preserve client information, distributes client computer; Be used for CAD graphical information storage device CAD figure parallel processing element with from the packing of the client information of client computer distributor and send to network, or will be from the CAD graphics process order of user's information receiver with from the client information packing of client computer distributor and send to CAD figure parallel processing element and user command dispensing device (2) on the network; Be used to receive the client information of automatic network and the return data receiving system (7) of graphical information as a result; Be used for CAD graphic rendition device (6) that graphical information is as a result restored on the output equipment of main control computer; Client computer comprises: the client data receiving system (8) that is used to receive the CAD figure parallel processing element information and the CAD graphics process command information of automatic network; Be used to store figure parallel processing element storage device (9) from the CAD figure parallel processing element information of client data receiving system; The graphic processing facility (11) that is used for the CAD graphical information of the CAD graphics process command process figure parallel processing element storage device that sends according to the client data receiving system; Be used to receive graphical information as a result, and this information and client information packing are sent on the network, or only the client information packing is sent to the client data dispensing device (10) on the network from graphic processing facility.
2. based on network CAD graphic system according to claim 1, it is characterized in that: CAD figure parallel processing element and user command dispensing device (2) comprising: be used to receive figure parallel processing element, the order of CAD graphics process, this machine information of main control computer, and these information are passed to the client computer graphic element packing device (12) of packet transmitter respectively with client information packing, be used to receive from client computer graphic element packing device package information and send to packet transmitter (13) on the network; Its return data receiving system (7) comprising: the packet of graphical information and client information as a result that comprises that is used to receive automatic network, and with the data packet receiver (15) of data packet delivery to de-packetizer, be used to analyze and comprise the packet of graphical information and client information as a result, and wherein graphical information as a result and client information are separated the de-packetizer (14) that passes to related device respectively; Its client data receiving system (8) comprising: be used to receive the packet of figure parallel processing element information, CAD graphics process command information and the main control computer information of automatic network, and data packet delivery given the client data bag receiver (16) of packet de-packetizer; Be used to analyze the packet that comprises figure parallel processing element information, CAD graphics process command information and main control computer information, and wherein figure parallel processing element information, CAD graphics process command information and main control computer information separated come out to pass to respectively the reception de-packetizer (17) of related device; Its client data dispensing device (10) comprising: be used for reception result graphical information and this machine information of client computer, and with they or only this machine information of client computer packing pass to the reception packing device (19) of client data bag transmitter, be used to receive from receiving the packing device package information and sending to client data bag transmitter (18) on the network.
3. based on network CAD graphic system according to claim 2, it is characterized in that: the method step that main control computer and client computer connect comprises:
1), after the main control computer start, soon this machine information and send into client computer graphic element packing device (12) and be packaged into packet, passes to packet transmitter (13) broadcast transmission to network;
2) after, the client data bag receiver (16) of other computer system that exists on the network is received this packet, this packet is sent into reception de-packetizer (17), receiving de-packetizer (17) analyzes this packet and obtain main control computer information in the packet: the main control computer information that obtains is analyzed in this computer system utilization, connect with main control computer, and this machine information of client computer sent into receive packing device (19) and be packaged into the connection request packet, pass to client data bag transmitter (18), send on the network;
3), the data packet receiver of main control computer (15) is received behind the connection request packet that other computer system is sent, this bag is sent into de-packetizer (14) to be analyzed, the computerized information that de-packetizer (14) obtains analysis is sent into the client computer round-robin queue in the client computer distributor (4), and the represented computer system of computerized information that enters client computer round-robin queue promptly becomes a client computer of main control computer.
4. based on network CAD graphic system according to claim 2, it is characterized in that: the storage means of its client information comprises the following steps:
1), after main control computer receives the packet of other computer system on the network, this packet is sent into de-packetizer (14), the computerized information that de-packetizer (14) obtains analysis is sent into the client computer round-robin queue of client computer distributor (4);
2), in client computer round-robin queue, described computerized information is received the precedence composition formation of packet that computer sends according to main control computer, on article one information of this formation head pointer is set, on the last item information of this formation, tail pointer is set, with convenient scanning of inserting new client information and control client information; The scanning motion of client information is undertaken by the scan pointer scanning direction.
5. based on network CAD graphic system according to claim 1 is characterized in that: the method step that the CAD graphical file information enters main control computer is:
1), user profile receiving system (3) is analyzed conversion equipment (5) according to user's requirement to the read-write of CAD figure and is sent the order that the CAD graphic file is read;
2), CAD figure read-write analyzes and opens the CAD graphic file after conversion equipment (5) is received the order that the CAD graphic file is read, the content of analyzing the CAD graphic file also converts them to the CAD graphical information of representing with the figure parallel processing element and sends in the CAD graphical information storage device (1) and store.
6. based on network CAD graphic system according to claim 1 is characterized in that: the CAD graphical information is stored as the method step of file and is in its main control computer:
1), user profile receiving system (3) is analyzed conversion equipment (5) according to user's requirement to the read-write of CAD figure and is sent the order of writing the CAD graphic file;
2), CAD figure read-write is analyzed conversion equipment (5) and is received after the order of writing the CAD graphic file from CAD graphical information storage device (1) and read the CAD graphical information and be converted to the CAD graphical information of general CAD graphic file requirement, and these information are write the CAD graphic file.
7. based on network CAD graphic system according to claim 2 is characterized in that: after its main control computer and client computer connect, to the process method step of CAD figure be:
1), client computer graphic element packing device (12) takes out a figure parallel processing element from CAD graphical information storage device (1), then from client computer distributor (4), take out a client information, it and figure parallel processing element are packaged into packet, send into packet transmitter (13) and send on the network, go to receive by the client data bag receiver (16) of relative clients machine;
2), after client data bag receiver (16) receives packet, it is passed to receive de-packetizer (17), receive de-packetizer (17) the CAD figure parallel processing element information that parses is sent into storage in the figure parallel processing element storage device (9);
3), if the figure parallel processing element in the CAD graphical information storage device (1) does not send to finish, then enter 1, carry out the transmission of figure parallel processing element next time;
4), client computer graphic element packing device (12) is waited for and is received the CAD graphics process order that passes over from user profile receiving system (3), and each the bar client information in this CAD graphics process order and the client computer distributor (4) all is packaged into packet, and all send into packet transmitter (13) and send on the network, go to receive by being distributed in client data bag receivers (16) all on the network;
5), after client data bag receiver (16) receives packet, it is passed to receive de-packetizer (17), receive de-packetizer (17) the graphics process order that parses is passed to graphic processing facility (11);
6), graphic processing facility (11) is got CAD figure parallel processing element according to this CAD graphics process order and is handled from figure parallel processing element storage device (9) after receiving the order of CAD graphics process, its as a result graphical information will be admitted to and receive packing device (19), by receive packing device (19) with this as a result graphical information pack with this client information and be packaged into packet, send into client data bag transmitter (18) and send on the network, go to receive by the data packet receiver (15) of main control computer;
7) after, data packet receiver (15) receives packet from client data bag transmitter (18), the packet that receives is sent into de-packetizer (14), and the graphical information as a result that de-packetizer (14) obtains according to analysis is sent into CAD graphic rendition device (6) and finish the output of CAD figure on main control computer;
8), enter 4, carry out the reception and the transmission of CAD graphics process order next time.
8. based on network CAD graphic system according to claim 1 is characterized in that: the figure parallel processing element, this figure parallel processing element is made up of with the graphic feature data relevant with this order drawing command.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006101070149A CN101146116B (en) | 2006-09-11 | 2006-09-11 | A CAD graph processing system based on the network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2006101070149A CN101146116B (en) | 2006-09-11 | 2006-09-11 | A CAD graph processing system based on the network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101146116A CN101146116A (en) | 2008-03-19 |
CN101146116B true CN101146116B (en) | 2010-11-10 |
Family
ID=39208400
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2006101070149A Expired - Fee Related CN101146116B (en) | 2006-09-11 | 2006-09-11 | A CAD graph processing system based on the network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101146116B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013013336A1 (en) * | 2011-07-22 | 2013-01-31 | Hewlett-Packard Development Company, L.P. | Processing images stored by a plurality of independent online image repositories |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1292118A (en) * | 1998-02-26 | 2001-04-18 | 太阳微系统公司 | Method and apparatus for dynamic distributed computing over network |
US6738151B1 (en) * | 2000-05-26 | 2004-05-18 | Kabushiki Kaisha Toshiba | Distributed processing system for image forming apparatus |
CN1537271A (en) * | 1998-09-18 | 2004-10-13 | 韦尔西・法伯尔斯 | Computer processing and programming method using autonomous data processor |
CN1595360A (en) * | 2003-09-12 | 2005-03-16 | 国际商业机器公司 | System and method for executing jobs in a distributed computing architecture |
CN1658567A (en) * | 2005-02-21 | 2005-08-24 | 华东师范大学 | Internet-based collaborative drawing method |
CN100367706C (en) * | 2004-10-28 | 2008-02-06 | 上海交通大学 | Image Grid Processing System Based on Web Service Resource Framework |
-
2006
- 2006-09-11 CN CN2006101070149A patent/CN101146116B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1292118A (en) * | 1998-02-26 | 2001-04-18 | 太阳微系统公司 | Method and apparatus for dynamic distributed computing over network |
CN1537271A (en) * | 1998-09-18 | 2004-10-13 | 韦尔西・法伯尔斯 | Computer processing and programming method using autonomous data processor |
US6738151B1 (en) * | 2000-05-26 | 2004-05-18 | Kabushiki Kaisha Toshiba | Distributed processing system for image forming apparatus |
CN1595360A (en) * | 2003-09-12 | 2005-03-16 | 国际商业机器公司 | System and method for executing jobs in a distributed computing architecture |
CN100367706C (en) * | 2004-10-28 | 2008-02-06 | 上海交通大学 | Image Grid Processing System Based on Web Service Resource Framework |
CN1658567A (en) * | 2005-02-21 | 2005-08-24 | 华东师范大学 | Internet-based collaborative drawing method |
Non-Patent Citations (2)
Title |
---|
周苗苗.基于Internet的分布式计算系统的设计与实现.中南大学2005届硕士学位论文.2006,(2005),全文. * |
林刚等.基于局域网组播技术的并行图像处理系统.计算机应用研究.2002,146-148. * |
Also Published As
Publication number | Publication date |
---|---|
CN101146116A (en) | 2008-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103237045B (en) | Parallel processing system and parallel processing method for large-scale real-time traffic data | |
CN105512083B (en) | Method for managing resource, apparatus and system based on YARN | |
US9665921B2 (en) | Adaptive OpenGL 3D graphics in virtual desktop infrastructure | |
CN101652750B (en) | Data processing device, distributed processing system and data processing method | |
CN105979007A (en) | Acceleration resource processing method and device and network function virtualization system | |
CN111597043B (en) | Full scene edge calculation method, device and system | |
CN108881485A (en) | The method for ensureing the high concurrent system response time under big data packet | |
WO2009111325A2 (en) | Scalable, cross-platform method for multi-tile display systems | |
CN103941662A (en) | Task scheduling system and method based on cloud computing | |
CN114095537B (en) | A Netty-based massive data access method and system in an Internet of Things application | |
CN101383839A (en) | Data distribution system based on data server and implementation method | |
CN102904961A (en) | A cloud computing resource scheduling method and system | |
CN105786447A (en) | Method and apparatus for processing data by server and server | |
CN101146116B (en) | A CAD graph processing system based on the network | |
CN109902182A (en) | Knowledge data processing method, device, equipment and storage medium | |
CN111475313B (en) | Method and device for constructing message queue suitable for forward propagation of convolutional neural network | |
CN101634956A (en) | Dispatching method and dispatcher of information of polynuclear processor | |
CN112883110A (en) | Terminal big data distribution method, storage medium and system based on NIFI | |
CN101072172A (en) | Method and device for realizing network data high-efficiency transfer | |
US11513858B2 (en) | System for operating and method for arranging nodes thereof | |
CN101616319B (en) | Method for processing data and service equipment | |
CN105302645B (en) | A kind of task distribution method and device | |
CN100422935C (en) | A network-based virtual multiprocessor system and processing method | |
Haiyan et al. | Research on robot grabbing system based on hybrid cloud | |
Chen et al. | Scheduling of job combination and dispatching strategy for grid and cloud system |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20101110 Termination date: 20110911 |