Bill of material generation method and device, computer equipment and storage medium

文档序号:1964629 发布日期:2021-12-14 浏览:21次 中文

阅读说明:本技术 物料清单生成方法、装置、计算机设备和存储介质 (Bill of material generation method and device, computer equipment and storage medium ) 是由 黄宇光 侯志善 李秀芳 曾志聪 李华南 肖军 于 2021-09-17 设计创作,主要内容包括:本申请涉及一种物料清单生成方法、装置、计算机设备和存储介质。所述方法包括:对织物染色任务的缸布信息进行信息提取处理,得到所述织物染色任务的染色工艺信息;所述染色工艺信息包括工序信息;生成与所述工序信息对应的打样任务,获取与所述打样任务对应的调色信息;根据所述染色工艺信息和所述调色信息,生成所述织物染色任务的物料清单。采用本方法能够提高织物染色任务处理效率。(The application relates to a bill of material generation method, a bill of material generation device, computer equipment and a storage medium. The method comprises the following steps: carrying out information extraction processing on the cylinder cloth information of the fabric dyeing task to obtain dyeing process information of the fabric dyeing task; the dyeing process information comprises process information; generating a proofing task corresponding to the process information, and acquiring toning information corresponding to the proofing task; and generating a bill of materials of the fabric dyeing task according to the dyeing process information and the color matching information. By adopting the method, the processing efficiency of the fabric dyeing task can be improved.)

1. A bill of material generation method, the method comprising:

carrying out information extraction processing on the cylinder cloth information of the fabric dyeing task to obtain dyeing process information of the fabric dyeing task; the dyeing process information comprises process information;

generating a proofing task corresponding to the process information, and acquiring toning information corresponding to the proofing task;

and generating a bill of materials of the fabric dyeing task according to the dyeing process information and the color matching information.

2. The method according to claim 1, wherein the extracting information of the cylinder cloth information of the fabric dyeing task to obtain the dyeing process information of the fabric dyeing task comprises:

acquiring a dyeing process rule; the dyeing process rule is used for representing information required when the dyeing process information is generated;

inquiring cylinder cloth information of the fabric dyeing task to obtain process information corresponding to the dyeing process rule;

and generating the dyeing process information according to the process information.

3. The method according to claim 2, wherein after the information extraction processing is performed on the cylinder cloth information of the fabric dyeing task to obtain the dyeing process information of the fabric dyeing task, the method further comprises:

storing the dyeing process information to a database;

obtaining a storage result of the dyeing process information in the database; the storage result is used for representing the storage state of the dyeing process information in the database;

generating a proofing job corresponding to the process information, comprising:

and if the storage result is that the dyeing process information is successfully stored, generating a proofing task corresponding to the process information.

4. The method of claim 1, wherein the obtaining toning information corresponding to the proofing job comprises:

acquiring each subtask of the proofing task, and generating task allocation information corresponding to each subtask;

respectively sending each subtask to a corresponding terminal according to the task allocation information; each terminal is used for executing the received subtasks to obtain corresponding color matching information;

and receiving corresponding color matching information returned by each terminal.

5. The method of claim 1, wherein generating a bill of materials for the fabric dyeing production job based on the dyeing process information and the toning information comprises:

acquiring a material list template; the bill of material template is used for representing the generation format of the bill of material;

and respectively importing the dyeing process information and the color matching information into corresponding positions in the bill of material template to generate the bill of material.

6. The method of claim 1, further comprising, after generating a bill of materials for the fabric dyeing job based on the dyeing process information and the toning information:

carrying out integrity detection on data in the bill of material to obtain an integrity detection result of the bill of material;

and if the integrity detection result indicates that the integrity of the data is abnormal, performing data filling processing on the bill of material to obtain a filled bill of material.

7. The method of claim 6, wherein after performing data population processing on the bill of materials to obtain a populated bill of materials, further comprising:

carrying out error detection on the data in the filled bill of materials to obtain an error detection result of the filled bill of materials;

if the error detection result indicates that the data has errors, performing data correction processing on the filled bill of materials to obtain a corrected bill of materials;

and updating the bill of materials into the corrected bill of materials.

8. A bill of material generation apparatus, the apparatus comprising:

the process information extraction module is used for extracting information of the cylinder cloth information of the fabric dyeing task to obtain dyeing process information of the fabric dyeing task; the dyeing process information comprises dyeing process information;

the proofing task generating module is used for generating a proofing task corresponding to the dyeing procedure information and acquiring color matching information corresponding to the proofing task;

and the bill of material generation module is used for generating a bill of material of the fabric dyeing task according to the dyeing process information and the color matching information.

9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.

10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.

Technical Field

