CN108894718B - Control method and device for shade, storage medium and electronic device - Google Patents

Control method and device for shade, storage medium and electronic device Download PDF

Info

Publication number
CN108894718B
CN108894718B CN201810495323.0A CN201810495323A CN108894718B CN 108894718 B CN108894718 B CN 108894718B CN 201810495323 A CN201810495323 A CN 201810495323A CN 108894718 B CN108894718 B CN 108894718B
Authority
CN
China
Prior art keywords
light intensity
shade
target
controlling
target object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810495323.0A
Other languages
Chinese (zh)
Other versions
CN108894718A (en
Inventor
陶桂东
蒋欣
张安
田庆
陈波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRRC Qingdao Sifang Co Ltd
Original Assignee
CRRC Qingdao Sifang Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CRRC Qingdao Sifang Co Ltd filed Critical CRRC Qingdao Sifang Co Ltd
Priority to CN201810495323.0A priority Critical patent/CN108894718B/en
Publication of CN108894718A publication Critical patent/CN108894718A/en
Application granted granted Critical
Publication of CN108894718B publication Critical patent/CN108894718B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E06DOORS, WINDOWS, SHUTTERS, OR ROLLER BLINDS IN GENERAL; LADDERS
    • E06BFIXED OR MOVABLE CLOSURES FOR OPENINGS IN BUILDINGS, VEHICLES, FENCES OR LIKE ENCLOSURES IN GENERAL, e.g. DOORS, WINDOWS, BLINDS, GATES
    • E06B9/00Screening or protective devices for wall or similar openings, with or without operating or securing mechanisms; Closures of similar construction
    • E06B9/56Operating, guiding or securing devices or arrangements for roll-type closures; Spring drums; Tape drums; Counterweighting arrangements therefor
    • E06B9/68Operating devices or mechanisms, e.g. with electric drive
    • EFIXED CONSTRUCTIONS
    • E06DOORS, WINDOWS, SHUTTERS, OR ROLLER BLINDS IN GENERAL; LADDERS
    • E06BFIXED OR MOVABLE CLOSURES FOR OPENINGS IN BUILDINGS, VEHICLES, FENCES OR LIKE ENCLOSURES IN GENERAL, e.g. DOORS, WINDOWS, BLINDS, GATES
    • E06B9/00Screening or protective devices for wall or similar openings, with or without operating or securing mechanisms; Closures of similar construction
    • E06B9/56Operating, guiding or securing devices or arrangements for roll-type closures; Spring drums; Tape drums; Counterweighting arrangements therefor
    • E06B9/68Operating devices or mechanisms, e.g. with electric drive
    • E06B2009/6809Control
    • E06B2009/6818Control using sensors
    • E06B2009/6827Control using sensors sensing light

Landscapes

  • Engineering & Computer Science (AREA)
  • Structural Engineering (AREA)
  • Architecture (AREA)
  • Civil Engineering (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention discloses a control method and device of a shade, a storage medium and an electronic device. Wherein, the method comprises the following steps: detecting outdoor first light intensity; under the condition that the first light intensity is detected to fall into the first light intensity range, controlling the shade to move, and detecting a second light intensity on a target object positioned indoors; and controlling the shade to stop moving when the detected second light intensity meets the target condition, wherein the shade is used for shading the light emitted into the room from the outside. The invention solves the technical problem of lower control efficiency when the shade is controlled in the related technology.

Description

Control method and device for shade, storage medium and electronic device
Technical Field
The present invention relates to the field of computers, and in particular, to a method and an apparatus for controlling a shade, a storage medium, and an electronic apparatus.
Background
Blinds (e.g., window blinds installed in a room, sun visors installed on vehicle windows, sun shades, etc.) installed in a window are used to block light emitted from the outside into the room, and users sometimes need to control the degree of light blocking, for example: as most of urban rail subway vehicles run in the tunnel and the ground, under the general condition, when the tunnel runs to an exit on the ground, a driver can adjust the sunshade curtain to a proper position due to strong illumination contrast, so that the driver can conveniently drive normally without dazzling. At present, the control mode of the sunshade is that a user operates a button or a rocker to adjust the shading range of the sunshade, but for a driver, the operation of the button or the rocker is very inconvenient.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a control method and device of a shade, a storage medium and an electronic device, which are used for at least solving the technical problem of low control efficiency when the shade is controlled in the related art.
According to an aspect of an embodiment of the present invention, there is provided a control method of a shade, including: detecting outdoor first light intensity; under the condition that the first light intensity is detected to fall into a first light intensity range, controlling the movement of a shade, and detecting a second light intensity on a target object positioned indoors; and controlling the shade to stop moving when the detected second light intensity meets a target condition, wherein the shade is used for shading the light emitted into the room from the outside.
Optionally, in a case where it is detected that the first light intensity falls within the first light intensity range, controlling the shade to move, and detecting the second light intensity on the target object located in the room includes: under the condition that the first light intensity is detected to fall into a first light intensity range in a plurality of light intensity ranges, the light shield is controlled to move towards a target moving direction corresponding to the first light intensity range in a plurality of moving directions, and the second light intensity on the target object is detected, wherein the light intensity ranges are in one-to-one correspondence with the moving directions.
Optionally, the controlling the shade to move to a target moving direction corresponding to the first light intensity range in a plurality of moving directions includes: acquiring the target moving direction corresponding to the first light intensity range according to the corresponding relation between the light intensity ranges and the moving directions; and controlling the shade to move towards the target moving direction.
Optionally, in a case where the detected second light intensity satisfies the target condition, controlling the shade to stop moving includes: acquiring the target condition corresponding to the target object identification of the target object from the object identification and the condition with the corresponding relation; and controlling the shade to stop moving if the detected second light intensity meets the target condition.
Optionally, the obtaining of the target condition corresponding to the target object identifier of the target object from the object identifiers and conditions having the corresponding relationship includes one of: acquiring a second light intensity range corresponding to the target object identification of the target object from the object identification and the light intensity range with the corresponding relation; determining that the second light intensity falls within the second light intensity range as the second light intensity satisfies the target condition; acquiring target light intensity corresponding to the target object identifier of the target object from the object identifier and the light intensity with the corresponding relation; and determining the second light intensity as the target light intensity as the second light intensity meets the target condition.
Optionally, after controlling the shade to stop moving, the method further comprises: acquiring a first control signal, wherein the first control signal is used for indicating to continue to move the shade; controlling the shade to move in response to the control signal, and detecting a second control signal, wherein the second control signal is used for indicating that the movement of the shade is stopped; controlling the shade to stop moving if the second control signal is detected; acquiring the current light intensity on the target object; and updating the corresponding relation between the target identification of the target object and the current light intensity into the corresponding relation comprising the object identification and the condition.
According to another aspect of the embodiments of the present invention, there is also provided a control device of a shade, including: the detection module is used for detecting the outdoor first light intensity; the first control module is used for controlling the movement of the shade and detecting second light intensity of a target object positioned indoors under the condition that the first light intensity is detected to fall into a first light intensity range; and the second control module is used for controlling the light shield to stop moving under the condition that the detected second light intensity meets a target condition, wherein the light shield is used for shielding light emitted into the room from the outside.
Optionally, the first control module comprises: the first control unit is used for controlling the light shield to move towards a target moving direction corresponding to the first light intensity range in a plurality of moving directions and detecting the second light intensity on the target object under the condition that the first light intensity is detected to fall into the first light intensity range in a plurality of light intensity ranges, and the plurality of light intensity ranges are in one-to-one correspondence with the plurality of moving directions.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium, characterized in that the storage medium stores therein a computer program, wherein the computer program is configured to execute the method described in any one of the above when executed.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory and a processor, wherein the memory stores therein a computer program, and the processor is configured to execute the method described in any one of the above through the computer program.
In the embodiment of the invention, the first light intensity outside the detection chamber is adopted; under the condition that the first light intensity is detected to fall into the first light intensity range, controlling the shade to move, and detecting a second light intensity on a target object positioned indoors; controlling the shade to stop moving when the detected second light intensity meets the target condition, wherein the shade is used for shading the light emitted from the outdoor to the indoor, the shade is controlled to move when the first light intensity is detected to fall into the first light intensity range, the second light intensity on the target object positioned in the indoor is detected while the shade is controlled to move, the shade is controlled to stop moving when the second light intensity meets the target condition, so that the shade is controlled to shade the target object according to the first light intensity outside, the shading range of the shade is controlled according to the second light intensity on the target object, the light shaded by the shade can meet the requirement of the target object, and the user's hands are released by automatically controlling the movement of the shade, thereby realizing the technical effect of improving the control efficiency when the shade is controlled, and then solved the lower technical problem of control efficiency when controlling the light-shade among the correlation technique.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of an alternative shade control method according to an embodiment of the present invention;
FIG. 2 is a schematic view of an alternative shade control arrangement according to an embodiment of the present invention;
FIG. 3 is a first schematic view of an alternative shade control apparatus according to an alternative embodiment of the present invention;
FIG. 4 is a second schematic view of an alternative shade control apparatus according to an alternative embodiment of the present invention; and
fig. 5 is a schematic diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of an embodiment of the present invention, there is provided a control method of a shade, as shown in fig. 1, the method including:
s102, detecting outdoor first light intensity;
s104, controlling the movement of the shade and detecting a second light intensity on the target object positioned indoors under the condition that the first light intensity is detected to fall into the first light intensity range;
and S106, controlling the light shield to stop moving when the detected second light intensity meets the target condition, wherein the light shield is used for shielding the light emitted into the room from the outside.
Alternatively, in the present embodiment, the above-mentioned control method of the shade may be applied, but not limited, to a scene in which the shade is controlled to move. The shade may be, but is not limited to, various types of objects for blocking light, such as a light blocking plate, a curtain, a sun shade, and the like. Specifically, the method can be applied to, but not limited to, a scene in which the light shielding plate moves, or can also be applied to, but not limited to, a scene in which the curtain moves, so as to improve the control efficiency when the shade is controlled. The above is only an example, and this is not limited in this embodiment.
Optionally, in this embodiment, the control method of the shade may be, but is not limited to, applied to the shade, or may also be, but is not limited to, applied to a control device of the shade or an application program for controlling the shade. Or the control method of the shade can be embedded into other application programs as a function.
Alternatively, in this embodiment, the first light intensity may be obtained by a first light sensor, and the second light intensity on the target object may be obtained by a second light sensor. The first light sensor and the second light sensor can be the same light sensor, and also can be respectively provided with two light sensors to respectively obtain the first light intensity and the second light intensity. In the present embodiment, the positions where the first light sensor and the second light sensor are disposed are not limited.
Optionally, in this embodiment, the first light intensity range may be a preset light intensity range, or may also be a light intensity range suitable for the target object and obtained through artificial intelligence calculation according to the usage habit of the target object, and when the detected first light intensity falls within the first light intensity range, it is determined that the target object needs to be shaded, and the movement of the shade is controlled.
Optionally, in this embodiment, the target object may include, but is not limited to, any thing that needs to be shielded from light, such as: humans, animals, plants, electronic devices, household devices, and the like.
In an alternative embodiment, taking the example of controlling a shade on a window of a cab of a vehicle to shade light for a driver, a first light sensor disposed outside the window acquires a first light intensity outside the window, a processor is disposed in a curtain mounted on the window, and the processor detects that the first light intensity acquired by the first light sensor falls within a first light intensity range, controls the curtain to move, detects a second light intensity on a target object located inside the window, and controls the curtain to stop moving when the detected second light intensity satisfies a target condition.
Therefore, through the steps, under the condition that the first light intensity is detected to fall into the first light intensity range, the movement of the shade is controlled, and detects a second light intensity on a target object located indoors while controlling the movement of the shade, controlling the shade to stop moving under the condition that the second light intensity meets the target condition, thereby controlling the shade to shade the target object according to the first light intensity outdoors, and simultaneously controlling the shading range of the shade according to the second light intensity on the target object, so that the light shaded by the shade can meet the requirement of the target object, meanwhile, the automatic control of the movement of the shade frees the hands of the user, thereby realizing the technical effect of improving the control efficiency when controlling the shade, and then solved the lower technical problem of control efficiency when controlling the light-shade among the correlation technique.
Optionally, the first light intensity range may be one of a plurality of light intensity ranges, and the plurality of light intensity ranges correspond to a plurality of moving directions, that is, the range in which the light is blocked by the light shield is larger when the light is stronger, and the range in which the light is blocked by the light shield is smaller when the light is weaker. For example: in the step S104, when it is detected that the first light intensity falls within a first light intensity range of the plurality of light intensity ranges, the light blocking object is controlled to move towards a target moving direction corresponding to the first light intensity range among the plurality of moving directions, and a second light intensity on the target object is detected, wherein the plurality of light intensity ranges correspond to the plurality of moving directions one to one.
Alternatively, the shade movement may be controlled in the following manner: acquiring a target moving direction corresponding to a first light intensity range according to the corresponding relation between the light intensity ranges and the moving directions; and controlling the shade to move towards the target moving direction.
Optionally, the light condition corresponding to each target object is stored by the object identifier and the condition having the corresponding relationship, and the light intensity suitable for the target object is adjusted. For example: in the above step S106, the target condition corresponding to the target object id of the target object is obtained from the object ids and the conditions having the corresponding relationship, and the movement of the shade is controlled to stop when the detected second light intensity satisfies the target condition.
Optionally, the manner of obtaining the target condition includes one of:
the method comprises the steps that a first light intensity range corresponding to a target object identifier of a target object is obtained from an object identifier and a light intensity range which have a corresponding relation; and determining that the second light intensity falls within a second light intensity range as the second light intensity meets the target condition. The target condition to be satisfied by the second light intensity may be a range of light intensities.
Obtaining target light intensity corresponding to the target object identifier of the target object from the object identifier and the light intensity with the corresponding relation; and determining the second light intensity as the target light intensity as the second light intensity meets the target condition. The target condition to be satisfied by the second light intensity may be a value of the light intensity.
Alternatively, the user may control the shade by a button or a joystick to move the shade to a desired position, the processor may record the corresponding relationship between the position and the target object, and the shade may be controlled according to the position when the shade is moved for the target object next time. For example: after the step S104, acquiring a first control signal, where the first control signal is used to instruct to continue moving the shade; responding to the control signal to control the movement of the shade, and detecting a second control signal, wherein the second control signal is used for indicating that the movement of the shade is stopped; under the condition that the second control signal is detected, controlling the shade to stop moving; acquiring the current light intensity on a target object; and updating the corresponding relation between the target identification of the target object and the current light intensity into the corresponding relation comprising the object identification and the condition.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
According to another aspect of the embodiments of the present invention, there is also provided a control apparatus for a shade for implementing the above control method for a shade, as shown in fig. 2, the apparatus including:
1) the detection module 22 detects the outdoor first light intensity;
2) a first control module 24, configured to control the movement of the shade and detect a second light intensity on a target object located indoors, in a case where the first light intensity is detected to fall within the first light intensity range;
3) and a second control module 26, configured to control a shade to stop moving if the detected second light intensity satisfies a target condition, where the shade is used for blocking light entering the room from the outside.
Alternatively, in the present embodiment, the control device of the shade can be applied to, but not limited to, a scene for controlling the movement of the shade. The shade may be, but is not limited to, various types of objects for blocking light, such as a light blocking plate, a curtain, a sun shade, and the like. Specifically, the method can be applied to, but not limited to, a scene in which the light shielding plate moves, or can also be applied to, but not limited to, a scene in which the curtain moves, so as to improve the control efficiency when the shade is controlled. The above is only an example, and this is not limited in this embodiment.
Optionally, in this embodiment, the control device of the shade may be, but is not limited to, applied to the shade, or may also be, but is not limited to, applied to the control device of the shade or an application program for controlling the shade. Or the control device of the shade may be embedded as a function in other applications.
Alternatively, in this embodiment, the first light intensity may be obtained by a first light sensor, and the second light intensity on the target object may be obtained by a second light sensor. The first light sensor and the second light sensor can be the same light sensor, and also can be respectively provided with two light sensors to respectively obtain the first light intensity and the second light intensity. In the present embodiment, the positions where the first light sensor and the second light sensor are disposed are not limited.
Optionally, in this embodiment, the first light intensity range may be a preset light intensity range, or may also be a light intensity range suitable for the target object and obtained through artificial intelligence calculation according to the usage habit of the target object, and when the detected first light intensity falls within the first light intensity range, it is determined that the target object needs to be shaded, and the movement of the shade is controlled.
Optionally, in this embodiment, the target object may include, but is not limited to, any thing that needs to be shielded from light, such as: humans, animals, plants, electronic devices, household devices, and the like.
In an alternative embodiment, taking the example of controlling a shade on a window of a cab of a vehicle to shade light for a driver, a first light sensor disposed outside the window acquires a first light intensity outside the window, a processor is disposed in a curtain mounted on the window, and the processor detects that the first light intensity acquired by the first light sensor falls within a first light intensity range, controls the curtain to move, detects a second light intensity on a target object located inside the window, and controls the curtain to stop moving when the detected second light intensity satisfies a target condition.
Therefore, by the device, under the condition that the first light intensity is detected to fall into the first light intensity range, the movement of the shade is controlled, and detects a second light intensity on a target object located indoors while controlling the movement of the shade, controlling the shade to stop moving under the condition that the second light intensity meets the target condition, thereby controlling the shade to shade the target object according to the first light intensity outdoors, and simultaneously controlling the shading range of the shade according to the second light intensity on the target object, so that the light shaded by the shade can meet the requirement of the target object, meanwhile, the automatic control of the movement of the shade frees the hands of the user, thereby realizing the technical effect of improving the control efficiency when controlling the shade, and then solved the lower technical problem of control efficiency when controlling the light-shade among the correlation technique.
Optionally, the first control module comprises: the first control unit is used for controlling the light shield to move towards a target moving direction corresponding to the first light intensity range in the plurality of moving directions and detecting second light intensity on a target object under the condition that the first light intensity is detected to fall into the first light intensity range in the plurality of light intensity ranges, and the plurality of light intensity ranges are in one-to-one correspondence with the plurality of moving directions.
Optionally, the first control unit comprises: the acquisition subunit is used for acquiring a target moving direction corresponding to the first light intensity range according to the corresponding relation between the plurality of light intensity ranges and the plurality of moving directions; and the control subunit is used for controlling the shade to move towards the target moving direction.
Optionally, the second control module comprises: an obtaining unit, configured to obtain a target condition corresponding to a target object identifier of a target object from the object identifiers and the conditions having the corresponding relationship; and the second control unit is used for controlling the light shield to stop moving under the condition that the detected second light intensity meets the target condition.
Optionally, the obtaining unit comprises one of: the first processing subunit is used for acquiring a second light intensity range corresponding to the target object identifier of the target object from the object identifier and the light intensity range which have the corresponding relation; determining that the second light intensity falls within a second light intensity range as the second light intensity meets the target condition; the second processing subunit is used for acquiring target light intensity corresponding to the target object identifier of the target object from the object identifier and the light intensity which have the corresponding relation; and determining the second light intensity as the target light intensity as the second light intensity meets the target condition.
Optionally, after controlling the shade to stop moving, the apparatus further comprises: the first acquisition module is used for acquiring a first control signal, wherein the first control signal is used for indicating that the shade is continuously moved; the processing module is used for responding to the control signal to control the movement of the shade and detecting a second control signal, wherein the second control signal is used for indicating that the movement of the shade is stopped; the third control module is used for controlling the light shield to stop moving under the condition that the second control signal is detected; the second acquisition module is used for acquiring the current light intensity on the target object; and the updating module is used for updating the corresponding relation between the target identification of the target object and the current light intensity into the corresponding relation comprising the object identification and the condition.
In an alternative embodiment, as shown in fig. 3, a sun-shading curtain control device is installed on the upper edge of a front window of a train cab, the sun-shading curtain control device is connected with a sun-shading curtain and a slide rail rod, a face light sensor and a light sensor are installed on the right side of the front window, and a control console is arranged below the front window. The console is provided with an ID identification device.
Facial light sensor device: has the function of identifying the face; and a light measuring function for detecting the light intensity of the upper and lower areas of the face eyes. One can be arranged on the left and the right respectively so as to carry out redundancy processing, and when one fails, the other can work normally without influencing the control of the other. The light ray sensor device: for detecting the intensity of light outside the direction of travel of the vehicle. One may be provided on each of the left and right sides for redundancy handling, and when one fails, the other may operate without affecting its control.
An ID identification device: the driver identification method is used for setting personal information of the driver. Sunshade screen controlling means: the self-learning type sun-shading curtain is used for controlling the lifting of the sun-shading curtain, is internally provided with a chip, has self-learning capability, and can record personal information and operation habits of different drivers. The sunshade screen can move up and down on the slide rod along with the slide.
In this alternative embodiment, since urban rail vehicles are operated in tunnels and on the ground, the change in external light is more intense when the vehicles exit from the tunnel or enter the tunnel from the ground, and the light is more pronounced especially in the case of strong outdoor light. Or the vehicle runs outdoors, if the outdoor light is strong, the strong light and the light change can influence the driving of the driver. Aiming at the situation, simultaneously, in order to conveniently control the sunshade, a sunshade control device is additionally arranged in front of the front window glass, a vehicle detects the light intensity by monitoring a light sensor externally in running, the sunshade control device is controlled to start and lift up and down in advance, when the situation that the vehicle goes out of a tunnel is detected, the light intensity is increased, the sunshade descends, when the situation that the vehicle goes into the tunnel is detected, the light intensity is weakened, the sunshade ascends, at the moment, the face sensor device can distinguish the face of the human body and detect the light intensity of the eye region of a driver in multiple points, the normal soft light irradiates the eye region with 150lux as a reference (the value can meet different requirements of different people), as shown in figure 4, because the external light intensity is increased when the vehicle goes out of the tunnel, the light intensity irradiates from the upper part of the eyes, the face sensor can detect that the light of the upper part of the eyes is strengthened, the sunshade curtain is controlled to descend at the moment, and a driver can have comfortable driving experience in a normal visual field range.
In the optional embodiment, because each driver is different in height, sitting habit and light sensitivity, and the actual adjustment range requirements are different, the device also has a self-learning function, when any driver drives, when the normal function of the sunshade screen is adjusted in place, if the driver feels not to adapt, the position of the sunshade screen can be pulled down or raised up by hand, at the moment, the device records the use habit of the driver under the illumination condition, so that the habit of the driver in the morning to the evening or in different seasons can be recorded, and when the device is used later, certain compensation can be carried out on the basis of normal setting when different drivers drive vehicles according to the light intensity and time relation, so that the best experience effect of each driver is achieved. The habit is recorded in the chip of the sun-shading curtain control device, and different drivers can be correspondingly controlled by placing ID cards on the ID identification device.
The application environment of the embodiment of the present invention may refer to the application environment in the above embodiments, but is not described herein again. The embodiment of the invention provides an optional specific application example of the connection method for implementing the real-time communication.
As an alternative embodiment, the above-mentioned control method of the shade can be applied, but not limited, to a scene of controlling a curtain installed on a window of a train. Because most of urban rail subway vehicles run in tunnels and on the ground, drivers can adjust curtains to proper positions when the tunnels run to exits on the ground under general conditions due to strong illumination contrast, so that the drivers can normally drive without dazzling, and some subway companies also forcibly require the drivers to adjust the curtains.
In the scene, the device comprises a light sensor which is arranged above the front window glass of a cab and used for conducting external testing, a face light sensation sensor which is internally used for conducting light sensation contrast testing on the face of a driver, an intelligent controller, a manual switch and a curtain body, wherein the driver is arranged on a control console.
When the vehicle runs, no matter the vehicle enters the tunnel or leaves the tunnel, the external sensor can obviously judge the light contrast intensity in front, if the vehicle leaves the tunnel, the sensor judges that the light intensity is stronger, at the moment, the intelligent controller can control the curtain to descend to cover the external strong light for the eyes of the driver, but different drivers have different heights when sitting on the seat, one of the positions for testing the descending of the curtain is different in requirements, and the other one is required to determine how much the curtain descends to just meet the requirements of the driver.
The sensor is based on automatic detection and interpretation after sunlight still hits the face of a driver after the curtain is lifted up and down, and the height of the sun-shading curtain can be accurately controlled.
Optionally, in this embodiment, a switch for manually controlling the curtain to ascend and descend is provided on the console, and the curtain to ascend and descend can also be provided through the switch.
Optionally, in this embodiment, the intelligent control device further has the following functions:
firstly, because the height of each driver, the height of the seat and the adaptability of the light intensity are different, the adjusting height of the curtain has deviation, so that the intelligent device has the functions of driver identification, WiFi data automatic synchronization, auxiliary action memory and self-learning.
Secondly, based on the functions, the intelligent control device can store the light intensity adaptation habit of each driver when driving, if one driver can accept the algorithm when the face light sensation sensor monitors and gives the curtain control, but the driver feels that the light is strong, the driver can continue to manually lower the curtain a little, if the operation exceeds three times, the intelligent control device can record the use habit of the driver and calculate the manually adjusted position, the intelligent control device can automatically give downward compensation in the subsequent descending control, and if the light is weak, the intelligent control device can give upward compensation otherwise.
In addition, because each subway company has a plurality of trains, the drivers' cabs at two ends of each train are provided with the function, and the data of each train cannot be updated manually, the WiFi data automatic synchronization function is provided, the data of each train can be updated automatically and synchronously through a wireless network in a workshop after the train returns to a warehouse, and the stored operation habits are consistent no matter a driver drives any train.
According to still another aspect of an embodiment of the present invention, there is also provided an electronic device for implementing the control of the shade described above, as shown in fig. 5, the electronic device including: one or more processors 502 (only one of which is shown in the figure), in which a computer program is stored, a memory 504, in which a sensor 506, an encoder 508 and a transmission device 510 are arranged, by means of which the steps of any of the above-described method embodiments are performed.
Optionally, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, detecting the outdoor first light intensity;
s2, controlling the shade to move and detecting a second light intensity on the target object located indoors in case that the first light intensity is detected to fall within the first light intensity range;
and S3, controlling the shade to stop moving when the detected second light intensity satisfies the target condition, wherein the shade is used for blocking the light emitted from the outdoor to the indoor.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 5 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 5 is a diagram illustrating a structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 5, or have a different configuration than shown in FIG. 5.
The memory 502 may be used to store software programs and modules, such as program instructions/modules corresponding to the control method and apparatus for a shade in the embodiment of the present invention, and the processor 504 executes various functional applications and data processing by running the software programs and modules stored in the memory 502, that is, the control method for the target component described above is implemented. The memory 502 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 502 may further include memory located remotely from the processor 504, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 510 is used for receiving or transmitting data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 510 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmission device 510 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In particular, the memory 502 is used for storing application programs.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, detecting the outdoor first light intensity;
s2, controlling the shade to move and detecting a second light intensity on the target object located indoors in case that the first light intensity is detected to fall within the first light intensity range;
and S3, controlling the shade to stop moving when the detected second light intensity satisfies the target condition, wherein the shade is used for blocking the light emitted from the outdoor to the indoor.
Optionally, the storage medium is further configured to store a computer program for executing the steps included in the method in the foregoing embodiment, which is not described in detail in this embodiment.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (7)

