Background. With the continuous maturity of computer software and hardware technology, the theory and method of computer-aided art design have developed rapidly. Objective. Applying artificial intelligence theory to computer-aided process art design is one of the newly developed research hotspots, and it is also the development trend of industrial design modernization. Methods. On the one hand, it can transplant the research results in the field of artificial intelligence into computer-aided art design, and on the other hand, it expands the application field of artificial intelligence, so that the two can be perfectly combined to promote common development. Results. With the development of artificial intelligence technology, computer art has gradually become a very active field, and a large number of computer art works are available every year. Conclusions. This paper briefly describes the basic concepts of computer-aided art design and artificial intelligence and discusses the application of artificial intelligence in computer-aided art design.

1. Introduction

Computer-aided arts and crafts art design are a new type of technology that applies computer technology to art and art design, freeing staff from tedious and complicated work. Let the traditional arts and crafts art design improve the quality of arts and crafts art products while improving work efficiency. With the continuous advancement of computer technology, the emergence of artificial intelligence has added new vitality to computer-aided arts and crafts, and the level and efficiency of art and art design have been improved as never before [1].

A supply chain is a network of retailers, distributors, transporters, storage facilities, and suppliers that participate in the production, delivery, and sale of a product to the consumer. It is typically made up of multiple companies who coordinate activities to set themselves apart from the competition. There are three key parts to a supply chain: supply focuses on the raw materials supplied to manufacturing, including how, when, and from what location. Manufacturing focuses on converting these raw materials into finished products. Distribution focuses on ensuring these products reach the consumers through an organized network of distributors, warehouses, and retailers.

In the application of electronic computers, hard devices and software related to image processing are increasing at a rate of 40% per year, that is, doubling every two years. The use of interactive computer-aided design system as an auxiliary tool for art creators to design arts and crafts has a very significant effect on reducing duplication of work, speeding up the design progress, enlightening creative ideas, and enriching the content of the work. With the development of artificial intelligence technology, computer art has gradually become a very active field, and a large number of computer art works are available every year [2, 3]. Many arts and crafts have the characteristics of repeating on a flat surface, which has often appeared in ancient art treasures. Using some simple graphic basic units, combined with the general principle of composition and the automatic generation technology of interlocking graphics, you can produce certain practical arts and crafts on computer colour monitors or ordinary colour (or black and white) TV screens (graphic, for silk stretch, flower cloth, straw, batik, carpet, and other design use). The use of the joint money graphic automatic generation technology can automatically interlock and copy the mosaic graphics without any drying and overlapping and can be used for metal cutting, wood, leather, etc. without cutting, stamping, and cutting and processing and can also be used for the design of floor tiles, art floors, wallpapers, etc. [3].

Mobile information system is based on mobile equipment, through the high-performance wired and wireless communications networks for information and data transmission, to provide distributed GIS of the location-based information services anytime and anywhere. It integrates GIS, GPS, mobile communication and computer networks, and so on, and the advantages of these technologies will be integrated to information transfer through the high-performance communication networks, so that we can achieve mobile information of the industry and public information service. It also provides a convenient and economical way of technology for users on the exchange, access, and share and publish of information based on location, forming a GIS application way for portable terminals such as mobile phones. Mobile information system is especially applicable to commercial trade, government, tele-com, municipal construction, and other industries whose data have highly mobility and changes frequently.

Applying artificial intelligence theory to computer-aided process art design is one of the newly developed research hotspots, and it is also the development trend of industrial design modernization. On the one hand, it can transplant the research results in the field of artificial intelligence into computer-aided art design, and on the other hand, it expands the application field of artificial intelligence, so that the two can be perfectly combined to promote common development. With the development of artificial intelligence technology, computer art has gradually become a very active field, and a large number of computer art works are available every year. This paper briefly describes the basic concepts of computer-aided art design and artificial intelligence and discusses the application of artificial intelligence in computer-aided art design.

The specific contributions of this paper include the following:(1)Transplant research results in the field of artificial intelligence into computer-aided art design(2)Introduce the basic concepts of computer-aided art design and artificial intelligence(3)Discuss the application of artificial intelligence in computer-aided art design