The application relates to the technical field of fabric dyeing production, in particular to a bill of material generation method, a bill of material generation device, computer equipment and a storage medium.

Background

With the development of computer technology, some enterprises begin to use computer technology to perform fabric dyeing production management work of the enterprises. In the fabric dyeing production, the bill of materials is a formula of the fabric dyeing production, various materials used in the fabric dyeing production process need to be clearly identified in the bill of materials, in addition, the bill of materials is also an important file in the fabric dyeing production process, and the generation efficiency of the bill of materials influences the efficiency of the fabric dyeing production of an enterprise.

The traditional bill of material generation method needs to use a plurality of systems, and a large amount of personnel are needed to operate the systems in the whole process from the process establishment to the bill of material generation. Because the systems are independent, the dyeing process information can be transmitted in error. Therefore, the method of generating the bill of materials by manual operation wastes manpower, material resources and financial resources to a great extent, so that the production and working efficiency is low.

Disclosure of Invention

In view of the above, there is a need to provide a bill of material generation method, apparatus, computer device and storage medium capable of improving the processing efficiency of fabric dyeing tasks.

A bill of material generation method, the method comprising:

carrying out information extraction processing on the cylinder cloth information of the fabric dyeing task to obtain dyeing process information of the fabric dyeing task; the dyeing process information comprises process information;

generating a proofing task corresponding to the process information, and acquiring toning information corresponding to the proofing task;

and generating a bill of materials of the fabric dyeing task according to the dyeing process information and the color matching information.

In one embodiment, the extracting information from the cylinder cloth information of the fabric dyeing task to obtain the dyeing process information of the fabric dyeing task includes:

acquiring a dyeing process rule; the dyeing process rule is used for representing information required when the dyeing process information is generated;

inquiring cylinder cloth information of the fabric dyeing task to obtain process information corresponding to the dyeing process rule;

and generating the dyeing process information according to the process information.

In one embodiment, after information extraction processing is performed on the cylinder cloth information of the fabric dyeing task to obtain dyeing process information of the fabric dyeing task, the method further includes:

storing the dyeing process information to a database;

obtaining a storage result of the dyeing process information in the database; the storage result is used for representing the storage state of the dyeing process information in the database;

generating a proofing job corresponding to the process information, comprising:

and if the storage result is that the dyeing process information is successfully stored, generating a proofing task corresponding to the process information.

In one embodiment, the obtaining of the color matching information corresponding to the proofing task includes:

acquiring each subtask of the proofing task, and generating task allocation information corresponding to each subtask;

respectively sending each subtask to a corresponding terminal according to the task allocation information; each terminal is used for executing the received subtasks to obtain corresponding color matching information;

and receiving corresponding color matching information returned by each terminal.

In one embodiment, the generating a bill of materials for the fabric dyeing production task according to the dyeing process information and the toning information includes:

acquiring a material list template; the bill of material template is used for representing the generation format of the bill of material;

and respectively importing the dyeing process information and the color matching information into corresponding positions in the bill of material template to generate the bill of material.

In one embodiment, after generating the bill of materials of the fabric dyeing task according to the dyeing process information and the toning information, the method further includes:

carrying out integrity detection on data in the bill of material to obtain an integrity detection result of the bill of material;

and if the integrity detection result indicates that the integrity of the data is abnormal, performing data filling processing on the bill of material to obtain a filled bill of material.

In one embodiment, after performing data filling processing on the bill of materials to obtain a filled bill of materials, the method further includes:

carrying out error detection on the data in the filled bill of materials to obtain an error detection result of the filled bill of materials;

if the error detection result indicates that the data has errors, performing data correction processing on the filled bill of materials to obtain a corrected bill of materials;

and updating the bill of materials into the corrected bill of materials.

A bill of material generation apparatus, the apparatus comprising:

the process information extraction module is used for extracting information of the cylinder cloth information of the fabric dyeing task to obtain dyeing process information of the fabric dyeing task; the dyeing process information comprises dyeing process information;

the proofing task generating module is used for generating a proofing task corresponding to the dyeing procedure information and acquiring color matching information corresponding to the proofing task;

and the bill of material generation module is used for generating a bill of material of the fabric dyeing task according to the dyeing process information and the color matching information.

A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:

carrying out information extraction processing on the cylinder cloth information of the fabric dyeing task to obtain dyeing process information of the fabric dyeing task; the dyeing process information comprises process information;

generating a proofing task corresponding to the process information, and acquiring toning information corresponding to the proofing task;

and generating a bill of materials of the fabric dyeing task according to the dyeing process information and the color matching information.

A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:

carrying out information extraction processing on the cylinder cloth information of the fabric dyeing task to obtain dyeing process information of the fabric dyeing task; the dyeing process information comprises process information;

generating a proofing task corresponding to the process information, and acquiring toning information corresponding to the proofing task;

and generating a bill of materials of the fabric dyeing task according to the dyeing process information and the color matching information.

According to the method and device for generating the bill of materials, the computer equipment and the storage medium, the dyeing process information of the fabric dyeing task can be obtained by extracting the information of the cylinder cloth information of the fabric dyeing task, the proofing task corresponding to the process information in the dyeing process information is further generated, then the color matching information corresponding to the proofing task is obtained, and finally the bill of materials of the fabric dyeing task is generated according to the obtained dyeing process information and the color matching information. By adopting the method, the server does not need to frequently respond to the information extraction operation and the task generation operation of the terminal, and the information extraction processing and the task generation processing can be directly carried out, so that the processing efficiency among all links required for generating the bill of materials is improved, the user does not need to manually carry out the generation operation of the bill of materials of the fabric dyeing task through the terminal, the bill of materials of the fabric dyeing task can be directly generated through the obtained dyeing process information and the color mixing information, the generation efficiency of the bill of materials is improved, and the processing efficiency of the fabric dyeing task is improved.

Drawings

FIG. 1 is a diagram of an application environment of a bill of materials generation method in one embodiment;

FIG. 2 is a schematic flow chart diagram illustrating a bill of material generation method according to one embodiment;

FIG. 3 is a schematic interface diagram illustrating information extraction from cylinder cloth information of a fabric dyeing task according to an embodiment;

FIG. 4 is a schematic flow chart of the steps for obtaining dyeing process information for a fabric dyeing task in one embodiment;

FIG. 5 is an interface schematic of dyeing process information generated in one embodiment;

FIG. 6 is an interface schematic of another generated dyeing process information in one embodiment;

FIG. 7 is a schematic flow chart illustrating the steps of storing information on a dyeing process in one embodiment;

FIG. 8 is a flowchart illustrating steps for obtaining palette information corresponding to a proofing job in one embodiment;

FIG. 9 is a schematic flow chart diagram illustrating the steps for generating a bill of materials for a fabric dyeing job in one embodiment;

FIG. 10 is a schematic diagram of an embodiment of a bill of materials interface;

FIG. 11 is a flowchart illustrating the steps of integrity checking data in the bill of materials in one embodiment;

FIG. 12 is a flowchart illustrating the steps of error detection of data in a populated bill of materials in one embodiment;

FIG. 13 is a schematic flow chart diagram illustrating a bill of material generation method in accordance with another embodiment;

FIG. 14 is a flowchart illustrating a bill of materials generation method according to yet another embodiment;

FIG. 15 is a block diagram showing the structure of a bill of material generating apparatus according to an embodiment;

FIG. 16 is a diagram illustrating an internal structure of a computer device according to an embodiment.

Detailed Description

In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.

The bill of material generation method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 101 communicates with the server 102 via a network. The server 102 extracts information of the cylinder cloth information of the fabric dyeing task to obtain dyeing process information of the fabric dyeing task, then generates a corresponding proofing task according to process information in the dyeing process information, the server 102 sends the proofing task to the terminal 101, and further receives color matching information corresponding to the proofing task and returned by the terminal 101, so that the server 102 generates a bill of materials of the fabric dyeing task according to the dyeing process information and the color matching information. The terminal 101 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 102 may be implemented by an independent server or a server cluster formed by a plurality of servers.

In an embodiment, as shown in fig. 2, a method for generating a bill of material is provided, which is described by taking the method as an example of being applied to the terminal in fig. 1, and includes the following steps:

step S201, carrying out information extraction processing on the cylinder cloth information of the fabric dyeing task to obtain dyeing process information of the fabric dyeing task; the dyeing process information includes process information.

The fabric dyeing task refers to a task needing fabric dyeing, such as a dyeing task of certain cotton fabric. The cylinder cloth information refers to information related to a fabric dyeing task and a dye vat used for executing the fabric dyeing task, such as cloth type, fabric components, fabric type, color system, breadth, process flow, customer name and cylinder weight. Dyeing process information refers to the process data, such as process information and machine parameters, required to effect the fabric dyeing process. The process information refers to basic data of each process step that should be performed in the fabric dyeing process, such as a process number, a process type, a process step, a process code, and a bath ratio.

