Production equipment control method and system for jacquard fabric
By dividing and data processing the pattern pictures, we ensure the security of data transmission during the equipment control process, and using analytical models to monitor the weaving process, the problems of data transmission security and automatic monitoring of the weaving process in equipment control are solved, and the effects of secure transmission and automatic monitoring are achieved.
Patent Information
- Application Number
- CN202510334636.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-20
- Publication Date
- 2025-06-27
AI Technical Summary
Existing equipment control technology has failed to effectively solve the security problems of data transmission during equipment control.
By dividing pattern pictures into several pattern picture blocks, the sending data of each pattern picture block is generated, and the data is preset and secretly processed, ensuring the security of data transmission. At the same time, the collected fabric photos were analyzed using the analysis model generated by the exercise to determine whether there were problems and send control data.
It realizes the safe transmission of pattern pictures, ensures automatic monitoring and parameter adjustment of the weaving process, and can promptly discover and solve fabric problems.
Smart Images

Figure CN120211004A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of equipment control, and particularly to a control method and system for production equipment for jacquard fabrics. Background Art
[0002] Currently, through remote intelligent control of production equipment, the utilization rate of production equipment can be improved, the automation degree of the production process can be increased, and the labor cost can be reduced.
[0003] The Chinese patent application with the publication number CN114442550A discloses a device control method, device, electronic device, system and storage medium. The method includes: obtaining, by a server, logical control conditions uploaded by a terminal, where the logical control conditions are set through a small program installed on the terminal; receiving real-time status data detected by a detection device for a first target device; querying the logical control conditions based on the real-time status data to obtain target control data; and sending the target control data to a driving device so that the driving device drives a second target device to execute a target control instruction corresponding to the target control data. The user can set logical control conditions through the small program on the terminal, obtain the logical control conditions set by the user through the server, and implement device control based on the logical control conditions. In addition, the Chinese patent application with the publication number CN115903761A discloses a control method and its control system for remotely diagnosing and controlling an air separation device. The method includes: the first step: inputting basic information of the device and adjusting device parameters, and completing device debugging; the second step: when the air separation device is running, collecting device-related data in real time and saving it; the third step: calibrating the collected data, and when there is a fault, performing corresponding fault handling processes by turning on the online supervision mode; the underlying operation program of the air separation device can be re-edited through a remote control system, and the re-edited program is transmitted to a central processing unit through a cloud server to update the program for the air separation device, thereby realizing remote operation.
[0004] However, the above two patent applications do not consider the transmission security problem of relevant data during the process of controlling the device. Summary of the Invention
[0005] This application divides a pattern picture into several pattern picture blocks, generates transmission data for each pattern picture block, processes the first data part and the second data part in each transmission data respectively, transmits each processed transmission data, generates a pattern picture according to all the received transmission data, sets weaving parameters based on the pattern picture, and this application also uses an analysis model generated by practice to analyze and process the collected fabric photos to determine whether there are problems with the fabric contained in the collected fabric photos, and sends control data according to the analysis results. This application aims to ensure the security of the transmitted pattern pictures.
[0006] The present application provides a method for controlling a production device for jacquard fabrics, including the following steps: S1. The user module divides the pattern picture into several pattern picture blocks, and for each pattern picture block, the user module generates transmission data corresponding to the pattern picture block, and the transmission data includes a first data part and a second data part; S2. The user module selects a pattern picture block from all the pattern picture blocks, adds additional information to the first data part in the transmission data corresponding to the selected pattern picture block, performs a preset operation on the first data part in the transmission data corresponding to the selected pattern picture block to obtain first operation data, continues to perform a preset operation on the first operation data and a preset secret data to obtain second operation data, uses the second operation data to perform secret processing on the second data part in the transmission data corresponding to the selected pattern picture block to obtain secret processing result data, uses the secret processing result data to update the second data part in the transmission data corresponding to the selected pattern picture block, and transmits the transmission data corresponding to the selected pattern picture block to the control module; S3. The user module determines whether there are unselected pattern picture blocks. If so, it jumps to S2. If not, the control module restores all the pattern picture blocks from all the received transmission data, generates a pattern picture based on all the pattern picture blocks, and sets the weaving parameters according to the pattern picture; S4. The monitoring module collects a fabric photo, transmits the collected fabric photo to the user module, and the user module uses the analysis model generated by practice to perform analysis processing on the collected fabric photo. If the analysis result indicates that there is a problem with the fabric photo, control data is sent to the control module.
[0007] As a preferred technical solution of the present application, the initial content of the first data part in the transmission data corresponding to the pattern picture block is the positioning information of the pattern picture block in the pattern picture, and the initial content of the second data part in the transmission data corresponding to the pattern picture block is the coding information corresponding to the pattern picture block.
[0008] As a preferred technical solution of the present application, the additional information includes time-division information, any numerical information, and preset text information.
[0009] As a preferred technical solution of the present application, the control module restores all the pattern picture blocks from all the received transmission data, including the following steps: S31. The control module determines a transmission data from all the received transmission data, extracts the first data part in the determined transmission data, and performs a preset operation on the extracted first data part to obtain third operation data; S32. The control module obtains secret data according to the combination of the positioning information and the preset text information in the first data part of the determined transmission data, and the control module performs a preset operation on the third operation data and the obtained secret data to obtain fourth operation data; S33. The control module uses the fourth operation data to perform a restoration process on the second data part of the determined transmission data to obtain the coding information corresponding to the corresponding pattern picture block, restores the corresponding pattern picture block from the coding information corresponding to the corresponding pattern picture block, and the control module determines whether there is undetermined transmission data. If so, jump to S31; if not, end all steps.
[0010] As a preferred technical solution of the present application, the user module exercises to generate an analysis model, including the following steps: S411. The user module obtains a plurality of standard pattern pictures. For each standard pattern picture, the standard pattern picture is divided into different standard pattern picture ranges, corresponding identification information is set for each standard pattern picture range, and the combination of each standard pattern picture range and the corresponding identification information is recorded; S412. The user module selects a combination including a standard pattern picture range and identification information, inputs the standard pattern picture range and the identification information in the selected combination into the analysis model together, and enables the analysis model to adjust the model coefficients to generate an output picture; S413. The user module determines whether there is an unselected combination. If so, jump to S412; if not, end all steps.
[0011] As a preferred technical solution of the present application, setting corresponding identification information for each standard pattern picture range includes: in the standard pattern picture commonly corresponding to each standard pattern picture range, using the picture element in the upper left corner of the standard pattern picture as the origin, using the direction horizontally to the right from the origin as the positive x-axis direction, and using the direction vertically downward from the origin as the positive y-axis direction to establish a picture coordinate system, and taking the coordinates of the central picture element included in each standard pattern picture range in the picture coordinate system as the identification information corresponding to each standard pattern picture range.
[0012] As a preferred technical solution of the present application, setting corresponding identification information for each standard pattern picture range includes: dividing all the standard pattern picture ranges in the standard pattern picture commonly corresponding to each standard pattern picture range into different sets, and setting the same identification information for each standard pattern picture range belonging to the same set.
[0013] As a preferred technical solution of the present application, the user module uses the analysis model generated by practice to analyze and process the collected fabric photos, including the following steps: S421. The user module performs normalization processing on the collected fabric photos to obtain normalized fabric photos, and the user module divides the normalized fabric photos into several normalized fabric photo ranges, sets corresponding marking information for each normalized fabric photo range, and records the combination of each normalized fabric photo range and the corresponding marking information; S422. The user module determines a combination including a normalized fabric photo range and marking information, inputs the normalized fabric photo range and the marking information in the determined combination into the analysis model generated by practice, and the analysis model generated by practice generates an output photo; S423. The user module determines whether there is a combination that has not been determined. If so, it jumps to S422. If not, it continues to the next step; S424. After the user module obtains all the output photos, it uses all the output photos to generate a complete comparison photo, and the user module compares each picture element in the collected fabric photo with the corresponding picture element in the comparison photo. When there is a difference photo between the collected fabric photo and the comparison photo, the analysis result is that there is a problem with the fabric photo. Otherwise, the analysis result is that there is no problem with the fabric photo.
[0014] The present application also provides a production equipment control system for jacquard fabrics, including the following modules: A user module, used to divide the pattern picture into several pattern picture blocks, generate transmission data corresponding to each pattern picture block for each pattern picture block, and the transmission data includes a first data part and a second data part; and used to select a pattern picture block from all the pattern picture blocks, add additional information to the first data part in the transmission data corresponding to the selected pattern picture block, perform a preset operation on the first data part in the transmission data corresponding to the selected pattern picture block to obtain first operation data, continue to perform a preset operation on the first operation data and a preset secret data to obtain second operation data, use the second operation data to perform secret processing on the second data part in the transmission data corresponding to the selected pattern picture block to obtain secret processing result data, use the secret processing result data to update the second data part in the transmission data corresponding to the selected pattern picture block, and transmit the transmission data corresponding to the selected pattern picture block to the control module. If there are pattern picture blocks that have not been selected, repeat this process; also used to use the analysis model generated by practice to analyze and process the collected fabric photos, and send control data to the control module when the analysis result is that there is a problem with the fabric photo; A monitoring module, which is used to collect fabric photos and transmit the collected fabric photos to the user module; A control module, which is used to, when there is no unselected pattern picture block, recover all the pattern picture blocks from all the transmitted data for all the received transmitted data, generate a pattern picture based on all the pattern picture blocks, and set the weaving parameters according to the pattern picture; and is used to receive the control data sent by the user module.
[0015] Compared with the prior art, the beneficial effects of the present application are at least as follows: In the technical solution provided by the present application, first, a pattern picture is divided into several pattern picture blocks, and for each pattern picture block, transmitted data corresponding to the pattern picture block is generated, and the transmitted data includes a first data part and a second data part; second, a pattern picture block is selected from all the pattern picture blocks, additional information is added to the first data part in the transmitted data corresponding to the selected pattern picture block, a preset operation is performed on the first data part in the transmitted data corresponding to the selected pattern picture block to obtain first operation data, and then a preset operation is continued between the first operation data and a preset secret data to obtain second operation data, the second operation data is used to perform secret processing on the second data part in the transmitted data corresponding to the selected pattern picture block to obtain secret processing result data, and the secret processing result data is used to update the second data part in the transmitted data corresponding to the selected pattern picture block, and the transmitted data corresponding to the selected pattern picture block is transmitted; third, when there is an unselected pattern picture block, the previous step is repeated, and when there is no unselected pattern picture block, all the pattern picture blocks are recovered from all the transmitted data, a pattern picture is generated based on all the pattern picture blocks, and the weaving parameters are set according to the pattern picture; finally, the collected fabric photos are analyzed and processed using the analysis model generated by practice, and control data is sent when the analysis result is that there is a problem with the fabric photo. Through the present application, not only can the security of the transmitted pattern picture be ensured, but also the weaving process can be automatically monitored, and the weaving parameters can be adjusted in time when problems are found with the fabric. Description of the Drawings
[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0017] Figure 1 It is a flowchart of a control method for a production device for jacquard fabrics in an embodiment of the present application; Figure 2Flow chart of the method for restoring all pattern picture blocks in the embodiment of the present application; Figure 3 Flow chart of the method for analyzing fabric photos in the embodiment of the present application; Figure 4 Schematic diagram of the production equipment control system for jacquard fabrics in the embodiment of the present application. Detailed implementation manners
[0018] The embodiment of the present application provides a production equipment control method and system for jacquard fabrics. Terms such as "first", "second", "third", "fourth", etc. (if any) in the description, claims and drawings of the present application are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances, so that the embodiments described here can be implemented in an order other than that illustrated or described here. In addition, the term "comprising" or "having" and any variation thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units does not necessarily limit to those clearly listed steps or units, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0019] For the convenience of understanding, the specific process of the embodiment of the present application will be described below. Please refer to Figure 1 , the production equipment control method for jacquard fabrics in the embodiment of the present application includes the following main steps: S1. The user module divides the pattern picture into several pattern picture blocks, and for each pattern picture block, the user module generates transmission data corresponding to the pattern picture block. The transmission data includes a first data part and a second data part; S2. The user module selects a pattern picture block from all the pattern picture blocks, adds additional information to the first data part in the transmission data corresponding to the selected pattern picture block, performs a preset operation on the first data part in the transmission data corresponding to the selected pattern picture block to obtain first operation data, continues to perform a preset operation on the first operation data and a preset secret data to obtain second operation data, uses the second operation data to perform secret processing on the second data part in the transmission data corresponding to the selected pattern picture block to obtain a secret processing result data, uses the secret processing result data to update the second data part in the transmission data corresponding to the selected pattern picture block, and transmits the transmission data corresponding to the selected pattern picture block to the control module; S3. The user module determines whether there are unselected pattern picture blocks. If there are, it jumps to S2. If not, the control module restores all the pattern picture blocks from all the received transmission data, generates a pattern picture based on all the pattern picture blocks, and sets the weaving parameters according to the pattern picture. S4. The monitoring module collects fabric photos and transmits the collected fabric photos to the user module. The user module uses the analysis model generated by the practice to analyze and process the collected fabric photos. If the analysis result shows that there are problems with the fabric photos, it sends control data to the control module.
[0020] Specifically, in S1, the user module divides the pattern image into several pattern image blocks. The division method here is not limited in this embodiment. For each pattern image block, the user module generates transmission data corresponding to the pattern image block. The transmission data consists of a first data part and a second data part. The first data part and the second data part will be introduced below. In S2, the user module selects a pattern image block from all the pattern image blocks, adds additional information to the first data part in the transmission data corresponding to the selected pattern image block. The additional information will be introduced below. It should be noted that the initial content of the first data part is not empty. Subsequently, a preset operation is performed on the first data part in the transmission data corresponding to the selected pattern image block to obtain first operation data. The preset operation can be, for example, an operation using the xxhash algorithm. Then, a preset operation is continued between the first operation data and a preset secret data to obtain second operation data. It should be noted that the user module can store multiple preset secret data in advance. The preset secret data here is related to the content of the first data part in the transmission data corresponding to the selected pattern image block that has been added with additional information. According to the following description, it is specifically related to the combination of the positioning information and the preset text information in the content of the first data part. That is, the preset secret data can be uniquely determined according to the combination of the positioning information and the preset text information. After that, the second data part in the transmission data corresponding to the selected pattern image block is secretly processed using the second operation data to obtain secretly processed result data. Here, the secret processing is, for example, an encryption process using the aes algorithm. The aes algorithm is a symmetric encryption algorithm in the prior art and is widely used in data encryption and data decryption. The second data part in the transmission data corresponding to the selected pattern image block is updated using the secretly processed result data, and the transmission data corresponding to the selected pattern image block is transmitted to the control module. In S3, the user module determines whether there are unselected pattern image blocks. If so, it jumps to S2 to select an unselected pattern image block and continue with the subsequent processing. If not, the control module restores all the pattern image blocks from all the received transmission data, then generates a pattern image based on all the pattern image blocks, and sets the weaving parameters according to the pattern image, such as including fabric structure parameters, equipment operation parameters, etc. In S4, the monitoring module can collect fabric photos during the weaving process and transmit the collected fabric photos to the user module. The user module analyzes the collected fabric photos using the analysis model generated by practice and obtains an analysis result, aiming to determine whether there are problems with the fabric photos. If the analysis result shows that there are problems with the fabric photos, control data is sent to the control module, so that the control module can adjust the weaving parameters according to the control data or stop the weaving process.
[0021] Further, the initial content of the first data part in the transmission data corresponding to the pattern picture block is the positioning information of the pattern picture block in the pattern picture, and the initial content of the second data part in the transmission data corresponding to the pattern picture block is the encoding information corresponding to the pattern picture block.
[0022] Specifically, the initial content of the first data part in the transmission data corresponding to the pattern picture block is the positioning information of the pattern picture block in the pattern picture. According to this positioning information, the specific appearance position of the pattern picture block in the pattern picture can be determined. To understand the positioning information, for example, each pattern picture is equally divided into 4 pattern picture blocks, and the positioning information of these 4 pattern picture blocks is upper left, upper right, lower left, and lower right respectively. When the control module recovers all the pattern picture blocks from all the transmission data, according to the positioning information included in the first data part of all the transmission data, the pattern picture can be further generated from all the pattern picture blocks. In addition, the initial content of the second data part in the transmission data corresponding to the pattern picture block is the encoding information corresponding to the pattern picture block, and the encoding information can be obtained by encoding the pattern picture block. The encoding process can be, for example, the encoding process using the png encoding algorithm. Converting the pattern picture block into encoding information is more convenient for transmission and processing.
[0023] Further, the additional information includes time-division information, arbitrary numerical information, and preset text information.
[0024] Specifically, the additional information added by the user module in the first data part of the transmission data corresponding to the selected pattern picture block can include time-division information, arbitrary numerical information, and preset text information. Among them, the time-division information can be the current time accurate to the second, the arbitrary numerical information can be a randomly generated numerical value with a certain degree of uncertainty, and the preset text information can be a statement with a certain meaning set in advance. The role of the additional information will be described below.
[0025] Further, for all the received transmission data, the control module recovers all the pattern picture blocks from all the transmission data, including the following steps: S31. The control module determines a piece of transmission data in all the received transmission data, extracts the first data part in the determined transmission data, and performs a preset operation on the extracted first data part to obtain third operation data; S32. The control module obtains the secret data according to the combination of the positioning information and the preset text information in the first data part of the determined transmission data, and the control module performs a preset operation on the third operation data and the obtained secret data to obtain fourth operation data; S33. The control module uses the fourth operation data to perform recovery processing on the second data part in the determined transmission data to obtain the coding information corresponding to the corresponding pattern picture block, restores the corresponding pattern picture block from the coding information corresponding to the corresponding pattern picture block, and the control module determines whether there is transmission data that has not been determined. If so, jump to S31. If not, end all steps.
[0026] Specifically, please refer to Figure 2 , which introduces how the control module processes each received transmission data. Before the introduction, it should be noted that the preset operations that appear multiple times in this embodiment have the same meaning. For example, it can be the xxhash algorithm. Restore the corresponding pattern picture block from each transmission data. In S31, the control module determines a transmission data from all the received transmission data, extracts the first data part contained therein from the determined transmission data, and performs a preset operation on the extracted first data part to obtain the third operation data. In S32, the control module obtains the secret data according to the combination of the positioning information and the preset text information in the first data part of the determined transmission data. That is to say, both the user module and the control module have previously stored a table recording different secret data, and the secret data in the table uniquely corresponds to the combination of the positioning information and the preset text information. The control module performs a preset operation on the third operation data and the obtained secret data to obtain the fourth operation data. In S33, the control module extracts the second data part contained in the determined transmission data, uses the fourth operation data to perform recovery processing on the second data part in the determined transmission data to obtain the coding information corresponding to the corresponding pattern picture block. Here, the recovery processing is, for example, decryption processing using the aes algorithm. The aes algorithm is a symmetric encryption algorithm in the prior art and is widely used in data encryption and data decryption. Continue to restore the corresponding pattern picture block from the coding information corresponding to the corresponding pattern picture block. For example, the png decoding algorithm can be used to decode the coding information of the corresponding pattern picture block. The control module determines whether there is transmission data that has not been determined. If so, jump to S31, determine an undetermined transmission data from all the received transmission data, and perform subsequent processing. If not, end all steps.
[0027] In the method described above, the second operation data used by the user module to transmit the transmission data corresponding to each pattern picture block to the control module are all different, which improves the anti-cracking property of the transmitted transmission data. The transmitted transmission data does not contain preset secret data. Even if the transmitted transmission data is intercepted, it is almost impossible to crack the transmitted transmission data. Therefore, the method described above can ensure the security of the pattern pictures sent by the user module. In addition, the method described above can simply and quickly implement the secure transmission of the pattern pictures to be sent. Even in the case of continuously sending a large number of pattern pictures, it will not cause an excessive processing burden on the user module.
[0028] Further, the user module practices generating an analysis model, including the following steps: S411. The user module obtains a number of standard pattern pictures. For each standard pattern picture, the standard pattern picture is divided into different standard pattern picture ranges, corresponding identification information is set for each standard pattern picture range, and the combination of each standard pattern picture range and the corresponding identification information is recorded. S412. The user module selects a combination including a standard pattern picture range and identification information, and inputs the standard pattern picture range and the identification information in the selected combination into the analysis model together, so that the analysis model adjusts the model coefficients to generate an output picture. S413. The user module determines whether there is a combination that has not been selected. If so, it jumps to S412. If not, it ends all steps.
[0029] Specifically, it is introduced how the user module practices generating an analysis model. In S411, the user module obtains a number of standard pattern pictures. The standard pattern pictures refer to pattern pictures without problems, that is, the fabrics included in the standard pattern pictures do not have problems such as stains and damages. For each standard pattern picture, the standard pattern picture is divided into different standard pattern picture ranges, and corresponding identification information is set for each standard pattern picture range. The identification information will be described below. The combination of each standard pattern picture range and the corresponding identification information is recorded. The division method here is not limited in this embodiment. For example, the standard pattern picture can be evenly divided into multiple standard pattern picture ranges with the same size and shape. In S412, the user module selects a combination including a standard pattern picture range and identification information from all the combinations, and inputs the standard pattern picture range and the identification information in the selected combination into the analysis model. The analysis model can be a neural network model in the prior art, so it will not be elaborated here. The analysis model adjusts the model coefficients to generate an output picture. It should be noted that the generated output picture should be a picture without problems, that is, the fabric included in the output picture does not have problems such as stains and damages. In S413, the user module determines whether there is an unselected combination. If so, it jumps to S412, selects an unselected combination including a standard pattern picture range and identification information from all the combinations, and performs subsequent processing. If not, all steps are ended.
[0030] Further, setting corresponding identification information for each standard pattern picture range includes: in the standard pattern picture commonly corresponding to each standard pattern picture range, taking the picture element in the upper left corner of the standard pattern picture as the origin, taking the direction horizontally to the right from the origin as the positive x-axis direction, and taking the direction vertically downward from the origin as the positive y-axis direction to establish a picture coordinate system, and regarding the coordinates of the central picture element included in each standard pattern picture range in the picture coordinate system as the identification information corresponding to each standard pattern picture range.
[0031] Specifically, a case of identification information corresponding to the standard pattern picture range is introduced. The identification information corresponding to the standard pattern picture range can be used to locate the standard pattern picture within the standard pattern picture corresponding to the standard pattern picture range. Setting the corresponding identification information for each standard pattern picture range includes: in the standard pattern picture commonly corresponding to each standard pattern picture range, taking the picture element in the upper left corner of the standard pattern picture as the origin, taking the direction horizontally to the right starting from the origin as the positive x-axis direction, and taking the direction vertically downward starting from the origin as the positive y-axis direction to establish a picture coordinate system, and regarding the coordinates of the central picture element included in each standard pattern picture range in the picture coordinate system as the identification information corresponding to each standard pattern picture range. The picture element can be understood as a pixel.
[0032] Furthermore, setting the corresponding identification information for each standard pattern picture range includes: dividing all the standard pattern picture ranges in the standard pattern picture commonly corresponding to each standard pattern picture range into different sets, and setting the same identification information for each standard pattern picture range belonging to the same set.
[0033] Specifically, another case of identification information corresponding to the standard pattern picture range is introduced. The identification information corresponding to the standard pattern picture range can be used to represent the type of the standard pattern picture range among all the standard pattern picture ranges included in the standard pattern picture corresponding to the standard pattern picture range. Setting the corresponding identification information for each standard pattern picture range can also include: dividing all the standard pattern picture ranges in the standard pattern picture commonly corresponding to each standard pattern picture range into different sets, and setting the same identification information for each standard pattern picture range belonging to the same set. For ease of understanding, for example, a standard pattern picture includes 9 standard pattern picture ranges. Among all these standard pattern picture ranges, the identification information corresponding to similar standard pattern picture ranges is set to be the same. Suppose there are 4 standard pattern picture ranges that are similar, and they are divided into set 1. Suppose there are 3 standard pattern picture ranges that are similar, and they are divided into set 2. Suppose there are still 2 standard pattern picture ranges that are not similar to any other standard pattern picture ranges, and they are respectively divided into set 3 and set 4. Then the identification information corresponding to these 4 similar standard pattern picture ranges is all set to a, the identification information corresponding to these 3 similar standard pattern picture ranges is all set to b, and the identification information corresponding to the 2 standard pattern picture ranges that are not similar to any other standard pattern picture ranges is respectively set to c and d.
[0034] Furthermore, the user module uses the analysis model generated by the exercise to analyze and process the collected fabric photos, including the following steps: S421. The user module performs normalization processing on the collected fabric photos to obtain normalized fabric photos, and the user module divides the normalized fabric photos into several normalized fabric photo ranges, sets corresponding marking information for each normalized fabric photo range, and records the combination of each normalized fabric photo range and the corresponding marking information; S422. The user module determines a combination including a normalized fabric photo range and marking information, inputs the normalized fabric photo range and the marking information in the determined combination into the analysis model generated by training, and the analysis model generated by training produces an output photo; S423. The user module determines whether there is a combination that has not been determined. If so, it jumps to S422. If not, it proceeds to the next step; S424. After the user module obtains all the output photos, it uses all the output photos to generate a complete comparison photo, and for each picture element in the collected fabric photos, the user module compares the picture element with the corresponding picture element in the comparison photo. When there is a difference photo between the collected fabric photo and the comparison photo, the analysis result is that there is a problem with the fabric photo. Otherwise, the analysis result is that there is no problem with the fabric photo.
[0035] Specifically, please refer to Figure 3, it is introduced how the user module uses the analysis model generated by training to analyze and process the collected fabric photos. In S421, the user module performs normalization processing on the collected fabric photos to obtain normalized fabric photos. The normalization processing may include adjusting the size of the collected fabric photos, removing noise in the collected fabric photos, etc. The user module divides the normalized fabric photos into several normalized fabric photo ranges. The division method here is the same as the division method in S411 above. Corresponding marking information is set for each normalized fabric photo range. The method of setting the marking information here is the same as the method of setting the identification information in S411 above. The combination of each normalized fabric photo range and the corresponding marking information is recorded. In S422, the user module determines a combination including a normalized fabric photo range and marking information among all the combinations, and inputs the normalized fabric photo range and the marking information in the determined combination into the analysis model generated by training. The analysis model generated by training produces an output photo, and the fabric included in the output photo should have no problems such as stains and damages. In S423, the user module determines whether there is an undetermined combination. If so, it jumps to S422 to determine an undetermined combination including a normalized fabric photo range and marking information among all the combinations and perform subsequent processing. If not, it continues to the next step. In S424, after the user module obtains all the output photos, it can generate a complete comparison photo based on all the output photos. Subsequently, for each picture element in the collected fabric photo, the user module compares the picture element with the corresponding picture element in the comparison photo. In the case where the picture coordinate system of the collected fabric photo and the picture coordinate system of the comparison photo are established in the same way, the coordinates of the picture element are the same as the coordinates of the corresponding picture element in the comparison photo. If there is a difference photo between the collected fabric photo and the comparison photo, the analysis result is that there is a problem with the fabric photo, that is, the fabric included in the fabric photo has problems such as stains and damages, and the image included in the difference photo is the problem image. If there is no difference photo between the collected fabric photo and the comparison photo, the analysis result is that there is no problem with the fabric photo.
[0036] In the method described above, instead of using only the standard pattern picture range to train and generate the analysis model, the combination of the standard pattern picture range and the corresponding identification information is used to train and generate the analysis model, which can enable the analysis model generated by training to produce an output photo corresponding to the normalized fabric photo range and its marking information, thereby ensuring the accuracy of the output photo generated by the analysis model generated by training.
[0037] In summary, in the present application, first, a pattern picture is divided into a plurality of pattern picture blocks, and for each pattern picture block, transmission data corresponding to the pattern picture block is generated, where the transmission data includes a first data part and a second data part; second, a pattern picture block is selected from all the pattern picture blocks, additional information is added to the first data part in the transmission data corresponding to the selected pattern picture block, a preset operation is performed on the first data part in the transmission data corresponding to the selected pattern picture block to obtain first operation data, and then a preset operation is continued on the first operation data and a preset secret data to obtain second operation data. The second operation data is used to perform secret processing on the second data part in the transmission data corresponding to the selected pattern picture block to obtain secret processing result data, and the second data part in the transmission data corresponding to the selected pattern picture block is updated with the secret processing result data, and the transmission data corresponding to the selected pattern picture block is transmitted; third, in the case where there are unselected pattern picture blocks, the previous step is repeated. In the case where there are no unselected pattern picture blocks, all the pattern picture blocks are recovered from all the transmission data, a pattern picture is generated based on all the pattern picture blocks, and weaving parameters are set according to the pattern picture; finally, an analysis model generated by practice is used to perform analysis processing on the collected fabric photo, and control data is transmitted in the case where the analysis result indicates that there is a problem with the fabric photo. Through the present application, not only can the security of the transmitted pattern picture be ensured, but also the weaving process can be automatically monitored, and the weaving parameters can be adjusted in a timely manner when a problem is found with the fabric.
[0038] According to another aspect of the embodiments of the present application, as shown in Figure 4 the present application also provides a production equipment control system for jacquard fabrics, including a user module, a monitoring module, and a control module, to implement the production equipment control method for jacquard fabrics described above.
[0039] Among them, the functions of each module are as follows: The user module is used to divide the pattern picture into several pattern picture blocks. For each pattern picture block, it generates the transmission data corresponding to the pattern picture block. The transmission data includes a first data part and a second data part. It is also used to select a pattern picture block from all the pattern picture blocks, add additional information to the first data part in the transmission data corresponding to the selected pattern picture block, perform a preset operation on the first data part in the transmission data corresponding to the selected pattern picture block to obtain first operation data, continue to perform a preset operation on the first operation data and a preset secret data to obtain second operation data, use the second operation data to perform secret processing on the second data part in the transmission data corresponding to the selected pattern picture block to obtain secret processing result data, use the secret processing result data to update the second data part in the transmission data corresponding to the selected pattern picture block, and transmit the transmission data corresponding to the selected pattern picture block to the control module. In the case where there are unselected pattern picture blocks, this process is repeated. It is also used to perform analysis processing on the collected fabric photo using the analysis model generated by practice. In the case where the analysis result shows that there is a problem with the fabric photo, it sends control data to the control module. The monitoring module is used to collect fabric photos and transmit the collected fabric photos to the user module. The control module is used, in the case where there are no unselected pattern picture blocks, for all the received transmission data, to recover all the pattern picture blocks from all the transmission data, generate a pattern picture based on all the pattern picture blocks, and set the weaving parameters according to the pattern picture. It is also used to receive the control data sent by the user module.
[0040] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described system, system, and unit can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated here.
[0041] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The foregoing storage medium includes: USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs, etc., which can store program codes.
[0042] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than limiting them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present application.
Claims
1. A method for controlling a production device for jacquard fabrics, characterized in that: The method comprises the following steps: S1. The user module divides the pattern picture into a plurality of pattern picture blocks, and for each pattern picture block, the user module generates transmission data corresponding to the pattern picture block, where the transmission data includes a first data part and a second data part; S2, the user module selects a pattern picture block from all the pattern picture blocks, adds additional information to the first data part of the sending data corresponding to the selected pattern picture block, performs a preset operation on the first data part of the sending data corresponding to the selected pattern picture block to obtain first operation data, continues to perform a preset operation on the first operation data and preset secret data to obtain second operation data, uses the second operation data to perform secret processing on the second data part of the sending data corresponding to the selected pattern picture block to obtain secret processing result data, uses the secret processing result data to update the second data part of the sending data corresponding to the selected pattern picture block, and transmits the sending data corresponding to the selected pattern picture block to the control module; S3, the user module determines whether there is a pattern picture block that has not been selected, and if so, jumps to S2, and if not, the control module recovers all the pattern picture blocks from all the sent data for all the received sent data, generates a pattern picture based on all the pattern picture blocks, and sets the weaving parameters according to the pattern picture; S4. The monitoring module collects fabric photos and transmits the collected fabric photos to the user module. The user module uses the analysis model generated by the exercise to analyze and process the collected fabric photos. When the analysis result shows that there is a problem with the fabric photos, the user module sends control data to the control module.
2. The method according to claim 1, characterized in that The initial content of the first data part in the data sent corresponding to the pattern picture block is the positioning information of the pattern picture block in the pattern picture, and the initial content of the second data part in the data sent corresponding to the pattern picture block is the coding information corresponding to the pattern picture block.
3. The method according to claim 2, characterized in that The additional information includes time information, arbitrary numerical information, and preset text information.
4. The method according to claim 3, characterized in that The control module recovers all the pattern picture blocks from all the received transmission data, including the following steps: S31, the control module determines one transmission data from all received transmission data, extracts a first data portion from the determined transmission data, and performs a preset operation on the extracted first data portion to obtain third operation data; S32, the control module obtains secret data according to the combination of the positioning information in the first data part of the determined sending data and the preset text information, and the control module performs a preset operation on the third operation data and the obtained secret data to obtain fourth operation data; S33, the control module uses the fourth operation data to recover the second data part in the determined sending data to obtain the coding information corresponding to the corresponding pattern picture block, and recovers the corresponding pattern picture block from the coding information corresponding to the corresponding pattern picture block, and the control module determines whether there is undetermined sending data, if so, jumps to S31, if not, ends all steps.
5. The method according to claim 1, characterized in that The user module exercises the generation of analysis models, including the following steps: S411, the user module obtains a number of standard pattern pictures, divides each standard pattern picture into different standard pattern picture ranges, sets corresponding identification information for each standard pattern picture range, and records a combination of each standard pattern picture range and the corresponding identification information; S412, the user module selects a combination including a standard pattern image range and identification information, and inputs the standard pattern image range and identification information in the selected combination into the analysis model, so that the analysis model adjusts the model coefficient to generate an output image; S413, the user module determines whether there is a combination that has not been selected. If so, jump to S412, if not, end all steps.
6. The method according to claim 5, characterized in that Setting corresponding identification information for each standard pattern picture range includes: in the standard pattern picture corresponding to each standard pattern picture range, taking the picture element in the upper left corner of the standard pattern picture as the origin, taking the horizontal rightward direction from the origin as the positive direction of the x-axis, and taking the vertical downward direction from the origin as the positive direction of the y-axis to establish a picture coordinate system, and taking the coordinates of the central picture element contained in each standard pattern picture range in the picture coordinate system as the identification information corresponding to each standard pattern picture range.
7. The method according to claim 5, characterized in that Setting corresponding identification information for each standard pattern picture range includes: dividing all standard pattern picture ranges in the standard pattern pictures corresponding to each standard pattern picture range into different sets, and setting the same identification information for each standard pattern picture range belonging to the same set.
8. The method according to claim 1, characterized in that The user module uses the analysis model generated by the practice to analyze and process the collected fabric photos, including the following steps: S421, the user module performs normalization processing on the collected fabric photos to obtain standard fabric photos, and the user module divides the standard fabric photos into a plurality of standard fabric photo ranges, sets corresponding marking information for each standard fabric photo range, and records a combination of each standard fabric photo range and the corresponding marking information; S422, the user module determines a combination including a range of standard fabric photos and marking information, and inputs the range of standard fabric photos and marking information in the determined combination into the analysis model generated by the exercise, so that the analysis model generated by the exercise generates an output photo; S423, the user module determines whether there is a combination that has not been determined, and if so, jumps to S422, and if not, continues to the next step; S424. After obtaining all the output photos, the user module uses all the output photos to generate complete comparison photos, and the user module compares each picture element in the collected fabric photos with the corresponding picture element in the comparison photos. When there are difference photos between the collected fabric photos and the comparison photos, the analysis result is that there is a problem with the fabric photos. Otherwise, the analysis result is that there is no problem with the fabric photos.
9. A control system for a production equipment of jacquard fabrics, used to implement the method according to any one of claims 1 to 8, characterized in that: Includes the following modules: A user module, used for dividing the pattern picture into a plurality of pattern picture blocks, and for each pattern picture block, generating transmission data corresponding to the pattern picture block, wherein the transmission data includes a first data part and a second data part; The method is used to select a pattern picture block from all pattern picture blocks, add additional information to the first data part of the transmission data corresponding to the selected pattern picture block, perform a preset operation on the first data part of the transmission data corresponding to the selected pattern picture block to obtain first operation data, continue to perform a preset operation on the first operation data and preset secret data to obtain second operation data, use the second operation data to perform secret processing on the second data part of the transmission data corresponding to the selected pattern picture block to obtain secret processing result data, use the secret processing result data to update the second data part of the transmission data corresponding to the selected pattern picture block, transmit the transmission data corresponding to the selected pattern picture block to the control module, and repeat this processing when there is a pattern picture block that has not been selected; the method is also used to use the analysis model generated by the exercise to analyze and process the collected fabric photos, and send control data to the control module when the analysis result shows that there is a problem with the fabric photos; A monitoring module is used to collect fabric photos and transmit the collected fabric photos to a user module; A control module, used for recovering all the pattern picture blocks from all the sent data received when there are no unselected pattern picture blocks, generating pattern pictures based on all the pattern picture blocks, and setting weaving parameters according to the pattern pictures; And it is used to receive control data sent by the user module.
Citation Information
Patent Citations
Equipment control method and device, electronic equipment, system and storage medium
CN114442550A
Control method and control system for remotely diagnosing and controlling air separation equipment
CN115903761A