Smart curtain control method, apparatus, device, and storage medium

By detecting the force and type of object pulling the smart curtains, the system identifies and controls the curtains' operating mode, solving the problem of complex operation for elderly or child users and achieving convenient curtain control.

CN115553625BActive Publication Date: 2026-04-10SHENZHEN OURUIBO ELECTRONICS
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-10
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

For users who are not familiar with smart devices, such as the elderly or children, controlling smart curtains with a remote control or mobile device is complicated and inconvenient.

Method used

By detecting the force with which the smart curtains are pulled, the type of target object is identified, and the target operating mode is determined based on the object type. The smart curtains are then controlled to operate according to the corresponding range, simplifying the operation process.

Benefits of technology

This reduces the learning cost for target users to learn how to control smart curtains, making operation simpler and more convenient. It enables users to open and close the curtains and adjust the light intensity by pulling the smart curtains.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115553625B_ABST
    Figure CN115553625B_ABST
Patent Text Reader

Abstract

The application relates to an intelligent curtain control method, device, equipment and storage medium. The method comprises the following steps: determining the force degree at which the intelligent curtain is pulled by a target object; performing object type identification processing according to the force degree to obtain the object type corresponding to the target object; determining the target operation mode of the intelligent curtain according to the object type; the target operation mode has a corresponding operation amplitude; and the intelligent curtain is controlled to operate according to the operation amplitude in the target operation mode. The method can reduce the learning cost of learning to control the intelligent curtain by the target object, and makes the operation of controlling the intelligent curtain simpler and more convenient.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of curtain control, and in particular to an intelligent curtain control method, device, equipment and storage medium. BACKGROUND

[0002] Curtains are essential in people's daily life. People use curtains to help adjust the light intensity in the room and create a suitable rest and living environment. With the development of smart home technology, smart curtains have emerged. A smart curtain is a curtain that is started by electricity and controlled by a remote control or a mobile terminal.

[0003] However, for users who are not familiar with smart devices (such as the elderly or children), the steps of using a remote control or a mobile terminal to control a smart curtain are complex and very inconvenient. SUMMARY

[0004] Therefore, it is necessary to provide a convenient intelligent curtain control method, device, computer equipment, computer readable storage medium and computer program product to solve the above technical problems.

[0005] In a first aspect, the present application provides an intelligent curtain control method. The method comprises:

[0006] determining the force of the target object pulling the smart curtain;

[0007] performing object type identification processing according to the force, to obtain an object type corresponding to the target object;

[0008] determining a target operation mode of the smart curtain according to the object type; the target operation mode has a corresponding operation amplitude;

[0009] controlling the smart curtain to operate according to the operation amplitude in the target operation mode.

[0010] In some embodiments, controlling the smart curtain to operate according to the operation amplitude in the target operation mode comprises:

[0011] determining a single operation amplitude matched with the target operation mode;

[0012] controlling the smart curtain to operate according to the single operation amplitude in each case where a pulling operation of the target object on the smart curtain is detected.

[0013] In some embodiments, before controlling the smart curtain to operate according to the operation amplitude in the target operation mode, the method further comprises:

[0014] obtaining a pulling frequency of the target object pulling the smart curtain within a preset time;

[0015] determining a target task according to the pulling frequency;

[0016] In the target operation mode, the smart window curtain is controlled to operate according to the operation amplitude, including:

[0017] In the target operation mode, the smart window curtain is controlled to perform the target task according to the operation amplitude.

[0018] In some embodiments, the target task is determined according to the pulling times, including at least one of the following processes:

[0019] If the pulling times are greater than a first preset number of times and less than a second preset number of times, it is determined that the target task is a window curtain opening task; the first preset number of times is less than the second preset number of times.

[0020] If the pulling times are less than or equal to the first preset number of times, it is determined that the target task is a window curtain closing task.

[0021] In some embodiments, the method further includes:

[0022] If the pulling times are greater than or equal to the second preset number of times, an alarm is triggered to prompt that the smart window curtain is being damaged by the target object.

[0023] In some embodiments, the object type corresponding to the target object is determined according to the force size, including:

[0024] At least one candidate object type corresponding to a pulling force interval is determined; the pulling force interval is determined according to historical force data when the target object pulls the smart window curtain;

[0025] From the pulling force interval corresponding to at least one candidate object type, a target pulling force interval in which the force size is located is determined.

[0026] The object type corresponding to the target pulling force interval is determined as the object type corresponding to the target object.

[0027] In some embodiments, the method further includes:

[0028] If the object type corresponding to the target object cannot be determined according to the force size, the object type recognition is performed on the image obtained by photographing the surrounding area of the smart window curtain to obtain the object type of the target object.

[0029] In some embodiments, the method further includes:

[0030] The pulling times of the smart window curtain pulled by the target object within a preset time are obtained.

[0031] The operation amplitude is determined according to the pulling times.

[0032] In some embodiments, the method further includes:

[0033] Detect the current opening / closing degree of the smart curtains;

[0034] The running range is determined by the number of pulls, including:

[0035] The target opening degree is determined based on the number of pulls;

[0036] The operating range is determined based on the target opening degree and the current opening degree.

[0037] Secondly, this application also provides an intelligent curtain control device, the device comprising:

[0038] The first determining module is used to determine the magnitude of the force with which the smart curtain is pulled by the target object;

[0039] The recognition module is used to identify the object type based on the magnitude of the force, and to obtain the object type corresponding to the target object.

[0040] The second determining module is used to determine the target operating mode of the smart curtain based on the object type; the target operating mode has a corresponding operating range.

[0041] The control unit is used to control the smart curtains to operate according to the target operating mode.

[0042] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps in the above-described method.

[0043] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of the above-described method.

[0044] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps of the above-described method.

[0045] The aforementioned curtain control method, device, computer equipment, computer-readable storage medium, and computer program product determine the type of the target object pulling the smart curtain by detecting the force with which the smart curtain is pulled by the target object. Based on the target object type, the target operating mode of the smart curtain is determined, and the smart curtain is controlled to operate according to the corresponding operating amplitude under the target operating mode. For target objects who are not familiar with intelligent devices, they can control the opening and closing of the smart curtain and the opening and closing ratio of the smart curtain simply by pulling the smart curtain, thereby adjusting the indoor light intensity. This reduces the learning cost for target objects to learn how to control the smart curtain, making the operation of controlling the smart curtain simpler and more convenient. Attached Figure Description

[0046] Figure 1 An application environment diagram of the smart curtain control method in an embodiment;

[0047] Figure 2 A flowchart of the smart curtain control method in an embodiment;

[0048] Figure 3 A flowchart of determining a target task according to a number of pulling times in an embodiment;

[0049] Figure 4 A structural block diagram of the smart curtain control device in an embodiment;

[0050] Figure 5 An internal structure diagram of the computer device in an embodiment;

[0051] Figure 6 An internal structure diagram of the computer device in another embodiment. DETAILED DESCRIPTION

[0052] In order to make the purposes, technical solutions and advantages of the present application clearer, the present application is further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and not to limit the present application.

[0053] The smart curtain control method provided by the embodiments of the present application can be applied in an application environment as shown in Figure 1 The smart curtain includes at least a control unit 101, a force detection unit 102, a smart motor 103, a smart curtain cloth 104, and a smart curtain track (not shown in the figure). The control unit 101 is internally provided with a control chip, and the control unit 101 is connected with the smart motor 103 through wireless communication. The control chip in the control unit 101 sends a control instruction to control the rotation of the smart motor 103, and the smart motor 103 drives the smart curtain cloth 104 to rotate, that is, the control unit 101 drives the smart curtain cloth 104 to open or close through the smart motor 103. The force detection unit 102 is installed on the smart curtain cloth 104, and the force detection unit 102 detects the force of the smart curtain cloth 104 when the smart curtain cloth 104 is pulled by a target object. The force detection unit 102 and the control unit 101 are connected through wireless communication, and the force detection unit 102 sends the detected force to the control unit 101, and the control unit 101 analyzes the received force. The smart curtain track is used to hang the smart curtain cloth 104. It can be understood that the control unit 101 controls the rotation of the smart motor 103, and the smart motor 103 drives the smart curtain cloth 104 to rotate, thereby controlling the opening or closing width of the smart curtain cloth 104.

[0054] Exemplarily, the control unit 101 determines the force degree at which the smart curtain 100 is pulled by the target object; the control unit 101 performs object type identification processing according to the force degree, and obtains the object type corresponding to the target object; the control unit 101 determines the target operation mode of the smart curtain according to the object type; and in the target operation mode, the control unit 101 controls the smart curtain to operate according to the operation amplitude.

[0055] It should be noted that since the smart curtain includes a smart curtain cloth, the smart curtain mentioned in each embodiment is pulled by the target object, which means that the smart curtain cloth is pulled by the target object.

[0056] In some embodiments, as shown in Figure 2 , a smart curtain control method is provided, which is described below by taking the control unit 101 in Figure 1 as an example and including the following steps:

[0057] Step 201, determining the force degree at which the smart curtain is pulled by the target object.

