CN1299475C - Method for synchronized model browsing and operating in network supported cooperative design - Google Patents
Method for synchronized model browsing and operating in network supported cooperative design Download PDFInfo
- Publication number
- CN1299475C CN1299475C CNB2004100373253A CN200410037325A CN1299475C CN 1299475 C CN1299475 C CN 1299475C CN B2004100373253 A CNB2004100373253 A CN B2004100373253A CN 200410037325 A CN200410037325 A CN 200410037325A CN 1299475 C CN1299475 C CN 1299475C
- Authority
- CN
- China
- Prior art keywords
- model
- server
- address
- socket
- anno
- 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
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000013461 design Methods 0.000 title claims abstract description 44
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 20
- 230000007246 mechanism Effects 0.000 claims abstract description 10
- 230000008569 process Effects 0.000 claims description 29
- 230000009471 action Effects 0.000 claims description 16
- 238000012217 deletion Methods 0.000 claims description 7
- 230000037430 deletion Effects 0.000 claims description 6
- 238000012986 modification Methods 0.000 claims description 4
- 230000004048 modification Effects 0.000 claims description 4
- 230000000007 visual effect Effects 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 abstract description 11
- 238000004891 communication Methods 0.000 abstract description 7
- 230000008901 benefit Effects 0.000 abstract description 2
- 238000013519 translation Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 6
- 238000012423 maintenance Methods 0.000 description 6
- 238000012546 transfer Methods 0.000 description 4
- 238000010276 construction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000011218 segmentation Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 125000000174 L-prolyl group Chemical group [H]N1C([H])([H])C([H])([H])C([H])([H])[C@@]1([H])C(*)=O 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013499 data model Methods 0.000 description 1
- 230000008531 maintenance mechanism Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The present invention relates to a method for synchronized model browsing and operating in network supported cooperative design, which belongs to the tool designing field of CAD subsidiary products. The present invention is characterized in that a socket provided by TCP or UDP is used as a network programming interface on command/parameter mechanism; a file is directly transmitted between a server and each client terminal. Therefore, the method proposes a corresponding msg packet format, and a flow type socket is designed for information communication. The method can be directly controlled by an application developer and has the advantages of high flexibility and little data transmission quantity. Moreover, the method achieves the synchronism of model browsing and operating.
Description
Technical field
The synchronous browsing method of model in the Collaborative Design Based on Internet belongs to area of computer aided Collaborative Product design tool field.
Background technology
The basis of collaborative design is the consistency that guarantees product data model, and therefore, making up the uniform data source is the key of carrying out coaction.The collaborative design activity mostly occurs in the discussion to knotty problem, discuss both sides or in many ways will be in real time, operation model alternatively.Very huge in view of current network transfer speeds and bandwidth constraints and existing CAD system model, collaboratively be based upon that product model data (even VRML form) are transmitted in real time obviously is unpractical.In order to reach real-time to the model interoperability, must reduce volume of transmitted data on the net as far as possible, we adopt the collaborative assembling agreement based on C/P (command) mechanism to realize online collaborative design for this reason.
Collaborative pre-assembled is the activity of the relevant member's fellowship parts assembling of tissue.The assembling member holds the strange land, shares same assembly space by Internet, launches assembling at parts on the different regions.Realize above-mentioned target, minimum requirements is that an information interchange mechanism fast will be arranged, be intended to guarantee that different assembly crewmans can both see other members' operation in real time and understand its assembling, and individual's imagination is conveyed to other members by the assembly manipulation form.The excellent communications mode is the basis of carrying out collaborative assembling, and collaborative assembling adopts stream socket (Stream Sockets) technology to realize the (see figure 1) of communicating by letter between each bulk end.
Socket is a kind of interface for network programming, and it is a kind of abstract to communication end point, and a kind of mechanism that sends and accept data is provided.Stream socket adopts TCP (transmission control protocol) transmission data, and a kind of reliable connection-oriented transmission service is provided.It is that segmentation is carried out when transmitting data, and host exchanging data must be set up a session.It uses bit stream communication, and promptly data are used as structureless byte stream.By to the field specified order of each TCP transmission number, can obtain reliability.If a segmentation is broken down into several segments, receives main frame and can know whether that all segments all receive.Reply by transmission, received data in order to confirm other main frame.For each segment that sends, receive main frame and must return an affirmation in the time of an appointment.If the sender does not receive affirmation, data can be resend; If the packet of receiving damages, receive main frame and can give up it, because confirm not to be sent out, the sender still can resend segmentation, is a kind of reliable connection-oriented data transfer mode.Each main body is used socket with the assembling server and is realized communicating by letter.The socket that utilizes TCP or UDP to provide directly carries out file transfer between server and client computer advantage is that implementation procedure can directly be controlled by application developer, and flexibility is very high.
Utilization adopts stream socket (Stream Sockets) technology to realize communicating by letter between each bulk end based on the collaborative assembling agreement of C/P mechanism, has reduced required volume of transmitted data on the net, has reached the synchronism to the model browse operation.Here said model comprises document (DOC, WRL, XLS), two-dimentional drawing (DWG, DXF, IGS) and threedimensional model (VRML) etc.
Summary of the invention
The objective of the invention is to set up a kind of collaborative annotations and comments of two dimension of between each client and assembling server, realizing, three-dimensional collaborative annotations and comments, three-dimensional collaborative virtual assembling, and implementation procedure can directly be controlled by application developer, is the synchronous browse operation method of the high model of a kind of flexibility.
The invention is characterized in: it is based on C/P is on the command mechanism, and it contains following steps successively:
(1) is provided with the stream socket interface for network programming that the socket api interface that utilizes TCP or UDP to provide separately on the assembling server of model database is used as intercommunication in each client host and the network;
(2) the msg packet format that the synchronous browse operation of setting model is used between each client and above-mentioned server:
(a) version is represented with Version, refers to assemble the terminal software version number of server and the use of each client;
(b) the head sign is represented with flag, refers to agreement sign head;
(c) user name is represented with userName, refers to user's signature of executable operations;
(d) online number is represented with userCount, refers to participate in the number of Collaborative Design Based on Internet meeting, is variable;
(e) source IP address is represented with IP address, refers to the user side IP address of executable operations;
(f) action type is represented with Operate_Type, and it comprises:
TEXT_---the word message that is used to exchange;
MODEL_OPEN---open the model file of a .wrl form;
MODEL_ADD---assemble parts;
MODEL_DEL---delete parts;
MODEL_MODIFY---revise the position of parts;
MODEL_VPCHG---change viewpoint;
ANNO_OPEN---open .ann form endorsement information file;
ANNO_ADD---add endorsement information to current scene;
ANNO_DEL---the deletion endorsement information is to current scene;
ANNO_MODIFY---be modified to the endorsement information of current scene;
ANNO_ACTIVE---be activated to the endorsement information of current scene;
ARCHIVE_OPEN---open two-dimentional document;
ARCHIVE_EXTCHG---change the document visual boundary;
(g) operation commands set is represented with Operate_Commands, refers to the set of above-mentioned each action type;
(3) in each client successively according to the synchronous browse operation of following steps implementation model:
(3.1) downloading product VRML from the assembling server is the assembling model that Virtual Reality Modeling Language is described;
(3.2) use Socket () process to create socket;
(3.3) use Bind () process to bind local socket;
(3.4) use Connect () process and server to connect;
(3.5) use Listen () process to intercept;
(3.6) if will send message, then fill in the value that msg wraps each territory, use Sendmsg () process to send the msg bag, otherwise continue to intercept;
(3.7) if according to intercepted result, receive message, then use Recvmsg () process to receive the msg bag;
(3.8) the Context resolution msg bag of setting according to step (2), obtain action type and operation commands set, at different action type utility command interpreters action type is converted into corresponding operation commands set, the consistency maintenance piece is finished corresponding model modification and Data Update then, refresh local model, realize that all user side models show synchronously;
(3.9) use Connect () process and server to connect, send new msg bag;
(4) after assembling server end, receiving new order and parameter, be automatically converted to operation, and the msg bag is transmitted to other clients in the group;
(5) the assembling server uses Close () process to close socket;
Experimental data
In actual the use, comparing result is as shown in Figure 2 aspect data volume and operation delay to have used the networked coordination design system of C/P mechanism and common collaborative design system.As seen from Figure 2, significantly reduce the delay of the data volume and the transmission course of Network Transmission, for realizing under the present network bandwidth condition that collaborative design work has significance based on the synchronous browse operation method of C/P mechanism.
Description of drawings
Fig. 1. each agent model consistency maintenance mechanism
Fig. 2. experimental result data figure
Fig. 3. use stream socket and realize information interchange
Fig. 4. collaborative design group model synchronizing information flows to
Fig. 5. the program flow diagram that this method realizes
Fig. 6. two-dimentional collaborative browse annotations and comments server side operation situation
Fig. 7. two-dimentional collaborative browse annotations and comments user side operational circumstances
Fig. 8. three-dimensional collaborative browse annotations and comments operational circumstances
Fig. 9. three-dimensional collaborative virtual assembling server end
Figure 10. three-dimensional collaborative virtual assembling user side
Embodiment
Use above-mentioned C/P mechanism method, purpose is avoided on the net directly mode file amount exactly, reduces collaborative design live loaded data traffic on the net, satisfies the real-time demand.Utilize the model method for synchronous of the socket api interface transmission customization that TCP or UDP provide for this reason, with operation information succinct complete be transferred to each terminal, reach the synchronism of collaborative design.Each territory of msg packet of model method for synchronous definition is defined as follows:
Table 1
Version (Version) | Head sign (flag) | User name (userName) | Online number (userCount) |
Source IP address (IP.address) | Port (port) | ||
Purpose IP address (aim_IP address) | Destination interface (aim_port) | ||
Action type (Operate_Type) (C in the C/P pattern) | |||
Operation commands set (Operate_Commands) (P in the C/P pattern) |
The msg packet comprises nine parts, and its each territory is described as follows:
(1) version (Version): the terminal software version number that each server end or user side use;
(2) head sign (flag): the sign head that is method;
(3) user name (userName): user's signature of executable operations;
(4) online number (userCount): the number (needing real-time update) of participating in the Collaborative Design Based on Internet meeting;
(5) source IP address (IP address): the user's IP address of executable operations;
(6) port (port): the user's of executable operations msg bag transmit port;
(7) purpose IP address (aim_IP address): msg bag sends IP address, destination;
(8) receiving port of destination interface (aim_port): msg bag;
(9) action type (Operate_Type): comprise following several main operation:
TEXT_---word message exchanges between the user group member;
MODEL_OPEN---open a model file (.wrl form);
MODEL_ADD---assemble parts;
MODEL_DEL---delete parts;
MODEL_MODIFY---revise the position of parts;
MODEL_VPCHG---change viewpoint;
ANNO_OPEN---open endorsement information file (.ann);
ANNO_ADD---add endorsement information;
ANNO_DEL---deletion endorsement information;
ANNO_MODIFY---revise endorsement information;
ANNO_ACTIVE---activate endorsement information, make it as seen;
ARCHIVE_OPEN---open two-dimentional document;
ARCHIVE_EXTCHG---change the document visual boundary;
……
(10) operation commands set (Operate_Commands): for different action types the operation commands set of relativity is arranged, these operation commands sets can succinctly intactly be described up-to-date operation.Be exemplified below:
Table 2
#Protocol for Synchronize #TEXT_ # text message Text (<msgStr>) #msgStr: the content # user name UserName of text message (<username>) #username: send user's signature of message |
#MODEL_OPEN # model file information File (<name>,<format>,<path>) #name: model file title #format: model file form (suffix name) #path: model file path |
#MODEL_ADD # parts fileinfo File (<name>,<format>,<path>) #name: model file title #format: model file form (suffix name) #path: model file path |
# assembling father node information parentNode (<node>) #node: father node information, node be a special construction body # rigging position information # translation thresholding Translation (<xtrans>,<ytrans>,<ztrans>) #Xtrans:X direction translation #Ytrans:Y direction translation #Ztrans:Z direction translation # rotation territory Rotation (<axis>,<angle>) #axis: rotating shaft #angle: anglec of rotation # viewpoint territory ViewPoint (<position>,<orientation>) #position: viewpoint position #orientation: viewpoint direction |
#MODEL_DEL # deletion model file information File (<name>,<format>,<path>) #name: model file title #format: model file form, (suffix name) #path: model file path # deletion model node location information Node, (<node>) #node: deletion of node information, node is a special construction body |
#MODEL_MODIFY # modification model node location Node (<node 〉) #node: revise nodal information; Node is a special construction body # rigging position information # translation thresholding Translation (Xtrans; Ytrans; Ztrans) #Xtrans:X direction translation #Ytrans:Y direction translation #Ztrans:Z direction translation # rotation territory Rotation (<axis 〉,<angle 〉) #axis: rotating shaft |
#angle: anglec of rotation # viewpoint territory ViewPoint (<position>,<orientation>) #position: viewpoint position #orientation: viewpoint direction |
#MODEL_VPCHG # new viewpoint territory ViewPoint (<position>,<orientation>) #position: viewpoint position #orientation: viewpoint direction |
#ANNO_OPEN # annotations and comments fileinfo File (<name>,<format>,<path>) #name: model file title #format: model file form (suffix name) #path: model file path |
The information File of #ANNO_ADD # annotations and comments preservation file (<name>,<format>,<path>) #name: model file title #format: model file form (suffix name) #path: model file path # annotations and comments display position Pos (<xpos>,<ypos>,<zpos>) #Xpos:X coordinate #Ypos:Y coordinate #Zpos:Z coordinate # annotations and comments content information annoText (<annoStr>) #annoStr: the annotations and comments content text |
#ANNO_DEL File (<name>,<format>,<path>) #name: model file title #format: model file form (suffix name) #path: the position Pos of model file path # deletion annotations and comments (<xpos>,<ypos>,<zpos>) the #Xpos:X coordinate |
#Ypos:Y coordinate #Zpos:Z coordinate |
#ANNO_MODIFY File (<name>,<format>,<path>) #name: model file title #format: model file form (suffix name) #path: the position Pos of model file path # modification annotations and comments (<xpos>,<ypos>,<zpos>) #Xpos:X coordinate #Ypos:Y coordinate #Zpos:Z coordinate # newly annotate and comment on content annoText (<annoStr>) #annoStr: the annotations and comments content text |
#ANNO_ACTIVE File (<name>,<format>,<path>) #name: model file title #format: model file form, (suffix name) #path: model file path # need activate annotations and comments position Pos, (<xpos>,<ypos>,<zpos>) #Xpos:X coordinate #Ypos:Y coordinate #Zpos:Z coordinate |
#ARCHIVE_OPEN # 2-dimensional design document information File (<name>,<format>,<path>) #name: model file title #format: model file form (suffix name) #path: model file path |
#ARCHIVE_EXTCHG # 2-dimensional design document browsing area change information File (<name>,<format>,<path>) #name: model file title #format: model file form, (suffix name) #path: the new browsing area of #, model file path descriptor Ext_min, (<xmin>,<ymin>,<zmin>) |
#Xmin:X direction minimum of a value #Ymin:Y direction minimum of a value #Zmin:Z direction minimum of a value Ext_max (<Xmax 〉;<Ymax 〉,<Zmax 〉) #Xmax:X direction maximum #Ymax:Y direction maximum #Zmax:Z direction maximum |
…… |
With the user side is example, and the implementation procedure of method is as follows:
(1) use Socket () process to create socket;
(2) use Bind () process to bind local socket;
(3) use Connect () process and server to connect;
(4) use Listen () process to intercept;
(5) if will send message, then fill in the value that msg wraps each territory, use Sendmsg () process to send the msg bag, stream socket just sends to place, purpose IP address according to the form of table 3 with the msg bag, otherwise continues to intercept;
Table 3
Version (8) | Flag (8) | UserName (8) | UserCount (8) | IP address (24) | Port (8) | Aim_IP address (24) | Aim _ port (8) | Operate _ Type (32) | Operate _ Commands (512) |
(6), then use Recvmsg () process to receive the msg bag if will receive message;
(7) method for synchronous that uses a model is resolved msg bag content, the data that utility command interpreter (as Fig. 4) is concentrated operational order according to action type are made corresponding explanation, the data conversion that operational order is concentrated is the data that comprise certain model information, passes to model consistency maintenance module.By model consistency maintenance module (as Fig. 4) the model information data are converted to the renewal of Visualization Model scene by existing C ortona assembly then, thereby realize that all user side models show synchronously;
(8), then use close () method to realize, otherwise continue to intercept if close socket;
Shown in Figure 3 is to use stream socket between server and the user to realize information interchange.
Program flow diagram as shown in Figure 5.
What method realized two-dimentional collaborative design document browses annotations and comments synchronously
For satisfying the needs of design, personnel of all departments such as design, technology, manufacturing, sale even client need observe, analyze the X-Y scheme document of design, find the problem of existence in the design early, recommendation on improvement and suggestion are in time proposed, thereby reduce the number of times of doing over again, accelerate the Products Development process.We utilize the synchronous browse operation method of model in the networked coordination design to develop collaborative browse and the annotations and comments instrument of X-Y scheme document, and this instrument is supported in the document of the multiple form of browsing tens kinds of CAD softwares, image software and word processor generation on the Internet, and X-Y scheme document such as Dwg are typically arranged, dxf, dwf, dgn, ps etc., threedimensional model document such as Mdt, catia, step, iges, pro/e, stl, ug, solid edge etc., image document such as bmp, gif, tif, pcx etc., and text document such as Doc, ppt, xls, pdf etc.Realized the distributed collaborative of X-Y scheme document, image document and text document is browsed and annotated and commented on, a plurality of members that support the strange land to distribute carry out online collaborative browse and annotations and comments to same 2D figure, image or text document, carry out collaborative design and discussion.The strange land member can annotate and comment on the opinions and suggestions of oneself on the relevant position of document, intuitively, clearly expresses the thought of oneself, accurately understands other people viewpoint, can in time find in the process of discussing, solve design conflicts, raises the efficiency.
The operating process of two dimension collaborative browse annotations and comments is as follows:
(1) each client is downloaded the X-Y scheme document from the server model database earlier by the Web mode;
(2) User1 proposes the collaborative design request to server end, and by back notice User2, User3 sets up point-to-point online communication by the server management module checking;
(3) if User1 has implemented certain operation to product model, as the two-dimensional design drawing is annotated and commented on, the msg bag (content such as table 4) that the consistency maintenance administration module just in time will comprise action type and operation commands set according to synchronous browsing method is transferred to server;
(4) the server end is automatically converted to operation after receiving new order and parameter, and the msg bag is transmitted to other member in the group, thus the synchronism that real-time of in the collaborative group of assurance endorsement information being browsed and document show.
Table 4
#Protocol for Synchronize #Version Version (<1.0.0.2 〉) #flag Flag (<true 〉) #username UserName (<User1 〉) #usercount UserCount (<3 〉) #IP address IP address (<166.111.54.2 〉) #port Port (<8080 〉) #aim_IP address IP address (<166.111.54.6 〉) #aim_port Port (<8000 〉) #Operate_Type Operate_Type (<ANNO_ADD 〉) #ANNO_ADD command set # annotations and comments preserve file information File (<Model1 〉;<ann 〉;<D:Codesigen) # annotations and comments display position Pos (<100 〉;<100 〉,<0 〉) # annotations and comments content information annoText (<please verify assembling capacity 〉) |
What method realized three-dimensional collaborative design browses annotations and comments synchronously
In product design, interchange based on the 3D model has irreplaceable effect, personnel of all departments such as design, technology, manufacturing, sale even client are under the support of browser, three-dimensional digital model to design is observed, is analyzed, find the problem of existence in the design early, propose recommendation on improvement and suggestion, thereby reduce the number of times of doing over again, accelerate the Products Development process.We utilize the synchronous browse operation method of model in the networked coordination design to develop the collaborative browse and the annotations and comments instrument of threedimensional model for this reason, realized browsing and annotating and commenting on based on the distributed collaborative of 3D-VRML model, a plurality of members that support is distributed in the strange land browse and annotate and comment on same model, carry out collaborative design.This instrument can be annotated and commented on the relevant position of model the designer with own to the opinions and suggestions that design a model, intuitively, clearly express the thought of oneself, accurately understand other people viewpoint, in the process of discussing, can in time find, solve design conflicts, raise the efficiency.
The operating process of three-dimensional collaborative browse annotations and comments is as follows::
(1) User1 proposes collaborative request to server end, and by back notice User2, User3 sets up point-to-point online communication by the server management module checking;
(2) User1 downloads the model of product VRML form from the server model database by the Web mode;
(3) if User1 has implemented certain operation to product model, pinpoint the problems as somewhere in Three Dimensional Design Model, annotate and comment on, discuss for other members of group, the msg bag (content such as table 5) that the consistency maintenance administration module just in time will comprise action type and operation commands set according to the model method for synchronous is transferred to server;
(4) the server end is automatically converted to operation after receiving new order and parameter, and the msg bag is transmitted to other member in the group, thereby guarantees in the collaborative group the consistency of model manipulation and the synchronism of demonstration.
Table 5
#Protocol for Synchronize #Version Version(<1.0.0.2>) #flag Flag(<true>) #username UserName(<User1>) #usercount UserCount(<3>) #IP address IP address(<166.111.54.2>) #port Port(<8080>) #aim_IP address IP address(<166.111.54.6>) #aim_port Port(<8000>) |
#operate_Type Operate_Type (<ANNO_ADD 〉) #ANNO_ADD command set # annotations and comments preserve file information File (<Model1 〉,<ann 〉,<D: Codesigen) # annotations and comments display position Pos (<102.5 〉,<33.9 〉,<70 〉) # annotations and comments content information annoText (<please verify the strength of gear teeth 〉) |
Method realizes the simultaneous operation of three-dimensional collaborative virtual assembling
Working in coordination with virtual assembling based on Internet is to realize one of primary condition of networked distributed collaborative design, and still, because the restriction of network transfer speeds, the physical model that existing commercial CAD system adopts is not suitable for online collaborative design.We use this standardized virtual demonstration modeling language of VRML to solve the problems referred to above as the descriptive language of model, utilize the descriptor of the synchronous browse operation method transmission of model VRML model key in the networked coordination design to reduce the transmission quantity of network more, make the collaborative virtual possibility that is assembled into based on Internet.We have developed three-dimensional collaborative virtual assembly tool based on above-mentioned technology, have realized the strange land assembly manipulation well, and assembling is in time verified, realize that the strange land of assembling planning exchanges, and have improved design work efficient widely.
The process of three-dimensional collaborative virtual assembling simultaneous operation is as follows:
(1) User1 proposes collaborative request to server end, and by back notice User2, User3 sets up point-to-point online communication by the server management module checking;
(2) User1 downloads product VRML assembling model from server data source end earlier by the Web mode;
(3) if User1 has implemented certain operation (assemble new parts) to product model, the msg that the consistency maintenance administration module just in time will comprise action type and operation commands set according to the model method for synchronous wraps (content such as table 6) and is transferred to server;
(4) the server end is automatically converted to operation after receiving new order and parameter, and the msg bag is transmitted to other member in the group, thereby guarantees in the collaborative group the consistency of model manipulation and the synchronism of demonstration.
Table 6
#Protocol for Synchronize #Version Version(<1.0.0.2>) #flag Flag(<true>) #username UserName(<User1>) #usercount |
UserCount (<3>) #IP address IP address (<166.111.54.2>) #port Port (<8080>) #aim_IP address IP address (<166.111.54.6>) #aim_port Port (<8000>) #operate_Type Operate_Type (<mODEL_ADD>) #MODEL_ADD command set # parts fileinfo File (<model1>,<wrl>,<d: Codesign>) # assembling father node information parentNode (<parent_nodel>) # rigging position information # translation thresholding Translation (<100>,<0>,<50>) # rotation territory Rotation (<0.707,0,0.707>,<0.785>) # viewpoint territory ViewPoint (<120-100 900>,<0.03437-0.83 0.5566>) |
Claims (1)
1. the synchronous browse operation method of model in the networked coordination design is characterized in that it is based on C/P is on the command mechanism, and it contains following steps successively:
(1) is provided with the stream socket interface for network programming that the socket api interface that utilizes TCP or UDP to provide separately on the assembling server of model database is used as intercommunication in each client host and the network;
(2) the msg packet format that the synchronous browse operation of setting model is used between each client and above-mentioned server:
(a) version is represented with Version, refers to assemble the terminal software version number of server and the use of each client;
(b) the head sign is represented with flag, refers to agreement sign head;
(c) user name is represented with userName, refers to user's signature of executable operations;
(d) online number is represented with userCount, refers to participate in the number of Collaborative Design Based on Internet meeting, is variable;
(e) source IP address is represented with IP address, refers to the user side IP address of executable operations;
(f) purpose IP address (aim_IP address): msg bag sends IP address, destination;
(g) receiving port of destination interface (aim_port): msg bag;
(h) action type is represented with Operate_Type, and it comprises:
TEXT_---the word message that is used to exchange;
MODEL_OPEN---open the model file of a .wrl form;
MODEL_ADD---assemble parts;
MODEL_DEL---delete parts;
MODEL_MODIFY---revise the position of parts;
MODEL_VPCHG---change viewpoint;
ANNO_OPEN---open .ann form endorsement information file;
ANNO_ADD---add endorsement information to current scene;
ANNO_DEL---the deletion endorsement information is to current scene;
ANNO_MODIFY---be modified to the endorsement information of current scene;
ANNO_ACTIVE---be activated to the endorsement information of current scene;
ARCHIVE_OPEN---open two-dimentional document;
ARCHIVE_EXTCHG---change the document visual boundary;
(i) operation commands set is represented with Operate_Commands, refers to the set of above-mentioned each action type;
(3) in each client successively according to the synchronous browse operation of following steps implementation model:
(3.1) downloading product VRML from the assembling server is the assembling model that Virtual Reality Modeling Language is described;
(3.2) use Socket () process to create socket;
(3.3) use Bind () process to bind local socket;
(3.4) use Connect () process and server to connect;
(3.5) use Listen () process to intercept;
(3.6) if will send message, then fill in the value that msg wraps each territory, use Sendmsg () process to send the msg bag, otherwise continue to intercept;
(3.7) if according to intercepted result, receive message, then use Recvmsg () process to receive the msg bag;
(3.8) the Context resolution msg bag of setting according to step (2), obtain action type and operation commands set, finish corresponding model modification and Data Update at different action type utility command interpreters, refresh local model, realize that all user side models show synchronously;
(3.9) use Connect () process and server to connect, send new msg bag;
(4) after assembling server end, receiving new order and parameter, be automatically converted to operation, and the msg bag is transmitted to other clients in the group;
(5) the assembling server uses Close () process to close socket.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100373253A CN1299475C (en) | 2004-04-28 | 2004-04-28 | Method for synchronized model browsing and operating in network supported cooperative design |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100373253A CN1299475C (en) | 2004-04-28 | 2004-04-28 | Method for synchronized model browsing and operating in network supported cooperative design |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1571386A CN1571386A (en) | 2005-01-26 |
CN1299475C true CN1299475C (en) | 2007-02-07 |
Family
ID=34481626
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100373253A Expired - Fee Related CN1299475C (en) | 2004-04-28 | 2004-04-28 | Method for synchronized model browsing and operating in network supported cooperative design |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1299475C (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100461716C (en) * | 2005-01-28 | 2009-02-11 | 华为技术有限公司 | Communication method based on analog port |
CN101398860B (en) * | 2007-09-25 | 2010-07-07 | 北京航空航天大学 | Cooperating design method of aircraft control system in different areas based on PDM//matlab |
CN101441644B (en) * | 2007-11-19 | 2010-11-17 | 英福达科技股份有限公司 | Web page annotation system and method |
KR101480409B1 (en) * | 2008-01-15 | 2015-01-12 | 삼성전자주식회사 | Method of reproducing contents supporting scene-based seek in distributed multimedia system |
CN102170462B (en) * | 2011-03-16 | 2013-07-31 | 西安电子科技大学 | Remote collaboration method of product design model |
CN102567525A (en) * | 2011-12-29 | 2012-07-11 | 深圳市万兴软件有限公司 | Method and system for modifying files stored in electronic terminals |
CN102595096A (en) * | 2012-02-28 | 2012-07-18 | 律典(上海)信息技术有限公司 | Cross-platform conference system based on graphic image synchronization |
CN102819629A (en) * | 2012-06-26 | 2012-12-12 | 上海森松环境技术工程有限公司 | Automatic assembly method and system of three-dimensional models |
CN104517014B (en) * | 2015-01-16 | 2017-12-05 | 合肥工业大学 | A kind of product automatic assembly design system based on Pro/E |
CN107463454A (en) * | 2017-08-15 | 2017-12-12 | 重庆市劢齐医疗科技有限责任公司 | Teleengineering support communication method based on 3D models |
CN107992661B (en) * | 2017-11-27 | 2022-01-28 | 中车工业研究院有限公司 | CAD modeling data streaming transmission method, server and client |
CN112085852B (en) * | 2019-05-28 | 2021-11-09 | 贝壳找房(北京)科技有限公司 | Method, device and system for displaying three-dimensional models of house before and after decoration on same screen |
CN114338355B (en) * | 2021-12-30 | 2023-12-22 | 龙坤(无锡)智慧科技有限公司 | Method and device for synchronizing and replacing embedded data acquisition equipment |
CN116723204B (en) * | 2023-08-07 | 2024-02-09 | 南京国电南自轨道交通工程有限公司 | Method for synchronizing large-data-volume real-time data among layered systems |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001282867A (en) * | 2000-03-31 | 2001-10-12 | System Metrix Co Ltd | Method for generation and alteration of parametric graphic, application programming interface and cad |
JP2002230076A (en) * | 2001-02-01 | 2002-08-16 | Chuden Computer Service Co Ltd | Method for displaying symbol graphic |
US6542937B1 (en) * | 1998-02-27 | 2003-04-01 | Amada Company, Limited | Apparatus and method for transferring and editing sheet metal part data |
CN1414497A (en) * | 2002-11-26 | 2003-04-30 | 西安交通大学 | Network manufacture cooperative supporting tool |
-
2004
- 2004-04-28 CN CNB2004100373253A patent/CN1299475C/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6542937B1 (en) * | 1998-02-27 | 2003-04-01 | Amada Company, Limited | Apparatus and method for transferring and editing sheet metal part data |
JP2001282867A (en) * | 2000-03-31 | 2001-10-12 | System Metrix Co Ltd | Method for generation and alteration of parametric graphic, application programming interface and cad |
JP2002230076A (en) * | 2001-02-01 | 2002-08-16 | Chuden Computer Service Co Ltd | Method for displaying symbol graphic |
CN1414497A (en) * | 2002-11-26 | 2003-04-30 | 西安交通大学 | Network manufacture cooperative supporting tool |
Also Published As
Publication number | Publication date |
---|---|
CN1571386A (en) | 2005-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1299475C (en) | Method for synchronized model browsing and operating in network supported cooperative design | |
CN100336339C (en) | Method for model postil and operation transmission in universal type synergic communion system | |
Li et al. | Real-time collaborative design with heterogeneous CAD systems based on neutral modeling commands | |
US9092758B2 (en) | Service providing apparatus, information processing system and methods | |
CN103095828B (en) | The Web3D synchronous conferencing system played up based on cloud and realize synchronous method | |
JP5909615B2 (en) | Cloud type 3D model construction system and construction method thereof | |
CN102685239B (en) | Distribution type rendering method | |
CN103093034B (en) | Based on the Collaborative Design method of cloud computing | |
EP1988497A3 (en) | Deriving grounded model of business process suitable for automatic deployment | |
WO2021155667A1 (en) | Model training method and apparatus, and clustering system | |
CN102819531A (en) | Cloud reading service system, cloud reading service method and device | |
JP6543692B2 (en) | Optimized rendering of shared documents on client devices with document raster representation | |
AU2019216773A1 (en) | Live-rendered and forkable graphic edit trails | |
US10657219B2 (en) | Collaborative editing of manufacturing drawings | |
Chu et al. | 3D streaming based on multi-LOD models for networked collaborative design | |
Nyamsuren et al. | A web-based collaborative framework for facilitating decision making on a 3D design developing process | |
CN100346599C (en) | Mobile agent based network distributed interacting method | |
Aderhold et al. | Distributed 3d model optimization for the web with the common implementation framework for online virtual museums | |
CN101076030A (en) | System and method for transmitting realtime figure | |
CN114357705A (en) | Cloud-edge integrated complex product collaborative simulation system | |
Siltanen et al. | Web-based 3D mediated communication in manufacturing industry | |
CN105187257A (en) | Warship combat system simulator system and information processing method thereof | |
Sanna et al. | A distributed architecture for searching, retrieving and visualizing complex 3D models on Personal Digital Assistants | |
Camba et al. | Speak with the annotator: promoting interaction in a knowledge-based CAD environment built on the extended annotation concept | |
JP2021187155A (en) | Method to be performed by printing device, and printing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070207 Termination date: 20160428 |