A method, system, computer device, and storage medium for integrating a liquid dropper
By establishing a dropper model and unified operating process, the hardware and software coupling problems between different brands of droppers are solved, the equipment utilization rate and formula management efficiency are improved, and efficient formula writing and data utilization are achieved.
Patent Information
- Application Number
- CN202310093205.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-02
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2043-02-02
AI Technical Summary
When existing dye factories use different brands of liquid droppers, there are problems such as serious hardware and software coupling, large differences in operation methods, low equipment utilization, data islands, long-term formula writing time and error-prone.
By establishing the drip model, abstract operation behavior, and establishing the mapping relationship between the equipment color matching data and standard color matching data, unifying the operation process and data structure, realizing the integration and unified management of drip machines of different brands.
The strong coupling relationship between the drip hardware and software has been removed, the equipment utilization rate has been improved, the formula data of different brands of drip machines has been uniformly managed, the formula writing time has been reduced, the writing accuracy has been improved, and the formula utilization has been maximized.
Smart Images

Figure CN115963767B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of dyeing and finishing equipment management, and more specifically, to a dripping machine integration method, system, computer equipment, and storage medium. Background Art
[0002] During the dyeing process, the dyeing factory laboratory needs to first analyze the color of the sample cloth provided by the customer, and then deduce several sets of pre-mixed formulas required to dye the color of the sample cloth. Finally, through a series of operations such as proofing and color correction, the best set of formulas is determined and handed over to the production department to enter the production stage.
[0003] As the types of dyes and chemicals continue to increase, the number of brands of drip machines that existing dyeing factories rely on is also increasing. In the proofing process, it relies on drip machines and drip machine control software of different brands to achieve this. This situation has the following shortcomings: (1) The drip machine control software of different brands cannot communicate with each other, the hardware and software are seriously coupled, the operation methods are also quite different, and the learning cost is high; (2) Only one-to-one communication can be achieved between the drip machine and the drip machine control software, resulting in low utilization of the drip machine equipment; (3) There are large differences in the data storage format between drip machines and drip software of different brands, and data sharing cannot be achieved, resulting in data islands, and formula data is difficult to uniformly manage and reuse; (4) The drip machine is limited by the number of dyes and chemicals itself. A formula needs to be split into different drip machines for dripping, which requires manual memory to find the storage location of dyes and chemicals in different drip machines, and then manually split the formula and enter it into the control software of different brands of drip machines for dripping, which is time-consuming and prone to errors. Summary of the invention
[0004] In view of the deficiencies in the prior art, an object of the present invention is to provide a dropper integration method, system, computer device, and storage medium that can solve one of the above problems.
[0005] The above technical objectives of the present invention are achieved through the following technical solutions: A method for integrating a dropper, comprising:
[0006] Establish corresponding dropper models according to each dropper;
[0007] The operations of each dropper are abstracted into formula writing, formula dropping and returning actual dropper results, and a unified operation process is established;
[0008] Establish a mapping relationship between the device color matching data and the standard color matching data of each dropper, and unify the standard color matching data structure;
[0009] Matching the corresponding dropper model according to the trigger formula to obtain the dropper model to be matched;
[0010] According to the operation process, the model of the dripping machine to be matched is controlled to match the color, and the corresponding device color matching data is obtained;
[0011] Performing data mapping on the device color matching data to obtain standard color matching data;
[0012] Store standard color matching data in the color matching database.
[0013] Optionally, establishing a corresponding liquid dropping machine model according to each liquid dropping machine includes:
[0014] The abstract dripping machine establishes a dripping machine model with device name, device brand, device model, communication method, IP address attributes, dye type, device status and communication protocol.
[0015] Optionally, the operations on each dropper are abstracted into the operation behaviors of formula writing, formula dropping, and returning the actual dropper result, and a unified operation process is established, including:
[0016] Acquire the operation instructions executed by each dropper under the operation behaviors of formula writing, formula dropping and returning actual dropper results, and obtain several operation instruction sets;
[0017] A plurality of operation instruction sets are matched with the operation behaviors and equipment models of corresponding dropper machines to obtain a unified operation process.
[0018] Optionally, after the operations on each dropper are abstracted into formula writing, formula dropping, and returning actual dropper results, and a unified operation process is established, the following further includes:
[0019] The changes in the stored data corresponding to each dropper model under different operating behaviors are analyzed, and the data changes generated under different operating behaviors are bound to the corresponding dropper model.
[0020] Optionally, matching the corresponding dropper machine model according to the trigger formula to obtain the dropper machine model to be color matched includes:
[0021] Get n dye combinations that trigger the formula;
[0022] Traverse all dripping machine models according to n dye combinations, and obtain the dripping machine model with existing dyes closest to the n dye combinations as the first color matching dripping machine;
[0023] Determine whether the first dropper contains n combinations of dyes and chemicals. If yes, use the first color-matching dropper as a color-matching dropper model; if no, traverse the remaining dropper models according to the missing dye components, obtain the dropper model containing the missing dye components as the second color-matching dropper, and use the first color-matching dropper and the second color-matching dropper as color-matching dropper models.
[0024] Optionally, the step of controlling the color matching of the dropper machine model to be color matched according to the operation process to obtain corresponding device color matching data includes:
[0025] Control the corresponding color-matching liquid dripping machine model to drip liquid according to the operation process;
[0026] Obtain the storage data changes of the corresponding color-matching dropper model;
[0027] The dripping results are identified according to the changes in the stored data of each dripping machine model to be color matched, and the corresponding device color matching data is generated.
[0028] Optionally, the standard color matching data includes: color number, grey cloth name, color block, color system, dye name, dye number and dye concentration.
[0029] A liquid dropper integration system includes: a model building module for building corresponding liquid dropper models according to each liquid dropper;
[0030] The operation abstraction module is used to abstract the operations of each dropper into the operation behaviors of formula writing, formula dropping and returning the actual dropping result, and establish a unified operation process;
[0031] A mapping establishment module is used to establish a mapping relationship between the device color matching data and the standard color matching data of each dropper, and unify the standard color matching data structure;
[0032] A model matching module, used for matching the corresponding dropper model according to the trigger formula to obtain the dropper model to be matched;
[0033] A model color matching module is used to control the color matching of the dripping machine model to be matched according to the operation process to obtain corresponding device color matching data;
[0034] A data mapping module, used for performing data mapping on the device color matching data to obtain standard color matching data;
[0035] The data storage module is used to store the standard color matching data in the color matching database.
[0036] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0037] A computer-readable storage medium stores a computer program, which implements the steps of the above method when executed by a processor.
[0038] In summary, the present invention has the following beneficial effects: an abstract method is used to model the dripping machine, and the physical device is mapped into a logical device, which is compatible with the differences of the physical device, unifies the operation and management methods of the dripping machine equipment, and achieves the effect of writing the dripping formula into dripping machines of different brands and collecting the dripping formula from dripping machines of different brands through the dyeing and finishing MES cloud service, thereby releasing the strong coupling relationship between the hardware and software of the dripping machine, and also allowing multiple people to operate a dripping machine through the dyeing and finishing MES cloud service, thereby greatly improving the utilization rate of the dripping machine equipment; uniformly defines the data structure of the dripping formula, thereby collecting the formula data of dripping machines of different brands into the production formula library for centralized and unified management; the automatic splitting and distribution of the formula greatly reduces the writing time of the dripping formula and improves the accuracy of the formula writing; and the subsequent production formula library provides basic data support when searching for colors in big data, thereby maximizing the utilization rate of the formula. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a schematic diagram of the process of the present invention;
[0040] Figure 2 It is a structural block diagram of the present invention when assembled;
[0041] Figure 3 1 is a diagram showing the internal structure of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION
[0042] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings. Several embodiments of the present invention are shown in the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein.
[0043] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances. The terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.
[0044] In the present invention, unless otherwise clearly specified and limited, the first feature being "above" or "below" the second feature may include the first and second features being in direct contact, or may include the first and second features being in contact not directly but through another feature between them. Moreover, the first feature being "above", "above" and "above" the second feature includes the first feature being directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. The first feature being "below", "below" and "below" the second feature includes the first feature being directly below and obliquely below the second feature, or simply indicates that the first feature is lower in level than the second feature. The terms "vertical", "horizontal", "left", "right", "above", "below" and similar expressions are for illustrative purposes only, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0045] The present invention is described in detail below in conjunction with the accompanying drawings and embodiments.
[0046] The present invention provides a method for integrating a liquid dropper, such as Figure 1 As shown, including:
[0047] Step 100, establishing a corresponding liquid dropping machine model according to each liquid dropping machine;
[0048] Step 200, the operation of each dropper is abstracted into the operation behaviors of formula writing, formula droppering and returning the actual droppering result, and a unified operation process is established;
[0049] Step 300: Establish a mapping relationship between the device color matching data and the standard color matching data of each dropper, and unify the standard color matching data structure;
[0050] Step 400, matching the corresponding dripping machine model according to the triggering formula to obtain the dripping machine model to be matched;
[0051] Step 500, controlling the color matching of the dripping machine model to be matched according to the operation process to obtain corresponding device color matching data;
[0052] Step 600: Map the device color matching data to obtain standard color matching data;
[0053] Step 700: Store the standard color matching data in the color matching database.
[0054] In practical applications, the hardware of the dripping machine is abstracted into a dripping machine model to eliminate the differences between different physical devices; and device registration is provided to allow the addition of new dripping machine devices. Since the operation methods of each dripping machine are different, the operation of the dripping machine is abstracted into formula writing, formula dripping, and returning the actual dripping result to provide a unified operation process. Decouple the dripping control software and the hardware of the dripping machine, unify the operation to reduce the learning cost; then control the corresponding dripping machine model through the operation process to match the color. Since the color matching data structure of dripping machines of different models and brands is different, it is necessary to establish the data mapping relationship corresponding to each dripping machine, unify the color matching data of dripping machines of different models and brands into a standard data structure, and thus obtain standard color matching data; and since the dyes contained in all dripping machines are different, it is necessary to match the dripping machines according to the triggering formula.
[0055] Furthermore, the establishing of corresponding liquid dropping machine models according to each liquid dropping machine includes:
[0056] The abstract dripping machine establishes a dripping machine model with device name, device brand, device model, communication method, IP address attributes, dye type, device status and communication protocol.
[0057] In actual applications, the corresponding dropper model is established according to the device name, device brand, device model, communication method, IP address attribute, dye type, device status and communication protocol of each dropper, which can eliminate the differences between different physical devices and facilitate unified management and deployment in the cloud.
[0058] Optionally, the operations on each dropper are abstracted into the operation behaviors of formula writing, formula dropping, and returning the actual dropper result, and a unified operation process is established, including:
[0059] Acquire the operation instructions executed by each dropper under the operation behaviors of formula writing, formula dropping and returning actual dropper results, and obtain several operation instruction sets;
[0060] A plurality of operation instruction sets are matched with the operation behaviors and equipment models of corresponding dropper machines to obtain a unified operation process.
[0061] In actual applications, after matching the operating behaviors of each dropper with the device model, when the dropper needs to be controlled to perform corresponding operations, the cloud sends the corresponding operating instruction set to the corresponding dropper model, thereby controlling the corresponding dropper to perform corresponding operating behaviors.
[0062] Optionally, after the operations on each dropper are abstracted into formula writing, formula dropping and returning actual dropper results, and a unified operation process is established, the following is further included:
[0063] The changes in the stored data corresponding to each dropper model under different operating behaviors are analyzed, and the data changes generated under different operating behaviors are bound to the corresponding dropper model.
[0064] In actual applications, since the changes in the data stored in the control software of the dropper machine under different brands and different operating behaviors are different, the data changes generated under different operating behaviors are bound to the corresponding dropper machine model. The operating behavior of the corresponding dropper machine can be determined based on the changes in the data stored in the control software of the corresponding dropper machine.
[0065] Furthermore, the matching of the corresponding dropper machine model according to the triggering formula to obtain the dropper machine model to be color matched includes:
[0066] Get n dye combinations that trigger the formula;
[0067] Traverse all dripping machine models according to n dye combinations, and obtain the dripping machine model with existing dyes closest to the n dye combinations as the first color matching dripping machine;
[0068] Determine whether the first dropper contains n combinations of dyes and chemicals. If yes, use the first color-matching dropper as a color-matching dropper model; if no, traverse the remaining dropper models according to the missing dye components, obtain the dropper model containing the missing dye components as the second color-matching dropper, and use the first color-matching dropper and the second color-matching dropper as color-matching dropper models.
[0069] In practical applications, the matching principle permutation combination C(n,m) is used, that is, for the current formula of n dye combinations, the existing dyes in all dripping machines are traversed. If the 1# dripping machine contains n dyes, the formula is sent to the 1# dripping machine;
[0070] If all the dripping machines do not contain n dyes at the same time, use the C(n,n-1) formula, that is, traverse all the dripping machines. If the 1# dripping machine contains all the dyes of n-1 combinations, the current formula will have n-1 combinations of dyes sent to the 1# dripping machine, and there is 1 dye. Traverse the remaining dripping machines and find the first matched 2# dripping machine that contains the remaining 1 dye. Then, one formula will be split to the 1# dripping machine and the 2# dripping machine for dripping;
[0071] If the n-1 dye combination is not matched in all the dropper machines, the n-1 combination is changed to the n-2 combination, and so on. Eventually, a formula may be automatically split into dropper machines of different brands and models for droppering.
[0072] Furthermore, the step of controlling the color matching of the dropper machine model to be color matched according to the operation process to obtain corresponding device color matching data includes:
[0073] Control the corresponding color-matching liquid dripping machine model to drip liquid according to the operation process;
[0074] Obtain the storage data changes of the corresponding color-matching dropper model;
[0075] The dripping results are identified according to the changes in the stored data of each dripping machine model to be color matched, and the corresponding device color matching data is generated.
[0076] In actual applications, the industrial computer service will scan every 5 seconds, wait for the color matching dripping machine model and the corresponding data stored in the dripping machine control software, obtain the actual dripping results, and report the data to the dyeing and finishing MES cloud service.
[0077] Furthermore, the standard color matching data includes: color number, grey cloth name, color block, color system, dye name, dye number and dye concentration.
[0078] In summary, this solution integrates the dripping machine in the form of SAAS service, uses an abstract method to model the dripping machine, maps physical devices to logical devices, is compatible with the differences of physical devices, and unifies the operation and management methods of the dripping machine equipment, so that the dripping formula can be written into dripping machines of different brands and the dripping formula from dripping machines of different brands can be collected through the dyeing and finishing MES cloud service, which relieves the strong coupling relationship between the hardware and software of the dripping machine. At the same time, it also allows multiple people to operate a dripping machine through the dyeing and finishing MES cloud service, greatly improving the utilization rate of the dripping machine equipment; the data structure of the dripping formula is uniformly defined, so that the formula data of dripping machines of different brands can be collected into the production formula library for centralized and unified management; the automatic splitting and distribution of the formula greatly reduces the writing time of the dripping formula and improves the accuracy of the formula writing; and the subsequent production formula library provides basic data support when searching for colors in big data, which maximizes the utilization rate of the formula.
[0079] Specifically, for example, a dyeing factory now has two dripping machines of different brands, Hongyi and Kurabo. After the step of abstract modeling of the dripping machine, the two physical devices are mapped to two logical devices in the dyeing and finishing MES cloud service. Then configure the properties of Hongyi and Kurabo. After the user logs in to the dyeing and finishing MES cloud service, the Hongyi and Kurabo device configurations are registered through the device registration function. When the user clicks to transfer the dripping machine operation behavior, the dyeing and finishing MES cloud service will automatically split the formula data according to the current formula dye type, and at the same time transmit the split formula data and the corresponding dripping machine device name and brand information to the industrial computer service. After receiving the information, the industrial computer service finds the corresponding dripping machine physical device according to the device name and IP address, and adapts different write protocols and writes data structures to Hongyi and Kurabo dripping machines according to the brand and model. The industrial computer service scans the existing dripping machine data of different brands every 5 seconds, and reports the formula data of the completed dripping to the dyeing and finishing MES cloud service. At the same time, the cloud service will re-merge the actual formula data from different brands under the same dripping code. This solution unifies the device information and operations of the dripping machine through modeling and behavior definition, decouples software and hardware, eliminates operational differences, and completes the unified management of dripping data using the production formula library.
[0080] The dyeing and finishing MES cloud service stores the actual dripping formula data statistical structure in the production formula library; when the same color needs to be dyed, the existing formula data can be directly searched through the production formula library to directly use it to achieve the reuse of the same formula; the dyeing and finishing MES cloud service is actually a B / S architecture microservice that supports multiple people to operate online at the same time to write the formula into the dripping machine database, solving the problem of low utilization of dripping machine equipment.
[0081] like Figure 2 As shown, the present invention also provides a dropper integration system, comprising:
[0082] A model building module 10 is used to build a corresponding liquid dropping machine model according to each liquid dropping machine;
[0083] An operation abstraction module 20 is used to abstract the operation of each dropper into operation behaviors of formula writing, formula droppering and returning actual droppering results, and establish a unified operation process;
[0084] A mapping establishment module 30 is used to establish a mapping relationship between the device color matching data and the standard color matching data of each dropper, and unify the standard color matching data structure;
[0085] A model matching module 40 is used to match the corresponding dropper model according to the triggering formula to obtain the dropper model to be matched;
[0086] The model color matching module 50 is used to control the color matching of the dripping machine model to be matched according to the operation process to obtain the corresponding device color matching data;
[0087] A data mapping module 60 is used to perform data mapping on the device color matching data to obtain standard color matching data;
[0088] The data storage module 70 is used to store the standard color matching data in the color matching database.
[0089] For the specific definition of a dropper integration system, please refer to the definition of a dropper integration method above, which will not be repeated here. Each module in the above-mentioned dropper integration system can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0090] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile 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 the operating system and the computer program in the non-volatile storage medium. When the computer program is executed by the processor, a dropper integration method is implemented.
[0091] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0092] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: establishing a corresponding liquid dropper model according to each liquid dropper;
[0093] The operations of each dropper are abstracted into formula writing, formula dropping and returning actual dropper results, and a unified operation process is established;
[0094] Establish a mapping relationship between the device color matching data and the standard color matching data of each dropper, and unify the standard color matching data structure;
[0095] Matching the corresponding dropper model according to the trigger formula to obtain the dropper model to be matched;
[0096] According to the operation process, the model of the dripping machine to be matched is controlled to match the color, and the corresponding device color matching data is obtained;
[0097] Performing data mapping on the device color matching data to obtain standard color matching data;
[0098] Store standard color matching data in the color matching database.
[0099] In one embodiment, the step of establishing a corresponding liquid dropper model according to each liquid dropper includes:
[0100] The abstract dripping machine establishes a dripping machine model with device name, device brand, device model, communication method, IP address attributes, dye type, device status and communication protocol.
[0101] In one embodiment, the operations on each dropper are abstracted into the operations of formula writing, formula dropping, and returning the actual dropper result, and a unified operation process is established, including:
[0102] Acquire the operation instructions executed by each dropper under the operation behaviors of formula writing, formula dropping and returning actual dropper results, and obtain several operation instruction sets;
[0103] A plurality of operation instruction sets are matched with the operation behaviors and equipment models of corresponding dropper machines to obtain a unified operation process.
[0104] In one embodiment, the operations on each dropper are abstracted into formula writing, formula dropping, and returning actual dropper results. After a unified operation process is established, the following steps are also included:
[0105] The changes in the stored data corresponding to each dropper model under different operating behaviors are analyzed, and the data changes generated under different operating behaviors are bound to the corresponding dropper model.
[0106] In one embodiment, matching the corresponding dropper model according to the triggering formula to obtain the dropper model to be matched includes:
[0107] Get n dye combinations that trigger the formula;
[0108] Traverse all dripping machine models according to n dye combinations, and obtain the dripping machine model with existing dyes closest to the n dye combinations as the first color matching dripping machine;
[0109] Determine whether the first dropper contains n combinations of dyes and chemicals. If yes, use the first color-matching dropper as a color-matching dropper model; if no, traverse the remaining dropper models according to the missing dye components, obtain the dropper model containing the missing dye components as the second color-matching dropper, and use the first color-matching dropper and the second color-matching dropper as color-matching dropper models.
[0110] In one embodiment, the control of the color matching of the dropper machine model to be matched according to the operation process to obtain the corresponding device color matching data includes:
[0111] Control the corresponding color-matching liquid dripping machine model to drip liquid according to the operation process;
[0112] Obtain the storage data changes of the corresponding color-matching dropper model;
[0113] The dripping results are identified according to the changes in the stored data of each dripping machine model to be color matched, and the corresponding device color matching data is generated.
[0114] In one embodiment, the standard color matching data includes: color number, grey cloth name, color block, color system, dye name, dye number and dye concentration.
[0115] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0116] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0117] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. A method for integrating a liquid dropper, characterized in that: include: According to each dripping machine, a corresponding dripping machine model is established, including: The abstract dripping machine establishes a dripping machine model with device name, device brand, device model, communication method, IP address attribute, dye type, device status and communication protocol; The operations of each dropper are abstracted into formula writing, formula dropping, and returning the actual dropper result. A unified operation process is established, including: Acquire the operation instructions executed by each dropper under the operation behaviors of formula writing, formula dropping and returning actual dropper results, and obtain several operation instruction sets; Matching several operation instruction sets with the corresponding operation behaviors and equipment models of the dropper to obtain a unified operation process; Analyze the changes in the stored data corresponding to each dropper model under different operating behaviors, and bind the data changes generated under different operating behaviors with the corresponding dropper model; Establish a mapping relationship between the device color matching data and the standard color matching data of each dropper, and unify the standard color matching data structure; According to the triggering of the formula matching corresponding dropper model, the dropper model to be matched is obtained, including: Get n dye combinations that trigger the formula; Traverse all dripping machine models according to n dye combinations, and obtain the dripping machine model with existing dyes closest to the n dye combinations as the first color matching dripping machine; Determine whether the first color-matching dropper contains n combinations of dyes and chemicals. If yes, use the first color-matching dropper as a color-matching dropper model; if no, traverse the remaining dropper models according to the missing dye components, obtain the dropper model containing the missing dye components as the second color-matching dropper, and use the first color-matching dropper and the second color-matching dropper as color-matching dropper models; According to the operation process, the model of the dripping machine to be matched is controlled to match the color, and the corresponding device color matching data is obtained; Performing data mapping on the device color matching data to obtain standard color matching data; Store standard color matching data in the color matching database.
2. The method according to claim 1, characterized in that The step of controlling the color-matching dripping machine model to be color-matched according to the operation process to obtain corresponding device color matching data includes: Control the corresponding color-matching liquid dripping machine model to drip liquid according to the operation process; Obtain the storage data changes of the corresponding color-matching dropper model; The dripping results are identified according to the changes in the stored data of each dripping machine model to be color matched, and the corresponding device color matching data is generated.
3. The method according to claim 2, characterized in that The standard color matching data includes: color number, grey cloth name, color block, color system, dye name, dye number and dye concentration.
4. A dropper integration system, characterized in that: include: The model building module is used to build corresponding dropper models according to each dropper, including: The abstract dripping machine establishes a dripping machine model with device name, device brand, device model, communication method, IP address attribute, dye type, device status and communication protocol; the operation abstract module is used to abstract the operation of each dripping machine into the operation behaviors of formula writing, formula dripping and returning the actual dripping result, and establish a unified operation process, including: Acquire the operation instructions executed by each dropper under the operation behaviors of formula writing, formula dropping and returning actual dropper results, and obtain several operation instruction sets; Matching several operation instruction sets with the corresponding operation behaviors and equipment models of the dropper to obtain a unified operation process; Analyze the changes in the stored data corresponding to each dropper model under different operating behaviors, and bind the data changes generated under different operating behaviors with the corresponding dropper model; A mapping establishment module is used to establish a mapping relationship between the device color matching data and the standard color matching data of each dropper, and unify the standard color matching data structure; The model matching module is used to match the corresponding dripping machine model according to the triggering formula to obtain the dripping machine model to be matched, including: Get n dye combinations that trigger the formula; Traverse all dripping machine models according to n dye combinations, and obtain the dripping machine model with existing dyes closest to the n dye combinations as the first color matching dripping machine; Determine whether the first color-matching dropper contains n combinations of dyes and chemicals. If yes, use the first color-matching dropper as a color-matching dropper model; if no, traverse the remaining dropper models according to the missing dye components, obtain the dropper model containing the missing dye components as the second color-matching dropper, and use the first color-matching dropper and the second color-matching dropper as color-matching dropper models; A model color matching module is used to control the color matching of the dripping machine model to be matched according to the operation process to obtain corresponding device color matching data; A data mapping module, used for performing data mapping on the device color matching data to obtain standard color matching data; The data storage module is used to store the standard color matching data in the color matching database.
5. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Spectrophotometer integration method and system, computer equipment and storage medium
CN115144077A