[0058] The target object is an object that pulls the smart curtain, i.e., an object that intends to control the smart curtain to open or close.

[0059] Exemplarily, the force detection unit is installed on the smart curtain, and when the target object pulls the smart curtain, the force detection unit detects the force degree at which the target object pulls the smart curtain and sends the detected force degree to the control unit, so that the control unit determines the force degree at which the smart curtain is pulled by the target object through the force detection unit.

[0060] It can be understood that the control unit indirectly determines the force degree at which the smart curtain is pulled by the target object through the force detection unit.

[0061] The force detection unit is a device for detecting the force degree, including but not limited to various force sensors, such as resistance strain gauge sensor, resonant pressure sensor, and semiconductor strain gauge force sensor, etc.

[0062] Step 202, performing object type identification processing according to the force degree, and obtaining the object type corresponding to the target object.

[0063] The object type is a kind of things with common characteristics. Specifically, the object type is the type obtained after classifying the target object.

[0064] Exemplarily, the control unit compares the force degree at which the smart curtain is pulled by the target object with historical force data when the target object pulls the smart curtain, to perform object type identification processing on the target object, and determines the object type corresponding to the target object according to the comparison result.

[0065] In some embodiments, the target object is a person pulling the smart curtain, and accordingly, the object type obtained by classifying the person pulling the smart curtain includes any one of an old person, a child, or a middle-aged person.

[0066] It can be understood that the muscle mass of an old person, a child, or a middle-aged person is different with different ages, and thus the strength is different, and the force when pulling the smart curtain is also different. Therefore, whether the object type of the target object is any one of an old person, a child, or a middle-aged person can be determined according to the force of the smart curtain pulled by the target object.

[0067] In some embodiments, the object type obtained by classifying the person pulling the curtain includes any one of an underage male, an adult male, an underage female, or an adult female.

[0068] It can be understood that due to the physiological differences between men and women, the strength of men and women is different, and thus whether the object type of the target object is any one of an underage male, an adult male, an underage female, or an adult female can be determined according to the force of the smart curtain pulled by the target object.

[0069] Step 203, determining a target running mode of the smart curtain according to the object type; the target running mode has a corresponding running amplitude.

[0070] The target running mode is a running mode of the smart curtain determined by the object type of the target object. The smart curtain has a corresponding running amplitude in the target running mode.

[0071] It can be understood that the demand for the light intensity of an indoor site by a target object of different object types is different, and thus the target running mode corresponding to different object types is different, so that the width of the smart curtain opening or closing in the target running mode is different with the object type of the target object. By controlling the width of the smart curtain opening or closing, the light intensity of the indoor site where the smart curtain is installed can be adjusted to meet the demand of the target object for the light intensity of the indoor site.

[0072] In some embodiments, the target running mode includes any one of an old person mode, a child mode, and a middle-aged person mode.

[0073] In some embodiments, the target running mode includes any one of an underage male mode, an adult male mode, an underage female mode, or an adult female mode.

[0074] The running amplitude is the width of the smart curtain opening or closing in the target running mode determined according to the pulling times.

[0075] In some embodiments, the running amplitude comprises a width of a single opening or closing of the smart window curtain determined according to the number of pulls in the target running mode. For example, the target running mode is the old man mode, in which the smart window curtain is pulled once, the smart window curtain is opened or closed by 20%, and the smart window curtain is pulled twice, the smart window curtain is opened or closed by 40%. It can be understood that determining the width of the single opening or closing of the smart window curtain according to the number of pulls facilitates the target object to flexibly adjust the light intensity of the indoor place.

[0076] In some embodiments, the running amplitude comprises a width of a final opening or closing of the smart window curtain when running in the target running mode. For example, the target running mode is the child mode, and the width of the opening of the smart window curtain that meets the light intensity requirement of the child in the child mode is 60% through big data statistics. Therefore, when the target object pulling the smart window curtain is determined to be a child, the control unit controls the smart window curtain to open by 60% or close by 60%.

[0077] It should be noted that the percentage of the width of the opening in the above embodiments refers to the proportion of the width of the opened smart window curtain to the total width of the smart window curtain.

[0078] Exemplarily, the control unit determines the target running mode of the smart window curtain according to the object type of the target object, and determines the target task to be performed by the smart window curtain in the target running mode according to the number of pulls of the smart window curtain by the target object.

[0079] The target task is a task to be performed by the smart window curtain according to the number of pulls.

[0080] In some embodiments, the target task comprises any one of opening the smart window curtain and closing the smart window curtain.