The rest of this paper is organized as follows. Section 2 discusses artificial intelligence, followed by application of artificial intelligence in the design of computer-aided arts and crafts in Section 3. Theoretical model of artificial intelligence in the design of computer-aided arts and crafts is discussed in Section 4. Section 5 shows result analysis and discussion, and Section 6 concludes the paper with summary and future research directions.

2. Artificial Intelligence

Artificial intelligence, referred to as AI, is a new technical science that studies and develops theories, methods, techniques, and applications that simulate, extend, and expand human intelligence. The areas of the artificial intelligence are shown in Figure 1 [4]. The use of artificial intelligence can make various computer devices more humanized, extend and expand human intelligence, and realize the highest-level application of computers. The application of computer technology in people’s lives has been expanding, and people have put forward new requirements for the ability of computers. The emergence of artificial intelligence technology has brought computer technology to a new level.

At present, there are mainly three research directions of artificial intelligence, namely intelligent interface, data mining, subject and multiagent system. Intelligent interface is mainly to study how people can communicate with computers more conveniently and intuitively; data mining mainly studies how to dig out people from complex, diverse, incomplete, large, fuzzy, and random application data. The process of knowing is having important or potentially meaningful information; the subject refers to the subject of artificial intelligence, which has certain independence, and mainly studies the ability of artificial intelligence to face the entity in the selection layer of belief, desire, intention, and ability. At present, the research of artificial intelligence has made some achievements in the reasoning ability and is developing towards the fuzzy processing function and the parallel processing function. The future development direction of artificial intelligence is artificial neural network. The advancement of artificial neural network will greatly promote the progress of society [5].

3. Application of Artificial Intelligence in the Design of Computer-Aided Arts and Crafts

The concept of computer-aided arts and crafts was put forward in the 1970s, and it has been widely concerned in the development process. It has experienced multiple stages of interaction, derivation, and generative, comprehensive, and intelligent progress [3]. For the time being, intelligence is the focus of computer-aided process development and the direction of future development. The biggest role of computer-aided arts and crafts in work is to replace some manual and repetitive operations, freeing up a large number of manual labor, so that people can put more energy into the research and development of new technologies and new arts and crafts. Under the help of computer-aided arts and crafts, people can realize the optimal allocation of limited resources, while reducing production costs and improving production efficiency. Computer-aided arts and crafts not only provide important support in production, but also solve a lot of designer’s troubles in design. Some young designers who lack design experience can use computer-aided arts and crafts technology to improve the design level, improve the design grade, and alleviate the large demand for designers with rich design experience.

3.1. Intelligence

The most outstanding advantage that artificial intelligence brings to computer-aided arts and crafts design is intelligence. Computer-aided arts and crafts technology still has some links in the arts and crafts. It is difficult to get rid of the scope of auxiliary tools, but the addition of artificial intelligence has changed this. The current status makes computer-aided process design have certain intelligent analysis capabilities. Artificial intelligence is still in the state of research, and the application of artificial intelligence in computer-aided process design is mainly manifested in intelligent reasoning. In practical applications, the application forms of artificial intelligence are not unique, but various applications penetrate each other to form a comprehensive application form. In the field of computer-aided design, computer-aided mechanical product design is the most studied, while computer-aided art design and mechanical product design have certain convergence, so it can be inferred that the architecture of intelligent computer-aided art design includes science (layer, information technology layer, and intelligent design layer).

Applying artificial intelligence technology to the development of computer-aided art design (CAPP) system, CAPP system simulates people's thinking mode in knowledge acquisition, knowledge reasoning, etc., solves complex art and art design problems, and makes it “human intelligence”. The feature is intelligent CAPP, which is an application of AI in CAPP. In the development of intelligent CAPP system, there are also intelligent methods such as fuzzy reasoning and chaos theory [6]. In practical applications, a variety of intelligent technologies are often combined to exert their own specialties, such as the characteristics of artificial neural networks with perceptual image thinking. Methods of fuzzy inference and other characteristics of logical thinking interpenetrate and combine, can play a complementary role, and improve the level of intelligence. There are few researches on CAPP design theory, and there are many researches on mechanical product design theory. The design theory and method consists of three parts: design theory foundation layer, design tool, and support technology platform layer. CAPP design theory and mechanical product design theory have commonality and particularity, especially in the intelligent design method. Therefore, it is considered that the intelligent CAPP design theory and method architecture consists of three layers, namely the foundation science layer, information technology layer, and intelligent design method layer.

