CN1571386A - 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
- CN1571386A CN1571386A CNA2004100373253A CN200410037325A CN1571386A CN 1571386 A CN1571386 A CN 1571386A CN A2004100373253 A CNA2004100373253 A CN A2004100373253A CN 200410037325 A CN200410037325 A CN 200410037325A CN 1571386 A CN1571386 A CN 1571386A
- Authority
- CN
- China
- Prior art keywords
- model
- address
- server
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000013461 design Methods 0.000 title claims abstract description 45
- 230000001360 synchronised effect Effects 0.000 title claims description 19
- 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
- 238000013519 translation Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 6
- 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
- 230000008901 benefit Effects 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 invention relates to module synchronizing browsing operation method in latticing cooperation design, which belongs to CAD assistant products design tools field. Its feature is that the sockets supplied by TCP or UDP are used as network programming interface on command/parameter mechanism, and directly transmitting file between server and client terminals synchronously. For this purpose, msg packet is put forward, and flow style sockets are also designed for data exchanging which program developers can directly control. It has high flexible, less data transmission quantity. Moreover, it achieves the synchronism of module browsing operation.
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 association service device end, 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_node1>) # 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---the endorsement information of the current scene of living;
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 step implementation model once:
(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 association service device end, 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 true CN1571386A (en) | 2005-01-26 |
CN1299475C 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) |
Cited By (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 |
CN102170462A (en) * | 2011-03-16 | 2011-08-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 |
US8837897B2 (en) | 2008-01-15 | 2014-09-16 | Samsung Electronics Co., Ltd. | Method of supporting scene-based seeking while reproducing content in distributed multimedia system |
CN104517014A (en) * | 2015-01-16 | 2015-04-15 | 合肥工业大学 | Automatic product assembly design system based on Pro/E and assembly processing algorithm thereof |
CN107463454A (en) * | 2017-08-15 | 2017-12-12 | 重庆市劢齐医疗科技有限责任公司 | Teleengineering support communication method based on 3D models |
CN107992661A (en) * | 2017-11-27 | 2018-05-04 | 中车工业研究院有限公司 | CAD modeling datas streaming method, server and client side |
CN112085852A (en) * | 2019-05-28 | 2020-12-15 | 贝壳找房(北京)科技有限公司 | Method, device and system for displaying three-dimensional models of house before and after decoration on same screen |
CN114338355A (en) * | 2021-12-30 | 2022-04-12 | 龙坤(无锡)智慧科技有限公司 | Embedded data acquisition equipment synchronization and replacement method and device |
CN116723204A (en) * | 2023-08-07 | 2023-09-08 | 南京国电南自轨道交通工程有限公司 | Method for synchronizing large-data-volume real-time data among layered systems |
Family Cites Families (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 |
CN1176438C (en) * | 2002-11-26 | 2004-11-17 | 西安交通大学 | Network manufacture cooperative supporting tool |
-
2004
- 2004-04-28 CN CNB2004100373253A patent/CN1299475C/en not_active Expired - Fee Related
Cited By (19)
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 |
CN101999222B (en) * | 2008-01-15 | 2015-05-13 | 三星电子株式会社 | Content recording method for supporting search based on scenes in a distributed multimedia system |
US8837897B2 (en) | 2008-01-15 | 2014-09-16 | Samsung Electronics Co., Ltd. | Method of supporting scene-based seeking while reproducing content in distributed multimedia system |
CN102170462B (en) * | 2011-03-16 | 2013-07-31 | 西安电子科技大学 | Remote collaboration method of product design model |
CN102170462A (en) * | 2011-03-16 | 2011-08-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 |
CN104517014A (en) * | 2015-01-16 | 2015-04-15 | 合肥工业大学 | Automatic product assembly design system based on Pro/E and assembly processing algorithm thereof |
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 |
CN107992661A (en) * | 2017-11-27 | 2018-05-04 | 中车工业研究院有限公司 | CAD modeling datas streaming method, server and client side |
CN112085852A (en) * | 2019-05-28 | 2020-12-15 | 贝壳找房(北京)科技有限公司 | Method, device and system for displaying three-dimensional models of house before and after decoration on same screen |
CN114338355A (en) * | 2021-12-30 | 2022-04-12 | 龙坤(无锡)智慧科技有限公司 | Embedded data acquisition equipment synchronization and replacement method and device |
CN114338355B (en) * | 2021-12-30 | 2023-12-22 | 龙坤(无锡)智慧科技有限公司 | Method and device for synchronizing and replacing embedded data acquisition equipment |
CN116723204A (en) * | 2023-08-07 | 2023-09-08 | 南京国电南自轨道交通工程有限公司 | Method for synchronizing large-data-volume real-time data among layered systems |
CN116723204B (en) * | 2023-08-07 | 2024-02-09 | 南京国电南自轨道交通工程有限公司 | Method for synchronizing large-data-volume real-time data among layered systems |
Also Published As
Publication number | Publication date |
---|---|
CN1299475C (en) | 2007-02-07 |
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 | |
CN1109309C (en) | Transmitter-receiver of three-dimensional skeleton and transmitting-receiving method for action | |
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 | |
JP3762719B2 (en) | Collaborative design method, apparatus thereof, and system thereof | |
CN103095828B (en) | The Web3D synchronous conferencing system played up based on cloud and realize synchronous method | |
CN101075330A (en) | System for negotiating electronic business | |
JP2016103279A (en) | Cloud-type three-dimensional model construction system and method of constructing the same | |
EP1988497A3 (en) | Deriving grounded model of business process suitable for automatic deployment | |
AU2019216773B2 (en) | Live-rendered and forkable graphic edit trails | |
CN103093034B (en) | Based on the Collaborative Design method of cloud computing | |
CN1920866A (en) | Bulletin board system, server for bulletin board system, thread display method for client of bulletin board system, and program | |
CN1815963A (en) | Hybrid positioning method for data duplicate in data network system | |
Oyekoya et al. | Supporting interoperability and presence awareness in collaborative mixed reality environments | |
CN105141662A (en) | Method, client, remote data center and system for managing data of cloud desktop | |
CN100346599C (en) | Mobile agent based network distributed interacting method | |
CN102256211A (en) | Group-based method and system for application realization of M2M terminal | |
CN1629803A (en) | Method for embedding a third party interface in host program interface | |
CN101076030A (en) | System and method for transmitting realtime figure | |
CN101079055A (en) | Method, system and apparatus for expanding text collection of same subject | |
CN115422723A (en) | Modelica platform and UE4 collaborative simulation method based on Opendds | |
CN1208974C (en) | Method and system for determining actual projection data for projection of spatially variable surface | |
Suwal et al. | Social BIM perspectives | |
JP6240227B2 (en) | Real-time communication system, real-time communication device, real-time communication method and program |
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 |