[0081] In some embodiments, the object type of the target object comprises any one of an old man, a child, or a middle-aged person, and the corresponding target running mode is any one of an old man mode, a child mode, or a middle-aged person mode.

[0082] Step 204, controlling the smart window curtain to run according to the running amplitude in the target running mode.

[0083] Exemplarily, the control unit determines the target running mode of the smart window curtain according to the object type, and controls the smart window curtain to run according to the running amplitude in the target running mode, so as to adjust the light intensity of the indoor place through the width of the opening or closing of the smart window curtain.

[0084] In the intelligent curtain control method, the force with which the intelligent curtain is pulled by the target object is detected to determine the object type of the target object pulling the intelligent curtain, the target operation mode of the intelligent curtain is determined according to the object type, and the intelligent curtain is controlled to operate according to the corresponding operation amplitude of the target operation mode. For the target object who does not use intelligent equipment, the opening and closing of the intelligent curtain and the opening and closing ratio of the intelligent curtain can be controlled by pulling the intelligent curtain, the light intensity in the room is adjusted, the learning cost of the target object for controlling the intelligent curtain is reduced, and the operation of the intelligent curtain is more simple and convenient.

[0085] In some embodiments, in the target operation mode, controlling the intelligent curtain to operate according to the operation amplitude includes: determining a single operation amplitude matched with the target operation mode; and controlling the intelligent curtain to operate according to the single operation amplitude each time the pulling operation of the target object on the intelligent curtain is detected.

[0086] For example, the control unit determines the target operation mode of the intelligent curtain according to the object type of the target object, determines a single operation amplitude matched with the target operation mode, and controls the intelligent curtain to operate according to the single operation amplitude each time the pulling operation of the target object on the intelligent curtain is detected.

[0087] In some embodiments, when it is detected that the target object pulling the intelligent curtain is a child, the target operation mode of the intelligent curtain is determined to be a child mode, a single operation amplitude matched with the child mode is determined to be 20%, and each time the child pulls the intelligent curtain, the width of the opening or closing of the intelligent curtain is increased by 20%. For example, the child pulls the intelligent curtain for 3 times, and the total width of the opening or closing of the intelligent curtain is 60%.

[0088] In the above embodiments, the intelligent curtain is controlled to operate according to the single operation amplitude each time the pulling operation of the target object on the intelligent curtain is detected, and the width of the opening or closing of the intelligent curtain is controlled according to the number of pulling operations, which facilitates the operation of the target object.

[0089] In some embodiments, before controlling the intelligent curtain to operate according to the operation amplitude in the target operation mode, the method further includes: obtaining the number of pulling operations of the target object on the intelligent curtain within a preset time; determining a target task according to the number of pulling operations; and controlling the intelligent curtain to operate according to the operation amplitude in the target operation mode includes: controlling the intelligent curtain to execute the target task according to the operation amplitude in the target operation mode.

[0090] The target task is a task executed by the intelligent curtain in the target operation mode and determined according to the number of pulling operations. That is, the intelligent curtain executes different target tasks to achieve different operation states.

[0091] In some embodiments, the target task includes at least one of a smart curtain opening task, a smart curtain closing task, or an alarm task.

[0092] For example, the control unit determines the target operation mode of the smart curtain according to the object type of the target object pulling the smart curtain, and then determines the target task performed by the smart curtain according to the number of times the smart curtain is pulled by the target object within a preset time, and controls the smart curtain to perform the target task according to the operation amplitude in the target operation mode.

[0093] In some embodiments, the object type of the target object pulling the smart curtain is an old person, and the target operation mode of the smart curtain is determined to be an old person mode. Within the preset time, the control unit determines whether the target task performed by the smart curtain is one of a smart curtain opening task, a smart curtain closing task, or an alarm task according to the number of times the smart curtain is pulled by the old person. After determining the target task, the control unit controls the smart curtain to perform the target task according to the operation amplitude.

[0094] In the above embodiments, the target task is determined by the number of times the smart curtain is pulled by the target object, so that the operation of the target object controlling the smart curtain is more convenient.

[0095] In some embodiments, as shown in Figure 3 A flowchart for determining a target task according to the number of times of pulling is provided. The method is applied to the control unit as an example, and specifically includes the following steps:

[0096] Step 301: The control unit obtains the number of times the smart curtain is pulled by the target object within a preset time.

[0097] Step 302: The control unit determines the target task according to the number of times of pulling.

[0098] Step 303: The control unit determines whether the number of times of pulling is greater than a first preset number of times. If yes, step 304 is performed; otherwise, step 306 is performed.