1. A method of controlling a shade, comprising:
detecting outdoor first light intensity;
under the condition that the first light intensity is detected to fall into a first light intensity range, controlling the movement of a shade, and detecting a second light intensity on a target object positioned indoors;
controlling the shade to stop moving when the detected second light intensity meets a target condition, wherein the shade is used for shading light emitted into the room from the outside;
controlling the shutter to move in a case where it is detected that the first light intensity falls within the first light intensity range, and detecting the second light intensity on the target object located inside the room includes: under the condition that the first light intensity is detected to fall into a first light intensity range in a plurality of light intensity ranges, controlling the light shield to move towards a target moving direction corresponding to the first light intensity range in a plurality of moving directions, and detecting second light intensity on the target object, wherein the plurality of light intensity ranges are in one-to-one correspondence with the plurality of moving directions;
controlling the shade to move to a target movement direction corresponding to the first light intensity range in a plurality of movement directions includes: acquiring the target moving direction corresponding to the first light intensity range according to the corresponding relation between the light intensity ranges and the moving directions; and controlling the shade to move towards the target moving direction.
2. The method of claim 1, wherein controlling the shade to stop moving if the detected second light intensity satisfies the target condition comprises:
acquiring the target condition corresponding to the target object identification of the target object from the object identification and the condition with the corresponding relation;
and controlling the shade to stop moving if the detected second light intensity meets the target condition.
3. The method according to claim 2, wherein obtaining the target condition corresponding to the target object identifier of the target object from the object identifiers and conditions having the corresponding relationship comprises one of:
acquiring a second light intensity range corresponding to the target object identification of the target object from the object identification and the light intensity range with the corresponding relation; determining that the second light intensity falls within the second light intensity range as the second light intensity satisfies the target condition;
acquiring target light intensity corresponding to the target object identifier of the target object from the object identifier and the light intensity with the corresponding relation; and determining the second light intensity as the target light intensity as the second light intensity meets the target condition.
4. The method according to any one of claims 1 to 3, wherein after controlling the shade to stop moving, the method further comprises:
acquiring a first control signal, wherein the first control signal is used for indicating to continue to move the shade;
controlling the shade to move in response to the control signal, and detecting a second control signal, wherein the second control signal is used for indicating that the movement of the shade is stopped;
controlling the shade to stop moving if the second control signal is detected;
acquiring the current light intensity on the target object;
and updating the corresponding relation between the target identification of the target object and the current light intensity into the corresponding relation comprising the object identification and the condition.
5. A shade control apparatus, comprising:
the detection module is used for detecting the outdoor first light intensity;
the first control module is used for controlling the movement of the shade and detecting second light intensity of a target object positioned indoors under the condition that the first light intensity is detected to fall into a first light intensity range;
the second control module is used for controlling the light shield to stop moving under the condition that the detected second light intensity meets a target condition, wherein the light shield is used for shielding light emitted into the room from the outside;
the first control module includes: a first control unit configured to, in a case where it is detected that the first light intensity falls within a first light intensity range among a plurality of light intensity ranges, control the shade to move to a target moving direction corresponding to the first light intensity range among a plurality of moving directions, and detect the second light intensity on the target object, wherein the plurality of light intensity ranges correspond to the plurality of moving directions one to one;
the first control unit includes: the acquisition subunit is used for acquiring a target moving direction corresponding to the first light intensity range according to the corresponding relation between the plurality of light intensity ranges and the plurality of moving directions; and the control subunit is used for controlling the shade to move towards the target moving direction.
6. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 4 when executed.
7. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 4 by means of the computer program.
CN201810495323.0A 2018-05-22 2018-05-22 Control method and device for shade, storage medium and electronic device Active CN108894718B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810495323.0A CN108894718B (en) 2018-05-22 2018-05-22 Control method and device for shade, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810495323.0A CN108894718B (en) 2018-05-22 2018-05-22 Control method and device for shade, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN108894718A CN108894718A (en) 2018-11-27
CN108894718B true CN108894718B (en) 2021-01-19

