Device control method, system, apparatus, device and storage medium

By obtaining sunlight exposure parameters and position to generate shading device control information, the problem of users being unable to close curtains accurately is solved, and lighting adjustment of home scenes is achieved, extending the life of furniture and preventing food damage.

CN115309067BActive Publication Date: 2025-09-12GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211034698.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-26
Publication Date
2025-09-12
Estimated Expiration
2042-08-26

AI Technical Summary

Technical Problem

Users cannot know exactly when to close the curtains, which may cause the lifespan of items in the home scene to be shortened or food to be damaged.

Method used

By obtaining the sunlight exposure parameters and position of the target space, the control information of the shading device is generated with reference to the parameter threshold, and the opening and closing of the shading device is controlled to adjust the light intensity.

Benefits of technology

It achieves light control in the target space area, extends the life of furniture, prevents food from rotting, and maintains the effects of skin care products and shampoo.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115309067B_ABST
    Figure CN115309067B_ABST
Patent Text Reader

Abstract

The present application relates to a device control method, system, apparatus, device, and storage medium. The method includes obtaining sunlight exposure parameters and sunlight exposure positions of a target space; when determining, based on the sunlight exposure position, that sunlight is irradiating a first area in the target space, generating and outputting control information related to a shading device with reference to the magnitude relationship between a parameter threshold corresponding to the first area and the sunlight exposure parameters. The solution of this embodiment enables illumination control of areas in the target space, thereby resolving the issue of users being unable to determine when to close curtains in different home scenarios, resulting in a shortened lifespan of items in the home scenario or damage to food due to exposure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home, and in particular to a device control method, system, apparatus, device and storage medium. Background Art

[0002] With the development of the information age, supported by technologies such as big data, artificial intelligence, and 5G, the Internet of Everything (IoE) represents the next information revolution following the Internet. Smart homes are a burgeoning industry within the Internet of Things (IoT). They leverage computer, communications, and microelectronics technologies to make traditional home appliances intelligent, enabling human-machine connectivity and providing people with a comfortable, safe, convenient, and efficient living environment.

[0003] Smart curtains are now widely used in our homes, improving our quality of life and bringing convenience. However, their current use cases are very limited. For example, in the living room, when there is strong sunlight, users need to close the curtains to prevent the floor from being damaged. In the kitchen, rice and vegetables need to be kept cool and out of direct sunlight. To address these issues, users cannot know when to close the curtains. Summary of the Invention

[0004] The present application provides a device control method, system, apparatus, equipment and storage medium to solve the problem that in different home scenes, users cannot know when to close the curtains, resulting in the objects in the home scene being exposed to radiation and having their lifespan shortened or food being damaged.

[0005] In a first aspect, a device control method is provided, comprising:

[0006] Acquire sunlight exposure parameters and sunlight exposure positions of the target space, wherein the sunlight exposure parameters represent sunlight exposure intensity;

[0007] When it is determined based on the sunlight exposure position that sunlight is irradiating a first area in the target space, control information related to the shading device is generated and outputted with reference to the magnitude relationship between the parameter threshold corresponding to the first area and the sunlight exposure parameter.

[0008] Optionally, determining, based on the sunlight exposure position, a first area in the target space where sunlight is irradiated includes:

[0009] Obtaining an identifier of a collection device, wherein the collection device is used to collect the sunlight exposure parameters and characterize the sunlight exposure position;

[0010] Using the identifier to query a preset mapping relationship between identifiers and regions, and obtaining a target region matching the identifier;

[0011] When the target area is the first area, it is determined that sunlight irradiates the first area.

[0012] Optionally, generating control information related to the shading device includes:

[0013] calculating a parameter difference between the sunlight exposure parameter and the parameter threshold;

[0014] determining a type of the shading device based on the parameter difference, wherein the type of the shading device represents a light transmittance of the shading device;

[0015] The control information is generated based on the type of the shading device.

[0016] Optionally, generating control information related to the shading device includes:

[0017] Obtaining a relative positional relationship between the first area and a second area, as well as a sunlight exposure direction, wherein the second area is an area in the target space, and the first area and the second area have opposite sunlight requirements;

[0018] determining the opening and closing parameters of the shading device based on the sunlight illumination direction and the relative position relationship;

[0019] Control information related to the shading device is generated based on the opening and closing parameters.

[0020] Optionally, obtain the sunlight direction, including:

[0021] Acquire an indoor image of the target space captured under sunlight shadow;

[0022] The indoor image is analyzed to obtain the sunlight illumination direction.

[0023] Optionally, before determining, based on the sunlight irradiation position, that sunlight irradiates the first area in the target space, the method further includes:

[0024] Obtaining historical sunlight exposure parameters of the target space;

[0025] Generating a sunlight exposure range map that matches the historical sunlight exposure parameters, the sunlight exposure range map including N sunlight exposure range areas, the historical sunlight exposure parameters in any sunlight exposure range area being within the same parameter interval range, and the historical sunlight exposure parameters in different sunlight exposure range areas being within different parameter interval ranges;

[0026] The sunlight exposure range map is displayed to enable the user to set the first area based on the sunlight exposure range map.

[0027] In a second aspect, a device control system is provided, comprising:

[0028] acquisition equipment, light shielding devices, and processors;

[0029] The acquisition device is used to acquire sunlight exposure parameters and sunlight exposure positions of the target space, wherein the sunlight exposure parameters represent the sunlight exposure intensity;

[0030] The processor is used to obtain the sunlight exposure parameters and the sunlight exposure position; when it is determined that sunlight is irradiated to a first area in the target space based on the sunlight exposure position, control information related to the shading device is generated and output with reference to the size relationship between the parameter threshold corresponding to the first area and the sunlight exposure parameter.

[0031] Optionally, the system further comprises:

[0032] terminal equipment;

[0033] The terminal device is used to receive and display the control information, and after obtaining instruction information corresponding to the control information, control the shading device to block sunlight irradiating the first area according to the control information.

[0034] In a third aspect, a device control apparatus is provided, comprising:

[0035] An acquisition module is used to acquire sunlight exposure parameters and sunlight exposure positions of a target space, wherein the sunlight exposure parameters represent the sunlight exposure intensity;

[0036] A processing module is used to generate and output control information related to the shading device by referring to the size relationship between the parameter threshold corresponding to the first area and the sunlight exposure parameter when determining that sunlight is irradiated to the first area in the target space based on the sunlight exposure position.

[0037] In a fourth aspect, an electronic device is provided, comprising: a processor, a memory, and a communication bus, wherein the processor and the memory communicate with each other via the communication bus;

[0038] The memory is used to store computer programs;

[0039] The processor is used to execute the program stored in the memory to implement the device control method described in the first aspect.

[0040] In a fifth aspect, a computer-readable storage medium is provided, storing a computer program, which, when executed by a processor, implements the device control method described in the first aspect.

[0041] The technical solution provided by the embodiments of the present application has the following advantages over the prior art: The method provided by the embodiments of the present application obtains the sunlight exposure parameters and sunlight exposure position of the target space; when, based on the sunlight exposure position, it is determined that sunlight is irradiating a first area in the target space, control information related to the shading device is generated and outputted by referring to the magnitude relationship between the parameter threshold corresponding to the first area and the sunlight exposure parameter. The solution of this embodiment enables illumination control of areas in the target space, thereby resolving the issue of users being unable to determine when to close curtains in different home scenarios, resulting in a shortened lifespan of items in the home scenario or damage to food due to exposure. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0044] Figure 1 This is a flow chart of a device control method in an embodiment of the present application;

[0045] Figure 2 A schematic diagram of the relative positional relationship shown in the embodiments of the present application;

[0046] Figure 3 This is a schematic diagram of the trend of changes in ultraviolet intensity collected during a day, as shown in an embodiment of the present application;

[0047] Figure 4 The embodiment of this application shows the Figure 3 Schematic diagram of sunlight exposure range generated by the schematic diagram of the changing trend of ;