3.2. Artificial Neural Network Technology

Art and craft design is a relatively large and cumbersome category. There are many uncertain factors in the design and production process. These uncertain factors are likely to cause problems in computer-aided art design and affect the efficiency of the entire design and production. The emergence of artificial neural network technology has improved the skills of computer-aided arts and crafts (CAPP) design, and these problems have been effectively controlled. In the process of dealing with the problem of the network world, the artificial neural network simulates the principle of the biological nervous system. It is composed of a large number of nonlinear processing units. The units are highly paralleled by modern information technology. The artificial neural network has several characteristics when dealing with problems: fabric storage, parallel processing, self-organization and self-learning, and associative memory. The biggest advantage of applying artificial neural network technology to computer-aided art design is that this technology can adapt and adjust the system. When checking the initial basic values and the actual conditions inside the system, the neural network will monitor its own adaptability. The specific method of monitoring is to deduct and adjust from the beginning of the neural network to each node in the back and then push and adjust from the end of the neural network to better adapt to the network application.

In the design of product art and craft, there are many uncertain factors, which need to be solved by experience. The early establishment of CAPP system based on purely relying on group technology cannot solve the problem of obtaining this discrete knowledge well, design a search or derivative system. In recent years, the application of artificial intelligence technology in the development of CAPP system has made CAPP technology a great development [7]. Artificial neural network technology is one of the major applications of AI in CAPP system. Artificial neural network is an objective object that deals with the real world according to the principle of biological nervous system. It is composed of a large number of simple nonlinear processing units connected in parallel, with distributed storage of information, parallel processing, self-organization and self-learning, associative memory, etc. Characteristics are multilayer feed forward network error back propagation algorithm [8], as shown in Figure 2. The back-propagation algorithm is an algorithm for supervising the training of multilayer neural networks. Each training paradigm is calculated by two passes in the network: the first pass is calculated forward, from the input layer, and the layers are transmitted and processed and then generated. This picture shows the execution process of the neural network completely. Giving a picture, through the network supervision operation, the gradient is obtained and the gradient is updated, and finally the accurate result is obtained (an output, and an error vector of the difference between the actual output and the desired output; the second pass backwards, from the output layer to the input layer, using the error vector to modify the weight layer by layer).

3.3. Rough Set Technology

The rough set technology is an application form of artificial intelligence fuzzy control technology, which can effectively solve the ambiguity problem in computer-aided art design and achieve the purpose of solving the problem through comparative analysis. Artificial intelligence first lists the ambiguity problem as a table in the form of parameters, arranges the influencing factors corresponding to these problems according to the degree of influence, then horizontally lists some possible problems to set the weights, and finally eliminates them by certain algorithms. The redundant parameters in the problem can finally find the correct answer to the fuzzy problem [9].

Rough set technology is another application of artificial intelligence in computer-aided art design. Rough set theory is a mathematical tool that is good at dealing with ambiguous and uncertain problems. In theory, “knowledge” is considered as a kind of classification ability for objects. Usually, a two-dimensional decision table is used to describe the domain information, and the column represents an attribute, a line represents an object, and each line represents a piece of information about the object. Attributes are divided into conditional attributes and decision attributes. Objects in the domain are divided into decision classes with different decision attributes according to different condition attributes. In the CAPP system, the expert system can be constructed by rough set theory, and the knowledge is acquired and optimized. The basic idea is to express the processing characteristics of various parts and the known processing methods into the form of conditional attributes and decision attributes. A part, a plurality of parts, forms a two-dimensional table, quantifies the attributes, organizes the decision table, and then uses a certain reduction algorithm to reduce the attribute set and attribute values, removing the redundant condition attributes and decision rules, and obtaining minimization of the set of decision rules, and when you input the machining features of the parts to be processed, you can get optimized processing techniques.

3.4. Genetic Algorithm

The genetic algorithm is influenced by Darwin's theory of evolution. In the computer field, the scientific principle of genetics is used to simulate the process of biological evolution, and the screening of arts and crafts is completed. The genetic algorithm classifies each target art. All possible target arts and crafts are called domain, and the art and craft solutions are divided into different populations according to different types. The artisan solution contained in the domain will give a unique gene coding. In the case of genetic algorithm, each process art of different populations is compared and analyzed in the way of survival of the fittest, and the first generation of populations is crossed and evolved by genetic operators to produce the next generation of populations, and so on, to the last generation of the population which is the optimal solution.