[0099] The first preset number of times is a preset number of times. It can be understood that the first preset number of times is used to determine the target task performed by the smart curtain.

[0100] Step 304: The control unit determines whether the number of times of pulling is less than a second preset number of times. If yes, step 305 is performed; otherwise, step 307 is performed.

[0101] The second preset number of times is a preset number of times. It can be understood that the second preset number of times is used to determine the target task performed by the smart curtain. The first preset number of times is less than the second preset number of times.

[0102] Step 305: The control unit determines that the target task is a curtain opening task.

[0103] Step 306, the control unit determines that the target task is a curtain closing task.

[0104] Step 307, the control unit triggers an alarm to prompt that the smart curtain is being damaged by the target object.

[0105] The triggering of the alarm refers to triggering the smart curtain to issue a warning. It can be understood that when the target object does not know that the smart curtain cannot operate due to a fault, the target object is most likely to continue to pull the smart curtain to control the smart curtain to open or close, and therefore when the number of pulls is greater than the second preset number, the smart curtain triggers an alarm to prompt the fault condition of the smart curtain.

[0106] In some embodiments, the target object is a child. When the child continues to pull the smart curtain due to curiosity, to prevent the smart curtain from being damaged by the child or the smart curtain from being pulled down and hurting the child, when the number of pulls within the preset time is greater than or equal to the second preset number, the smart curtain triggers an alarm to prompt that the smart curtain is being damaged by the target object.

[0107] In some embodiments, the alarm includes at least one of a sound prompt, a light prompt, a sound and light prompt, or an information prompt. Accordingly, the control unit controls the sound device installed on the smart curtain to issue a sound prompt, or the control unit controls the light-emitting device installed on the smart curtain to issue a light prompt, or the control unit sends an information prompt to the user that the smart curtain is being damaged by the target object.

[0108] In the above embodiments, the target task of the curtain is determined according to the comparison relationship between the number of pulls and the preset number (the first preset number and the second preset number), which is simple and efficient. At the same time, whether the smart curtain is being damaged by the target object is determined according to the number of pulls, and in the case where the smart curtain is being damaged by the target object, relevant personnel can be prompted in time to stop the smart curtain from being damaged, thereby protecting the smart curtain.

[0109] In some embodiments, the object type corresponding to the target object is obtained by performing object type identification processing according to the force size, including: determining at least one candidate object type corresponding to a pulling force interval; the pulling force interval is determined according to historical force data when the target object pulls the smart curtain; determining the pulling force interval in which the force size is located from the pulling force intervals corresponding to the at least one candidate object type, to obtain a target pulling force interval; and determining the object type corresponding to the target pulling force interval as the object type corresponding to the target object.

[0110] The candidate object type is an object type to which the target object pulling the smart curtain may belong. That is, the object type of the target object is one of the candidate object types.

[0111] In some embodiments, the candidate object type includes any one of an old person, a child, or a middle-aged person.

[0112] The historical force data is the force data when the target object pulls the smart curtain. It can be understood that by analyzing the historical force data when the target object pulls the smart curtain, the pulling force interval of the target object pulling the smart curtain under the same object type can be obtained. For example, when the target object is an old person, the pulling force interval of the smart curtain is [20, 30] N, and when the target object is a child, the pulling force interval of the smart curtain is [10, 20] N, where N (Newton) is abbreviated as N.

[0113] The pulling force interval is the range of the force of the candidate object type pulling the smart curtain. That is, the force interval composed of the maximum force and the minimum force of the candidate object type pulling the smart curtain.

[0114] The target pulling force interval is the pulling force interval in which the force of the target object pulling the smart curtain is located.

[0115] In some embodiments, when the candidate object type is an old person, the corresponding pulling force interval is [20, 30] N, and the force of the target object pulling the smart curtain is 25 N, and 25 N is located in the pulling force interval [20, 30] N, then the object type of the target object is determined to be an old person, and the target pulling force interval is [20, 30] N.

[0116] Exemplarily, when there is a target object pulling the smart curtain, the control unit determines the force of the smart curtain pulled by the target object, and determines the pulling force interval corresponding to at least one candidate object type respectively; from the pulling force interval corresponding to at least one candidate object type respectively, the pulling force interval in which the force is located is determined, and the target pulling force interval is obtained; the object type corresponding to the target pulling force interval is determined as the object type corresponding to the target object.

[0117] In the above embodiments, the pulling force interval corresponding to the candidate object type is compared with the target pulling force interval of the target object pulling the smart curtain, so as to determine the object type of the target object, which is simple and efficient.

