A method, device, system and readable storage medium for voice-controlled color adjustment
Switching color grading working modes and performing color grading operations through voice control solves the accuracy and consistency problems caused by human errors in traditional color grading operations, achieves higher automation and intelligence, and improves the convenience of color grading terminals and accuracy.
Patent Information
- Application Number
- CN202210402452.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-18
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-04-18
AI Technical Summary
Traditional barber shop pigment coloring operations are affected by human weighting errors, color discrimination differences and proficiency, making it difficult to ensure coloring accuracy and consistency and with a low degree of automation.
The voice-controlled color adjustment method is used to switch working modes and perform color adjustment operations through voice commands. Voice control is used to realize automatic blanking, reducing manual selection and memory requirements.
It improves the convenience and intelligence of the color grading terminal, realizes keyless voice control operation, ensures the accuracy and consistency of the color grading process, and solves the problem of users' independent color grading errors.
Smart Images

Figure CN114742418B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of color adjustment equipment, and in particular to a voice-controlled color adjustment method and a preparation method thereof. Background Art
[0002] With the continuous improvement of living standards, people pay more and more attention to the quality of hair dyeing and hairdressing. The key to hair dyeing quality lies in the mixing of pigment color numbers, that is, the basic pigments of different color numbers are measured, mixed and mixed to obtain the pigments of the required color. The pigment mixing operation in traditional barber shops generally adopts manual mixing of the corresponding weight of basic pigments in the color palette. This mixing method is affected by factors such as manual weighing errors, manual color discrimination differences, and manual mixing proficiency, resulting in deviations in color mixing effect and accuracy. Therefore, at this stage, color mixing equipment with relatively simple functions has appeared. However, this type of equipment still needs to rely on manual buttons to select color numbers and weigh, and it is necessary to manually remember or record the matching and weight of basic pigments of different color numbers. It is difficult to ensure the consistency and accuracy of color mixing, which causes great inconvenience in daily use and has a low degree of automation. Summary of the invention
[0003] In order to overcome the above technical problems, the present invention discloses a method for voice-controlled color adjustment and a preparation method thereof.
[0004] The technical solution adopted by the present invention to achieve the above-mentioned purpose is:
[0005] A method for voice-controlled color adjustment, the method being applied to a terminal, the method comprising:
[0006] Obtaining a first voice command, and determining whether the terminal is in a voice control state;
[0007] If yes, then perform the wake-up detection operation;
[0008] Get the second voice command;
[0009] Based on the second voice command, executing a working mode switching operation to switch to the first working mode or the second working mode;
[0010] Get the third voice command;
[0011] Based on the first working mode, performing a first color adjustment confirmation operation according to the third voice command; or
[0012] Based on the second working mode, performing a second color adjustment confirmation operation according to the third voice command;
[0013] According to the first color adjustment confirmation operation or the second color adjustment confirmation operation, a color adjustment and material discharging operation is triggered.
[0014] The above-mentioned voice-controlled color adjustment method, wherein when performing the wake-up detection operation, the method further includes:
[0015] Outputting first response information and obtaining a first weighing weight;
[0016] Determining whether the first weighing weight is greater than or equal to a preset weight of the bowl;
[0017] If yes, wait to obtain the second voice command;
[0018] If not, the first prompt information is output.
[0019] The above-mentioned voice-controlled color adjustment method, wherein when performing the working mode switching operation, the method further includes:
[0020] Identifying a command type corresponding to the second voice command;
[0021] Determining whether the instruction type is a first mode switching instruction;
[0022] If yes, switch to the first working mode and output the second prompt information;
[0023] If not, determining whether the instruction type is a second mode switching instruction;
[0024] If yes, switch to the second working mode and output a third prompt message;
[0025] If not, the fourth prompt message is outputted, and the second voice command is waited for to be obtained again.
[0026] The above-mentioned voice-controlled color adjustment method, before triggering the color adjustment and material discharging operation, the method further comprises:
[0027] Obtaining the second weighing weight;
[0028] Determining whether the difference between the second weighing weight and the first weighing weight is within a first allowable range;
[0029] If not, obtaining the second weighing weight again;
[0030] If yes, the second weight is tared by using the first weight to obtain the tared weight data;
[0031] Determining whether the tared weight data is within a second allowable range;
[0032] If yes, the color adjustment and material unloading operation is triggered;
[0033] If not, the second weighing weight is obtained again.
[0034] A device for voice-controlled color adjustment, the device being applied to a terminal, comprising:
[0035] A first acquiring unit, used to acquire a first voice instruction;
[0036] A first judging unit, used to judge whether the terminal is in a voice control state;
[0037] A first execution unit, configured to execute a wake-up detection operation when the first determination unit determines that the terminal is in a voice control state;
[0038] A second acquiring unit, used to acquire a second voice instruction;
[0039] A second execution unit, configured to execute a working mode switching operation based on the second voice instruction to switch to the first working mode or the second working mode;
[0040] A third acquiring unit, used to acquire a third voice instruction;
[0041] A third execution unit, configured to execute a first color adjustment confirmation operation according to the third voice command based on the first working mode;
[0042] a fourth execution unit, configured to execute a second color adjustment confirmation operation according to the third voice command based on the second working mode;
[0043] The fifth execution unit is used to trigger the execution of the color adjustment and material discharging operation according to the first color adjustment confirmation operation or the second color adjustment confirmation operation.
[0044] In the above-mentioned voice-controlled color adjustment device, the first execution unit comprises:
[0045] A first response unit, used for outputting first response information;
[0046] A first weighing unit, used to obtain a first weighing weight;
[0047] A second judging unit, used for judging whether the first weighing weight is greater than or equal to a preset weight of the bowl;
[0048] a first notification unit, configured to notify the second acquisition unit to acquire a second voice instruction when the second determination unit determines that the first weighing weight is greater than or equal to a preset weight of the bowl;
[0049] The first prompt unit is used to output a first prompt message when the second judgment unit judges that the first weighing weight is less than a preset weight of the bowl.
[0050] In the above-mentioned voice-controlled color adjustment device, the second execution unit comprises:
[0051] An instruction recognition unit, used to identify the instruction type corresponding to the second voice instruction;
[0052] A third judging unit, used to judge whether the instruction type is a first mode switching instruction;
[0053] A first switching unit, configured to switch to the first working mode when the third judging unit judges that the instruction type is a first mode switching instruction;
[0054] A second prompt unit, configured to output second prompt information when the third judgment unit judges that the instruction type is a first mode switching instruction;
[0055] a fourth determination unit, configured to determine whether the instruction type is a second mode switching instruction when the third determination unit determines that the instruction type is not a first mode switching instruction;
[0056] A second switching unit, configured to switch to the second working mode when the fourth judging unit judges that the instruction type is a second mode switching instruction;
[0057] A third prompt unit, configured to output third prompt information when the fourth determination unit determines that the instruction type is a second mode switching instruction;
[0058] a fourth prompt unit, configured to output fourth prompt information when the fourth determination unit determines that the instruction type is not the second mode switching instruction;
[0059] The second notification unit is used to notify the second acquisition unit to acquire the second voice instruction again when the fourth determination unit determines that the instruction type is not the second mode switching instruction.
[0060] The above-mentioned device for voice-controlled color adjustment, wherein the device further comprises:
[0061] A second weighing unit, used to obtain a second weighing weight;
[0062] A fifth judging unit, configured to judge whether a difference between the second weighing weight and the first weighing weight is within a first allowable range;
[0063] a third notification unit, configured to notify the second weighing unit to obtain the second weighing weight again when the fifth judgment unit judges that the difference between the second weighing weight and the first weighing weight is not within a first allowable range;
[0064] a tare calculation unit, configured to perform tare calculation on the second weight using the first weight when the fifth judgment unit judges that the difference between the second weight and the first weight is within a first allowable range, and obtain tare weight data;
[0065] A sixth judging unit, used for judging whether the tared weight data is within a second allowable range;
[0066] A fourth notification unit, configured to notify the fifth execution unit to trigger the color mixing and unloading operation when the sixth judgment unit determines that the tared weight data is within the second allowable range;
[0067] and a fifth notification unit, configured to notify the second weighing unit to obtain the second weighing weight again when the sixth judgment unit judges that the tared weight data is not within a second allowable range.
[0068] A voice-controlled color adjustment system, comprising:
[0069] Memory for storing computer programs;
[0070] A processor is used to execute the computer program to implement the method of voice-controlled color adjustment as described in any one of the items.
[0071] A computer-readable storage medium stores a program, wherein the program is configured to execute any one of the voice-controlled color adjustment methods.
[0072] The beneficial effects of the present invention are as follows: the voice-controlled color adjustment method of the present invention utilizes voice control to realize automatic switching of corresponding color adjustment working modes, replacing the traditional manual selection method, effectively improving the convenience and intelligence of the color adjustment terminal, and realizing keyless voice control operation of the color adjustment terminal; according to the voice instructions of the color adjustment requirements actually fed back by the user, the instruction type corresponding to the voice instruction can be identified in real time, so as to facilitate timely and accurate identification and switching to an adaptive working mode, thereby solving the problem in the prior art that the user's autonomous color adjustment is wrong or inaccurate and cannot meet the required color adjustment requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] The present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0074] Figure 1 A is a flow chart of the method for voice-controlled color adjustment in the present invention;
[0075] Figure 2 Flow chart B of the method for voice-controlled color adjustment in the present invention;
[0076] Figure 3 Flow chart C of the method for voice-controlled color adjustment in the present invention;
[0077] Figure 4 Flow chart D of the method for voice-controlled color adjustment in the present invention;
[0078] Figure 5 A is a structural schematic diagram of the device for voice-controlled color adjustment in the present invention;
[0079] Figure 6 FIG. B is a structural schematic diagram of the device for voice-controlled color adjustment in the present invention;
[0080] Figure 7 FIG. C is a structural schematic diagram of the device for voice-controlled color adjustment in the present invention;
[0081] Figure 8 FIG. 4 is a schematic structural diagram D of the device for voice-controlled color adjustment in the present invention. DETAILED DESCRIPTION
[0082] The present invention is further described below by means of specific embodiments to make the technical solution of the present invention easier to understand and grasp, rather than to limit the present invention.
[0083] The implementation terminals involved in this embodiment include pigment color mixing equipment terminals related to the hairdressing industry, coatings, printing and dyeing, art pigments and other industry fields.
[0084] The following is a detailed introduction and description of the voice-controlled color adjustment method provided by the present invention:
[0085] Example: See Figure 1 This embodiment provides a method for voice-controlled color adjustment, which is applied to a terminal and includes:
[0086] S101: Obtain a first voice command to determine whether the terminal is in a voice control state; specifically, the first voice command can be customized. Taking this embodiment as an example, the first voice command is set to "Hello, MrColor";
[0087] If not, wait for S101 to be executed again; in order to save power consumption of the terminal, the terminal will enter a dormant standby state when not in use, and a wake-up detection operation needs to be performed when using an application;
[0088] S102: If yes, then perform a wake-up detection operation and enter the wake-up waiting state;
[0089] S103: Acquire a second voice instruction;
[0090] S104: Based on the second voice command, a working mode switching operation is performed to switch to the first working mode or the second working mode; wherein, taking the present embodiment as an example, the first working mode is the imagination mode, and the second working mode is the intelligent mode. The imagination mode refers to the single dispensing of a certain basic material, that is, the color mixing device program receives the instruction to control a dispensing head to dispensing alone; the intelligent mode refers to the device receiving a certain color number dispensing instruction, that is, according to the formula ratio corresponding to the color number, the corresponding multiple dispensing heads are controlled to perform combined dispensing; specifically, the second voice command can customize the corresponding mode statements for the imagination mode and the intelligent mode respectively. Taking the present embodiment as an example, the second voice command in the imagination mode is a mode statement such as "please dispensing head No. 3", if it is a color mixing device with 6 dispensing heads, it corresponds to heads No. 1-6, if it is a color mixing device with 8 dispensing heads, it corresponds to heads No. 1-8; the third voice command in the intelligent mode is a mode statement such as "please dispensing color number 1001", and the color number setting range is 1001-9999;
[0091] S105: Obtain a third voice instruction; specifically, the third voice instruction is a user's demand instruction on the weight of the product. Taking this embodiment as an example, if in the imaginative mode, the third voice instruction is a pattern sentence such as "weight 05 grams", "weight 30 grams", etc.; wherein, in the imaginative mode, when the unloading range is 1-9 grams, in order to improve the voice recognition, a voice instruction mode with 0 added before the gram number is adopted, that is, weight 01 grams-09 grams; if in the intelligent mode, the third voice instruction is limited to the unloading range of 30-250 grams, and the feeding interval is 10 grams, and the unloading can be automatically performed according to the weight ratio according to the formula of the actual color number;
[0092] S106: Based on the first working mode, performing a first color matching confirmation operation according to the third voice command; the first color matching confirmation operation is used to confirm whether to use the pigment of the corresponding weight and color number in the imagination mode; or
[0093] S107: Based on the second working mode, performing a second color adjustment confirmation operation according to the third voice command; the second color adjustment confirmation operation is used to confirm whether the pigment of the corresponding weight and color number is used in the smart mode;
[0094] S108: triggering a color mixing and unloading operation according to the first color mixing confirmation operation or the second color mixing confirmation operation; the color mixing and unloading operation is used to control unloading of a corresponding unloading head according to the issued instruction;
[0095] Specifically, before executing S101, the method further includes:
[0096] S100a: accepting a power-on request instruction;
[0097] S100b: output power-on broadcast information;
[0098] S100c: Generate a sleep standby instruction to make the terminal enter a sleep standby state.
[0099] Preferably, see Figure 2 When performing S102: performing a wake-up detection operation, the method further includes:
[0100] S102a: Outputting a first response message and obtaining a first weighing weight; specifically, the first response message can be customized. Taking this embodiment as an example, the first response message is set to sentences such as "I am here", "OK", "OK", "I am ready", etc.; the first weighing weight is a carrier loaded with discharged pigment, such as but not limited to a bowl, etc.;
[0101] S102b: Determine whether the first weighing weight is greater than or equal to a preset weight of the bowl; wherein the preset weight of the bowl is the weight of the bowl to be loaded with paint, and the preset weight of the bowl can be freely set according to the bowl actually used;
[0102] S102c: If yes, wait and execute S103 again: obtain the second voice instruction;
[0103] S102d: If not, output a first prompt message; specifically, the first prompt message can be customized. Taking this embodiment as an example, the first prompt message is set to "Please put down the bowl".
[0104] Preferably, see Figure 3 When executing S104: executing the working mode switching operation, the method further includes:
[0105] S104a: Identify the instruction type corresponding to the second voice instruction;
[0106] S104b: Determine whether the instruction type is a first mode switching instruction; specifically, the first mode switching instruction is a voice instruction mode sentence of the imagination mode. Taking this embodiment as an example, determine whether the first mode switching instruction is the same as a mode sentence such as "Please get off No. 3";
[0107] S104c: If yes, switch to the first working mode and output the second prompt information; specifically, if it is determined that the first mode switching instruction is the same as the mode statement such as "Please put down No. 3", switch to the first working mode - the imagination mode; the second prompt information can be customized, taking this embodiment as an example, the second prompt information is set to "OK";
[0108] S104d: If not, determine whether the instruction type is a second mode switching instruction; specifically, the second mode switching instruction is a voice instruction mode sentence of the intelligent mode. Taking this embodiment as an example, determine whether the second mode switching instruction is the same as a mode sentence such as "please enter the color number 1001";
[0109] S104e: If yes, switch to the second working mode and output the third prompt information; specifically, if it is determined that the second mode switching instruction is the same as the mode statement such as "please enter the color number 1001", switch to the second working mode-smart mode; the third prompt information can be customized, taking this embodiment as an example, the third prompt information is set to "OK";
[0110] S104f: If not, output the fourth prompt information, and wait for executing S103 again: obtain the second voice instruction; specifically, the fourth prompt information can be customized. Taking this embodiment as an example, the fourth prompt information is set to "please indicate".
[0111] Preferably, when executing S106: performing a first color adjustment confirmation operation according to the third voice command based on the first working mode, the method further includes:
[0112] S106a-1: Output a first confirmation request; specifically, the first confirmation request can be customized according to the fantasy mode or the smart mode. Taking this embodiment as an example, if the fantasy mode is adopted, the first confirmation request is set to a mode statement such as "No. 3 material, fantasy mode, weight 30g, are you sure?"; if the smart mode is adopted, the first confirmation request is set to a mode statement such as "Color number 1001, smart mode, weight 30g, are you sure?";
[0113] S106a-2: acquiring a fourth voice command according to the first confirmation request; specifically, the fourth voice command may be customizable, and taking this embodiment as an example, the fourth voice command is “I am sure”;
[0114] S106a-3: output the tenth prompt information, and wait for execution of S108a-1; specifically, the tenth prompt information can be customized. Taking this embodiment as an example, the tenth prompt information is "OK".
[0115] Furthermore, when executing S104f or S106a-2, before acquiring the second voice instruction or the fourth voice instruction again, the method further includes:
[0116] S104f-1: Obtain the fifth voice command;
[0117] S104f-2: Identify the instruction type corresponding to the fifth voice instruction;
[0118] S104f-3: Determine whether the instruction type is a first state control instruction; specifically, taking this embodiment as an example, determine whether the first state control instruction is the same as a mode statement such as "please re-load";
[0119] S104f-4: If yes, switch to the wake-up waiting state, output the fifth prompt information, and wait for S103 to be executed again: obtain the second voice command; specifically, the fifth prompt information can be customized, taking this embodiment as an example, the fifth prompt information is set to "OK";
[0120] S104f-5: If not, determine whether the instruction type is a second state control instruction; specifically, taking this embodiment as an example, determine whether the second state control instruction is the same as a mode statement such as "please exit";
[0121] S104f-6: If yes, switch to the sleep standby state and output the sixth prompt information; specifically, the sixth prompt information can be customized. Taking this embodiment as an example, the sixth prompt information is set to "I have logged out";
[0122] S104f-7: If not, wait for execution of S105: obtain the third voice instruction.
[0123] Preferably, before executing S108: triggering the color mixing and material discharging operation, the method further comprises:
[0124] S108a-1: Obtain a second weighing weight; the second weighing weight is the weight of a carrier such as a bowl placed on the weighing area;
[0125] S108a-2: Determine whether the difference between the second weighing weight and the first weighing weight is within the first allowable range; wherein, the purpose of executing S108a-2 is to determine whether to replace a different bowl to avoid affecting the subsequent peeling operation or feeding operation. The first allowable range can be freely set according to the actual monitoring situation. In this embodiment, the second allowable range is limited to ±0.5kg;
[0126] If not, execute S108a-1 again: obtain the second weighing weight;
[0127] S108a-3: If yes, taring the second weight with the first weight, and obtaining tared weight data;
[0128] S108a-4: Determine whether the weight data after taring is within a second allowable range; the second allowable range can be freely set according to actual monitoring conditions, and in this embodiment, the second allowable range is limited to 0kg;
[0129] If yes, then execute S108: trigger to execute the color mixing and material discharging operation;
[0130] If not, the second weighing weight is obtained again.
[0131] Preferably, when executing S108: triggering the color mixing and material discharging operation, the method further comprises:
[0132] S108b-1: Obtain a third weighing weight; specifically, the third weighing weight is the weight of the paint bag corresponding to each feeding head;
[0133] S108b-2: Determine whether the difference between the third weighing weight and the preset pigment bag weight is within a third allowable range; the third allowable range can be freely set according to actual monitoring conditions, and in this embodiment, the third allowable range is limited to 0.5kg;
[0134] S108b-3: If yes, output the seventh prompt information, and stop executing S108: executing the color mixing and material discharging operation; specifically, the seventh prompt information can be customized. Taking this embodiment as an example, the seventh prompt information is set to a mode sentence such as "please change No. 3 material", that is, when the base material in a certain pigment bag is insufficient, it will remind you to replace the pigment bag corresponding to the corresponding material discharging head;
[0135] S108b-4: If not, continue to execute S108: perform color adjustment and material discharging operations.
[0136] Preferably, after executing S108: triggering the color mixing and material discharging operation, the method further comprises:
[0137] S108c-1: outputting the eighth prompt information; specifically, the eighth prompt information can be customized. Taking this embodiment as an example, the eighth prompt information is set to a mode statement such as "the device is unloading, please do not touch the device";
[0138] S108c-2: Obtain a fourth weighing weight; specifically, the fourth weighing weight is the total weight of the pigment required in the bowl;
[0139] S108c-3: Determine whether the fourth weighing weight is the same as the required weight in the third voice instruction;
[0140] S108c-4: If yes, the color mixing and material discharging operation is completed, and the ninth prompt information is output; specifically, the ninth prompt information can be customized according to the imagination mode or the smart mode. Taking this embodiment as an example, if the imagination mode is adopted, the ninth prompt information is set to a mode statement such as "No. 3 material, weight 30g, production completed"; if the smart mode is adopted, the ninth prompt information is set to a mode statement such as "color number 1001, weight 30g, production completed";
[0141] S108c-5: If not, continue to execute S108: perform color adjustment and material discharging operations.
[0142] See also Figure 5 This embodiment also discloses a device for voice-controlled color adjustment, which is applied to a terminal and includes:
[0143] A first acquisition unit 301 is used to acquire a first voice instruction;
[0144] The first determining unit 302 is used to determine whether the terminal is in a voice control state;
[0145] A first execution unit 303, configured to perform a wake-up detection operation when the first determination unit 302 determines that the terminal is in a voice control state;
[0146] A second acquisition unit 304, used to acquire a second voice instruction;
[0147] A second execution unit 305 is used to execute a working mode switching operation based on the second voice instruction to switch to the first working mode or the second working mode;
[0148] A third acquisition unit 306, used to acquire a third voice instruction;
[0149] A third execution unit 307, configured to execute a first color adjustment confirmation operation according to the third voice command based on the first working mode;
[0150] A fourth execution unit 308, configured to execute a second color adjustment confirmation operation according to the third voice command based on the second working mode;
[0151] The fifth execution unit 309 is used to trigger the execution of the color adjustment and material discharging operation according to the first color adjustment confirmation operation or the second color adjustment confirmation operation.
[0152] Furthermore, the device also includes:
[0153] A power-on unit, used for receiving a power-on request instruction;
[0154] The fifth prompt unit is used to output the startup broadcast information;
[0155] The instruction generating unit is used to generate a sleep standby instruction to make the terminal enter a sleep standby state.
[0156] Preferably, see Figure 6 , the first execution unit 303 includes:
[0157] A first response unit 401, configured to output first response information;
[0158] A first weighing unit 402, used to obtain a first weighing weight;
[0159] The second judging unit 403 is used to judge whether the first weighing weight is greater than or equal to the preset weight of the bowl;
[0160] A first notification unit 404 is used to notify the second acquisition unit to acquire a second voice instruction when the second determination unit 403 determines that the first weighing weight is greater than or equal to a preset weight of the bowl;
[0161] The first prompt unit 405 is used to output a first prompt message when the second judgment unit 403 judges that the first weighing weight is less than a preset weight of the bowl.
[0162] Preferably, see Figure 7 , the second execution unit 305 includes:
[0163] The instruction recognition unit 501 is used to recognize the instruction type corresponding to the second voice instruction;
[0164] A third judging unit 502 is used to judge whether the instruction type is a first mode switching instruction;
[0165] A first switching unit 503, configured to switch to the first working mode when the third judging unit 502 judges that the instruction type is a first mode switching instruction;
[0166] A second prompt unit 504, configured to output second prompt information when the third determination unit 502 determines that the instruction type is a first mode switching instruction;
[0167] A fourth determination unit 505, configured to determine whether the instruction type is a second mode switching instruction when the third determination unit 502 determines that the instruction type is not a first mode switching instruction;
[0168] A second switching unit 506, configured to switch to the second working mode when the fourth determining unit 505 determines that the instruction type is a second mode switching instruction;
[0169] A third prompt unit 507, configured to output third prompt information when the fourth determination unit 505 determines that the instruction type is a second mode switching instruction;
[0170] A fourth prompt unit 508, configured to output fourth prompt information when the fourth determination unit 505 determines that the instruction type is not a second mode switching instruction;
[0171] The second notification unit 509 is configured to notify the second acquisition unit to acquire the second voice instruction again when the fourth determination unit 505 determines that the instruction type is not the second mode switching instruction.
[0172] Furthermore, the device also includes:
[0173] A first request unit, configured to output a first confirmation request;
[0174] a fourth acquiring unit, configured to acquire a fourth voice instruction according to the first confirmation request;
[0175] The sixth prompt unit is used to output tenth prompt information.
[0176] Furthermore, the device also includes:
[0177] a fifth acquiring unit, configured to acquire a fifth voice instruction;
[0178] A first recognition unit, used to recognize the instruction type corresponding to the fifth voice instruction;
[0179] a seventh determination unit, configured to determine whether the instruction type is a first state control instruction;
[0180] A third switching unit, configured to switch to the wake-up waiting state when the seventh judgment unit determines that the instruction type is the first state control instruction;
[0181] a seventh prompting unit, configured to output fifth prompting information when the seventh judging unit judges that the instruction type is the first state control instruction;
[0182] an eighth judgment unit, configured to judge whether the instruction type is a second state control instruction when the seventh judgment unit judges that the instruction type is not a first state control instruction;
[0183] a fourth switching unit, configured to switch to a sleep standby state when the eighth judging unit judges that the instruction type is a second state control instruction;
[0184] The eighth prompt unit is used to output sixth prompt information when the eighth judgment unit judges that the instruction type is the second state control instruction.
[0185] Preferably, see Figure 8 , the device further comprises:
[0186] A second weighing unit 601, used to obtain a second weighing weight;
[0187] A fifth determining unit 602 is used to determine whether the difference between the second weighing weight and the first weighing weight is within a first allowable range;
[0188] A third notification unit 603 is configured to notify the second weighing unit to obtain the second weighing weight again when the fifth judgment unit 602 judges that the difference between the second weighing weight and the first weighing weight is not within a first allowable range;
[0189] a tare calculation unit 604, configured to perform tare calculation on the second weight using the first weight when the fifth determination unit 602 determines that the difference between the second weight and the first weight is within a first allowable range, and obtain tare weight data;
[0190] A sixth judging unit 605, configured to judge whether the tared weight data is within a second allowable range;
[0191] A fourth notification unit 606, configured to notify the fifth execution unit 309 to trigger the color mixing and unloading operation when the sixth judgment unit 605 judges that the tared weight data is within the second allowable range;
[0192] The fifth notification unit 607 is used to notify the second weighing unit to obtain the second weighing weight again when the sixth judgment unit 605 judges that the tared weight data is not within the second allowed range.
[0193] Further, the fifth execution unit 309 includes:
[0194] A third weighing unit, used to obtain a third weighing weight;
[0195] a ninth determining unit, configured to determine whether a difference between the third weighing weight and a preset pigment bag weight is within a third allowable range;
[0196] The ninth prompting unit is used to output the seventh prompting information when the ninth judging unit judges that the difference between the third weighing weight and the preset paint bag weight is within a third allowable range.
[0197] Furthermore, the fifth execution unit 309 further includes:
[0198] a tenth prompting unit, configured to output an eighth prompting message;
[0199] A fourth weighing unit, used to obtain a fourth weighing weight;
[0200] a tenth judging unit, configured to judge whether the fourth weighing weight is the same as the required weight in the third voice instruction;
[0201] The eleventh prompting unit is used to output a ninth prompting message when the tenth judging unit judges that the fourth weighing weight is the same as the required weight in the third voice instruction.
[0202] This embodiment also discloses a voice-controlled color adjustment system, which includes:
[0203] Memory for storing computer programs;
[0204] A processor is used to execute the computer program to implement the method of voice-controlled color adjustment as described in any one of the items.
[0205] And this embodiment discloses a computer-readable storage medium storing a program, wherein the program is configured to execute any of the voice-controlled color adjustment methods.
[0206] The voice-controlled color adjustment method of the present invention has the following advantages: the voice-controlled color adjustment method of the present invention utilizes voice control to realize automatic switching of corresponding color adjustment working modes, replacing the traditional manual selection method, effectively improving the convenience and intelligence of the color adjustment terminal, and realizing keyless voice control operation of the color adjustment terminal; according to the voice instructions of the color adjustment requirements actually fed back by the user, the instruction type corresponding to the voice instruction can be identified in real time, so as to facilitate timely and accurate identification and switching to an adaptive working mode, thereby solving the problem in the prior art that the user's autonomous color adjustment is wrong or inaccurate and cannot meet the required color adjustment requirements.
[0207] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0208] The various component embodiments of the present invention can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all of the functions of some or all of the components in the embodiments of the present invention. The present invention can also be implemented as a device or apparatus program (e.g., computer program and computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0209] The above is only a preferred embodiment of the present invention, and does not limit the present invention in any form. Any technician familiar with the field can make many possible changes and modifications to the technical solution of the present invention by using the technical means and technical contents disclosed above without departing from the scope of the technical solution of the present invention, or modify it into an equivalent embodiment of equivalent changes. Therefore, all equivalent changes made according to the shape, structure and principle of the present invention without departing from the content of the technical solution of the present invention should be covered by the protection scope of the present invention.
Claims
1. A method for voice-controlled color adjustment, characterized in that: The method is applied to a terminal, and the method includes: Obtaining a first voice command, and determining whether the terminal is in a voice control state; If yes, then perform the wake-up detection operation; Get the second voice command; Based on the second voice command, a working mode switching operation is performed to switch to the first working mode or the second working mode, wherein the first working mode is the imaginative mode, which means that a certain base material is discharged separately, that is, the color mixing device program receives the instruction to control a discharge head to discharge separately, and the second working mode is the intelligent mode, which means that the device receives a certain color number discharge instruction, that is, according to the formula ratio corresponding to the color number, controls the corresponding multiple discharge heads to discharge in combination; Get the third voice command; Based on the first working mode, performing a first color confirmation operation according to the third voice instruction, wherein the first color confirmation operation is used to confirm whether to use a pigment of corresponding weight and color number in the first working mode; or Based on the second working mode, performing a second color confirmation operation according to the third voice command, wherein the second color confirmation operation is used to confirm whether the pigment of the corresponding weight and color number in the second working mode is used; According to the first color adjustment confirmation operation or the second color adjustment confirmation operation, a color adjustment and material discharging operation is triggered.
2. The method for voice-controlled color adjustment according to claim 1, characterized in that: When performing the wake-up detection operation, the method further includes: Outputting first response information and obtaining a first weighing weight; Determining whether the first weighing weight is greater than or equal to a preset weight of the bowl; If yes, wait to obtain the second voice command; If not, the first prompt information is output.
3. The method for voice-controlled color adjustment according to claim 2, characterized in that: When performing the working mode switching operation, the method further includes: Identifying a command type corresponding to the second voice command; Determining whether the instruction type is a first mode switching instruction; If yes, switch to the first working mode and output the second prompt information; If not, determining whether the instruction type is a second mode switching instruction; If yes, switch to the second working mode and output a third prompt message; If not, the fourth prompt message is outputted, and the second voice command is waited for to be obtained again.
4. The method for voice-controlled color adjustment according to claim 3, characterized in that: Before triggering the color mixing and unloading operation, the method further comprises: Obtaining the second weighing weight; Determining whether the difference between the second weighing weight and the first weighing weight is within a first allowable range; If not, obtaining the second weighing weight again; If yes, the second weight is tared by using the first weight to obtain the tared weight data; Determining whether the tared weight data is within a second allowable range; If yes, the color adjustment and material unloading operation is triggered; If not, the second weighing weight is obtained again.
5. A voice-controlled color adjustment device, characterized in that: The device is applied to a terminal, and comprises: A first acquiring unit, used to acquire a first voice instruction; A first judging unit, used to judge whether the terminal is in a voice control state; A first execution unit, configured to execute a wake-up detection operation when the first determination unit determines that the terminal is in a voice control state; A second acquiring unit, used to acquire a second voice instruction; The second execution unit is used to execute the working mode switching operation based on the second voice command to switch to the first working mode or the second working mode, wherein the first working mode is the imagination mode, and the imagination mode refers to the single discharging of a certain base material, that is, the color mixing device program receives the instruction to control a single discharging head to discharge the material, and the second working mode is the intelligent mode, and the intelligent mode refers to the device receiving a certain color number discharging instruction, that is, according to the formula ratio corresponding to the color number, the corresponding multiple discharging heads are controlled to discharge the material in combination; A third acquiring unit, used to acquire a third voice instruction; A third execution unit is used to perform a first color confirmation operation according to the third voice instruction based on the first working mode, wherein the first color confirmation operation is used to confirm whether to use a pigment of corresponding weight and color number in the first working mode; A fourth execution unit is used to perform a second color adjustment confirmation operation according to the third voice instruction based on the second working mode, wherein the second color adjustment confirmation operation is used to confirm whether to use a pigment of corresponding weight and color number in the second working mode; The fifth execution unit is used to trigger the execution of the color adjustment and material discharging operation according to the first color adjustment confirmation operation or the second color adjustment confirmation operation.
6. The device for voice-controlled color adjustment according to claim 5, characterized in that: The first execution unit comprises: A first response unit, used for outputting first response information; A first weighing unit, used to obtain a first weighing weight; A second judging unit, used for judging whether the first weighing weight is greater than or equal to a preset weight of the bowl; a first notification unit, configured to notify the second acquisition unit to acquire a second voice instruction when the second determination unit determines that the first weighing weight is greater than or equal to a preset weight of the bowl; The first prompt unit is used to output a first prompt message when the second judgment unit judges that the first weighing weight is less than a preset weight of the bowl.
7. The device for voice-controlled color adjustment according to claim 6, characterized in that: The second execution unit comprises: An instruction recognition unit, used to identify the instruction type corresponding to the second voice instruction; A third judging unit, used to judge whether the instruction type is a first mode switching instruction; A first switching unit, configured to switch to the first working mode when the third judging unit judges that the instruction type is a first mode switching instruction; A second prompt unit, configured to output second prompt information when the third judgment unit judges that the instruction type is a first mode switching instruction; a fourth determination unit, configured to determine whether the instruction type is a second mode switching instruction when the third determination unit determines that the instruction type is not a first mode switching instruction; A second switching unit, configured to switch to the second working mode when the fourth judging unit judges that the instruction type is a second mode switching instruction; A third prompt unit, configured to output third prompt information when the fourth determination unit determines that the instruction type is a second mode switching instruction; a fourth prompt unit, configured to output fourth prompt information when the fourth determination unit determines that the instruction type is not the second mode switching instruction; The second notification unit is used to notify the second acquisition unit to acquire the second voice instruction again when the fourth determination unit determines that the instruction type is not the second mode switching instruction.
8. The device for voice-controlled color adjustment according to claim 7, characterized in that: The device also includes: A second weighing unit, used to obtain a second weighing weight; A fifth judging unit, configured to judge whether a difference between the second weighing weight and the first weighing weight is within a first allowable range; a third notification unit, configured to notify the second weighing unit to obtain the second weighing weight again when the fifth judgment unit judges that the difference between the second weighing weight and the first weighing weight is not within a first allowable range; a tare calculation unit, configured to perform tare calculation on the second weight using the first weight when the fifth judgment unit judges that the difference between the second weight and the first weight is within a first allowable range, and obtain tare weight data; A sixth judging unit, used for judging whether the tared weight data is within a second allowable range; A fourth notification unit, configured to notify the fifth execution unit to trigger the color mixing and unloading operation when the sixth judgment unit determines that the tared weight data is within the second allowable range; and a fifth notification unit, configured to notify the second weighing unit to obtain the second weighing weight again when the sixth judgment unit judges that the tared weight data is not within a second allowable range.
9. A voice-controlled color adjustment system, characterized in that: It includes: Memory for storing computer programs; A processor, configured to execute the computer program to implement the method for voice-controlled color adjustment as described in any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that: A program is stored, and the program is configured to execute the method for voice-controlled color adjustment as claimed in any one of claims 1 to 4.