Genetic algorithm is another application of artificial intelligence in computer-aided art design system [10]. Genetic algorithm is a computational model that simulates the evolutionary process of Darwin’s genetic selection and natural elimination. It is a method to search for optimal solutions by simulating natural evolutionary processes. The genetic algorithm begins with a population that represents a potential set of problems, while a population consists of a number of individuals genetically encoded, each of which is actually an entity with chromosomal features. Therefore, at the outset, it is necessary to implement mapping from phenotype to genotype, that is, encoding work, such as binary encoding. After the birth of the first generation, according to the principle of survival of the fittest and the principle of survival of the fittest, evolutionary generation produces better and better approximate solutions. In each generation, individuals are selected according to the fitness of individuals in the problem domain and with the help of natural genetics. Genetic operators perform combination of crossovers and mutations to produce populations that represent new solution sets. This process will lead to a population of natural evolution like the descendant population that is more adapted to the environment than the previous generation, and the best individual in the last generation population is decoded, which can be used as a problem approximate optimal solution.

In the last three years, many methods are proposed to handle the computer aids arts and crafts; here we introduced three outstanding methods such as GNNA [11], RNNA [12], and CNNA [13], which can be used to solve the related works taking different kinds of network structures. GNNA is a graph-based network that build connections between different risk nodes that utilize the existing crafts pictures to design new arts and crafts. And RNNA uses a specific loss structure to keep the similarity of real and predicted crafts design that can make sure that the computer designed crafts are as similar as the real ones. CNNA is the basic model that needs more computation consuming to obtain the desiring performances, which can only obtain the crafts as simple as possible. However, these methods have their disadvantages respectively. GNNA is too slow, RNNA is so complicated, and CNNA also needs more spaces. They have their own corresponding advantages and shortcomings, and our proposal can handle these problems as much as possible, so we compared them with our proposal.

In this paper we utilize the entropy loss function to build the model for our research problems. It can be defined as follows:where x and y are represented as the real arts and crafts’ score and difficulty and y means the predicted score and difficulty of our proposal. Pi means the probability of them when they are similar. The bigger the value of the loss is, the worse our proposal performed. And our proposal is used to train a model that fits the real and predicted arts and crafts, so that the machine can assist the arts and crafts designed.

And compared with the three methods, our proposal can deal with the problems easily and we also need a smaller computation space to build our model. However, our model may obtain a relative lower accuracy than others sometimes which may lead the prediction to be unstable.

4. Theoretical Model of Artificial Intelligence in the Design of Computer-Aided Arts and Crafts

4.1. Graphical Representation and Data Structure

The goal of the system is to generate a complete picture on the display called “picture”. The picture is superimposed by one or several basic patterns (BG) copied by interlocking transformation (I):

F represents the superposition relationship and Ii is one of the nine basic interlocking transformations, .

Since the postgenerated graphics may partially cover the original graphics when the overlay is performed, the overlay is ordered. The basic graphics (BG) is a superposition of a series of line segments (Li). In the graphics library, the storage structure is

N$ is the name of the basic graphic composed of strings, which is necessary for the graphics inventory to retrieve and print graphic data, .

When X = 0, the pattern is high-resolution, with only two levels of brightness and darkness. When X = 1, the pattern is low-resolution, with 15 colors or 16 gray levels. N + 1 is equal to the number of line groups the basic figure has. H, U, and V are graphical interlocking parameters. Z0Z5 are optional parameters of the basic graphics, which may represent the number of times the graphics are copied in the horizontal and vertical directions or may represent the background or background brightness of the graphics.

Each line group (Li) is sequentially connected by a series of ordered vertices (Vi) using straight line segments generated by the complement method. When X = l (colour or multigradation), the line group should have a colour or brightness attribute (Bib), and when the number of vertices of the line group Li is large or equal to four and closed (i.e., the first and last vertices coincide), the line group constitutes the boundary of one (or more) enclosed area and thus also has the colour or brightness properties of the inner area (Bir).