[0118] In some embodiments, the method further includes: if the object type corresponding to the target object cannot be determined according to the force, performing object type recognition on the image obtained by shooting the surrounding area of the smart curtain to obtain the object type of the target object.

[0119] The surrounding area refers to the indoor area where the smart curtain is installed.

[0120] Exemplarily, when the target object pulls the smart curtain and the target pulling force interval of the target object is not located in the pulling force interval corresponding to any candidate object type, the surrounding area of the smart curtain is photographed by the shooting device, the image obtained by the control unit by photographing the surrounding area of the smart curtain is subjected to object type recognition, the object type of the target object recognized is compared with the candidate object types, and the object type of the target object is obtained.

[0121] In the above embodiment, in the case where the object type of the target object cannot be determined according to the force size, the object type of the target object is determined in combination with the image recognition mode, so that the control of the smart curtain is more accurate.

[0122] In some embodiments, the method further comprises: acquiring the pulling frequency of the smart curtain pulled by the target object within a preset time; and determining the running amplitude according to the pulling frequency.

[0123] Exemplarily, within the preset time, the control unit detects the pulling frequency of the smart curtain pulled by the target object by the force detection unit, and determines the running amplitude of the smart curtain according to the pulling frequency.

[0124] In some embodiments, the target object is an old person, and the running amplitude of the smart curtain is determined to be 20% each time the smart curtain is pulled by the old person. Therefore, when the pulling frequency of the smart curtain pulled by the old person within the preset time is detected to be 4 times, the running amplitude is determined to be 80%, i.e., the smart curtain needs to be controlled to open by 80% of the width.

[0125] In the above embodiment, the target object can control the running amplitude of the curtain through the pulling frequency, which is convenient and simple.

[0126] In some embodiments, the method further comprises: detecting the current opening degree of the smart curtain; determining the running amplitude according to the pulling frequency, comprising: determining a target opening degree according to the pulling frequency; and determining the running amplitude according to the target opening degree and the current opening degree.

[0127] The current opening degree is the width of the smart curtain currently opened or closed.

[0128] The target opening degree is the width of the smart curtain determined to be opened or closed according to the pulling frequency.

[0129] Exemplarily, when the target object pulls the smart curtain, the current opening degree of the smart curtain is detected, and the target opening degree is determined according to the number of times the smart curtain is pulled by the target object within the preset time. Then, the running amplitude of the smart curtain is determined according to the opening degree difference between the target opening degree and the current opening degree.

[0130] It can be understood that the final running amplitude of the smart curtain is the opening degree difference between the target opening degree and the current opening degree.

[0131] In some embodiments, the target opening degree of the smart curtain determined according to the number of pulling times is 80%, the current opening degree of the smart curtain detected is 20%, the opening degree difference between the target opening degree and the current opening degree is 60%, and it is determined that the running amplitude of the smart curtain is 60%, that is, the curtain needs to be controlled to open by 60% of the width.

[0132] In the above embodiments, the target opening degree is determined according to the number of pulling times, and the final running amplitude of the smart curtain is determined by the opening degree difference between the current opening degree and the target opening degree, thereby improving the accuracy of the running amplitude of the smart curtain.

[0133] In some embodiments, a flowchart of a smart curtain control method is provided, including the following steps:

[0134] 1. Determine the force of the target object pulling the smart curtain.

[0135] 2. Determine at least one candidate object type corresponding to a pulling force interval;

[0136] 3. From the at least one candidate object type corresponding to the pulling force interval, determine the pulling force interval where the force size is located, and obtain the target pulling force interval; determine the object type corresponding to the target object corresponding to the object type corresponding to the target pulling force interval.

[0137] Among them, the pulling force interval is determined according to the historical force data when the target object pulls the smart curtain.

[0138] It can be understood that 1 to 2 are object type identification processing according to the force size to obtain the object type corresponding to the target object.

[0139] It should be noted that if the object type corresponding to the target object cannot be determined according to the force size, the object type of the target object is obtained by performing object type identification on the image obtained by shooting the surrounding area of the smart curtain.

[0140] 4. Determine the target running mode of the smart curtain according to the object type; the target running mode has a corresponding running amplitude.

[0141] 5. Obtain the number of pulling times of the smart curtain pulled by the target object within a preset time; determine the target task according to the number of pulling times. Among them, determining the target task according to the number of pulling times includes at least one of the following processing:

[0142] If the number of pulling times is greater than a first preset number and less than a second preset number, it is determined that the target task is a curtain opening task; wherein the first preset number is less than the second preset number.

[0143] If the pulling times are less than or equal to the first preset times, it is determined that the target task is the curtain closing task.