Specifically, if a user needs to dye a fabric, a fabric dyeing request can be triggered on a terminal, the terminal responds to the fabric dyeing request to generate a corresponding fabric dyeing task and sends the fabric dyeing task to a server, the server receives the fabric dyeing task and then obtains cylinder cloth information of the fabric dyeing task, the server calls a corresponding information extraction instruction according to the fabric dyeing task to perform information extraction operation on the cylinder cloth information of the fabric dyeing task, process information in the cylinder cloth information is obtained, and dyeing process information corresponding to the process information is obtained. Therefore, after the server acquires the dyeing process information, the subsequent bill of material generation step is executed by taking the dyeing process information as a processing basis.

For example, as shown in fig. 3, an interface for extracting information from cylinder cloth information of a fabric dyeing task is that a user needs to dye a fabric, a fabric dyeing request is triggered on a terminal, the terminal responds to the fabric dyeing request to generate a corresponding fabric dyeing task, the fabric dyeing task includes the cylinder cloth information and sends the fabric dyeing task to a server, the server receives the fabric dyeing task and then obtains the cylinder cloth information of the fabric dyeing task, the server calls a corresponding information extraction instruction according to the type of the fabric dyeing task to perform information extraction operation on the cylinder cloth information of the fabric dyeing task to obtain total cylinder weight, width, color system, client, cloth type, yarn component, yarn type and process flow in the cylinder cloth information, and then generates corresponding dyeing process information by combining the information.

Step S202, generating a proofing task corresponding to the process information, and acquiring toning information corresponding to the proofing task.

Wherein, the proofing task refers to the task of producing samples according to the fabric dyeing task. Toning information refers to color formula information for dyes used during a proofing job.

Specifically, the server detects whether a condition for generating the proofing task is met, if the server detects that dyeing process information is successfully stored in the database, the proofing task corresponding to the process information is generated according to the process information in the dyeing process information, the server distributes the proofing task, and then the distributed proofing task is sent to the corresponding terminal, so that toning information corresponding to the distributed proofing task returned by each terminal after the distributed proofing task is executed is received. Therefore, after the server acquires the color matching information, the server executes the subsequent bill of material generation steps by taking the color matching information as a processing basis.

And step S203, generating a bill of materials of the fabric dyeing task according to the dyeing process information and the color matching information.

Wherein, the bill of materials refers to technical documents describing raw materials, toning formulas and quantity of products of the fabric dyeing task.

Specifically, the server detects whether the conditions for generating the bill of materials are met to obtain a detection result meeting the requirements for generating the bill of materials, and then fills dyeing process information and color mixing information into corresponding positions in a bill of materials template to generate the bill of materials; if the user needs to check the bill of materials, a bill of materials request can be triggered on the terminal, the terminal responds to the bill of materials request and sends the bill of materials request to the server, and then the terminal receives the bill of materials returned by the server, so that the bill of materials is displayed, and the user can check the bill of materials conveniently.

According to the method for generating the bill of materials, the dyeing process information of the fabric dyeing task can be obtained by extracting the information of the cylinder cloth information of the fabric dyeing task, the proofing task corresponding to the process information in the dyeing process information is further generated, then the color matching information corresponding to the proofing task is obtained, and finally the bill of materials of the fabric dyeing task is generated according to the obtained dyeing process information and the color matching information. By adopting the method, the server does not need to frequently respond to the information extraction operation and the task generation operation of the terminal, and the information extraction processing and the task generation processing can be directly carried out, so that the processing efficiency among all links required for generating the bill of materials is improved, the user does not need to manually carry out the generation operation of the bill of materials of the fabric dyeing task through the terminal, the bill of materials of the fabric dyeing task can be directly generated through the obtained dyeing process information and the color mixing information, the generation efficiency of the bill of materials is improved, and the processing efficiency of the fabric dyeing task is improved.

In an embodiment, as shown in fig. 4, in the step S201, performing information extraction processing on the cylinder cloth information of the fabric dyeing task to obtain dyeing process information of the fabric dyeing task specifically includes the following steps:

step S401, obtaining dyeing process rules; the dyeing process rule is used to indicate information required when dyeing process information is generated.

And S402, inquiring cylinder cloth information of a fabric dyeing task to obtain process information corresponding to the dyeing process rule.

And step S403, generating dyeing process information according to the process information.

Specifically, after the server acquires the fabric dyeing task, the server queries the stored dyeing process rule to further obtain the dyeing process rule containing information required for generating the dyeing process information, and queries information corresponding to the dyeing process rule from the cylinder cloth information of the fabric dyeing task according to the dyeing process rule, so that the server obtains process information corresponding to the dyeing process rule, calls a dyeing process information generation instruction, and generates the dyeing process information by combining the process information.

For example, as shown in fig. 5 and 6, after the server obtains the fabric dyeing task, the server queries the stored dyeing process rule to obtain the dyeing process rule including information required for generating the dyeing process information, and queries information corresponding to the dyeing process rule from the cylinder cloth information of the fabric dyeing task according to the dyeing process rule, so that the server obtains information of a process flow, a color system and the like corresponding to the dyeing process rule, calls a dyeing process information generation instruction, and generates the dyeing process information by combining the information of the process flow, the color system and the like, wherein the dyeing process information includes process steps, cotton dyeing information, fixation information and machine parameters.

In this embodiment, the server can query the cylinder cloth information of the fabric dyeing task by acquiring the dyeing process rule, and further obtain the process information corresponding to the dyeing process rule, so that the server generates the dyeing process information according to the process information. By adopting the method, the server does not need to frequently respond to the information extraction operation and the information generation operation of the terminal, and the process information extraction processing and the dyeing process information generation processing can be directly carried out, so that the processing efficiency of generating the dyeing process information in the process of generating the bill of materials is improved, and the processing efficiency of the fabric dyeing task is improved.

In an embodiment, as shown in fig. 7, in step S201, after the information extraction processing is performed on the cylinder cloth information of the fabric dyeing task to obtain the dyeing process information of the fabric dyeing task, the method further includes a step of storing the dyeing process information, and specifically includes the following steps:

and step S701, storing the dyeing process information into a database.

Step S702, obtaining a storage result of dyeing process information in a database; the stored result is used for representing the storage state of the dyeing process information in the database.

Specifically, the server stores the dyeing process information to a database, such as an SQL database, after acquiring the dyeing process information. The database receives the dyeing process information and returns the storage result of the dyeing process information in the database, and the server receives the storage result and judges the storage state of the dyeing process information in the database according to the storage result. Therefore, after the server obtains the storage result of the dyeing process information, the storage result is used as a processing basis to execute the subsequent steps of generating a proofing task and generating a bill of material.

Step S203, generating a proofing job corresponding to the process information, includes: and if the storage result is that the dyeing process information is successfully stored, generating a proofing task corresponding to the process information.

Specifically, after the server acquires the storage result sent by the database, the storage result is detected, if the storage result is that the dyeing process information is successfully stored, the condition for generating the proofing task is met, and the server generates the proofing task corresponding to the process information in the dyeing process information; and if the storage result is that the dyeing process information is failed to be stored, the condition for generating the proofing task is not met, the server sends the dyeing process information to the database again for storage, receives the dyeing process information which is sent again, returns the storage result of the dyeing process information in the database, receives the storage result, stops sending if the storage result is that the dyeing process information is successfully stored, generates the proofing task corresponding to the process information, and if the storage result is still failed, repeats the process until the storage result received by the server is that the dyeing process information is successfully stored.

In this embodiment, the server stores the dyeing process information into the database, then obtains the storage result of the dyeing process information in the database, and if the storage result is that the dyeing process information is successfully stored, the server generates a proofing task corresponding to the process information. By adopting the method, the task generation operation of the terminal does not need to be frequently responded by the server, and the task generation processing can be directly carried out, so that the processing efficiency of generating the proofing task in the process of generating the bill of materials is improved, and the processing efficiency of the fabric dyeing task is further improved.

In an embodiment, as shown in fig. 8, the step S202 of obtaining the toning information corresponding to the proofing task specifically includes the following steps:

step S801 is to acquire each subtask of the proofing task and generate task allocation information corresponding to each subtask.

Step S802, according to the task allocation information, respectively sending each subtask to a corresponding terminal; and each terminal is used for executing the received subtasks to obtain corresponding color matching information.

Step S803, receiving the corresponding toning information returned by each terminal.

The task allocation information is used for describing allocation information between the subtasks and the terminal.

Specifically, the server divides the proofing task into a plurality of subtasks, such as 6, 10, 14 subtasks. The method comprises the steps that a server allocates each subtask to a terminal according to the type of the subtask to generate task allocation information of each subtask, then each subtask is sent to the corresponding terminal according to the task allocation information, each terminal receives the corresponding subtask and displays the received subtask, a user carries out corresponding operation according to the subtask on the terminal, after the user finishes the corresponding operation, toning information input operation is triggered on the terminal, the terminal responds to the toning information input operation and sends toning information to the server, then the server obtains corresponding toning information returned by each terminal, and then the server stores the toning information to a database, such as an SQL database. The database receives the color matching information and returns the storage result of the color matching information in the database, and the server receives the storage result and judges the storage state of the color matching information in the database according to the storage result. Therefore, after the server obtains the storage result of the color matching information, the subsequent bill of material generation steps are executed by taking the storage result as a processing basis.