x is the Cartesian product operator of the set, and items in square brackets may or may not appear.

Ni + 1 is the number of vertices in the line group. When N = −1, it means an empty line group whose number of vertices is 0, and Li has no other parameters.

When Bir = 0, the inside of the enclosed area is not filled.

The vertex V is determined by its pair of coordinate values in a Cartesian coordinate system:where Xi and Yi are integers.

4.2. Graphics Transformation and Automatic Generation Technology of Interlocking Graphics

The process of spreading the entire plane with congruent graphics without gaps and overlapping portions is called tessellation, and the inlaid graphics are called interlocking graphics. The vertices of the polygons (the number of sides must be greater than two, less than seven) can be embedded into the interlocking graph. The symmetry principle and the congruent linear transformation of the graph can form the interlocking transformation mode of the nine graphics. Nine ways can be derived from 29 interlocking graphics. The basic principle of graphical linear transformation and the algorithm for generating interlocking graphics are briefly introduced below [14].

For linear transformation,

It can be expressed as a standard method of 3 × 3 matrix:

The most basic three linear transformations are as follows.(1)Translation transformation:(xk, yk) and (, ) indicate the coordinates of any known point in the before and after translation, respectively. The translation transformed by (10) is transformed into a T transform.(2)Proportional transformation:(3)Rotation transformation centered on the origin of the coordinates:When > 0, it means clockwise rotation. The linear transformation used in the system can be successively performed by the above three basic transformations, and the transformed cascade matrix can be represented by the product of the basic transformation matrix. The linear transformations used in this system are as follows.(4)A rotation transformation cantered on (xc, yc), which is made up of (−xc, −yc) translation, rotation ( > 0 is clockwise), and (xc, yc) translation cascade:When is equal to 180°, ±120°, ±90°, and ±60°, the transformation determined by (13) is called C, C3, C4, and C5 transformation. Table 1 shows the typical combination of C series and T, and their variations.(5)A reflection transformation with the line y = x as the axis, which is 45° rotation, (1, −1) ratio and −45° rotation three basic transformation cascades.(6)Make reflective translation transformation, after mirror reflection of the horizontal or vertical axis of the point (xc, yc), then translate the point to point (−xc, −yc), which is made up of (−xk, −yk) translation, (Px, Py) scale and (xk, yk) translation cascade. For horizontal axis reflection, Px = 1, Py = −l, and for vertical axis reflection, Px = −1, Py = 1. At this time, the reflection translation transformation can be expressed as

The transforms determined by (14) and (15) are referred to as Gh transform and Gv transform, respectively. Among the seven transformations T, C, C3, C4, C6, Gh, and Gv used in the construction of the interlocking pattern, except for the C transformation, the other transformations appear in pairs. Only half of the line group formed by the C transform is independent, so it forms a curve pair itself. In the TT, C3C3, C4C4, C6C6, GhGh, and GvGv pair, only one curve is independent and can be determined by the user. The other subordinate line is separated by the above all. It is obtained by linear transformation, so that in each basic unit of the interlocking graphics, only half of the edges are independent, and the other half of the edges are generated by the independent edges by the congruent linear transformation. The T transform and the G transform cannot be combined with the C3, C4, C6 transforms.

For the case of converting each basic graphic unit into an interlocking mosaic pattern, it is necessary to find the group that can be displayed on the translated and complex quadrilateral set, and determine a parallelogram grid, which consists of two displacement vectors, the level in one level is determined, the length is H, and the other has a horizontal component and a vertical component. Volume V.H, U and V are the interlocking parameters mentioned above. When the line cluster moves enough times along the corresponding parallelogram grid, several congruent interlocking graphs are copied on the entire display screen.

Table 2 shows the typical combination of C series, T, G, and their variations.

4.3. Structure and Main Functions of the Graphic Design System