[0144] If the pulling times are greater than or equal to the second preset times, an alarm is triggered to prompt that the smart curtain is being damaged by the target object.

[0145] It should be noted that if the target task determined according to the pulling times is the curtain opening task or the curtain closing task, 6 to 7 are executed; otherwise, the following is not executed.

[0146] 6. Determine a single running amplitude matched with the target running mode.

[0147] 7. In each case where the pulling operation of the target object on the smart curtain is detected, the target task is executed according to the single running amplitude.

[0148] In the above-mentioned smart curtain control method, by detecting the pulling force of the smart curtain by the target object, the object type of the target object pulling the smart curtain is determined, the target running mode of the smart curtain is determined according to the object type, and the smart curtain is controlled to run according to the corresponding running amplitude of the target running mode. For the target object who does not use smart devices, the opening and closing of the smart curtain and the opening and closing ratio of the smart curtain can be controlled by simply pulling the smart curtain, the light intensity in the room is adjusted, the learning cost of the target object to control the smart curtain is reduced, and the operation of controlling the smart curtain is more simple and more convenient.

[0149] It should be understood that, although each step in the flowchart involved in each of the above-mentioned embodiments is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise stated herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other sequences. Moreover, at least part of the steps in the flowchart involved in each of the above-mentioned embodiments can include multiple steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or steps or stages in other steps.

[0150] Based on the same inventive concept, the embodiments of the present application also provide a smart curtain control device for implementing the above-mentioned smart curtain control method. The problem-solving implementation scheme provided by the device is similar to the implementation scheme described in the above-mentioned method, and therefore the specific limitations in one or more smart curtain control device embodiments provided below can refer to the limitations of the smart curtain control method described above, which will not be repeated here.

[0151] In some embodiments, asFigure 4 As shown, an intelligent curtain control device is provided, comprising: a first determination module 401, an identification module 402, a second determination module 403, and a control module 404, wherein:

[0152] The first determination module 401 is configured to determine the force degree of the target object pulling the intelligent curtain.

[0153] The identification module 402 is configured to perform object type identification processing according to the force degree, to obtain the object type corresponding to the target object.

[0154] The second determination module 403 is configured to determine the target operation mode of the intelligent curtain according to the object type; the target operation mode has a corresponding operation amplitude.

[0155] The control module 404 is configured to control the intelligent curtain to operate according to the operation amplitude in the target operation mode.

[0156] In some embodiments, the control module 404 is configured to determine a single operation amplitude matched with the target operation mode; and control the intelligent curtain to operate according to the single operation amplitude in each case where the pulling operation of the target object on the intelligent curtain is detected.

[0157] In some embodiments, the control module 404 is configured to obtain the pulling times of the intelligent curtain by the target object within a preset time; determine the target task according to the pulling times; and control the intelligent curtain to execute the target task according to the operation amplitude in the target operation mode.

[0158] In some embodiments, the control module 404 is specifically configured to determine the target task as a curtain opening task if the pulling times are greater than a first preset number and less than a second preset number; the first preset number is less than the second preset number; and determine the target task as a curtain closing task if the pulling times are less than or equal to the first preset number.

[0159] In some embodiments, the control module 404 is configured to trigger an alarm to prompt that the intelligent curtain is being damaged by the target object if the pulling times are greater than or equal to the second preset number.

[0160] In some embodiments, the first determination module 401 is configured to determine the pulling force intervals corresponding to at least one candidate object type respectively; the pulling force intervals are determined according to the historical force data when the target object pulls the intelligent curtain; determine the pulling force interval in which the force degree is located from the pulling force intervals corresponding to the at least one candidate object type respectively, to obtain a target pulling force interval; and determine the object type corresponding to the target pulling force interval as the object type corresponding to the target object.

[0161] In some embodiments, the first determining module 401 is further configured to, if the object type corresponding to the target object cannot be determined based on the magnitude of the force, perform object type recognition on the image obtained by capturing the area surrounding the smart curtain to obtain the object type of the target object. In some embodiments, the second determining module 403 is further configured to obtain the number of times the smart curtain is pulled by the target object within a preset time; and determine the operating amplitude based on the number of pulls.

[0162] In some embodiments, the second determining module 403 is further configured to detect the current opening degree of the smart curtain; determine the operating range based on the number of pulls; and determine the operating range based on the target opening degree and the current opening degree.

[0163] The modules in the aforementioned intelligent curtain control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0164] In some embodiments, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 5 As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs stored in the non-volatile storage media. The database stores the relevant data required to implement the intelligent curtain control method. The I / O interfaces are used for information exchange between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements an intelligent curtain control method.

[0165] It should be noted that, in addition to being controlled by the control unit inherent in the smart curtain itself, the smart curtain can also be controlled by a server generating control commands and sending them to the control unit. This embodiment does not impose any limitations on this.

[0166] In some embodiments, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 6As shown in the figure. The computer device includes a processor, a memory, an input / output interface and a communication interface. Among them, the processor, the memory and the input / output interface are connected through the system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capability. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals in a wired or wireless manner. The wireless manner can be realized through WIFI, mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by the processor to realize an intelligent curtain control method.

[0167] Those skilled in the art can understand that, Figure 5 Or Figure 6 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.

[0168] In some embodiments, a computer device is provided, including a memory and a processor, the memory storing a computer program, and the processor executing the computer program to realize the steps in the above method embodiments.

[0169] In some embodiments, a computer readable storage medium is provided, which stores a computer program, and the computer program is executed by a processor to realize the steps in the above method embodiments.

[0170] In some embodiments, a computer program product is provided, including a computer program, and the computer program is executed by a processor to realize the steps in the above method embodiments.

[0171] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0172] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric memory (Ferroelectric Random Access Memory, FRAM), phase change memory (Phase Change Memory, PCM), graphene memory, etc. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.

[0173] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist contradictory, it should be considered as the scope of the present application.

[0174] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. A smart curtain control method, characterized by, The method comprises: determining the force of the target object pulling the smart curtain, the smart curtain comprising a smart curtain cloth, the smart curtain being pulled by the target object referring to the smart curtain cloth being pulled by the target object; performing object type identification processing according to the force, to obtain an object type corresponding to the target object; determining a target operation mode of the smart curtain according to the object type; the target operation mode having a corresponding operation amplitude; controlling the smart curtain to operate according to the operation amplitude in the target operation mode.

2. The method of claim 1, wherein, The controlling the smart curtain to operate according to the operation amplitude in the target operation mode comprises: determining a single operation amplitude matching the target operation mode; controlling the smart curtain to operate according to the single operation amplitude in each case where a pulling operation of the target object on the smart curtain is detected.

3. The method of claim 1, wherein, Before the controlling the smart curtain to operate according to the operation amplitude in the target operation mode, the method further comprises: obtaining a pulling frequency of the smart curtain being pulled by the target object within a preset time; determining a target task according to the pulling frequency; The controlling the smart curtain to operate according to the operation amplitude in the target operation mode comprises: controlling the smart curtain to perform the target task according to the operation amplitude in the target operation mode.

4. The method of claim 3, wherein, The determining a target task according to the pulling frequency comprises at least one of the following processes: if the pulling frequency is greater than a first preset frequency and less than a second preset frequency, determining that the target task is a curtain opening task; the first preset frequency is less than the second preset frequency; if the pulling frequency is less than or equal to the first preset frequency, determining that the target task is a curtain closing task.

5. The method of claim 1, wherein, The object type identification processing according to the force comprises: determining at least one candidate object type corresponding to a pulling force interval; the pulling force interval being determined according to historical force data of the target object pulling the smart curtain; determining a target pulling force interval in which the force is located from the pulling force intervals corresponding to the at least one candidate object type, to obtain a target pulling force interval; determining an object type corresponding to the target pulling force interval as the object type corresponding to the target object.

6. The method according to any one of claims 1 to 5, characterized in that, The method further comprises: obtaining a pulling frequency of the smart curtain being pulled by the target object within a preset time; determining the operation amplitude according to the pulling frequency.

7. The method of claim 6, wherein, The method further comprises: detecting a current opening degree of the smart curtain; The determining the operation amplitude according to the pulling frequency comprises: determining a target opening degree according to the pulling frequency; determining the operation amplitude according to the target opening degree and the current opening degree.

8. An intelligent window covering control device, comprising: The device comprises: a first determining module configured to determine the force of the target object pulling the smart curtain, the smart curtain comprising a smart curtain cloth, the smart curtain being pulled by the target object referring to the smart curtain cloth being pulled by the target object; An identification module is configured to perform object type identification processing according to the force size, and obtain an object type corresponding to the target object. A second determination module is configured to determine a target operation mode of the smart curtain according to the object type, wherein the target operation mode has a corresponding operation amplitude. A control unit is configured to control the smart curtain to operate according to the operation amplitude in the target operation mode. 9.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-7. The processor executes the computer program to implement the steps of the method in any one of claims 1 to 7.

10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 7.

Citation Information

Patent Citations

  • User-oriented smart home graphical programming method and system

    CN114137847A