Network style design system based on c / s architecture

This paper studies the network style design system based on c / s architecture. On the server side, a database of clothing style parts was established, and B-spline fitting and key point technologies were studied; the client realized remote information acquisition based on Web technology, and used automatic parts stitching technology to realize the design of clothing style drawings.

1 Networked clothing style drawing design system

1.1 System Framework

The structure of the networked clothing style design system is divided into two parts: server and client, which are located in a distributed geographic location and carry out data communication through the Internet. The system framework diagram is shown in Figure 1.

C / s frame drawing of clothing style drawing design system

The server provides information service platform, mainly including:

a Background database.

Considering the superiority of Oracle database, bJ, a clothing style parts database based on Oracle platform was established to save the rich and various style parts data required for style drawing design.

b Database server.

Through the OpenDatabase ConnecTIvity (ODBC) technology, it is directly connected to the Oracle database on the local area network to perform unified management of database information.

c web application server.

According to the client query request, the http technology is used to provide the Web browsing function for the client. Submit the information query request of the client to the back-end database, and then submit the information returned from the back-end database to the client in XML format.

The client includes style design software, local database and input / output devices, etc. Its main function is to use the style design software to retrieve the required design information from the remote Oracle database through retrieval methods; receive and parse the returned XML format information to extract vector data; Carry out curve fitting, automatic splicing of parts and style generation, and store the design results in a local database.

1.2 Clothing style parts database

From the perspective of clothing structure, most styles can be divided into several component types. For example, the above clothing can be divided into parts such as collar, placket, shoulder line, sleeve, sleeve sleeve, side seam and hem. The combination of different parts constitutes the diversity of the style structure, and the different shape of the parts determines the style of the style. Therefore, the component is used as a design unit, and its shape and attribute data are stored in the human database.

The outline curve generation of the style drawing involves curve fitting technology. B-spline curve function is widely used in curve fitting. Ikebe et al. Describe in detail the application of splines in shape design, representation and restoration.

The cubic B-spline function algorithm is simple and has quadratic continuity. This function is used to fit the contour curve of the style map, and the graphic approximation effect is better. The database only saves part of the type value point information needed to draw the spline curve, other points It can be obtained by calculation, and the amount of information stored in the database is small.

We use a 4-layer tree structure as shown in Figure 2 to represent a set of styles. In Figure 2, the data structure includes a style layer, a component layer, a curve layer and a type value point layer. Each layer of nodes contains relevant attributes, such as component nodes including name, type, gender, popular time, popular location, etc. The upper layer establishes a connection by including the object ID field of the lower layer, for example, the curve layer contains the part ID. Therefore, starting from the top layer, all nodes on the style can be traversed.

4-layer tree data structure diagram

When the remote client searches the database information, he submits the query conditions to the database, finds the parts that meet the conditions, and then finds the complete part information through the connection between the layers, and returns it to the client.

Balance Weight Materials

Balance Weight Materials,Tungsten Copper Rod,Copper Tungsten Bars,Tungsten Copper Alloys

Shaanxi Xinlong Metal Electro-mechanical Co., Ltd. , https://www.cnxlalloy.com