[0048] Figure 5 This is a schematic diagram of the arrangement of the area to avoid sunlight exposure shown in an embodiment of the present application;

[0049] Figure 6 This is a schematic diagram of the setting of the sunlight exposure area shown in an embodiment of the present application;

[0050] Figure 7 This is a schematic diagram of the structure of the device control system shown in an embodiment of the present application;

[0051] Figure 8 This is a schematic diagram of the structure of the device control device in the embodiment of the present application;

[0052] Figure 9 This is a schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0053] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of 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 making creative efforts are within the scope of protection of this application.

[0054] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0055] Currently, in daily life, the following problems often plague users' lives:

[0056] Long-term exposure to strong sunlight on the floor will cause it to crack, especially in the southern region, where the climate is humid and alternating hot and cold weather can more easily cause the floor to crack, which also has a great impact on cabinets.

[0057] There are many items in the kitchen that can only be placed in a cool place, such as rice and vegetables such as potatoes, garlic, and onions. The angle of the sun changes, and it cannot be guaranteed that the place where these things are placed will always be cool. If placed in a cabinet, it will be too stuffy and humid.

[0058] Skin care products in the bathroom should also be kept cool. Shampoo and shower gel are stored in plastic bottles. Prolonged exposure to sunlight will cause the plastic bottles to oxidize, produce toxic substances, and also cause the loss of nutrients in the shampoo.

[0059] The angle of the sun changes, and when you want your bedroom bedding to bask in the sun, you can't be sure when is the best time to open the curtains.

[0060] In order to solve the above problems, an embodiment of the present application provides a device control method, which can be applied to electronic devices;

[0061] The electronic device described in this embodiment may include a terminal or a server, which is not limited in this embodiment. The terminal device may be a mobile terminal such as a mobile phone, a tablet computer, a laptop computer, a PDA, a PAD (Personal Digital Assistant), a PMP (Portable Media Player), a navigation device, etc., as well as a fixed terminal such as a digital TV, a desktop computer, etc.

[0062] like Figure 1 As shown, the method may include the following steps:

[0063] Step 101: Obtain sunlight exposure parameters and sunlight exposure positions of a target space, where the sunlight exposure parameters represent sunlight exposure intensity.

[0064] In the application, the target space can be the living room, bedroom, kitchen, dining room, bathroom, etc. in the home.

[0065] In this application, data collection devices are pre-installed in different areas of the target space. These devices can be used to distinguish different areas within the target space. Specifically, the data collection devices can be used to determine the location of sunlight exposure, thereby determining whether sunlight is reaching a specific area. For example, data collection device 1 is set up in the first area of ​​the target space, and data collection device 2 is set up in the second area. When data collection device 1 collects sunlight exposure parameters, the location of sunlight exposure can be determined as the first area. When data collection device 2 collects sunlight exposure parameters, the location of sunlight exposure can be determined as the second area.

[0066] In this embodiment, the acquisition device includes but is not limited to a light sensor or an AI (Artificial Intelligence) sensor, which is not specifically limited in this embodiment. It should be understood that the detection range of the acquisition device can match the range of the area it needs to detect.

[0067] In the application, in the living room scene, the area in the target space where the collection equipment needs to be set up can be the cabinets and the area where the floor is located in the living room; in the bedroom scene, the area in the target space where the collection equipment needs to be set up can be the area where the bed is located; in the bathroom scene, the area in the target space where the collection equipment needs to be set up can be the skin care products area and / or the shampoo area; in the kitchen scene, the area in the target space where the collection equipment needs to be set up can be the rice storage area and / or the vegetable storage area.

[0068] In this embodiment, the sunlight exposure parameters include but are not limited to ultraviolet intensity, which is not specifically limited in this embodiment.

[0069] Step 102: When it is determined that sunlight irradiates a first area in the target space based on the sunlight irradiation position, control information related to the shading device is generated and outputted with reference to the magnitude relationship between the parameter threshold corresponding to the first area and the sunlight irradiation parameter.

[0070] It should be understood that in this embodiment, when the sunlight exposure parameter is greater than the parameter threshold, the control information indicates reducing the shading range of the shading device, and when the sunlight exposure parameter is not greater than the parameter threshold, the control information indicates increasing the shading range of the shading device.

[0071] For example, when the object in the first area does not like light, when it is determined that the sunlight exposure parameter is greater than the parameter threshold, the control information indicates to reduce the shading range of the shading device; and when the object in the first area likes light, when it is determined that the sunlight exposure parameter is not greater than the parameter threshold, the control information indicates to increase the shading range of the shading device.

[0072] In the application, since different objects have different light preferences, parameter thresholds are set by region to better adapt to the actual application scenarios in the home.

[0073] In this embodiment, the sunlight irradiation position is indicated by the identifier of the collection device, and whether the sunlight irradiates the first area in the target space is determined based on the identifier of the collection device.

[0074] In a specific implementation, in an optional embodiment, an identifier of a collection device is obtained, and the collection device is used to collect the sunlight exposure position; the identifier is used to query the pre-set mapping relationship between the identifier and the area to obtain a target area matching the identifier; when the target area is the first area, it is determined that the sunlight is shining on the first area.

[0075] In applications, different items or objects within a home have different lighting requirements. For example, some plants prefer sunlight, while others prefer shade. Furthermore, among sun-loving plants, different plants may prefer sunlight to varying degrees. Furthermore, the intensity of sunlight varies in different seasons and at different times of the day. To better adapt to home scenarios, this embodiment generates control information based on sunlight exposure parameters.

[0076] In a specific implementation, in an optional embodiment, the parameter difference between the sunlight exposure parameter and the parameter threshold is calculated; the type of the shading device is determined based on the parameter difference, and the type of the shading device represents the light transmittance of the shading device; and control information is generated based on the type of the shading device.

[0077] In applications, shading devices include but are not limited to curtains, screens, and other devices that can block sunlight.

[0078] In applications, since the material of the shading device directly affects the light transmittance of the shading device, the type of the shading device can be indicated by the material of the shading device. For example, the type of the shading device can be a gauze curtain, a cloth curtain, etc.

[0079] In this embodiment, a mapping relationship between the parameter difference interval and the type of the shading device is preset, so the parameter difference between the sunlight exposure parameter and the parameter threshold can be used to query the mapping relationship to determine the type of the shading device.

[0080] It should be understood that when the parameter difference is relatively large, it means that there is a big difference between the sunlight exposure parameter and the parameter threshold. For some plants that are not completely shade-loving, when the sunlight exposure intensity is relatively high, the gauze curtain can be closed first. This can reduce the light intensity shining on the plants while meeting the plants' needs for sunlight.

[0081] In the application, considering that there are multiple areas in the same space with completely opposite requirements for sunlight, for example, there are both areas that like light and areas that do not like light, in this case, when generating the control information of the shading device, the relative position relationship of multiple areas can also be combined.

[0082] In a specific implementation, in an optional embodiment, the relative position relationship between the first area and the second area, as well as the direction of sunlight exposure are obtained, the second area is an area in the target space, and the first area and the second area have opposite requirements for sunlight; based on the direction of sunlight exposure and the relative position relationship, the opening and closing parameters of the shading device are determined; and control information related to the shading device is generated based on the opening and closing parameters.

[0083] The opening and closing parameters indicate the opening and closing amplitude of the shading device.

[0084] In this embodiment, the relative position relationship between the first area and the second area can be preset. In application, the relative position relationship between the first area and the second area can be indicated in the form of a plan view.

[0085] Please refer to Figure 2 , Figure 2 Schematic diagram of the relative position relationship shown in this embodiment. Figure 2 In the figure, the first area is the area that does not like light, the second area is the area that likes light, and the oblique line indicates the direction of sunlight. Then it can be determined that the area above the oblique line is the area that can be blocked by the shading device. Therefore, the opening and closing parameters of the shading device can be obtained based on the size of this area.

[0086] In this application, the direction of sunlight can be determined by analyzing indoor images of the target space captured under sunlight shadows. It should be understood that as the angle of sunlight changes, the range, shape, and size of the sunlight shadows contained in the indoor images of the target space will vary. Therefore, by obtaining parameters such as the range, shape, and size of the sunlight shadows in the indoor images and using these parameters to query the knowledge graph, the current sunlight angle, i.e., the direction of sunlight, can be determined.

[0087] In this embodiment, the electronic device can output control information related to the shading device to the user's terminal device. After obtaining the control information, the terminal device displays the control information to the user, and after receiving the user's instruction to control the shading device according to the control information, the terminal device sends a control instruction to the shading device so that the shading device acts based on the control information.

[0088] In this embodiment, the user can pre-set which areas in the target space need to be illuminated by sunlight and which areas do not need to be illuminated by sunlight, so that the device control method in this embodiment can be executed based on the user's settings later.

[0089] Taking the user setting the first area as an example, in a specific implementation, in an optional embodiment, the historical sunlight exposure parameters of the target space are obtained; a sunlight exposure range map matching the historical sunlight exposure parameters is generated, the sunlight exposure range map including N sunlight exposure range areas, the historical sunlight exposure parameters in any sunlight exposure range area are in the same parameter interval range, and the historical sunlight exposure parameters in different sunlight exposure range areas are in different parameter interval ranges; the sunlight exposure range map is displayed to allow the user to set the first area based on the sunlight exposure range map.

[0090] To improve control accuracy, in this embodiment, the time difference between the time when the historical sunlight exposure parameters are collected and the time when the sunlight exposure parameters of the target space are obtained does not exceed a time threshold. For example, the time when the historical sunlight exposure parameters are collected and the time when the sunlight exposure parameters of the target space are obtained can be set to be in the same season. Another example is to set the time difference to no more than one week, and so on. It should be understood that the historical sunlight exposure parameters are generally the exposure parameters from sunrise to sunset throughout the day.

[0091] Taking the sunlight exposure parameter as UV intensity as an example, please refer to Figure 3 , Figure 3 This is a schematic diagram showing the trend of ultraviolet intensity changes during the day. Figure 4 , Figure 4 Based on Figure 3 The schematic diagram of the sunlight exposure range is generated by the schematic diagram of the changing trend of Figure 4In the figure, each color represents a sunlight exposure area, and different colors represent different sunlight exposure areas.

[0092] For ease of understanding, this embodiment also provides Figure 5 Schematic diagram of the setting of the area to avoid sunlight as shown, and Figure 6 Schematic diagram of the setting of the sun exposure area shown. Figure 5 and Figure 6 In the process, users upload their home floor plan on their electronic devices and set up Figure 5 and Figure 6 The area shown.

[0093] In the technical solution provided by this embodiment, sunlight exposure parameters and sunlight exposure positions of a target space are obtained. Based on the sunlight exposure positions, it is determined that sunlight is irradiating a first region within the target space. By referring to the magnitude relationship between the parameter threshold corresponding to the first region and the sunlight exposure parameters, control information related to the shading device is generated and output. This embodiment implements illumination control of regions within the target space.

[0094] Specific to each scene of the home:

[0095] In the living room scene, the user sets the floor on the APP of the terminal device. The cabinet area cannot be exposed to sunlight, and the area where flowers and plants are placed needs to be exposed to sunlight. When the AI ​​sensor senses strong sunlight (strong ultraviolet rays) shining on the cabinets and floor areas in the home, it will remind the user. The user can close the curtains in the living room through the mobile phone. When the ultraviolet rays of the sun are not strong and the flower and plant area can be exposed to sunlight, the user will be reminded to open the curtains and the percentage of curtain opening and closing will be recommended. While the flowers and plants are exposed to sunlight, the sun's exposure to the floor is minimized.

[0096] In the bedroom scene, the user sets the range of the bed in the bedroom as the area that needs to be illuminated. The angle of sunlight is different at different times of the day and will illuminate every corner of the house. When it is detected that the sunlight moves to a place where it can illuminate the bed in the house, the user will be reminded through the APP, and the user can open the bedroom curtains through the mobile phone.

[0097] In the bathroom scenario, the user sets the skin care product area and shampoo area in the bathroom to avoid sunlight. When the AI ​​sensor senses that sunlight is shining on the skin care product area and shampoo area, the user is reminded through the APP, and the user can close the bathroom curtains through the mobile phone.

[0098] In the kitchen scene, the user sets the rice storage area and vegetable storage area in the kitchen as areas to avoid sunlight. When the AI ​​sensor senses that sunlight is shining on the rice storage area and vegetable storage area, the user is reminded through the APP, and the user can close the kitchen curtains through the mobile phone.

[0099] In each of the above home scenes, the following effects can be achieved:

[0100] Increase the service life of floors and cabinets in your home and enhance your sense of well-being in life.

[0101] Reduce problems such as food rotting, spoilage, insects, and sprouting in the home, reduce the visit of cockroaches to a certain extent, and keep the home clean.

[0102] Maintain the efficacy of skin care products, shampoo, etc. and reduce nutrient loss

[0103] If you are busy at work, you can also dry your bedding at home to sterilize it.

[0104] Based on the same concept, an equipment control system is provided in the embodiment of the present application. The specific implementation of the system can be found in the description of the method embodiment part, and the repeated parts will not be repeated. Figure 7 As shown, the system mainly includes:

[0105] Acquisition device 701, light shielding device 702 and processor 703;

[0106] The acquisition device 701 is used to collect sunlight exposure parameters and sunlight exposure positions of the target space, where the sunlight exposure parameters represent the sunlight exposure intensity;

[0107] Processor 703 is used to obtain sunlight exposure parameters and sunlight exposure position; when it is determined that sunlight is irradiated to the first area in the target space based on the sunlight exposure position, control information related to the shading device 702 is generated and output with reference to the size relationship between the parameter threshold corresponding to the first area and the sunlight exposure parameter.

[0108] Optionally, the system further includes:

[0109] terminal equipment;

[0110] The terminal device is used to receive and display the control information, and after obtaining the instruction information corresponding to the control information, control the shading device to block the sunlight irradiating the first area according to the control information.

[0111] Based on the same concept, an equipment control device is provided in the embodiment of the present application. The specific implementation of the device can be found in the description of the method embodiment part, and the repeated parts will not be repeated. Figure 8 As shown, the device mainly includes:

[0112] An acquisition module 801 is used to acquire sunlight exposure parameters and sunlight exposure positions of a target space, where the sunlight exposure parameters represent the sunlight exposure intensity;

[0113] The processing module 802 is used to generate and output control information related to the shading device by referring to the size relationship between the parameter threshold corresponding to the first area and the sunlight exposure parameter when determining that sunlight is irradiated to the first area in the target space based on the sunlight exposure position.

[0114] The processing module 802 is used to:

[0115] Obtaining an identifier of a collection device, the collection device being used to collect sunlight exposure parameters and characterize sunlight exposure positions;

[0116] Use the identifier to query the pre-set mapping relationship between the identifier and the area to obtain the target area that matches the identifier;

[0117] When the target area is the first area, it is determined that sunlight irradiates the first area.

[0118] The processing module 802 is used to:

[0119] Calculate the parameter difference between the sunlight exposure parameter and the parameter threshold;

[0120] determining a type of the shading device based on the parameter difference, where the type of the shading device represents a degree of light transmittance of the shading device;

[0121] Based on the type of the shading device, control information is generated.

[0122] The processing module 802 is used to:

[0123] Obtaining a relative positional relationship between a first area and a second area, as well as a sunlight exposure direction, wherein the second area is an area in the target space, and the first area and the second area have opposite sunlight requirements;

[0124] Determine the opening and closing parameters of the shading device based on the sunlight exposure direction and relative position relationship;

[0125] Control information related to the shading device is generated based on the opening and closing parameters.

[0126] The processing module 802 is used to:

[0127] Acquire an indoor image of a target space captured under sunlight shadow;

[0128] Analyze indoor images to obtain the direction of sunlight.

[0129] The device is also used to:

[0130] Before determining that sunlight irradiates a first area in the target space based on the sunlight irradiation position, obtaining historical sunlight irradiation parameters of the target space;

[0131] Generate a sunlight exposure range map that matches the historical sunlight exposure parameters, where the sunlight exposure range map includes N sunlight exposure range areas, the historical sunlight exposure parameters in any sunlight exposure range area are within the same parameter interval, and the historical sunlight exposure parameters in different sunlight exposure range areas are within different parameter intervals;

[0132] A sunlight exposure range map is displayed to enable the user to set the first area based on the sunlight exposure range map.

[0133] Based on the same concept, an electronic device is also provided in the embodiment of the present application, such as Figure 9 As shown, the electronic device mainly includes: a processor 901, a memory 902 and a communication bus 903, wherein the processor 901 and the memory 902 communicate with each other via the communication bus 903. The memory 902 stores a program that can be executed by the processor 901, and the processor 901 executes the program stored in the memory 902 to implement the following steps:

[0134] The sunlight exposure parameters and sunlight exposure position of the target space are obtained, and the sunlight exposure parameters represent the sunlight exposure intensity. When it is determined that the sunlight is irradiated to the first area in the target space based on the sunlight exposure position, the control information related to the shading device is generated and output with reference to the size relationship between the parameter threshold corresponding to the first area and the sunlight exposure parameter.

[0135] The communication bus 903 mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 903 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 9 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.

[0136] The memory 902 may include a random access memory (RAM) or a non-volatile memory, such as at least one disk storage. Alternatively, the memory may be at least one storage device located away from the processor 901.

[0137] The above-mentioned processor 901 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., and can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.

[0138] In another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is run on a computer, the computer executes the device control method described in the above embodiment.

[0139] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions are transmitted from a website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape, etc.), an optical medium (e.g., a DVD) or a semiconductor medium (e.g., a solid-state hard disk), etc.

[0140] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.

[0141] The foregoing description is intended only to provide specific embodiments of the present invention, which will enable those skilled in the art to understand and implement the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not intended to be limited to the embodiments shown herein, but is intended to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A device control method, characterized in that: include: Acquire sunlight exposure parameters and sunlight exposure positions of the target space, wherein the sunlight exposure parameters represent sunlight exposure intensity; When it is determined based on the sunlight exposure position that sunlight is irradiating a first area in the target space, control information related to the shading device is generated and outputted with reference to a magnitude relationship between a parameter threshold corresponding to the first area and the sunlight exposure parameter; when the object in the first area does not like light, and when it is determined that the sunlight exposure parameter is greater than the parameter threshold, the control information instructs to reduce the shading range of the shading device; when the object in the first area likes light, and when it is determined that the sunlight exposure parameter is not greater than the parameter threshold, the control information instructs to increase the shading range of the shading device; Generate control information related to the shading device, including: Obtaining a relative positional relationship between the first area and a second area, as well as a sunlight exposure direction, wherein the second area is an area in the target space, and the first area and the second area have opposite sunlight requirements; determining the opening and closing parameters of the shading device based on the sunlight illumination direction and the relative position relationship; Control information related to the shading device is generated based on the opening and closing parameters.

2. The method according to claim 1, characterized in that Determining, based on the sunlight exposure position, a first area in the target space where sunlight is exposed, comprising: Obtaining an identifier of a collection device, wherein the collection device is used to collect the sunlight exposure parameters and characterize the sunlight exposure position; Using the identifier to query a preset mapping relationship between identifiers and regions, and obtaining a target region matching the identifier; When the target area is the first area, it is determined that sunlight irradiates the first area.