The equipment used in this system is CROMEMCO-52 microcomputer system, including DAZZLER graphic output interface board and an external colour monitor (can also use ordinary TV sets). To improve the interaction between graphic designers and systems, fully to play the function of the original graphics software resources of the system, the extended BASIC language (including several basic graphic command statements) and the corresponding GRAPHX•COM command file software interface are selected. It takes about one to two minutes to output an interlocking graphic picture composed of four to sixteen basic units on the monitor using the graphic design software package, and each basic unit can have up to 21 line groups [15]. In the case of low resolution, these line groups can have 15 different colors, and each line group can be connected by up to 21 vertices. In view of the fact that the system update memory capacity in the main memory is ZK byte RAM, the resolution is low, so it is not practical to increase the number of lines and vertices of the basic unit of the graphic, and one picture can be interlocked by multiple frames [16]. The graphics are superimposed, each interlocking graphic is interlocked by multiple graphic basic units, and the system has a large area automatic colour filling function, so the number of vertices and the number of line groups can satisfy the minimum actual needs. For more advanced graphics output devices, the system can be used with a little modification.

Since the DAZZLER graphical interface allows the program to easily and flexibly select two different resolutions, the graphic designer can design two different types of graphics as needed.

4.3.1. Colour or Multigradation (Low Resolution)

When the graphic has colour or multigradation (low resolution), the internal lines of the basic unit of the graphic are mainly used, and various arts and crafts graphics are designed by interlocking and copying the interior of the closed area. Since the interlocking graphics have the reciprocity of periodic repetition, it is easy to ensure that two consecutive or quadrilateral continuous images are obtained. This is very convenient for the design of many arts and crafts [17]. Since the pattern designer can arbitrarily choose the interlocking mode and the interlocking translation parameters, it is convenient to modify the ratio of the graphics in the x direction and the y direction and the number of copies of the basic unit and flexibly shift the entire screen up and down or left and right during copying [18]. Reflecting with the y = x line as the axis, you can also flexibly modify the colour or brightness of any line group or all line groups, specify the background colour of the screen or modify the colour inside a certain closed area, and classify according to certain graphics. The sequence is superimposed to form a new picture, so even if you input a very simple graphic basic unit, you can change thousands of different patterns to make it easier for designers to compare the effects of various structures and tones. The system also has a loop-shaped database automatic design function, which can provide graphic designers with some optional art graphics to inspire the creative ideas of the art designers. Therefore, these graphics are suitable for silk, flower cloth, parquet floor, carpet, and wallpaper (design of arts and crafts such as straw and straw) [19, 20].

4.3.2. Black and White (High Resolution)

When the graphic is designated as black and white (high resolution), the interlocking graphic is the main working mode by the boundary line of the graphic and the internal line. Since such graphics often form a gap-free, nonoverlapping interlocking pattern by the basic graphic unit translation, the system is applied in the processing of sheet metal processing (such as cutting and punching of various metal sheets, wood, leather, and paper) [21]. This can help designers save raw materials and reduce product costs. For most graphics, even if there is no gap at all, the closest basic unit can be found in 29 interlocking modes, so that the machining allowance is reduced as much as possible [22, 23].

In the nine main interlocking transformation modes, several different shapes of graphics can be skillfully combined to form a basic unit of interlocking graphics. In turn, the basic unit of the interlocking graphics can also flexibly use internal lines as needed. Divided into several different shapes of graphics. This kind of interlocking graphic design method based on boundary line has certain uses in building block design and modular upper floor planning and packaging design of irregular products [24]. It can also be used for building materials such as floor tiles and wallpaper (designed for use in batik, lace, and other crafts). Because only half of the boundaries of this type of graphics are independent, the designer only needs to input half of the basic graphics plus the internal lines, so the system can copy multiples at any scale (only limited by display size and resolution). Such resulting graphics, thus greatly improving the design efficiency, and because the other half of the boundary line of the basic unit is generated by different interlocking methods, often have the effect that the designer did not expect [25]. Any graphic designer with elementary mathematics and a little English can use this graphic design program system to design various graphics after several hours of learning. Nine kinds of interlocking transformation graph generation programs exist in the floppy disk memory respectively. The graphic designer uses the host console keyboard and the character display terminal to perform man-machine dialogue. After selecting the interlock mode, three different methods can be used for graphic design [26].

