Method and device for generating production process sheet
By obtaining and extracting the process elements in the clothing production process sheet and querying the corresponding process sheet from the historical process sheet, the high cost problem caused by the customization of process sheets in the existing technology is solved, and the process sheets are automatically generated, reducing costs and improving efficiency.
Patent Information
- Application Number
- CN201910764069.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-08-19
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2039-08-19
AI Technical Summary
At this stage, the clothing production process orders are generally completed through human customization, which leads to high labor costs and the lack of professional clothing engineers in small and medium-sized enterprises, resulting in the lack of professionalism and standardization of the process orders.
By obtaining the process requirements of the target object, extracting process elements, and querying the process list containing the same process elements from the historical process list, as the target process list, and outputting the target process list.
It realizes that the process order can be customized without professional clothing engineers, reduces labor costs, simplifies the interaction process, and improves information efficiency.
Smart Images

Figure CN112418570B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of natural language processing, and more specifically, to a method and device for generating a production process sheet. Background Art
[0002] The clothing production process sheet is an important technical document in clothing production. It stipulates the process requirements and technical indicators of a specific style of clothing and is the basis for clothing production and product inspection.
[0003] At present, in the clothing industry, clothing production process sheets are generally customized by professional clothing engineers, which has high labor costs. In addition, a considerable number of small and medium-sized enterprises are not equipped with professional clothing engineers. The customization of clothing production process sheets mainly relies on the experience of relevant staff, which lacks professionalism and standardization.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present application provide a method and device for generating a production process sheet, so as to at least solve the technical problem of high labor costs caused by the fact that clothing production process sheets are generally completed through manual customization at this stage.
[0006] According to one aspect of an embodiment of the present application, a method for generating a production process sheet is provided, comprising: obtaining process requirements of a target object; extracting at least one process element from the process requirements, wherein the process element includes elements involved in the production process of the target object; querying a process sheet containing at least one process element from historical process sheets to obtain a target process sheet; and outputting the target process sheet.
[0007] According to another aspect of an embodiment of the present application, a device for generating a production process sheet is also provided, including: an acquisition module for acquiring the process requirements of a target object; an extraction module for extracting at least one process element from the process requirements, wherein the process element includes elements involved in the production process of the target object; a query module for querying a process sheet containing at least one process element from historical process sheets to obtain a target process sheet; and an output module for outputting the target process sheet.
[0008] According to another aspect of the embodiments of the present application, a non-volatile storage medium is further provided, the storage medium including a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above method for generating a production process sheet.
[0009] According to another aspect of the embodiment of the present application, a computer device is also provided, including: a processor; and a memory, connected to the processor, for providing the processor with instructions for processing the following processing steps: obtaining process requirements of a target object; extracting at least one process element from the process requirements, wherein the process element includes elements involved in the production process of the target object; querying a process sheet containing at least one process element from historical process sheets to obtain a target process sheet; and outputting the target process sheet.
[0010] In an embodiment of the present application, the process requirements of a target object are obtained; at least one process element is extracted from the process requirements, wherein the process element includes elements involved in the production process of the target object; a process sheet containing at least one process element is queried from historical process sheets to obtain a target process sheet; and the target process sheet is output by analyzing the process sheet elements required by the process requirements, and then a process sheet containing the same process sheet elements is queried from historical process sheets as the target process sheet. This achieves the purpose of customizing the process sheet without the need for professional clothing engineers, but only technical staff with certain basic knowledge, thereby achieving the technical effect of reducing labor costs, simplifying interaction processes, and improving information efficiency, thereby solving the technical problem of high labor costs caused by the fact that clothing production process sheets are generally customized manually at this stage. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0012] Figure 1 A hardware structure block diagram of a computer terminal (or mobile device) for implementing a method for generating a production process sheet is shown;
[0013] Figure 2 is a flow chart of a method for generating a production process sheet according to an embodiment of the present application;
[0014] Figure 3 is a structural diagram of a device for generating a production process sheet according to an embodiment of the present application;
[0015] Figure 4 It is a structural block diagram of another computer terminal according to an embodiment of the present application. DETAILED DESCRIPTION
[0016] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0017] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0018] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following explanations:
[0019] Entity recognition: refers to the identification of entities with specific meanings in text, generally including names of people, places, organizations, proper nouns, etc. It is one of the basic tasks of natural language generation and usually includes two parts: entity boundary recognition and determination of entity categories.
[0020] Example 1
[0021] According to an embodiment of the present application, a method embodiment of a method for generating a production process sheet is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0022] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 The hardware structure block diagram of a computer terminal (or mobile device) for implementing a method for generating a production process sheet is shown. Figure 1As shown, the computer terminal 10 (or mobile device 10) may include one or more (102a, 102b, ..., 102n are used to illustrate) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0023] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10 (or mobile device). As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0024] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the method for generating the production process sheet in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, implementing the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0025] The transmission module 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0026] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 (or mobile device).
[0027] Under the above operating environment, this application provides Figure 2 Flowchart of the method for generating a production process sheet shown. Figure 2 is a flow chart of a method for generating a production process sheet according to an embodiment of the present application, such as Figure 2 As shown, the method comprises the following steps:
[0028] Step S202, obtaining the process requirements of the target object.
[0029] According to an optional embodiment of the present application, the above-mentioned process requirements refer to the clothing manufacturing requirements, such as clothing manufacturing process, process movements, clothing materials, clothing style and part requirements, etc.
[0030] Optionally, when executing step S202, the process requirements may be obtained from a text or crawled from the Internet. The target object includes but is not limited to clothing, and may also be other products, such as luggage, furniture and other commodities. When the target object is luggage, the corresponding process requirements may be product parameters such as size and color of the luggage.
[0031] Step S204: extract at least one process element from the process requirements, wherein the process element includes elements involved in the production process of the target object.
[0032] According to an optional embodiment of the present application, after the staff of the clothing industry receives the clothing demand, they analyze the relevant process list elements required for the clothing demand, including but not limited to the process list elements characterizing the parts of the clothing: waist, hem, process list elements characterizing the clothing making process: bar tacking, dark line, process list elements characterizing the process actions: copying, pressing, and process list elements characterizing the auxiliary materials of the clothing: silk, linen, woolen cloth, etc.
[0033] Step S206, querying the process sheet containing at least one process element from the historical process sheets to obtain the target process sheet.
[0034] After analyzing the relevant process sheet elements required for the clothing demand, historical process sheets containing the same process sheet elements are queried from historical process sheets. Historical process sheets refer to process sheets accumulated during the historical production process of the target object (including but not limited to clothing).
[0035] Step S208: Output the target process sheet. The historical process sheet obtained by querying in step S106 is used as the target process sheet.
[0036] Through the above method, by analyzing the process sheet elements required by the process requirements of the target object, and then querying the process sheet containing the same process sheet elements from the historical process sheet as the target process sheet. This process does not require professional clothing engineers, but only technical staff with certain basic knowledge can operate it, which can achieve the technical effect of reducing labor costs and greatly save the cost of the enterprise.
[0037] In some embodiments of the present application, step S204 is implemented by the following method: inputting the text containing the process requirements into a named entity recognition model for analysis to obtain named entities in the text, wherein the named entity recognition model is obtained by training multiple sets of data, wherein each set of data in the multiple sets of data includes: a sample entity name and a label for identifying the sample entity name as a corresponding process element; and determining the process element based on the named entity.
[0038] The above method is to input the clothing demand document into the entity recognition model for recognition, and identify the named entities in the document. The named entities include but are not limited to the proper nouns representing the parts of the clothing, clothing technology, process actions, and clothing accessories. For example, nouns representing the parts of the clothing: waist, hem; nouns representing the clothing technology: bartack, dark thread; nouns representing process actions: copying, pressing; and nouns representing clothing accessories: silk, linen, woolen cloth, etc. The identified named entities are used as the process elements required for the production process sheet.
[0039] The above-mentioned entity model is obtained through multiple groups of training data. The training data used to train the entity model is extracted from historical process lists. In the specific implementation, some process lists are sampled from the historical process lists, and the entities representing clothing parts, clothing making processes, process actions and clothing accessories are annotated. The above-mentioned entity model is trained through the above-mentioned annotated corpus.
[0040] According to an optional embodiment of the present application, the above-mentioned named entity model can be a sequence labeling model BiLSTM-CRF, or LSTM-CRF, CRF, etc.
[0041] In the sequence labeling task, BiLSTM+CRF is a mainstream deep learning framework. BiLSTM includes two groups of LSTM layers with opposite learning directions (one in sentence order and the other in reverse sentence order), which can theoretically realize that the current word contains both historical information and future information, which is more conducive to labeling the current word. CRF is used to obtain the global optimal output sequence.
[0042] When using the sequence labeling model BiLSTM-CRF to perform entity recognition on documents, for each word in the document, a vector needs to be constructed to obtain the meaning of the word and some features useful for entity recognition. This vector is composed of a stack of word vectors and vectors extracted from letters. One option is to use manually extracted features, such as whether the word starts with a capital letter, etc. Another better option is to use some kind of neural network to automatically extract features. Here, Bi-LSTM is used for single letters, and of course other recurrent neural networks can also be used.
[0043] Specifically, the sequence labeling model BiLSTM-CRF is divided into the following three parts:
[0044] Word vector representation: Each letter that makes up a word is represented by a vector (uppercase and lowercase are distinguished), and Bi-LSTM is used for each letter, and the final state is stacked to obtain a fixed-length vector. Intuitively, this vector captures the form of the word, and then the word vector and the letter vector are merged to obtain the final vector representation of the word.
[0045] Contextual word representation: After obtaining the final vector representation, perform LSTM or Bi-LSTM on the sequence of word vectors.
[0046] Decoding: After each word is represented by a vector, the entity label is predicted. In the decoding stage, the label score is calculated, and the hidden state vector corresponding to each word is used to make the final prediction. A fully connected neural network can be used to obtain the score of each entity label.
[0047] CRF is connected after Bi-LSTM because before deep learning is used to extract features, the input to CRF is a custom feature. If the feature is satisfied, the score is 1, and if it is not satisfied, the score is 0. CRF can be regarded as the sum of the feature score of the current position and the feature score of the label transfer, and then the one with the highest score in the entire sequence is selected.
[0048] In some embodiments of the present application, determining process elements based on named entities includes one of the following: directly using the named entities as process elements; matching the named entities with data in a list of process elements, and determining the process elements based on the named entities that match the data in the list of process elements.
[0049] According to an optional embodiment of the present application, determining the process element based on a named entity that matches the data in the process element list includes: determining a synonym for the named entity, and selecting a first category of data that matches the synonym from the process element list based on the synonym; selecting a second category of data that matches the named entity from the process element list; and jointly determining the process element based on the first category of data and the second category of data.
[0050] According to an optional embodiment of the present application, determining the process elements based on the identified named entities can be achieved by the following method: directly using the identified named entities as process order elements. The identified named entities can also be matched with the data in the process element list, and then the process order elements are determined based on the matched named entities. The specific matching method can be to determine the process order elements that match the identified named entities in the process element list through similarity matching and fuzzy matching algorithms; or to determine the synonyms and near synonyms of the identified named entities; and then select the process order elements that match the synonyms and near synonyms from the process element list based on the synonyms and near synonyms; and use the process order elements obtained by the above two methods as the final process order elements. The above method can avoid the phenomenon of missing selection when extracting process order elements from process requirements, that is, the recognition rate of extracting process order elements from process requirements can be improved.
[0051] In some optional embodiments of the present application, step S206 can be implemented by the following method: query all process orders containing at least part of at least one process element from historical process orders to obtain a set of candidate process orders; select the process order with the highest relevance to the process requirements from the set of candidate process orders to obtain the target process order.
[0052] After step S204 is completed, the extracted process order element is used to query multiple historical process orders containing the process order element from the historical process order data set as a candidate process order set. Then, the process order with the highest relevance to the process requirements is selected from the process order set as the final target process order, that is, the most relevant process order (including structured elements) is selected to produce clothing according to the target process order.
[0053] According to an optional embodiment of the present application, a process order with the highest relevance to the process requirements is selected from a set of candidate process orders, including: for each candidate process order in the set of candidate process orders, determining the number of process elements in the process requirements included in the candidate process order; and taking the process order corresponding to the largest number of candidate process orders as the process order with the highest relevance to the process requirements.
[0054] For example, there are 5 candidate process orders in the candidate process order set. By extracting the process order elements in the process requirements, it is determined that there are 10 process order elements (i.e., 10 named entities) in total. The number of these 10 process order elements in these 5 candidate process orders is 9, 7, 5, 4, and 1 respectively. Obviously, the candidate process order containing 9 process order elements is the process order with the highest relevance to the process requirements, and this process order is taken as the target process order.
[0055] In an optional embodiment of the present application, the method for generating a production process sheet also includes: receiving a modification request for a target process sheet; extracting modification content from the modification request, wherein the modification content includes at least one of the following: a named entity, an attribute of a named entity, a process name, an action; and modifying the target process sheet based on the modification content.
[0056] Optionally, after identifying the process sheet with the highest relevance to the process requirements from the historical process sheets, the technicians need to determine whether the process sheet needs to be modified to meet the current clothing requirements. If modification is required, the relevant entities in the process sheet are modified by querying the knowledge base, and then similar processes are stored again. It should be noted that the clothing production knowledge base contains vocabulary in the field of clothing production, including clothing parts (waistband, hem), clothing processes (bartack, dark thread, etc.), process actions (copying, pressing), etc., and contains synonyms and near-synonyms between words.
[0057] Through the above method, the automatic recommendation of process sheets in the clothing industry is realized. First, the historical process sheets are structured and stored; the process sheets are analyzed and similarity is calculated to recommend process sheets with similar elements to the current process sheets. Users can modify the process sheets accordingly based on the knowledge base. This process no longer requires professional clothing engineers, but only technical staff with certain basic knowledge can operate it, which can greatly save the cost of the enterprise. In addition, the historical process sheets are structured and analyzed through entity recognition technology, and recommended to users based on the similarity of the analysis results, which simplifies the interaction process and improves the efficiency of informatization.
[0058] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0059] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method for generating a production process sheet according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0060] Example 2
[0061] According to an embodiment of the present application, a generation device for implementing the above-mentioned method for generating a production process sheet is also provided. Figure 3 is a structural diagram of a device for generating a production process sheet according to an embodiment of the present application, such as Figure 3 As shown, the device comprises:
[0062] The acquisition module 30 is used to acquire the process requirements of the target object.
[0063] The above-mentioned process requirements refer to the clothing manufacturing needs.
[0064] The extraction module 32 is used to extract at least one process element from the process requirements, wherein the process element includes an element involved in the production process of the target object.
[0065] According to an optional embodiment of the present application, after the staff of the clothing industry receives the clothing demand, they analyze the relevant process order elements required for the clothing demand, including but not limited to the parts of the clothing (waist, hem), clothing technology (bartacking, hidden lines), process actions (copying, pressing) and clothing accessories, etc.
[0066] According to an optional embodiment of the present application, the extraction module 32 includes:
[0067] An analysis unit is used to input the text containing the process requirements into a named entity recognition model for analysis to obtain named entities in the text, wherein the named entity recognition model is obtained by training multiple sets of data, wherein each set of data in the multiple sets of data includes: a sample entity name and a label for identifying the sample entity name as a corresponding process element; a determination unit is used to determine the process element based on the named entity.
[0068] The query module 34 is used to query the process sheet containing at least one process element from the historical process sheets to obtain the target process sheet.
[0069] After analyzing the relevant process order elements required for clothing production, query the historical process orders containing the same process order elements from the historical process orders.
[0070] In some optional embodiments of the present application, the query module 34 includes: a query unit, used to query all process orders containing at least part of at least one process element from historical process orders to obtain a set of candidate process orders; and a selection unit, used to select the process order with the highest relevance to the process requirements from the set of candidate process orders to obtain a target process order.
[0071] The output module 36 is used to output the target process sheet.
[0072] According to an optional embodiment of the present application, the above-mentioned production process sheet generation device also includes a modification module: receiving a modification request for a target process sheet; extracting modification content from the modification request, wherein the modification content includes at least one of the following: a named entity, an attribute of a named entity, a process name, an action; and modifying the target process sheet based on the modification content.
[0073] It should be noted that the above-mentioned determination module acquisition 30, extraction module 32, query module 34 and output module 36 correspond to steps S202 to S208 in Example 1, and the examples and application scenarios implemented by the two modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned modules as part of the device can be run in the computer terminal 10 provided in Example 1.
[0074] Example 3
[0075] The embodiment of the present application may provide a computer terminal, which may be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the computer terminal may also be replaced by a terminal device such as a mobile terminal.
[0076] Optionally, in this embodiment, the computer terminal may be located in at least one network device among a plurality of network devices of the computer network.
[0077] In this embodiment, the above-mentioned computer terminal can execute the program code of the following steps in the method for generating a production process sheet of an application: obtaining the process requirements of the target object; extracting at least one process element from the process requirements, wherein the process element includes the elements involved in the production process of the target object; querying a process sheet containing at least one process element from historical process sheets to obtain a target process sheet; and outputting the target process sheet.
[0078] Optionally, Figure 4 is a structural block diagram of another computer terminal according to an embodiment of the present application. Figure 4As shown, the computer terminal may include: one or more (only one is shown in the figure) processors 40, a memory 42, a radio frequency module, an audio module and a display screen.
[0079] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the method and device for generating the production process list in the embodiment of the present application, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned processing method of the production process list. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the terminal A via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0080] The processor can call the information and application programs stored in the memory through the transmission device to perform the following steps: obtain the process requirements of the target object; extract at least one process element from the process requirements, wherein the process element includes the elements involved in the production process of the target object; query the process sheet containing at least one process element from the historical process sheet to obtain the target process sheet; and output the target process sheet.
[0081] Optionally, the processor may also execute the program code of the following steps: inputting the text containing the process requirements into a named entity recognition model for analysis to obtain named entities in the text, wherein the named entity recognition model is obtained by training with multiple sets of data, wherein each set of data in the multiple sets of data includes: a sample entity name and a label for identifying the sample entity name as a corresponding process element; and determining the process element based on the named entity.
[0082] Optionally, the processor may also execute program code of the following steps: directly using the named entity as a process element; matching the named entity with data in a list of process elements, and determining the process element based on the named entity that matches the data in the list of process elements.
[0083] Optionally, the processor may also execute program code for the following steps: determining synonyms for the named entity, and selecting first-category data that matches the synonyms from a list of process elements based on the synonyms; selecting second-category data that matches the named entity from the list of process elements; and jointly determining the process elements based on the first-category data and the second-category data.
[0084] Optionally, the processor may also execute the program code of the following steps: query all process orders containing at least part of at least one process element from historical process orders to obtain a set of candidate process orders; select the process order with the highest relevance to the process requirements from the set of candidate process orders to obtain a target process order.
[0085] Optionally, the processor may also execute the program code of the following steps: for each candidate process order in the candidate process order set, determine the number of process elements in the process requirements contained in the candidate process order; and take the process order corresponding to the largest number of candidate process orders as the process order with the highest relevance to the process requirements.
[0086] Optionally, the processor may also execute program code of the following steps: receiving a modification request for a target process sheet; extracting modification content from the modification request, wherein the modification content includes at least one of the following: a named entity, an attribute of a named entity, a process name, an action; and modifying the target process sheet based on the modification content.
[0087] By adopting the embodiment of the present application, a method for generating a production process sheet is provided. By analyzing the process sheet elements required by the process requirements, and then querying the process sheet containing the same process sheet elements from the historical process sheets as the target process sheet, the purpose of customizing the process sheet is achieved without the need for professional clothing engineers, and only technical staff with certain basic knowledge can customize the process sheet, thereby achieving the technical effects of reducing labor costs, simplifying the interaction process, and improving information efficiency, thereby solving the technical problem of high labor costs caused by the fact that clothing production process sheets are generally customized by manpower at this stage.
[0088] It can be understood by those skilled in the art that Figure 4 The structure shown is for illustration only, and the computer terminal may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a handheld computer, a mobile Internet device (Mobile Internet Devices, MID), a PAD, or other terminal devices. Figure 4 The structure of the electronic device is not limited. For example, the computer terminal 4 may also include Figure 4 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 4 Different configurations are shown.
[0089] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0090] The embodiment of the present application further provides a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the method for generating a production process sheet provided in the first embodiment.
[0091] Optionally, in this embodiment, the above storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.
[0092] Optionally, in this embodiment, the storage medium is configured to store program code for executing the following steps: obtaining process requirements of the target object; extracting at least one process element from the process requirements, wherein the process element includes elements involved in the production process of the target object; querying a process sheet containing at least one process element from historical process sheets to obtain a target process sheet; and outputting the target process sheet.
[0093] Optionally, the storage medium is also used to store program code for executing the following steps: inputting the text containing the process requirements into a named entity recognition model for analysis to obtain named entities in the text, wherein the named entity recognition model is obtained by training with multiple sets of data, wherein each set of data in the multiple sets of data includes: a sample entity name and a label for identifying the sample entity name as a corresponding process element; and determining the process element based on the named entity.
[0094] Optionally, the storage medium is also used to store program code for executing the following steps: directly using the named entity as a process element; matching the named entity with data in a list of process elements, and determining the process element based on the named entity that matches the data in the list of process elements.
[0095] Optionally, the storage medium is also used to store program code for executing the following steps: determining synonyms for the named entity, and selecting first-category data that matches the synonyms from a list of process elements based on the synonyms; selecting second-category data that matches the named entity from the list of process elements; and jointly determining the process elements based on the first-category data and the second-category data.
[0096] Optionally, the storage medium is also used to store program code for executing the following steps: querying all process orders containing at least part of at least one process element from historical process orders to obtain a set of candidate process orders; selecting the process order with the highest relevance to the process requirements from the set of candidate process orders to obtain a target process order.
[0097] Optionally, the storage medium is also used to store program code for executing the following steps: for each candidate process order in the candidate process order set, determine the number of process elements in the process requirements contained in the candidate process order; and take the process order corresponding to the largest number of candidate process orders as the process order with the highest relevance to the process requirements.
[0098] Optionally, the storage medium is also used to store program code for executing the following steps: receiving a modification request for a target process sheet; extracting modification content from the modification request, wherein the modification content includes at least one of the following: a named entity, an attribute of a named entity, a process name, an action; and modifying the target process sheet based on the modification content.
[0099] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0100] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0101] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0102] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0103] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0104] 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 the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0105] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for generating a production process sheet, characterized in that: include: Acquire the process requirements of the target object, wherein the process requirements are the clothing manufacturing requirements; Extracting at least one process element from the process requirements, wherein the process element includes elements involved in the production process of the target object, and the process element is a named entity obtained after the process requirements are recognized by an entity recognition model; Querying a process sheet including the at least one process element from historical process sheets to obtain a target process sheet; Outputting the target process sheet; Querying the process sheet containing the at least one process element from the historical process sheets to obtain the target process sheet includes: querying all process sheets containing at least some of the at least one process element from the historical process sheets to obtain a set of candidate process sheets; selecting the process sheet with the highest relevance to the process requirement from the set of candidate process sheets to obtain the target process sheet; The method also includes: determining a synonym for the named entity, and selecting a first type of data that matches the synonym from a list of process elements based on the synonym; selecting a second type of data that matches the named entity from the list of process elements; and jointly determining the process element based on the first type of data and the second type of data.
2. The method according to claim 1, characterized in that Extracting at least one process element from the process requirements includes: Inputting the text containing the process requirements into a named entity recognition model for analysis to obtain named entities in the text, wherein the named entity recognition model is obtained by training multiple sets of data, wherein each set of data in the multiple sets of data includes: a sample entity name and a label for identifying the sample entity name as a corresponding process element; The process element is determined based on the named entity.
3. The method according to claim 2, characterized in that Determining the process element based on the named entity includes one of the following: Using the named entity directly as the process element; The named entities are matched with data in the process element list, and the process elements are determined based on the named entities that match the data in the process element list.
4. The method according to claim 1, characterized in that: Selecting a process sheet with the highest relevance to the process requirement from the candidate process sheet set includes: For each candidate process order in the set of candidate process orders, determining the number of process elements in the process requirement included in the candidate process order; The process sheet corresponding to the largest number of candidate process sheets is taken as the process sheet with the highest relevance to the process requirement.
5. The method according to claim 1, characterized in that The method further comprises: receiving a request for modifying the target process sheet; Extracting modification content from the modification request, wherein the modification content includes at least one of the following: a named entity, an attribute of the named entity, a process name, and an action; The target process sheet is modified based on the modified content.
6. A device for generating a production process sheet, characterized in that: include: An acquisition module, used for acquiring the process requirements of the target object, wherein the process requirements are the clothing manufacturing requirements; An extraction module is used to extract at least one process element from the process requirements, wherein the process element includes elements involved in the production process of the target object, and the process element is a named entity obtained after the process requirements are identified by an entity recognition model; determine a synonym for the named entity, and select a first type of data matching the synonym from a list of process elements based on the synonym; select a second type of data matching the named entity from the list of process elements; and jointly determine the process element based on the first type of data and the second type of data; A query module is used to query the process sheet containing the at least one process element from the historical process sheets to obtain a target process sheet, including: querying all process sheets containing at least some of the at least one process element from the historical process sheets to obtain a set of candidate process sheets; selecting the process sheet with the highest relevance to the process requirement from the set of candidate process sheets to obtain the target process sheet; An output module is used to output the target process sheet.
7. A non-volatile storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the method for generating a production process sheet according to any one of claims 1 to 5.
8. A computer device, characterized in that: include: processor; as well as A memory, connected to the processor, for providing the processor with instructions for processing the following processing steps: obtaining a process requirement of a target object, wherein the process requirement is a garment manufacturing requirement of the garment; Extracting at least one process element from the process requirements, wherein the process element includes elements involved in the production process of the target object, and the process element is a named entity obtained after the process requirements are identified by an entity recognition model; determining a synonym for the named entity, and selecting a first type of data matching the synonym from a list of process elements based on the synonym; selecting a second type of data matching the named entity from the list of process elements; and jointly determining the process element based on the first type of data and the second type of data; Querying a process sheet including the at least one process element from historical process sheets to obtain a target process sheet; Outputting the target process sheet; Querying the process sheets containing the at least one process element from the historical process sheets to obtain the target process sheet includes: querying all process sheets containing at least some of the at least one process element from the historical process sheets to obtain a set of candidate process sheets; and selecting the process sheet with the highest relevance to the process requirements from the set of candidate process sheets to obtain the target process sheet.
Citation Information
Patent Citations
Semantic fuzzy matching method
CN103020230A
Process sheet manufacturing method and system for large-scale clothes customization
CN106384295A
Named entity recognition method, device and electronic device
CN109101481A
Case-based reasoning clothing recommendation method, device and storage medium
CN109242593A
Refining scheduling case management method and computer readable storage medium
CN110059052A