3. The method according to claim 1, characterized in that Generate control information related to the shading device, including: calculating a parameter difference between the sunlight exposure parameter and the parameter threshold; determining a type of the shading device based on the parameter difference, wherein the type of the shading device represents a light transmittance of the shading device; The control information is generated based on the type of the shading device.

4. The method according to claim 3, characterized in that Get the direction of sunlight, including: Acquire an indoor image of the target space captured under sunlight shadow; The indoor image is analyzed to obtain the sunlight illumination direction.

5. The method according to claim 1, wherein Before determining, based on the sunlight irradiation position, that sunlight irradiates the first area in the target space, the method further includes: Obtaining historical sunlight exposure parameters of the target space; Generating a sunlight exposure range map that matches the historical sunlight exposure parameters, the sunlight exposure range map including N sunlight exposure range areas, the historical sunlight exposure parameters in any sunlight exposure range area being within the same parameter interval range, and the historical sunlight exposure parameters in different sunlight exposure range areas being within different parameter interval ranges; The sunlight exposure range map is displayed to enable the user to set the first area based on the sunlight exposure range map.

6. A device control system, characterized in that: include: acquisition equipment, light shielding devices, and processors; The acquisition device is used to collect sunlight exposure parameters and sunlight exposure positions of the target space, wherein the sunlight exposure parameters represent the sunlight exposure intensity; The processor is configured to obtain the sunlight exposure parameter and the sunlight exposure position; when it is determined based on the sunlight exposure position that sunlight is irradiating a first area in the target space, reference is made to the magnitude relationship between a parameter threshold corresponding to the first area and the sunlight exposure parameter to generate and output control information related to the shading device; when the object in the first area does not like light, and when it is determined that the sunlight exposure parameter is greater than the parameter threshold, the control information instructs to reduce the shading range of the shading device; when the object in the first area likes light, and when it is determined that the sunlight exposure parameter is not greater than the parameter threshold, the control information instructs to increase the shading range of the shading device; Generate control information related to the shading device, including: Obtaining a relative positional relationship between the first area and a second area, as well as a sunlight exposure direction, wherein the second area is an area in the target space, and the first area and the second area have opposite sunlight requirements; determining the opening and closing parameters of the shading device based on the sunlight illumination direction and the relative position relationship; Control information related to the shading device is generated based on the opening and closing parameters.

7. The system according to claim 6, characterized in that The system further comprises: terminal equipment; The terminal device is used to receive and display the control information, and after obtaining instruction information corresponding to the control information, control the shading device to block sunlight irradiating the first area according to the control information.

8. A device control device, characterized in that: include: An acquisition module is used to acquire sunlight exposure parameters and sunlight exposure positions of a target space, wherein the sunlight exposure parameters represent the sunlight exposure intensity; a processing module configured to, when it is determined based on the sunlight exposure position that sunlight is irradiating a first area in the target space, refer to a magnitude relationship between a parameter threshold corresponding to the first area and the sunlight exposure parameter, and generate and output control information related to the shading device; when the object in the first area is not light-loving and the sunlight exposure parameter is determined to be greater than the parameter threshold, the control information instructs to reduce the shading range of the shading device; when the object in the first area is light-loving and the sunlight exposure parameter is determined to be not greater than the parameter threshold, the control information instructs to increase the shading range of the shading device; Generate control information related to the shading device, including: Obtaining a relative positional relationship between the first area and a second area, as well as a sunlight exposure direction, wherein the second area is an area in the target space, and the first area and the second area have opposite sunlight requirements; determining the opening and closing parameters of the shading device based on the sunlight illumination direction and the relative position relationship; Control information related to the shading device is generated based on the opening and closing parameters.

9. An electronic device, characterized in that: include: A processor, a memory, and a communication bus, wherein the processor and the memory communicate with each other via the communication bus; The memory is used to store computer programs; The processor is configured to execute the program stored in the memory to implement the device control method according to any one of claims 1 to 5.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the device control method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • A method and an apparatus for controlling indoor environment

    CN103676812A

  • Intelligent curtain control system

    CN215867523U