In this embodiment, the server obtains each subtask of the proofing task to generate task allocation information corresponding to each subtask, then sends each subtask to a corresponding terminal according to the task allocation information, and finally receives corresponding color matching information returned by each terminal. By adopting the method, the server does not need to frequently respond to the proofing task allocation operation of the terminal, and the subtasks can be directly sent to the terminal according to the task allocation information, so that the processing efficiency of obtaining the color mixing information in the process of generating the bill of materials is improved, and the processing efficiency of the fabric dyeing task is improved.

In an embodiment, as shown in fig. 9, in step S203, the generating a bill of materials for the fabric dyeing task according to the dyeing process information and the toning information specifically includes the following steps:

step S901, obtaining a bill of materials template; the bill of material template is used for representing the generation format of the bill of material.

And step S902, respectively importing the dyeing process information and the color matching information into corresponding positions in the bill of material template to generate a bill of material.

Specifically, after obtaining a storage result of successfully storing the color matching information, the server queries the stored bill of material template, further obtains a bill of material template containing a bill of material generation format, then matches the dyeing process information and the color matching information with information in the bill of material template, and further introduces the dyeing process information and the color matching information into corresponding positions in the bill of material template. And the server calls a corresponding data generation instruction to generate corresponding data, and then introduces the data to a corresponding position in the bill of material template to finally generate the bill of material.

For example, as shown in fig. 10, the generated material list interface is that after the server obtains the color matching information, the server queries the material list template, matches the dyeing process information and the color matching information with the information in the material list template, and then imports other dyeing process information such as process flow, arrangement mode, arrangement, process code, and machine parameter in the dyeing process information, and other color matching information such as name, color, and formula of a colorist in the color matching information into a corresponding position in the material list template.

In this embodiment, the server imports the dyeing process information and the color matching information to corresponding positions in the obtained bill of material template, and then generates the bill of material. By adopting the method, a user does not need to manually generate the bill of materials of the fabric dyeing task through a terminal, and the bill of materials of the fabric dyeing task can be directly generated through the obtained dyeing process information and the color mixing information, so that the generation efficiency of the bill of materials is improved, and the processing efficiency of the fabric dyeing task is improved

In an embodiment, as shown in fig. 11, in step S203, after the bill of materials of the fabric dyeing task is generated according to the dyeing process information and the toning information, the method further includes a step of performing integrity detection on data in the bill of materials, and specifically includes the following steps:

step S1101, performing integrity detection on the data in the bill of material to obtain an integrity detection result of the bill of material.

The integrity detection means that the server detects whether the data of the generated bill of materials is missing.

Specifically, after the server generates the bill of material, whether data in the bill of material is complete is detected through an integrity detection algorithm or integrity detection software, then the integrity detection algorithm or the integrity detection software returns an integrity detection result of the bill of material to the server, and the server receives the integrity detection result of the bill of material.

Step S1102, if the integrity detection result indicates that the integrity of the data is abnormal, performing data filling processing on the bill of material to obtain a filled bill of material.

Specifically, if the integrity detection result is that the integrity of the data is normal, performing subsequent detection steps on the bill of materials; and if the integrity detection result is that the integrity of the data is abnormal, performing data filling processing on the bill of material, namely, filling missing data in the bill of material by the server through a data filling instruction, so that the server obtains the filled bill of material. The data fill instructions are used to re-import missing dye process information, tinting information, or/and other information in the generated bill of material template. And after the server obtains the filled bill of materials, performing integrity detection on the data of the filled bill of materials again, if the integrity detection result is that the integrity of the data is normal, executing subsequent detection steps on the bill of materials, and if the integrity detection result is that the integrity of the data is still abnormal, repeating the data filling processing until the integrity detection result of the data of the filled bill of materials is that the integrity of the data is normal.

In this embodiment, the server performs integrity detection on data in the bill of material, and if the integrity of the data is abnormal, performs data filling processing on the bill of material to obtain a filled bill of material. By adopting the method, the situation that the integrity of the data in the bill of material returned by the terminal is abnormal after the server sends the bill of material to the terminal is avoided, the data in the bill of material is immediately subjected to integrity detection after the bill of material is generated, the data integrity check is not required to be carried out manually, the integrity detection of the data in the bill of material can be automatically completed through the server, and the data filling processing is carried out, so that the error rate in the bill of material is reduced, and the generation efficiency of the bill of material is improved.

In an embodiment, as shown in fig. 12, in the step S1102, after the data filling processing is performed on the bill of material to obtain the filled bill of material, the method further includes a step of performing error detection on data in the filled bill of material, which specifically includes the following steps:

and step S1201, carrying out error detection on the data in the filled bill of materials to obtain an error detection result of the filled bill of materials.

The error detection means that the server detects whether invalid values, error values and messy codes exist in the data of the filled bill of materials.

Specifically, after the server obtains the filled bill of materials, whether the data in the bill of materials have errors is detected through an error detection algorithm or error detection software, then the detection result of the filled bill of materials is sent to the server, and the server receives the error detection result of the filled bill of materials.

And step S1202, if the error detection result is that the data has errors, performing data correction processing on the filled bill of materials to obtain a corrected bill of materials.

Specifically, if the error detection result is that the data is correct, a subsequent updating step is performed on the bill of materials; and if the error detection result is that the data has errors, performing data correction processing on the bill of material, namely, correcting the error data in the bill of material by the server through a data correction instruction, so that the server obtains the corrected bill of material. And the data correction instruction is used for modifying the error data in the filled list into correct data. And after the server obtains the corrected bill of materials, error detection is carried out on the data of the corrected bill of materials again, if the error detection result is that the data is correct, the subsequent updating step is carried out on the bill of materials, and if the error detection result is that the data still has errors, the data correction processing is repeated until the error detection result of the data of the corrected bill of materials is that the data is correct.

In step S1203, the bill of materials is updated to the corrected bill of materials.

Specifically, if the server performs data filling processing and/or data correction processing on the generated bill of materials, the originally generated bill of materials is updated to the corrected (or filled) bill of materials; if the user needs to check the bill of materials, a bill of materials request can be triggered on the terminal, the terminal responds to the bill of materials request and sends the bill of materials request to the server, and then the terminal receives the bill of materials returned by the server, so that the bill of materials is displayed, and the user can check the bill of materials conveniently.

In this embodiment, the server performs error detection on the data in the filled bill of materials, and if the data has an error, performs data correction processing on the filled bill of materials to obtain a corrected bill of materials. By adopting the method, the situation that the server sends the bill of materials to the terminal and then receives the data in the bill of materials returned by the terminal, but performs error detection on the data in the bill of materials immediately after the bill of materials is filled can be avoided, data error checking does not need to be performed manually, the error detection on the data in the bill of materials can be automatically completed through the server, and data correction processing is performed, so that the error rate in the bill of materials is further reduced, and the generation efficiency of the bill of materials is greatly improved.

In one embodiment, as shown in fig. 13, another bill of materials generation method is provided, which is described by taking the method as an example applied to the server in fig. 1, and includes the following steps:

step S1301, obtaining dyeing process rules; the dyeing process rule is used to indicate information required when dyeing process information is generated.

Step S1302, inquiring cylinder cloth information of a fabric dyeing task to obtain process information corresponding to the dyeing process rule.

And step S1303, generating dyeing process information according to the process information.

Step S1304, the dyeing process information is stored in a database.

Step 1305, obtaining a storage result of dyeing process information in a database; the stored result is used for representing the storage state of the dyeing process information in the database.

In step S1306, if the storage result is that the dyeing process information is successfully stored, a proofing task corresponding to the process information is generated.

Step S1307 is to obtain each subtask of the proofing task and generate task allocation information corresponding to each subtask.

Step S1308, according to the task allocation information, respectively sending each subtask to the corresponding terminal; and each terminal is used for executing the received subtasks to obtain corresponding color matching information.

Step S1309 receives the corresponding toning information returned by each terminal.

Step 1310, obtaining a bill of material template; the bill of material template is used for representing the generation format of the bill of material.

Step S1311, respectively importing the dyeing process information and the color matching information to corresponding positions in the bill of material template, and generating a bill of material.

Step S1312, performing integrity detection on the data in the bill of materials to obtain an integrity detection result of the bill of materials.

Step S1313, if the integrity detection result is that the integrity of the data is abnormal, performing data filling processing on the bill of material to obtain a filled bill of material.

And step S1314, performing error detection on the data in the filled bill of materials to obtain an error detection result of the filled bill of materials.

Step 1315, if the error detection result is that the data has an error, performing data correction processing on the filled bill of materials to obtain a corrected bill of materials.

And step S1316, updating the bill of materials into the corrected bill of materials.

According to the method for generating the bill of material, the server does not need to frequently respond to the information extraction operation and the task generation operation of the terminal, the information extraction processing and the task generation processing can be directly carried out, so that the processing efficiency among all links required for generating the bill of material is improved, the user does not need to manually carry out the generation operation of the bill of material of the fabric dyeing task through the terminal, the bill of material of the fabric dyeing task can be directly generated through the obtained dyeing process information and the color mixing information, the generation efficiency of the bill of material is improved, and the processing efficiency of the fabric dyeing task is improved.

In order to clarify the bill of material generation method provided by the embodiments of the present disclosure more clearly, the following describes the bill of material generation method in a specific embodiment. In an embodiment, as shown in fig. 14, the present disclosure further provides a bill of material generation method, which specifically includes the following steps:

step S1401, process review: the server identifies dyeing process information through automatic processing of a server background according to cylinder cloth information of a fabric dyeing task, namely the dyeing process information is obtained through operation of a running program instruction according to dyeing process rules and is stored in a database, the server sends the dyeing process information to a terminal, and the terminal is used for displaying the dyeing process information.

Step S1402, request for rework: and the server acquires a storage result of the dyeing process information in the database, and if the storage result is that the dyeing process information is successfully stored, a proofing task corresponding to the process information is automatically generated.

Step S1403, tone donor: the method comprises the steps that after a proofing task corresponding to process information is generated by a server, the proofing task is divided into a plurality of subtasks, then task distribution information corresponding to each subtask is generated, according to the task distribution information, the server sends each subtask to a corresponding terminal, each terminal executes the received subtask, each terminal obtains corresponding color matching information after completing the subtask, and then the terminals send the color matching information to the server, so that the server obtains the color matching information.

Step S1404, bill of materials: and the server automatically generates a bill of materials according to the dyeing process information and the color mixing information.

In the embodiment, by integrating the review process, the request for reprocessing, the color matching supplier and the bill of material generation function, manual operation and human errors in the bill of material generation process are greatly reduced, the server does not need to frequently respond to the bill of material generation operation of the terminal, resources required by the bill of material generation are saved, a user does not need to manually generate the bill of material of the fabric dyeing task through the terminal, the bill of material can be automatically generated through the obtained dyeing process information and the color matching information, the generation efficiency of the bill of material is improved, and the working efficiency of the fabric dyeing task is improved.

It should be understood that although the various steps in the flow charts of fig. 2-14 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-14 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.

In one embodiment, as shown in fig. 15, there is provided a bill of materials generating apparatus 1500 comprising: a process information extraction module 1501, a proofing task generation module 1502, and a bill of materials generation module 1503, wherein:

the process information extraction module 1501 is used for extracting information of the cylinder cloth information of the fabric dyeing task to obtain dyeing process information of the fabric dyeing task; the dyeing process information includes dyeing process information.

The proofing task generating module 1502 is configured to generate a proofing task corresponding to dyeing process information and obtain color matching information corresponding to the proofing task.

And the bill of material generation module 1503 is used for generating a bill of material of the fabric dyeing task according to the dyeing process information and the color matching information.

The process information extraction module 1501 is further configured to obtain dyeing process rules; the dyeing process rule is used for representing information required when dyeing process information is generated; inquiring cylinder cloth information of a fabric dyeing task to obtain process information corresponding to dyeing process rules; and generating dyeing process information according to the process information.

In one embodiment, the bill of material generating apparatus 1500 further comprises an information storage module for storing the dyeing process information to a database; obtaining a storage result of dyeing process information in a database; the stored result is used for representing the storage state of the dyeing process information in the database.

The proofing task generating module 1502 is further configured to generate a proofing task corresponding to the process information if the storage result indicates that the dyeing process information is successfully stored.

The proofing task generating module 1502 is further configured to obtain each subtask of the proofing task and generate task allocation information corresponding to each subtask; respectively sending each subtask to a corresponding terminal according to the task allocation information; each terminal is used for executing the received subtasks to obtain corresponding color matching information; and receiving corresponding toning information returned by each terminal.

The bill of material generation module 1503 is further used for obtaining a bill of material template; the bill of material template is used for representing the generation format of the bill of material; and respectively importing the dyeing process information and the color matching information into corresponding positions in a bill of material template to generate the bill of material.

In an embodiment, the bill of material generating apparatus 1500 further includes a first detecting module, configured to perform integrity detection on data in the bill of material to obtain an integrity detection result of the bill of material; and if the integrity detection result is that the integrity of the data is abnormal, performing data filling processing on the bill of material to obtain the filled bill of material.

In an embodiment, the bill of material generating apparatus 1500 further includes a second detecting module, configured to perform error detection on data in the filled bill of material, so as to obtain an error detection result of the filled bill of material; if the error detection result is that the data has errors, performing data correction processing on the filled bill of materials to obtain a corrected bill of materials; and updating the bill of materials into the corrected bill of materials.

For specific limitations of the bill of material generation apparatus, reference may be made to the above limitations of the bill of material generation method, which is not described herein again. All or part of each module in the bill of material generation device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.

In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 16. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing dyeing process information and toning information. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a bill of material generation method.

Those skilled in the art will appreciate that the architecture shown in fig. 16 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.

In one embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.

In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.

It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.

The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.

The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

22页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种工程造价的实时动态监控方法、系统、终端以及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!