(1) The Interaction Method Using Keyboard Input. After the designer specifies the resolution and background colour of the graphic (for colour or multigravy graphics) through the keyboard, the system draws the background colour on the colour monitor and displays the coordinate origin and the rough scale of the x and y axes [27]. You can enter the coordinates of known vertices and independent line group keys. For colour graphics, you also specify the colour of each line group. For the closed area, you also specify whether to fill and fill the code. Each time a key is entered, the system immediately displays it on the monitor and automatically joins the line group. After the independent line group is finished, the system immediately copies the corresponding subordinate line group to form a complete boundary line. The designer can then enter the internal line set. After the input process is finished, the system automatically copies and copies any number of graphic basic units in the x and y directions according to the designer’s request to form an interlocking graphic picture [28]. During the entire input process, if the designer wants to change a certain line group that has just been input, the keyboard group can be easily erased from the screen by the keyboard, or the line group can be temporarily reserved for modification as a comparison, and when the interlock is copied, the invalid line group does not appear. If the designer believes that the graphics copied by the chain is necessary, all the graphic data can be printed for future copying or analysis. The system can automatically organize all the data and related parameters into data files according to the specified format and data structure. Into the disk, recopy on the monitor when needed [29, 30].

(2) Graphics Library Method. All data and partial interlocking parameters of the graphic basic unit are predetermined by the designer and organized into data files according to the specified data structure and stored in the disk to form a graphic library, which is called out from the disk during design and is spliced or superimposed on the monitor. Synthesize new pictures [31].

(3) Intelligent Graphic Database Automatic Design Method. According to certain composition rules and their own preferences, the art graphic designer combines the basic unit classification of various styles into a graphic data inventory and puts it on the disk. After the designer specifies the interlocking method and the background colour, the system is based on the graphical elements such as line, shape, structure, rhythm, and colour, according to the technical principle of artificial intelligence such as continuous reasoning and campaign judgment strategy. In the graphic combination, a basic unit (pattern) of a graphic is taken out, and according to the data in the basic unit and the interlocking mode and the background colour, the colours of the line group and the interlocking copy parameter are automatically selected within a certain range. Make a copy. After that, the system automatically selects another graphic basic unit to generate a new pattern superimposed on the original screen until the designer artificially terminates the process. The system can automatically print out all the parameters of the entire graphics generation process.

No matter where the program is running, the system can use the ESC key to interrupt the operation and return to the center point. From the center point you can arbitrarily turn to one of the following ten exits (see Figure 3):(1)End the program run(2)Select a new interlock method(3)Modify, select, or specify the following data, parameters, or working methods(a)Whether to clear the original content of the screen before the interlock copy, and if not clear, the new graphic is superimposed on the original screen(b)Modify the number of interlocking translations E, F, thereby changing the scaling factor in the x and y directions(c)Modify the amount of translation of the screen in a certain direction; the initial value is 0(d)Determine if the graphic is rotated 90° (i.e., reflecting with a straight line y = x as the axis of symmetry)(e)Modify the interlock parameters H, U, V(f)Determine whether to add a border on the screen(g)For high-resolution black and white graphics, you can specify to exchange bright and dark pixels to get a black and white picture(h)Modify the background colour or background brightness of the low-resolution graphics, or disable the background colour so that the original picture is not destroyed(i)Modify the colour of any line group(j)Adjust the colour of all line group(k)Modify the colour in any enclosed area, and also prohibit colour filling(4)Print all data of the graphic basic unit and related interlocking copy parameters(5)Directly transfer to the graphics library working mode, take out new patterns from the graphics library(6)Use a two-colour rectangular pattern to form a graphic background(7)Transfer to the AI database to automatically design work methods(8)All the data of the basic unit of the graphic designed by the interactive method and the necessary interlocking parameters are automatically organized into disk files and stored in the floppy disk according to the specified data structure(9)Take out the automatically saved graphic file and display it(10)Suspend the program and transfer to the BASCI standby state to perform the cross-over operation

5. Result Analysis and Discussion

This article is from the point of view of the convenience of application, the preparation of a simple program interface testing the algorithm. In program, when we click the menu “Preferences ⟶ Draw Graphics [P]”, it will pop up “Willow artwork main parameter settings” dialog box. When the parameters are set, clicking on the “0K” button, there will be “parameter confirmation” Prompt message, waiting for choice. When the “Y” button is selected, the drawing graph is displayed. When the “N” button is selected, the parameter needs to be reset. The “Willow Art Main Parameter Setting” dialog box will appear again. If the “Cancel” button is selected, the operating will be given up. When the graph is drawn successfully, if you want to adjust the parameters and obtain the new graph, we can click the menu “Reset Parameters” to reset the parameters. Drawing with current parameters is shown in Figure 4. Willow model is shown in Figure 5.

In order to analyze the script editing method and script stitching algorithm which is better researched in this paper, this dissertation also made an experimental platform for experiment data analysis, which can make accurate statistics and analysis of the data volume and the operation efficiency of the algorithm. For example, Figure 6 shows the experimental analysis platform.

This platform includes drawing points, zoom in, and calculate run time and other auxiliary functions. In the lab, on the computer of Intel Core22.66 GHz CPU, 3.SOGB memory, NVIDIA GeForce 8600GT graphics card, the traditional brute-force algorithm and the research method of this article are tested. Both methods can find the most suitable splicing point accurately. In Figure 7 and Table 3, we can see that the traditional brute force algorithm is not suitable for the scenario studied in this paper. When the amount of calculation data is large, it exceeds 2S. However, the method studied in this paper consumes an exponential increasing trend under the same conditions, but none of them exceeds 2S, and the percentage of efficiency improvement is significant, which verifies the effectiveness and efficiency of the proposed algorithm. In order to investigate the effectiveness of our proposal and other methods. Here, we take F1-score into account to assess the experiment results, which can be defined as follows:

And we also compared the three methods proposed in the lasted three years, GNNA, RNNA, and CNNA, with our proposal to investigate the effectiveness of our methods. The results can be shown as in Figure 8. As we can see from Figure 8, the black curve represents the results of our proposal and others represent the other three methods results. As we can see on all datasets the results of our proposal are better than others except D4, which proves that all methods obtain the same results. GNNA always obtain the worse results which may be caused by the lower generalization, but it can provide more diversities. CNNA, as the basic one, can have worst accuracy and lower diversity. RNNA is located at the middle of them. Our proposal can provide high scores and also provide more diversity giving more new products. It indicated that our proposal can perform better than the other three methods.

In summary, the paper introduces the development of postprocessing algorithm of willow technology and starts with the software structure of postprocessing model generation. The realization process of the algorithm is introduced in detail. Then it introduces how to apply the postprocessing platform of animation and splicing the digital shadow script files to form a complete willow craft file. Finally, the effectiveness and efficiency of this algorithm are analyzed, and the usability of the algorithm is further verified and analyzed.

6. Conclusion

All in all, the emergence of artificial intelligence has revolutionized the design of computer-aided arts and crafts, not only replacing a lot of tedious and repetitive manual labour, but also improving the quality of production. The continuous improvement of artificial intelligence technology and the generation of various technologies and algorithms make computer-aided arts and crafts design more convenient and efficient, while the efficiency and quality are simultaneously improved, and also pointing out the direction for the development of artificial intelligence technology. The application of artificial intelligence algorithms puts forward great demands on the computing power of computers and our experimental equipment. Therefore, how to further improve the complexity and accuracy of the model is an important topic for our future research.

Intelligence is the main trend of CAPP system development in the future, but from the current level of artificial intelligence technology, it is impossible to make a substantial breakthrough in the intelligent level of CAPP system. To solve the problems of artificial intelligence technology, new breakthroughs must be made in some basic theories and basic sciences, such as in life sciences and mathematics. There must be new breakthroughs in other areas. It can be seen that in the foreseeable future, the development of intelligent CAPP system will still be based on the full use of human intelligence advantages, comprehensive application of various artificial intelligence technologies to achieve intelligent CAPP system. Through the above discussion, we believe that everyone has a certain understanding of the application of computer-aided art design and artificial intelligence and artificial intelligence in computer-aided art design. With the continuous development of artificial intelligence technology, the intelligent CAPP system will further develop the flexibility and effectiveness of knowledge acquisition, expression, and processing; improve the intelligent level of CAPP system; and thus improve the level of modern manufacturing technology. Although our method has achieved good accuracy at present, it is still unable to achieve considerable accuracy in the face of complex environment, and the training time of the model is long. In the future, we will further optimize our model to improve the training speed of the model while ensuring the accuracy.

Data Availability

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.


This work was supported by the Youth Fund of Humanities and Social Sciences and Art of the Ministry of Education in 2020 (No. 20YJC760014).