Voice broadcasting method and device, equipment and storage medium
By obtaining the user status and the progress of the clothing processing equipment, and combining the distance, it is determined whether to broadcast the prompt sound, which solves the problem that the clothing processing equipment in the prior art cannot broadcast the status in a timely manner, and achieves the controllability of the number of broadcasts and the improvement of user experience.
Patent Information
- Application Number
- CN202311063660.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-22
- Publication Date
- 2025-02-25
AI Technical Summary
In the prior art, the clothing processing equipment cannot broadcast the current status in a timely manner during operation, resulting in users being unable to process in a timely manner, and the number of broadcasts is uncontrollable, resulting in invalid broadcasts and reducing user experience.
By obtaining the user status and the progress of the current program of the clothing processing device, and combining the distance between the user and the device, it is determined whether to broadcast the prompt sound, ensuring that the broadcast is carried out when the user is active and the progress is appropriate, and invalid broadcasts are reduced.
It realizes controllability of the number of broadcasts, reduces invalid broadcasts, and improves the user experience.
Smart Images

Figure CN119516733A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of smart home appliances, and specifically relates to a voice broadcast method, device, equipment and storage medium. Background Art
[0002] When the clothes processing device processes clothes, the user cannot process the clothes in time because the processing time is long and the user cannot obtain the current state of the clothes processing device.
[0003] In the prior art, in the face of the problem that the user cannot obtain the current status of the clothing processing device, a commonly used method is: when the distance between the user and the clothing processing device is within a preset range, the clothing processing device is controlled to broadcast the current operating status.
[0004] However, the purpose of the announcement is to allow users to take timely action when the clothing treatment device ends its operation, so the device status only needs to be announced in the later stages of the operation mode. However, in the above method, the clothing treatment device can announce at any stage of the operation mode, the number of announcements is uncontrollable and there are many invalid announcements, which also reduces the user experience. Summary of the invention
[0005] In order to solve the above problems in the prior art, the present application provides a voice broadcast method, device, equipment and storage medium.
[0006] In a first aspect, the present application provides a voice broadcast method, the method comprising:
[0007] When the clothes treating device is running, obtaining a user status and a distance between the user and the clothes treating device, wherein the user status is used to indicate whether the user is currently active;
[0008] Acquire an action sequence and a current action of a current program of the laundry processing device, and acquire a progress degree according to the action sequence and the current action;
[0009] If the user status is active, it is determined whether to control the clothing processing device to broadcast a prompt sound according to the distance and the progress, wherein the prompt sound is used to indicate the current status of the clothing processing device or to remind the user to take out the clothing.
[0010] In a possible implementation manner, acquiring the progress degree according to the action sequence and the current action includes:
[0011] Obtaining the order of the current action in the action sequence and the number of actions included in the action sequence;
[0012] A progress degree is obtained according to a ratio of the ranking to the number of actions, wherein the progress degree is greater than zero and less than or equal to 1.
[0013] In a possible implementation, determining whether to control the laundry processing device to broadcast a prompt sound according to the distance and the progress includes:
[0014] If the progress degree is equal to 1, and the distance is less than or equal to the distance threshold, controlling the clothing processing device to play a prompt sound;
[0015] If the progress degree is equal to 1 and the distance is greater than the distance threshold, a distance ratio is obtained according to the distance and the distance threshold, and the broadcast volume of the clothes processing device is adjusted according to the distance ratio, and the clothes processing device is controlled to broadcast the prompt sound according to the adjusted broadcast volume;
[0016] If the progress is less than 1 and greater than or equal to the progress threshold, the ratio of the current running time to the total running time of the current program is obtained, and whether to control the clothing processing equipment to broadcast a prompt sound is determined according to the ratio and the distance.
[0017] In a possible implementation, determining whether to control the laundry processing device to broadcast a prompt sound according to the duration ratio and the distance includes:
[0018] If the duration ratio is greater than or equal to the ratio threshold, and the distance is less than or equal to the distance threshold, controlling the clothing processing device to broadcast a prompt tone;
[0019] If the duration ratio is greater than or equal to the ratio threshold, and the distance is greater than the distance threshold, the clothing processing device is controlled to broadcast the prompt sound according to the adjusted broadcast volume.
[0020] In a possible implementation, the method further includes:
[0021] If the duration ratio is less than the ratio threshold, a new duration ratio is acquired at a first time interval, and it is determined whether to control the clothing processing device to broadcast a prompt sound according to the new duration ratio.
[0022] In a possible implementation, the method further includes:
[0023] If the user status is inactive and the progress level is equal to 1, a new user status is continuously acquired, and whether to control the clothing processing device to broadcast a prompt sound is determined according to the new user status;
[0024] If the user status is inactive and the progress level is less than the progress level threshold, a new user status is acquired at a second time interval, and whether to control the clothing processing device to broadcast a prompt sound is determined according to the new user status;
[0025] If the user status is inactive, and the progress level is less than 1 and greater than or equal to the progress level threshold, a new user status is acquired at a third time interval, and whether to control the laundry processing device to broadcast a prompt sound is determined according to the new user status;
[0026] The second time interval is greater than the third time interval.
[0027] In a possible implementation, obtaining the distance between the user and the laundry processing device includes:
[0028] The laundry processing device is controlled to send ultrasonic waves, and the reflected waves reflected by the user are received, and the distance between the user and the laundry processing device is obtained according to the ultrasonic waves and the reflected waves.
[0029] In a second aspect, the present application provides a voice broadcast control device, including: an acquisition module, a calculation module and a determination module, wherein:
[0030] The acquisition module is used to acquire the user status and the distance between the user and the clothing processing device when the clothing processing device is running, wherein the user status is used to indicate whether the user is currently active;
[0031] The calculation module is used to obtain the action sequence and the current action of the current program of the clothes processing device, and obtain the progress according to the action sequence and the current action;
[0032] The determination module is used to determine whether to control the clothing processing device to broadcast a prompt sound according to the distance and the progress if the user status is active, wherein the prompt sound is used to indicate the current status of the clothing processing device or remind the user to take out the clothes.
[0033] In a possible implementation manner, the calculation module is further used to:
[0034] Obtaining the order of the current action in the action sequence and the number of actions included in the action sequence;
[0035] A progress degree is obtained according to a ratio of the ranking to the number of actions, wherein the progress degree is greater than zero and less than or equal to 1.
[0036] In a possible implementation manner, the determining module is further configured to:
[0037] If the progress degree is equal to 1, and the distance is less than or equal to the distance threshold, controlling the clothing processing device to play a prompt sound;
[0038] If the progress degree is equal to 1 and the distance is greater than the distance threshold, a distance ratio is obtained according to the distance and the distance threshold, and the broadcast volume of the clothes processing device is adjusted according to the distance ratio, and the clothes processing device is controlled to broadcast the prompt sound according to the adjusted broadcast volume;
[0039] If the progress is less than 1 and greater than or equal to the progress threshold, the ratio of the current running time to the total running time of the current program is obtained, and whether to control the clothing processing equipment to broadcast a prompt sound is determined according to the ratio and the distance.
[0040] In a possible implementation manner, the determining module is further configured to:
[0041] If the duration ratio is greater than or equal to the ratio threshold, and the distance is less than or equal to the distance threshold, controlling the clothing processing device to broadcast a prompt tone;
[0042] If the duration ratio is greater than or equal to the ratio threshold, and the distance is greater than the distance threshold, the clothing processing device is controlled to broadcast the prompt sound according to the adjusted broadcast volume.
[0043] In a possible implementation manner, the determining module is further configured to:
[0044] If the duration ratio is less than the ratio threshold, a new duration ratio is acquired at a first time interval, and it is determined whether to control the clothing processing device to broadcast a prompt sound according to the new duration ratio.
[0045] In a possible implementation manner, the determining module is further configured to:
[0046] If the user status is inactive and the progress level is equal to 1, a new user status is continuously acquired, and whether to control the clothing processing device to broadcast a prompt sound is determined according to the new user status;
[0047] If the user status is inactive and the progress level is less than the progress level threshold, a new user status is acquired at a second time interval, and whether to control the clothing processing device to broadcast a prompt sound is determined according to the new user status;
[0048] If the user status is inactive, and the progress level is less than 1 and greater than or equal to the progress level threshold, a new user status is acquired at a third time interval, and whether to control the laundry processing device to broadcast a prompt sound is determined according to the new user status;
[0049] The second time interval is greater than the third time interval.
[0050] In a possible implementation manner, the acquisition module is further used to:
[0051] The laundry processing device is controlled to send ultrasonic waves, and the reflected waves reflected by the user are received, and the distance between the user and the laundry processing device is obtained according to the ultrasonic waves and the reflected waves.
[0052] In a third aspect, the present application provides a clothes processing device, comprising: at least one processor and a memory, wherein:
[0053] The memory is used to store computer-executable instructions;
[0054] The at least one processor is used to execute the computer-executable instructions stored in the memory, so that the at least one processor executes the voice broadcast method as described in any one of the first aspects.
[0055] In a fourth aspect, the present application provides a computer storage medium, wherein the computer storage medium stores computer execution instructions, and when the computer execution instructions are executed by a processor, they are used to implement the voice broadcast method as described in any one of the first aspects.
[0056] In a fifth aspect, the present application also provides a computer program product, including a computer program, which, when executed by a processor, can implement the steps of the voice broadcast method as described in any of the above items.
[0057] The present application provides a voice broadcast method, device, equipment and storage medium. When a clothes processing device is running, the progress of the current program is determined according to the current action of the clothes processing device, and when the user is active, a prompt sound is broadcast according to the progress and the user's location. Through the above method, the number of broadcasts can be controlled and invalid broadcasts are reduced, while improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0059] Figure 1 A flow chart of a voice broadcast method provided in an embodiment of the present application Figure 1 ;
[0060] Figure 2 A flow chart of a voice broadcast method provided in an embodiment of the present application Figure 2 ;
[0061] Figure 3 A flow chart of a voice broadcast method provided in an embodiment of the present application Figure 3 ;
[0062] Figure 4 A schematic diagram of the structure of a voice broadcast control device provided in an embodiment of the present application;
[0063] Figure 5 A schematic structural diagram of a clothing processing device provided in an embodiment of the present application.
[0064] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0066] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein, for example.
[0067] In the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0068] When the program of the clothes processing device runs for a long time, if the user does not obtain the status of the clothes processing device for a long time, he may not be able to respond in time when the clothes processing device ends. The existing method is to broadcast the running status of the clothes processing device when the distance between the user and the clothes processing device is close.
[0069] However, if the equipment status is broadcasted in the early stage of the clothing processing equipment, it will have little effect on reminding the user to handle the clothing processing equipment in time after the operation is completed. Therefore, the broadcast is only based on the distance between the user and the clothing processing equipment. The number of broadcasts is uncontrollable and will result in many invalid broadcasts.
[0070] The present application provides a voice announcement method, which determines the running progress of the current program according to the current action of the clothing treatment device when the clothing treatment device is running, and announces a prompt sound according to the progress and the user's location when the user is active. Through the above method, the number of announcements can be controlled and invalid announcements can be reduced, while improving the user experience.
[0071] Next, the technical solution shown in the present application is described in detail through specific embodiments. It should be noted that the following embodiments can exist independently or in combination with each other, and the same or similar contents will not be described repeatedly in different embodiments.
[0072] Figure 1 A flow chart of a voice broadcast method provided in an embodiment of the present application Figure 1 .like Figure 1 As shown, the method includes:
[0073] S101. When a clothes treating device is running, obtain a user status and a distance between the user and the clothes treating device, wherein the user status is used to indicate whether the user is currently active.
[0074] In this step, the distance between the user and the clothes processing device is used to determine whether the user's position is within the preset range of the clothes processing device, which can also be understood as: when the clothes processing device broadcasts at a normal volume, whether the user can hear the broadcast sound. That is, the distance between the user and the clothes processing device is too large, and the user cannot hear the broadcast sound of the clothes processing device.
[0075] Furthermore, in order to improve the user experience and avoid the announcement sound of the clothing processing device disturbing the user, it is also necessary to use the user status as a basis for determining whether to announce the status of the clothing processing device.
[0076] Specifically, when the clothes treating apparatus starts to operate, the user state and the distance between the user and the clothes treating apparatus are acquired.
[0077] The specific operation of obtaining the distance between the user and the clothing processing device is as follows:
[0078] The laundry processing device is controlled to send ultrasonic waves, and the reflected waves reflected by the user are received, and the distance between the user and the laundry processing device is obtained according to the ultrasonic waves and the reflected waves.
[0079] S102, obtaining an action sequence and a current action of a current program of the laundry processing device, and obtaining a progress degree according to the action sequence and the current action.
[0080] In this step, the purpose of broadcasting the status of the laundry processing device is to remind the user so that the user can react in time when the laundry processing device ends its operation. Therefore, it is not necessary to broadcast the entire process of the current program of the laundry processing device, but only to broadcast the status of the laundry processing device in the later stage of the current program.
[0081] The progress degree is used to determine the stage state of the clothes processing device in the current program, that is, to determine whether the clothes processing device is in the early or late stage of the current program. The greater the progress degree, the later the stage of the clothes processing device in the current program.
[0082] Specifically, when it is determined that the clothes treating device is running, the action sequence of the current program of the clothes treating device and the current action of the clothes treating device are obtained, and the progress of the current program is obtained according to the current action and the action sequence.
[0083] Among them, the specific operations for obtaining the progress degree according to the action sequence and the current action are:
[0084] Obtaining the order of the current action in the action sequence and the number of actions included in the action sequence;
[0085] A progress degree is obtained according to a ratio of the ranking to the number of actions, wherein the progress degree is greater than zero and less than or equal to 1.
[0086] Exemplarily, the action sequence is: water intake, washing, rinsing, dehydration and care, and the current action is dehydration, then the degree of progress of the clothes processing device is: 4 / 5=80%.
[0087] S103: If the user status is active, determine whether to control the clothing processing device to broadcast a prompt sound according to the distance and the progress.
[0088] In this step, the prompt sound is used to indicate the current state of the clothing processing device or to remind the user to take out the clothing.
[0089] Specifically, after the progress of the clothes processing device is acquired according to the action sequence and the current action, it is determined according to the progress whether the state of the clothes processing device at this time is a state that can be reported.
[0090] Furthermore, after determining that the state of the clothing processing device is a broadcastable state, it is then determined whether the user state is an active state. When it is determined that the user state is an active state, it can be further determined whether to control the clothing processing device to broadcast a prompt sound based on the distance between the user and the clothing processing device.
[0091] In a possible implementation, when the distance between the user and the clothes processing device is less than a distance threshold, the clothes processing device is controlled to broadcast a prompt sound.
[0092] In another possible implementation, the volume of the announcement may be adjusted according to the distance between the user and the clothing processing device, and the volume is proportional to the distance, that is, the farther the distance between the user and the clothing processing device, the louder the volume of the announcement.
[0093] The present application provides a voice announcement method, which determines the running progress of the current program according to the current action of the clothing treatment device when the clothing treatment device is running, and announces a prompt sound according to the progress and the user's location when the user is active. Through the above method, the number of announcements can be controlled and invalid announcements can be reduced, while improving the user experience.
[0094] Figure 2 A flow chart of a voice broadcast method provided in an embodiment of the present application Figure 2 .like Figure 2 As shown, the method includes:
[0095] S201. If the progress degree is equal to 1, and the distance is less than or equal to a distance threshold, control the clothing processing device to broadcast a prompt sound.
[0096] In this step, when the progress is 1, it means that the clothing processing device is in the last stage of the current program, that is, the operation of the clothing processing device is finished. Therefore, when the user status is active, the status of the clothing processing device at this time needs to be broadcast.
[0097] Specifically, when the progress degree of the clothes processing device is 1, it means that the clothes processing device has finished running at this time, and it is determined whether to control the clothes processing device to broadcast a prompt sound according to the distance between the user and the clothes processing device.
[0098] Furthermore, when the distance between the user and the clothing processing device is less than or equal to a distance threshold, the clothing processing device can be directly controlled to broadcast a prompt sound.
[0099] For example, the distance between the user and the clothes processing device is 20, the distance threshold is 30, and the progress is 1. Then, if the distance 20 between the user and the clothes processing device is less than the distance threshold 30, the clothes processing device is controlled to broadcast a prompt tone.
[0100] It should be noted that this embodiment is a parallel relationship, and the corresponding solution is selected according to the degree of progress and the distance between the user and the clothing processing device.
[0101] S202. If the progress degree is equal to 1 and the distance is greater than the distance threshold, a distance ratio is obtained according to the distance and the distance threshold, and a broadcast volume of the clothing processing device is adjusted according to the distance ratio, and the clothing processing device is controlled to broadcast a prompt sound according to the adjusted broadcast volume.
[0102] In this step, when the operation of the clothing processing device is completed, but the distance between the user and the clothing processing device is greater than the distance threshold, considering that the clothes in the barrel will be affected by not being taken out for a long time, when the distance between the user and the clothing processing device is greater than the distance threshold, this embodiment adjusts the broadcast volume of the prompt sound according to the distance.
[0103] Specifically, a distance ratio between the distance and the distance threshold is obtained, and the initial broadcast volume is increased according to the distance ratio, that is, the ratio of the adjusted broadcast volume to the initial broadcast volume is equal to the distance ratio.
[0104] For example, the initial broadcast volume is 20, the distance between the user and the laundry processing device is 30, and the distance threshold is 20. Then, the distance ratio is 30 / 20=1.5, and the adjusted broadcast volume is the product of the initial broadcast volume 20 and the distance ratio 1.5, that is, the adjusted broadcast volume is: 20*1.5=30.
[0105] S203. If the progress degree is less than 1 and greater than or equal to the progress degree threshold, obtain the duration ratio of the current running time to the total running time of the current program, and determine whether to control the clothing processing device to broadcast a prompt sound according to the duration ratio and the distance.
[0106] In this step, when the progress is less than 1 and greater than or equal to the progress threshold, it means that the laundry processing device is in the later stage of the current program. For example, the action sequence of the washing program is: water filling, washing, rinsing and finishing. The time of the washing action is obviously longer than the time of the water filling action.
[0107] Furthermore, since different actions in the action sequence take different times, in order to avoid broadcasting the device status in the early stage of the current program, resulting in too many invalid broadcasts, based on the degree of progress, it is further determined according to the time ratio whether the clothing processing device can be controlled to broadcast the prompt sound at this time. The specific determination method is as follows:
[0108] If the duration ratio is greater than or equal to the ratio threshold, and the distance is less than or equal to the distance threshold, controlling the clothing processing device to broadcast a prompt tone;
[0109] If the duration ratio is greater than or equal to the ratio threshold, and the distance is greater than the distance threshold, the clothing processing device is controlled to broadcast the prompt sound according to the adjusted broadcast volume.
[0110] Further, if the duration ratio is less than the ratio threshold, a new duration ratio is acquired at a first time interval, and it is determined whether to control the clothing processing device to broadcast a prompt sound according to the new duration ratio.
[0111] The present application provides a voice broadcast method, which determines whether to adjust the broadcast volume of the prompt sound only according to the distance, or further determines whether to control the clothing treatment device to broadcast the prompt sound according to the time ratio and the distance, based on the relationship between the progress degree and the progress degree threshold. Through the above method, the current state of the clothing treatment device can be judged more accurately, thereby avoiding broadcasting the state of the clothing treatment device in the early stage, resulting in too many invalid broadcasts.
[0112] Figure 3 A flow chart of a voice broadcast method provided in an embodiment of the present application Figure 3 .like Figure 3 As shown, the method includes:
[0113] S301. If the user status is inactive and the progress level is 1, a new user status is continuously acquired, and according to the new user status, it is determined whether to control the clothing processing device to broadcast a prompt tone.
[0114] In this step, when the progress is equal to 1, it means that the clothes processing device has completed operation. Although the user is inactive at this time, in order to avoid the clothes in the barrel not being taken out for a long time, thereby affecting the clothes processing effect of the clothes processing device, it is necessary to continuously obtain the user's status.
[0115] Specifically, when the progress degree is calculated and determined to be equal to 1, and the user is in an inactive state, the clothing processing device is controlled to continuously receive the new user status sent by the user terminal, and whether to control the clothing processing device to broadcast the voice according to the new user status. The process of how to determine whether to control the clothing processing device to broadcast the prompt sound according to the new user status has been described in the previous embodiment, and will not be described in detail here.
[0116] S302: If the user status is inactive and the progress level is less than the progress level threshold, a new user status is acquired at a second time interval, and according to the new user status, it is determined whether to control the clothing processing device to broadcast a prompt sound.
[0117] In this step, when the progress is less than the progress threshold, it means that the clothes processing device is in the early stage of the current program, and the status of the clothes processing device does not need to be reported to the user. Therefore, new user status can be obtained intermittently.
[0118] Specifically, when the acquired user status is inactive, the user is in a do not disturb state, and the clothing treatment device cannot broadcast a reminder sound at this time. However, the progress is less than the progress threshold, and the clothing treatment device is in the early stage of the current program. At this time, the device status does not need to be broadcast, so a new user status is acquired according to the second time interval, and it is determined whether to control the clothing treatment device to broadcast a reminder sound according to the new user status. For example, the second time interval can be 3-5 minutes.
[0119] For example, the user status is inactive, the progress level is 0.4, the progress level threshold is 0.8, and the second time interval is 5 minutes. If the progress level 0.4 is less than the progress level threshold 0.8, the laundry processing device is controlled to obtain a new user status according to the second time interval of 5 minutes.
[0120] S303: If the user status is inactive and the progress level is less than 1 and greater than or equal to the progress level threshold, a new user status is acquired at a third time interval, and it is determined whether to control the clothing processing device to broadcast a prompt sound according to the new user status.
[0121] In this step, if the progress is less than 1 and greater than or equal to the progress threshold, it means that the clothing processing device is in the later stage of the current program. At this time, the clothing processing device can broadcast a prompt sound to the user.
[0122] Furthermore, the clothes processing device is in the later stage at this time, which means that the clothes processing device may end its operation in a shorter time, so it is necessary to obtain a new user status as soon as possible, and when the new user status is active, further select the corresponding broadcast method according to the progress and distance.
[0123] Specifically, when the acquired user status is inactive, the user is in a do not disturb state, and the clothing treatment device cannot broadcast the reminder sound at this time. The progress degree is less than 1 and greater than the progress degree threshold, which means that the clothing treatment device is in the later stage of the current program. At this time, the device status needs to be broadcast, so the new user status is acquired according to the third time interval, and when the new user status is active, the corresponding broadcast method is further selected according to the progress degree and distance. Exemplarily, the third time interval can be 3-5 minutes.
[0124] The second time interval is greater than the third time interval.
[0125] The present application provides a voice broadcast method. When the user status is inactive, the time interval for obtaining the new user status is selected according to the program, and whether to control the clothing processing device to broadcast the prompt sound is determined according to the new user status. Through the above method, when the user is in the do not disturb state, the new status of the user can be obtained in time, and the corresponding broadcast method is executed according to the new status. Avoid extending the broadcast time of the prompt sound too long due to the user status, which affects the processing effect of the clothes.
[0126] Figure 4 This is a schematic diagram of the structure of a voice broadcast control device provided in an embodiment of the present application. Figure 4 As shown, the device includes: an acquisition module 401, a calculation module 402 and a determination module 403, wherein:
[0127] The acquisition module 401 is used to acquire the user status and the distance between the user and the clothing processing device when the clothing processing device is running, wherein the user status is used to indicate whether the user is currently active;
[0128] The calculation module 402 is used to obtain the action sequence and the current action of the current program of the clothes processing device, and obtain the progress according to the action sequence and the current action;
[0129] The determination module 403 is used to determine whether to control the clothing processing device to broadcast a prompt sound according to the distance and the progress if the user status is active, wherein the prompt sound is used to indicate the current status of the clothing processing device or remind the user to take out the clothes.
[0130] In a possible implementation manner, the calculation module 402 is further configured to:
[0131] Obtaining the order of the current action in the action sequence and the number of actions included in the action sequence;
[0132] A progress degree is obtained according to a ratio of the ranking to the number of actions, wherein the progress degree is greater than zero and less than or equal to 1.
[0133] In a possible implementation manner, the determining module 403 is further configured to:
[0134] If the progress degree is equal to 1, and the distance is less than or equal to the distance threshold, controlling the clothing processing device to play a prompt sound;
[0135] If the progress degree is equal to 1 and the distance is greater than the distance threshold, a distance ratio is obtained according to the distance and the distance threshold, and the broadcast volume of the clothes processing device is adjusted according to the distance ratio, and the clothes processing device is controlled to broadcast the prompt sound according to the adjusted broadcast volume;
[0136] If the progress is less than 1 and greater than or equal to the progress threshold, the ratio of the current running time to the total running time of the current program is obtained, and whether to control the clothing processing equipment to broadcast a prompt sound is determined according to the ratio and the distance.
[0137] In a possible implementation manner, the determining module 403 is further configured to:
[0138] If the duration ratio is greater than or equal to the ratio threshold, and the distance is less than or equal to the distance threshold, controlling the clothing processing device to broadcast a prompt tone;
[0139] If the duration ratio is greater than or equal to the ratio threshold, and the distance is greater than the distance threshold, the clothing processing device is controlled to broadcast the prompt sound according to the adjusted broadcast volume.
[0140] In a possible implementation manner, the determining module 403 is further configured to:
[0141] If the duration ratio is less than the ratio threshold, a new duration ratio is acquired at a first time interval, and it is determined whether to control the clothing processing device to broadcast a prompt sound according to the new duration ratio.
[0142] In a possible implementation manner, the determining module 403 is further configured to:
[0143] If the user status is inactive and the progress level is equal to 1, a new user status is continuously acquired, and whether to control the clothing processing device to broadcast a prompt sound is determined according to the new user status;
[0144] If the user status is inactive and the progress level is less than the progress level threshold, a new user status is acquired at a second time interval, and whether to control the clothing processing device to broadcast a prompt sound is determined according to the new user status;
[0145] If the user status is inactive, and the progress level is less than 1 and greater than or equal to the progress level threshold, a new user status is acquired at a third time interval, and whether to control the laundry processing device to broadcast a prompt sound is determined according to the new user status;
[0146] The second time interval is greater than the third time interval.
[0147] In a possible implementation manner, the acquisition module 401 is further configured to:
[0148] The laundry processing device is controlled to send ultrasonic waves, and the reflected waves reflected by the user are received, and the distance between the user and the laundry processing device is obtained according to the ultrasonic waves and the reflected waves.
[0149] Figure 5 This is a schematic diagram of the structure of a clothing processing device provided in an embodiment of the present application. Figure 5 As shown, the laundry processing device 50 includes: at least one processor 501 and a memory 502, wherein:
[0150] The memory 502 is used to store computer-executable instructions;
[0151] The at least one processor 501 is used to execute the computer-executable instructions stored in the memory 502, so that the at least one processor 501 executes the voice broadcast method as described in any of the above items.
[0152] Among them, at least one processor 501 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0153] Optionally, in a specific implementation, the processor 501 and the memory 502 are implemented independently, and the processor 501 and the memory 502 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.
[0154] Optionally, in a specific implementation, if the processor 501 and the memory 502 are integrated on a chip, the processor 501 and the memory 502 can communicate through an internal interface.
[0155] The present application also provides a computer storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the technical solution of the aforementioned voice broadcast method is implemented.
[0156] The computer-readable storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The computer-readable storage medium may be any available medium that can be accessed by a general or special purpose computer.
[0157] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in the control device of the clothing processing device.
[0158] The division of the units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, which may be electrical, mechanical or other forms.
[0159] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0160] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0161] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0162] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0163] So far, the technical solution of the present application has been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments, and the above embodiments are only used to illustrate the technical solution of the present application rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A voice broadcast method, characterized in that: The method comprises: When the clothes treating device is running, obtaining a user status and a distance between the user and the clothes treating device, wherein the user status is used to indicate whether the user is currently active; Acquire an action sequence and a current action of a current program of the laundry processing device, and acquire a progress degree according to the action sequence and the current action; If the user status is active, it is determined whether to control the clothing processing device to broadcast a prompt sound according to the distance and the progress, wherein the prompt sound is used to indicate the current status of the clothing processing device or to remind the user to take out the clothing.
2. The method according to claim 1, characterized in that The obtaining of the progress according to the action sequence and the current action comprises: Obtaining the order of the current action in the action sequence and the number of actions included in the action sequence; A progress degree is obtained according to a ratio of the ranking to the number of actions, wherein the progress degree is greater than zero and less than or equal to 1.
3. The method according to claim 2, characterized in that The determining, according to the distance and the progress, whether to control the laundry processing device to broadcast a prompt sound comprises: If the progress degree is equal to 1, and the distance is less than or equal to the distance threshold, controlling the clothing processing device to play a prompt sound; If the progress degree is equal to 1 and the distance is greater than the distance threshold, a distance ratio is obtained according to the distance and the distance threshold, and the broadcast volume of the clothes processing device is adjusted according to the distance ratio, and the clothes processing device is controlled to broadcast the prompt sound according to the adjusted broadcast volume; If the progress is less than 1 and greater than or equal to the progress threshold, the ratio of the current running time to the total running time of the current program is obtained, and whether to control the clothing processing equipment to broadcast a prompt sound is determined according to the ratio and the distance.
4. The method according to claim 3, characterized in that The determining whether to control the laundry processing device to broadcast a prompt sound according to the time ratio and the distance includes: If the duration ratio is greater than or equal to the ratio threshold, and the distance is less than or equal to the distance threshold, controlling the clothing processing device to broadcast a prompt tone; If the duration ratio is greater than or equal to the ratio threshold, and the distance is greater than the distance threshold, the clothing processing device is controlled to broadcast the prompt sound according to the adjusted broadcast volume.
5. The method according to claim 4, characterized in that The method further comprises: If the duration ratio is less than the ratio threshold, a new duration ratio is acquired at a first time interval, and it is determined whether to control the clothing processing device to broadcast a prompt sound according to the new duration ratio.
6. The method according to any one of claim 5, characterized in that: The method further comprises: If the user status is inactive and the progress level is equal to 1, a new user status is continuously acquired, and whether to control the clothing processing device to broadcast a prompt sound is determined according to the new user status; If the user status is inactive and the progress level is less than the progress level threshold, a new user status is acquired at a second time interval, and whether to control the clothing processing device to broadcast a prompt sound is determined according to the new user status; If the user status is inactive, and the progress level is less than 1 and greater than or equal to the progress level threshold, a new user status is acquired at a third time interval, and whether to control the laundry processing device to broadcast a prompt sound is determined according to the new user status; The second time interval is greater than the third time interval.
7. The method according to any one of claims 1 to 6, characterized in that: The obtaining of the distance between the user and the laundry processing device comprises: The laundry processing device is controlled to send ultrasonic waves, and the reflected waves reflected by the user are received, and the distance between the user and the laundry processing device is obtained according to the ultrasonic waves and the reflected waves.
8. A voice broadcast control device, characterized in that: include: Acquisition module, calculation module and determination module, wherein: The acquisition module is used to acquire the user status and the distance between the user and the clothing processing device when the clothing processing device is running, wherein the user status is used to indicate whether the user is currently active; The calculation module is used to obtain the action sequence and the current action of the current program of the clothes processing device, and obtain the progress according to the action sequence and the current action; The determination module is used to determine whether to control the clothing processing device to broadcast a prompt sound according to the distance and the progress if the user status is active, wherein the prompt sound is used to indicate the current status of the clothing processing device or remind the user to take out the clothes.
9. A clothes processing device, characterized in that: include: at least one processor and memory, wherein: The memory is used to store computer-executable instructions; The at least one processor is configured to execute the computer-executable instructions stored in the memory, so that the at least one processor performs the method according to any one of claims 1 to 7.
10. A computer storage medium, characterized in that: The computer storage medium stores computer executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.