Family

ID=64343150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810495323.0A Active CN108894718B (en) 2018-05-22 2018-05-22 Control method and device for shade, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN108894718B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110045619A (en) * 2019-03-08 2019-07-23 佛山市云米电器科技有限公司 Curtain intelligent control method and intelligence control system based on self study technology

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3002333B1 (en) * 2013-02-15 2015-03-13 Somfy Sas METHOD FOR OPERATING A DEVICE FOR CONTROLLING A BUILDING INSTALLATION USING AN ADJUSTMENT STEP OF A CLOCK USED TO PILOT A BUILDING EQUIPMENT
US9644424B2 (en) * 2015-10-12 2017-05-09 Crestron Electronics, Inc. Touch hem bar control
CN105332634A (en) * 2015-11-13 2016-02-17 桑洪 Energy-saving system used for window and capable of regulating indoor environment
CN107013155B (en) * 2017-05-23 2018-10-23 横琴畅享科技有限公司 Curtain automatic rolls up system

Also Published As

Publication number Publication date
CN108894718A (en) 2018-11-27

Similar Documents

Publication Publication Date Title
US11832365B2 (en) Load control system having a visible light sensor
US11435704B2 (en) Visible light sensor configured for glare detection and controlling motorized window treatments
US20240167334A1 (en) Visible light sensor configured for glare detection and controlling motorized window treatments
CN106661918B (en) Respond multiple sensor control motorized window articles
EP3195069B1 (en) Motorized window treatment monitoring and control
CN111674246B (en) Vehicle window adjusting method and device, electronic equipment and readable storage medium
EP2423893B1 (en) Self-propelled device
CN108388838B (en) Unmanned aerial vehicle ground crowd monitoring system and monitoring method
EP3526963A1 (en) Object monitoring apparatus with infrared image capture and infrared pulse illumination
EP2783550A1 (en) Configuration of operating devices for lighting means
KR101624510B1 (en) Multi-function monitoring and tracking system for crime and fire
EP2596408B1 (en) System and method for processing visual, auditory, olfactory, and/or haptic information
CN108894718B (en) Control method and device for shade, storage medium and electronic device
CN106704238A (en) Fan control method and device, and fan
CN115777038A (en) Sensor for detecting glare conditions
DE102014216053A1 (en) Adjustment of the illumination wavelength during eye detection
CN116112805A (en) Method and device for adjusting brightness of light supplementing lamp, electronic device and storage medium
KR102242141B1 (en) Lighting control system with function of Discomfort glare elimination and method thereof
DE202014006021U1 (en) Smart staircase
KR20150135098A (en) Apparatus and method for providing blue light blocking filter
CN110687807A (en) Control method, device, equipment and medium of intelligent curtain
JP7413632B2 (en) Dimming control mechanism
CN202338188U (en) Sucking disc type light sensor with timing function
CN216291530U (en) Building wisdom lighting system
DE102021132261A1 (en) Arrangement for contactless operation of an electrical device, optically detectable tag, optical detection device and processing device for use in such an arrangement

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant