CN105425597B - Method, device and system for controlling intelligent lamp - Google Patents

Method, device and system for controlling intelligent lamp Download PDF

Info

Publication number
CN105425597B
CN105425597B CN201510732204.9A CN201510732204A CN105425597B CN 105425597 B CN105425597 B CN 105425597B CN 201510732204 A CN201510732204 A CN 201510732204A CN 105425597 B CN105425597 B CN 105425597B
Authority
CN
China
Prior art keywords
light
control
emitting device
touch sensing
sensing area
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
CN201510732204.9A
Other languages
Chinese (zh)
Other versions
CN105425597A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510732204.9A priority Critical patent/CN105425597B/en
Publication of CN105425597A publication Critical patent/CN105425597A/en
Application granted granted Critical
Publication of CN105425597B publication Critical patent/CN105425597B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The present disclosure relates to methods, devices and systems for controlling smart lights. For a first light emitting device, the method comprising: detecting a first control operation; in response to detecting the first control operation, requesting the server to control the operation of the associated second light emitting device according to the first control operation. Among this technical scheme, through input control operation on first light emitting equipment, just can control one or more second light emitting equipment work to can realize a plurality of light emitting equipment's linkage, especially to the light scene that a plurality of light emitting equipment constitute, can control convenient more, swift.

Description

Method, device and system for controlling intelligent lamp
Technical Field
The disclosure relates to the technical field of smart homes, in particular to a method, a device and a system for controlling a smart lamp.
Background
The intelligent lamp is different from a traditional lamp, is an intelligent device, and generally has a handheld intelligent lamp control device besides an intelligent lamp body. The intelligent lamp control equipment has the computing capability and the network connection capability, and the functions can be continuously expanded through application programs. The core function of intelligent lamp is control, light effect, creation, share, light and music interdynamic, light promote health and happiness.
The intelligent lamp breaks through the limitation of traditional lighting, so that the common lamp becomes more intelligent, and in the core function of the intelligent lamp, the control of turning on and turning off the lamp can be realized through the controller, and the control of turning on and turning off the lamp at fixed time can also be carried out. The user can set different times to turn the light on and off. And secondly, the control of light, the brightness of the light, the temperature and the humidity of the light and the color of the light can be continuously controlled manually or automatically. However, in terms of improving user experience, the smart lamp still needs to be further improved.
Disclosure of Invention
The embodiment of the disclosure provides a method, a device and a system for controlling an intelligent lamp. The technical scheme is as follows:
in a first aspect, a method for controlling a smart lamp is provided, which is applied to a first lighting device, and includes:
detecting a first control operation;
in response to detecting the first control operation, requesting the server to control the operation of the associated second light emitting device according to the first control operation.
In the method of the embodiment of the present disclosure, the first light-emitting device requests the server to control the operation of the associated second light-emitting device according to the first control operation by detecting the first control operation and responding to the detection of the first control operation. Therefore, a user can control one or more associated second light-emitting devices to work by inputting control operation on the first light-emitting device, so that linkage of a plurality of light-emitting devices can be realized, and particularly, a light scene formed by the plurality of light-emitting devices can be controlled more conveniently and quickly.
In one embodiment, the requesting, in response to detecting the first control operation, the server to control the operation of the associated second light emitting device according to the first control operation may include:
generating a control instruction according to the first control operation;
and sending the control instruction to the server, wherein the control instruction instructs the server to control the second light-emitting device to operate according to the control instruction.
In this embodiment, a control instruction is generated according to the first control operation, and the control instruction is sent to the server, where the control instruction instructs the server to control the second light-emitting device to operate according to the control instruction. Because the control instruction is generated according to the control operation, the target device directly works according to the control instruction, and therefore the target device can simply and conveniently work.
In one embodiment, the detecting the first control operation may include:
detecting a first gesture operation for a first touch sensing area in the touch sensing part;
in response to detecting the first gesture operation, determining that the first control operation is detected.
In this embodiment, the first control operation is a first gesture operation for a first touch sensing area in the touch sensing component, and since a plurality of gesture operations can be preset, the gesture operations can be combined for use to generate a new control instruction, so that the generated control instruction is more diversified.
In one embodiment, the method may further comprise:
detecting a second gesture operation directed to a second touch sensitive area within the touch sensitive member;
and responding to the detection of the second gesture operation, and operating according to the second gesture operation.
In this embodiment, a second gesture operation directed to a second touch sensitive area in the touch sensitive member is detected, and in response to the detection of the second gesture operation, the operation is performed according to the second gesture operation. Since the touch sensing part is divided into two regions, different regions may control different second light emitting devices, respectively. Particularly when the number of the second light emitting devices is large, the second light emitting devices can be controlled more specifically.
In one embodiment, the method may further comprise:
acquiring the position of a second light-emitting device;
and determining the first touch sensing area and the second touch sensing area according to the position of the second light-emitting device.
In this embodiment, in order to more conveniently control the second light emitting device, the first touch sensing area and the second touch sensing area may be determined by the position of the second light emitting device.
In one embodiment, the method may further comprise:
inquiring the light effect of a second light-emitting device in a prestored light effect configuration library;
and determining the first touch induction area and the second touch induction area according to the light effect of the second light-emitting device.
In this embodiment, since there may be a plurality of second light-emitting devices, in order to control the second light-emitting devices more conveniently, the first touch sensing area and the second touch sensing area are further determined according to the light effect of the second light-emitting devices.
In one embodiment, the first touch sensing area and the second touch sensing area are circular rings, and the outer edge of the first touch sensing area is adjacent to the inner edge of the second touch sensing area.
In a second aspect, a method of controlling a smart lamp is provided, comprising:
receiving a control request sent by a first light-emitting device;
determining a second light emitting device according to the control request;
and responding to the control request, and controlling the second light-emitting device to work.
In the method of the embodiment of the present disclosure, the server receives the control request sent by the first light-emitting device, determines the second light-emitting device according to the control request, and controls the second light-emitting device to operate in response to the control request. Therefore, the user can control one or more second light-emitting devices to work by inputting control operation on the first light-emitting device, so that the linkage of a plurality of light-emitting devices can be realized, and particularly, the light scene formed by the plurality of light-emitting devices can be controlled more conveniently and quickly.
In a third aspect, a system for controlling a smart light is provided, comprising: a first light emitting device, a second light emitting device, and a server;
the first light-emitting device is used for detecting a first control operation; in response to detecting the first control operation, requesting a server to control the operation of the associated second light-emitting device according to the first control operation;
the server is used for receiving a control request sent by the first light-emitting device; determining a second light emitting device according to the control request; responding to the control request, and controlling the second light-emitting device to work;
the second light-emitting device is used for receiving the control request; and working according to the control request.
In the system according to the embodiment of the present disclosure, the first light-emitting device sends the detected first control operation to the server, the server determines the second light-emitting device and sends the control request to the second light-emitting device, and the second light-emitting device operates according to the control request. Therefore, the linkage of a plurality of light-emitting devices can be realized, and particularly, the light scene formed by the plurality of light-emitting devices can be controlled more conveniently and quickly.
In a fourth aspect, an apparatus for controlling a smart lamp is provided, which is applied to a first light emitting device, and includes:
the first detection module is used for detecting a first control operation;
and the first response module is used for responding to the first control operation detected by the first detection module and requesting the server to control the operation of the associated second light-emitting device according to the first control operation.
The above apparatus of the embodiment of the present disclosure detects the first control operation through the first detection module 101, and the first response module 102 requests the server to control the operation of the associated second light emitting device according to the first control operation in response to detecting the first control operation. Therefore, the user can control one or more second light-emitting devices to work by inputting control operation on one light-emitting device, so that the linkage of a plurality of light-emitting devices can be realized, and particularly, the light scene formed by the plurality of light-emitting devices can be controlled more conveniently and quickly.
In one embodiment, the first response module may include:
the instruction generation submodule is used for generating a control instruction according to the first control operation;
and the sending submodule is used for sending the control instruction generated by the instruction generating submodule to the server, and the control instruction instructs the server to control the second light-emitting device to operate according to the control instruction.
In this embodiment, the instruction generating submodule generates a control instruction, the sending submodule sends the control instruction to the server, and the control instruction instructs the server to control the second light-emitting device to operate according to the control instruction. Because the control instruction is generated according to the control operation, the target device directly works according to the control instruction, and therefore the target device can simply and conveniently work.
In one embodiment, the first detection module may include:
the detection submodule is used for detecting a first gesture operation aiming at a first touch sensing area in the touch sensing component;
a determination submodule for determining that the first control operation is detected in response to the first gesture operation detected by the detection submodule.
In this embodiment, the first control operation is a first gesture operation for a first touch sensing area in the touch sensing component, and since a plurality of gesture operations can be preset, the gesture operations can be combined for use to generate a new control instruction, so that the generated control instruction is more diversified.
In one embodiment, the apparatus may further comprise:
the second detection module is used for detecting second gesture operation aiming at a second touch sensing area in the touch sensing component;
and the second response module is used for responding to the second gesture operation detected by the second detection module and operating according to the second gesture operation.
In this embodiment, a second gesture operation directed to a second touch sensitive area in the touch sensitive member is detected, and in response to the detection of the second gesture operation, the operation is performed according to the second gesture operation. Since the touch sensing part is divided into two regions, different regions may control different second light emitting devices, respectively. Particularly when the number of the second light emitting devices is large, the second light emitting devices can be controlled more specifically.
In one embodiment, the apparatus may further comprise:
the acquisition module is used for acquiring the position of the second light-emitting device;
and the first determining module is used for determining the first touch sensing area and the second touch sensing area according to the position of the second light-emitting device acquired by the acquiring module.
In this embodiment, in order to more conveniently control the second light emitting device, the first touch sensing area and the second touch sensing area may be determined by the position of the second light emitting device.
In one embodiment, the apparatus may further comprise:
the query module is used for querying the light effect of the second light-emitting device in the prestored light effect configuration library;
and the second determining module is used for determining the first touch sensing area and the second touch sensing area according to the light effect of the second light-emitting device inquired by the inquiring module.
In this embodiment, since there may be a plurality of second light-emitting devices, in order to control the second light-emitting devices more conveniently, the first touch sensing area and the second touch sensing area may be determined according to the light effect of the second light-emitting devices.
In one embodiment, the first touch sensing area and the second touch sensing area are circular rings, and the outer edge of the first touch sensing area is adjacent to the inner edge of the second touch sensing area.
In a fifth aspect, there is provided an apparatus for controlling a smart lamp, comprising:
the receiving module is used for receiving a control request sent by the first light-emitting device;
a determining module, configured to determine a second light emitting device according to the control request received by the receiving module;
and the control module is used for responding to the control request received by the receiving module and controlling the second light-emitting device to work.
According to the above apparatus of the embodiment of the disclosure, the server receives the control request sent by the first light-emitting device, determines the second light-emitting device according to the control request, and responds to the control request to control the second light-emitting device to operate. Therefore, the user can control one or more second light-emitting devices to work by inputting control operation on the first light-emitting device, so that the linkage of a plurality of light-emitting devices can be realized, and particularly, the light scene formed by the plurality of light-emitting devices can be controlled more conveniently and quickly.
The embodiment of the present disclosure also provides a device for controlling an intelligent lamp, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting a first control operation;
in response to detecting the first control operation, requesting the server to control the operation of the associated second light emitting device according to the first control operation.
The embodiment of the present disclosure also provides a device for controlling an intelligent lamp, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a control request sent by a first light-emitting device;
determining a second light emitting device according to the control request;
and responding to the control request, and controlling the second light-emitting device to work.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a method of controlling a smart lamp according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a step S102 in a method of controlling a smart lamp according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a step S101 in a method of controlling a smart lamp according to an exemplary embodiment.
Fig. 4 is a flow chart illustrating another method of controlling a smart lamp in accordance with an exemplary embodiment.
Fig. 5 is a flow chart illustrating another method of controlling a smart lamp in accordance with an exemplary embodiment.
Fig. 6 is a flow chart illustrating another method of controlling a smart lamp in accordance with an exemplary embodiment.
Fig. 7 is a flow chart illustrating a method of controlling a smart lamp according to an exemplary embodiment.
Fig. 8 is a flow chart illustrating another method of controlling a smart lamp in accordance with an exemplary embodiment.
Fig. 9 is a flowchart illustrating a method of controlling a smart lamp according to an exemplary embodiment.
Fig. 10 is a block diagram illustrating an apparatus for controlling a smart lamp according to an exemplary embodiment.
Fig. 11 is a block diagram illustrating a first response module 102 in an apparatus for controlling a smart lamp according to an exemplary embodiment.
Fig. 12 is a block diagram illustrating a first detection module 101 in an apparatus for controlling a smart lamp according to an exemplary embodiment.
Fig. 13 is a block diagram illustrating another apparatus for controlling a smart lamp according to an exemplary embodiment.
Fig. 14 is a block diagram illustrating another apparatus for controlling a smart lamp according to an exemplary embodiment.
Fig. 15 is a block diagram illustrating another apparatus for controlling a smart lamp according to an exemplary embodiment.
Fig. 16 is a block diagram illustrating another apparatus for controlling a smart lamp according to an exemplary embodiment.
Fig. 17 is a block diagram illustrating an apparatus suitable for controlling smart lights according to an exemplary embodiment.
Fig. 18 is a block diagram illustrating another apparatus suitable for controlling smart lights in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The technical scheme provided by the embodiment of the disclosure relates to three parties: a first light emitting device, a server, and a second light emitting device. The first light-emitting device detects a first control operation, and sends a control request corresponding to the first control operation to the server after detecting the first control operation, the server determines a second light-emitting device according to the control request, and forwards the control request to the second light-emitting device, and the second light-emitting device works according to the control request. In the process, the second light-emitting devices can be one or more, and the user can control one or more second light-emitting devices to work through input control operation of the first light-emitting device, so that linkage of the plurality of light-emitting devices can be realized, and particularly, the light scene formed by the plurality of light-emitting devices can be controlled more conveniently and quickly.
Referring to fig. 1, a flowchart of a method of controlling a smart lamp applied to a first light emitting device according to an exemplary embodiment is shown. As shown in fig. 1, the method of controlling the smart lamp may include the following steps S101 to S102:
in step S101, a first control operation is detected.
The first control operation may be a preset gesture operation, or may be a click operation on a preset hard key. The above method can be used in any lighting device, for example, a smart lamp having a physical key, such as an on-off key; the intelligent lamp can also be provided with a touch sensing component for receiving gesture operation of a user.
The first control operation may also be a gesture operation performed on a touch sensing component at the top of the first light emitting device, and the gesture operation is used to adjust the brightness of the smart lamp. Such as a slide gesture where the gesture operation includes sliding along an edge of the touch sensitive member.
The first control operation may also be a combined gesture performed at the first light emitting device, the combined gesture being at least two gestures performed simultaneously, the combined gesture being used to adjust the color of the smart lamp. The combined gesture comprises a sliding gesture instruction sliding along the edge of the touch sensing part and a continuous clicking operation instruction aiming at the scene mode button.
The first control operation may also be a click operation for a profile button, the click operation for the profile button being used to control the profile of the smart lamp.
In step S102, in response to detecting the first control operation, the server is requested to control the operation of the associated second light emitting device according to the first control operation.
And when the first control operation is detected, generating a control instruction corresponding to the first control operation, sending the control instruction to the server, forwarding the control instruction to the second light-emitting device by the server, and enabling the second light-emitting device to work according to the control instruction.
Prior to this step, the first light emitting device should be associated with the second light emitting device. The association method may be that the first light emitting device and the second light emitting device bind to the same account, or the first light emitting device and the second light emitting device are connected to the same wireless network. The first light emitting device may be associated with one or more second light emitting devices. In this step, after the first light emitting device sends the control instruction to the server, the server determines a second light emitting device associated with the first light emitting device, and the server sends the control instruction to the associated second light emitting device.
For example, the first control operation is an operation of clicking a switch key on the smart lamp by a user, after the operation is detected, the smart lamp sends the control operation to the server, the server determines the light-emitting device pre-associated with the smart lamp and forwards the operation to the light-emitting device, and the light-emitting device operates according to the operation, that is, the light-emitting device is turned on or turned off.
The first control operation may control the first light emitting device, that is, the device receiving the first control operation, in addition to the second light emitting device, or may only control the second light emitting device, which may be determined according to the actual needs of the user.
In the method of the embodiment of the present disclosure, the first light-emitting device requests the server to control the operation of the associated second light-emitting device according to the first control operation by detecting the first control operation and responding to the detection of the first control operation. Therefore, the user can control one or more second light-emitting devices to work by inputting control operation on one light-emitting device, so that the linkage of a plurality of light-emitting devices can be realized, and particularly, the light scene formed by the plurality of light-emitting devices can be controlled more conveniently and quickly.
In one embodiment, referring to fig. 2, which shows a flowchart of step S102 in a method for controlling a smart lamp according to an exemplary embodiment, as shown in fig. 2, step S102 can be implemented as the following steps S201 to S202:
in step S201, a control instruction is generated according to a first control operation.
And after the first control operation is detected, generating a control instruction corresponding to the first control operation.
For example, if the first control operation slides from left to right along the edge of the touch sensing part at the top of the first light-emitting device, the generated control instruction is an instruction for gradually increasing the brightness of the light-emitting device; if the first control operation is sliding from right to left along the edge of the touch sensitive part at the top of the first light emitting device, the generated control instruction is an instruction to gradually dim the brightness of the light emitting device.
In step S202, a control instruction is sent to the server, and the control instruction instructs the server to control the second light-emitting device to operate according to the control instruction.
And when the first control operation is detected, generating a control instruction corresponding to the first control operation, sending the control instruction to the server, forwarding the control instruction to the second light-emitting device by the server, and enabling the second light-emitting device to work according to the control instruction.
For example, when the first control operation is sliding from left to right along the edge of the touch sensing part on the top of the first light emitting device, the second light emitting device gradually brightens along with the sliding of the user's finger.
In this embodiment, a control instruction is generated according to the first control operation, and the control instruction is sent to the server, where the control instruction instructs the server to control the second light-emitting device to operate according to the control instruction. Since the control instruction is generated according to the control operation, the second light emitting device directly operates according to the control instruction, so that the second light emitting device can simply and conveniently operate.
In one embodiment, referring to fig. 3, which shows a flowchart of step S101 in a method for controlling a smart lamp according to an exemplary embodiment, as shown in fig. 3, step S101 can be implemented as the following steps S301 to S302:
in step S301, a first gesture operation for a first touch sensitive area within the touch sensitive member is detected.
The first control operation may be a gesture operation for the touch sensing component, a corresponding relationship between the gesture operation and the control instruction may be preset, and which gesture operation is performed by the user generates the control instruction corresponding to the gesture operation. In addition, the touch sensing part of the first light-emitting device can be divided into different areas, and the gesture operation can be executed in the different areas to control different second light-emitting devices respectively. The correspondence between the first gesture operation and the control command may refer to the following table:
Figure BDA0000837183970000111
Figure BDA0000837183970000121
in step S302, it is determined that the first control operation is detected in response to detection of the first gesture operation.
In this embodiment, the first control operation is a first gesture operation for a first touch sensing area in the touch sensing component, and since a plurality of gesture operations can be preset, the gesture operations can be combined for use to generate a new control instruction, so that the generated control instruction is more diversified.
In an embodiment, please refer to fig. 4, which is a flowchart illustrating another method of controlling a smart lamp according to an exemplary embodiment, as shown in fig. 4, the method of controlling a smart lamp may further include the following steps S103 to S104:
in step S103, a second gesture operation for a second touch sensitive area within the touch sensitive member is detected.
The touch sensing part of the first light-emitting device is divided into a first touch sensing area and a second touch sensing area, and different second light-emitting devices are controlled respectively. For example, there are 5 second light emitting devices, device 1, device 2, device 3, device 4, and device 5. Performing a gesture operation in the first touch sensitive area may control device 1, device 2, and performing a gesture operation in the second touch sensitive area may control device 3, device 4, and device 5. Of course, the touch sensing part is not limited to be divided into the two areas, and may be divided into a plurality of areas according to actual requirements, for example, when the number of the second light emitting devices is large, the touch sensing part may be divided into a plurality of areas to control different second light emitting devices respectively.
In step S104, in response to detection of the second gesture operation, execution is performed in accordance with the second gesture operation.
The correspondence between the second gesture operation and the control command may refer to the following table:
Figure BDA0000837183970000122
Figure BDA0000837183970000131
the above steps may be executed after step S102, or may be executed before step S102 (not shown). In this embodiment, a second gesture operation directed to a second touch sensitive area in the touch sensitive member is detected, and in response to the detection of the second gesture operation, the operation is performed according to the second gesture operation. Since the touch sensing part is divided into two regions, different regions may control different second light emitting devices, respectively. Particularly when the number of the second light emitting devices is large, the second light emitting devices can be controlled more specifically.
In one embodiment, please refer to fig. 5, which is a flowchart illustrating another method of controlling a smart lamp according to an exemplary embodiment, and as shown in fig. 5, the method of controlling the smart lamp may include the following steps S105 to S106:
in step S105, the position of the second light emitting device is acquired.
The location of the second light-emitting device is the geographical location where the second light-emitting device is actually located, and may also be the location of the second light-emitting device relative to the first light-emitting device.
For example, the position of the second light emitting device may be on the left or right side of the first light emitting device, or may be 1m or 5m from the first light emitting device.
In step S106, a first touch sensing area and a second touch sensing area are determined according to the position of the second light emitting device.
The above steps may be performed before step S101. In this embodiment, in order to more conveniently control the second light emitting device, the first touch sensing area and the second touch sensing area may be determined by the position of the second light emitting device. For example, the touch sensing component is divided into a left area and a right area, where the left area is a first touch sensing area and the right area is a second touch sensing area. The first touch sensing area controls the second light emitting device on the left side of the first light emitting device, and the second touch sensing area controls the second light emitting device on the right side of the first light emitting device, so that the second light emitting device can be controlled more conveniently.
In one embodiment, please refer to fig. 6, which is a flowchart illustrating another method of controlling a smart lamp according to an exemplary embodiment, and as shown in fig. 6, the method of controlling the smart lamp may include the following steps S107 to S108:
in step S107, the light effect of the second light emitting device in the pre-stored light effect configuration library is queried.
In the last embodiment, the first touch sensing area and the second touch sensing area are determined according to the position of the second light-emitting device, and since there may be a plurality of second light-emitting devices, the first touch sensing area and the second touch sensing area may also be determined according to the light effect of the second light-emitting device in order to more conveniently control the second light-emitting device. In this embodiment, a light effect configuration library may be stored in advance, and the light effect and the color and brightness corresponding to each light-emitting device under the effect are stored in the light effect configuration library. The light effect may be, for example, a sea effect, and the plurality of light emitting devices are combined by different colors and brightnesses to present the sea effect.
In step S108, the first touch sensing area and the second touch sensing area are determined according to the light effect of the second light emitting device.
For example, when the sea effect is presented, a plurality of second light-emitting devices are required, for example, 20 second light-emitting devices are required, the second light-emitting devices are labeled by 1 to 20 in advance, the first touch-sensitive area can control the devices 1 to 10, and the second touch-sensitive area can control the devices 11 to 20.
The above steps may be performed before step S101. In this embodiment, when the number of the second light-emitting devices is large, the first touch sensing area and the second touch sensing area are determined according to the light effect of the second light-emitting devices. The second light emitting device can be more conveniently controlled.
In one embodiment, the first touch sensing area and the second touch sensing area are circular rings, and the outer edge of the first touch sensing area and the inner edge of the second touch sensing area are adjacent.
The first light emitting device may be cylindrical or rectangular, the top of the first light emitting device is circular, square or rectangular, and the touch sensing part is disposed at the top of the first light emitting device. Thereby effectively utilizing the top area and avoiding waste of the top area.
The above technical solutions provided by the embodiments of the present disclosure are described below with specific embodiments.
Example one
Embodiment one, by using the method for controlling a smart lamp provided by the embodiment of the present disclosure, a second light emitting device is controlled to operate by performing a control operation on a first light emitting device. The number of the second light emitting devices may be one or more, the first light emitting device being pre-associated with the second light emitting device. As shown in fig. 7, the first light emitting device next performs the following operations:
in step S701, the first light emitting device acquires the position of the second light emitting device.
In step S702, the first light emitting device determines a first touch sensing area and a second touch sensing area according to the position of the second light emitting device.
In step S703, the first light-emitting device detects a first gesture operation for a first touch-sensitive area in the touch-sensitive component.
In step S704, the first light emitting device determines that the first control operation is detected in response to detecting the first gesture operation.
In step S705, the first light emitting device generates a control instruction according to the first control operation.
In step S706, the first light-emitting device sends a control instruction to the server, and the control instruction instructs the server to control the second light-emitting device to operate according to the control instruction.
In the first embodiment, the first light-emitting device determines the first touch sensing area and the second touch sensing area according to the position of the second light-emitting device, detects a first gesture operation for the first touch sensing area in the touch sensing component, generates a control instruction corresponding to the first gesture operation, and sends the control instruction to the server, where the control instruction instructs the server to control the second light-emitting device to operate according to the control instruction. Therefore, the plurality of second light-emitting devices can be controlled by performing the gesture operation on the first light-emitting device, and the different second light-emitting devices can be respectively controlled by different touch areas, so that the second light-emitting devices can be more conveniently controlled.
Referring to fig. 8, which is a flowchart illustrating another method of controlling a smart lamp according to an exemplary embodiment, as shown in fig. 8, the method of controlling a smart lamp may include the following steps S801 to S803:
in step S801, a control request transmitted by the first light-emitting device is received.
In one embodiment, the method may be used in a server, where the server receives a control request sent by a first light-emitting device. The control request is generated according to a control operation performed by a user on the first light emitting device.
In step S802, a second light emitting device is determined according to the control request.
The control request may carry an identifier of the second light emitting device, and the second light emitting device is determined by the identifier of the second light emitting device.
In step S803, the second light emitting device is controlled to operate in response to the control request.
When receiving the control request, the server forwards the control request to the second light-emitting device, and the second light-emitting device works according to the control request.
In the method of the embodiment of the present disclosure, the server receives the control request sent by the first light-emitting device, determines the second light-emitting device according to the control request, and controls the second light-emitting device to operate in response to the control request. Therefore, the user can control one or more second light-emitting devices to work by inputting control operation on the first light-emitting device, so that the linkage of a plurality of light-emitting devices can be realized, and particularly, the light scene formed by the plurality of light-emitting devices can be controlled more conveniently and quickly.
Example two
Embodiment two, by using the method for controlling a smart lamp provided by the embodiment of the present disclosure, the second light emitting device is controlled to operate by performing a control operation on the first light emitting device. As shown in fig. 9, the method includes:
in step S901, the first light-emitting device detects a preset gesture operation for the touch sensing component.
In step S902, in response to detecting a preset gesture operation, the first light-emitting device generates a control instruction corresponding to the preset operation.
In step S903, the first light emitting device transmits the control instruction to the server.
In step S904, the server receives the control instruction transmitted by the first light-emitting device.
In step S905, the server determines the second light emitting device according to the identification of the light emitting device.
In step S906, the server transmits a control instruction to the second light emitting device.
In step S907, the second light emitting device receives a control instruction, and operates according to the control instruction.
And in the second embodiment, the first light-emitting device sends the detected gesture operation to the server, the server determines a second light-emitting device and sends a control instruction to the second light-emitting device, and the second light-emitting device works according to the control instruction. Therefore, the linkage of a plurality of light-emitting devices can be realized, and particularly, the light scene formed by the plurality of light-emitting devices can be controlled more conveniently and quickly.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 10 is a block diagram illustrating an apparatus for controlling a smart lamp, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both, according to an example embodiment. As shown in fig. 10, the apparatus for controlling a smart lamp includes:
a first detection module 101 configured to detect a first control operation.
The first control operation may be a preset gesture operation, or may be a click operation on a preset hard key. The above method can be used in any lighting device, for example, a smart lamp having a physical key, such as an on-off key; the intelligent lamp can also be provided with a touch sensing component for receiving gesture operation of a user.
A first response module 102 configured to request the server to control the operation of the associated second light emitting device according to the first control operation in response to the first control operation detected by the first detection module 101.
When the first detection module 101 detects the first control operation, the first response module 102 generates a control instruction corresponding to the first control operation in response to the first control operation detected by the first detection module 101, sends the control instruction to the server, and forwards the control instruction to the second light-emitting device, where the second light-emitting device operates according to the control instruction.
The above apparatus of the embodiment of the present disclosure detects the first control operation through the first detection module 101, and the first response module 102 requests the server to control the operation of the associated second light emitting device according to the first control operation in response to detecting the first control operation. Therefore, the user can control one or more second light-emitting devices to work by inputting control operation on one light-emitting device, so that the linkage of a plurality of light-emitting devices can be realized, and particularly, the light scene formed by the plurality of light-emitting devices can be controlled more conveniently and quickly.
In one embodiment, referring to fig. 11, which is a block diagram illustrating a first response module 102 in an apparatus for controlling a smart lamp according to an exemplary embodiment, as shown in fig. 11, the first response module 102 may include:
an instruction generation submodule 111 configured to generate a control instruction according to the first control operation.
For example, if the first control operation slides from left to right along the edge of the touch sensing part at the top of the first light-emitting device, the generated control instruction is an instruction for gradually increasing the brightness of the light-emitting device; if the first control operation is sliding from right to left along the edge of the touch sensitive part at the top of the first light emitting device, the generated control instruction is an instruction to gradually dim the brightness of the light emitting device.
And the sending sub-module 112 is configured to send the control instruction generated by the instruction generating sub-module to the server, and the control instruction instructs the server to control the second light-emitting device to operate according to the control instruction.
And when the first control operation is detected, generating a control instruction corresponding to the first control operation, sending the control instruction to the server, forwarding the control instruction to the second light-emitting device by the server, and enabling the second light-emitting device to work according to the control instruction.
For example, when the first control operation is to slide from left to right along the edge of the touch sensing part at the top of the first light emitting device, the second light emitting device gradually brightens according to the sliding of the user's finger.
In this embodiment, the instruction generating submodule 111 generates a control instruction, the sending submodule 112 sends the control instruction to the server, and the control instruction instructs the server to control the second light-emitting device to operate according to the control instruction. Since the control instruction is generated according to the control operation, the second light emitting device directly operates according to the control instruction, so that the second light emitting device can simply and conveniently operate.
In an embodiment, please refer to fig. 12, which is a block diagram illustrating a first detection module 101 in an apparatus for controlling a smart lamp according to an exemplary embodiment, as shown in fig. 12, the first detection module 101 may include:
a detection sub-module 121 configured to detect a first gesture operation with respect to a first touch-sensitive area within the touch-sensitive component.
The first control operation may be a gesture operation for the touch sensing component, a corresponding relationship between the gesture operation and the control instruction may be preset, and which gesture operation is performed by the user generates the control instruction corresponding to the gesture operation. In addition, the touch sensing part of the first light-emitting device can be divided into different areas, and the gesture operation can be executed in the different areas to control different second light-emitting devices respectively.
A determination submodule 122 configured to determine that the first control operation is detected in response to the first gesture operation detected by the detection submodule.
In this embodiment, the first control operation is a first gesture operation for a first touch sensing area in the touch sensing component, and since a plurality of gesture operations can be preset, the gesture operations can be combined for use to generate a new control instruction, so that the generated control instruction is more diversified.
In one embodiment, please refer to fig. 13, which is a block diagram illustrating another apparatus for controlling a smart lamp according to an exemplary embodiment, and as shown in fig. 13, the apparatus for controlling a smart lamp may further include:
a second detection module 103 configured to detect a second gesture operation for a second touch-sensitive area within the touch-sensitive component;
and a second response module 104 configured to respond to the second gesture operation detected by the second detection module and operate according to the second gesture operation.
In this embodiment, a second gesture operation directed to a second touch sensitive area in the touch sensitive member is detected, and in response to the detection of the second gesture operation, the operation is performed according to the second gesture operation. Since the touch sensing part is divided into two regions, different regions may control different second light emitting devices, respectively. Particularly when the number of the second light emitting devices is large, the second light emitting devices can be controlled more specifically.
In an embodiment, please refer to fig. 14, which is a block diagram illustrating another apparatus for controlling a smart lamp according to an exemplary embodiment, and as shown in fig. 14, the apparatus for controlling a smart lamp may further include:
an acquisition module 105 configured to acquire a position of the second light emitting device;
the location of the second light-emitting device is the geographical location where the second light-emitting device is actually located, and may also be the location of the second light-emitting device relative to the first light-emitting device.
A first determining module 106 configured to determine the first touch sensing area and the second touch sensing area according to the position of the second light emitting device acquired by the acquiring module.
In this embodiment, in order to more conveniently control the second light emitting device, the first touch sensing area and the second touch sensing area may be determined by the position of the second light emitting device. For example, the touch sensing component is divided into a left area and a right area, where the left area is a first touch sensing area and the right area is a second touch sensing area. The first touch sensing area controls the second light emitting device on the left side of the first light emitting device, and the second touch sensing area controls the second light emitting device on the right side of the first light emitting device, so that the second light emitting device can be controlled more conveniently.
In an embodiment, please refer to fig. 15, which is a block diagram illustrating another apparatus for controlling a smart lamp according to an exemplary embodiment, and as shown in fig. 15, the apparatus for controlling a smart lamp may further include:
a query module 107 configured to query a pre-stored light effect configuration library for light effects of the second light emitting device;
and a second determining module 108 configured to determine the first touch sensing area and the second touch sensing area according to the light effect of the second light-emitting device queried by the querying module.
Since there may be a plurality of second light emitting devices, the first touch sensing area and the second touch sensing area may be determined according to a light effect of the second light emitting device in order to more conveniently control the second light emitting device.
In one embodiment, the first touch sensing area and the second touch sensing area are circular rings, and the outer edge of the first touch sensing area and the inner edge of the second touch sensing area are adjacent.
The first light emitting device may be cylindrical or rectangular, the top of the first light emitting device is circular, square or rectangular, and the touch sensing part is disposed at the top of the first light emitting device. Thereby effectively utilizing the top area and avoiding waste of the top area.
Fig. 16 is a block diagram illustrating another apparatus for controlling a smart lamp, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both, according to an example embodiment. As shown in fig. 16, the apparatus for controlling a smart lamp includes:
a receiving module 161 configured to receive a control request transmitted by a first light-emitting device;
a determination module 162 configured to determine a second light emitting device according to the control request received by the reception module;
and a control module 163 configured to control the second light emitting device to operate in response to the control request received by the receiving module.
According to the above apparatus of the embodiment of the disclosure, the server receives the control request sent by the first light-emitting device, determines the second light-emitting device according to the control request, and responds to the control request to control the second light-emitting device to operate. Therefore, the user can control one or more second light-emitting devices to work by inputting control operation on the first light-emitting device, so that the linkage of a plurality of light-emitting devices can be realized, and particularly, the light scene formed by the plurality of light-emitting devices can be controlled more conveniently and quickly.
The embodiment of the present disclosure further provides a system for controlling an intelligent lamp, including: a first light emitting device, a second light emitting device, and a server;
a first light emitting device configured to detect a first control operation; in response to detecting the first control operation, requesting the server to control the operation of the associated second light-emitting device according to the first control operation;
a server configured to receive a control request transmitted by a first light emitting device; determining a second light emitting device according to the control request; responding to the control request, and controlling the second light-emitting device to work;
a second light emitting device configured to receive a control request; and working according to the control request.
The embodiment of the present disclosure also provides a device for controlling an intelligent lamp, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting a first control operation;
in response to detecting the first control operation, the server is requested to control the operation of the associated second light emitting device according to the first control operation.
The processor is further configured to:
generating a control instruction according to the first control operation;
and sending a control instruction to the server, wherein the control instruction instructs the server to control the second light-emitting device to operate according to the control instruction.
The processor is further configured to:
detecting a first gesture operation for a first touch sensing area in the touch sensing part;
in response to detecting the first gesture operation, it is determined that the first control operation is detected.
The processor is further configured to:
detecting a second gesture operation directed to a second touch sensitive area within the touch sensitive member;
and responding to the detection of the second gesture operation, and executing according to the second gesture operation.
The processor is further configured to:
acquiring the position of a second light-emitting device;
and determining a first touch sensing area and a second touch sensing area according to the position of the second light-emitting device.
The processor is further configured to:
inquiring the light effect of a second light-emitting device in a prestored light effect configuration library;
and determining the first touch sensing area and the second touch sensing area according to the light effect of the second light-emitting device.
The processor is further configured to:
the first touch sensing area and the second touch sensing area are annular, and the outer edge of the first touch sensing area is adjacent to the inner edge of the second touch sensing area.
The embodiment of the present disclosure also provides a device for controlling an intelligent lamp, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a control request sent by a first light-emitting device;
determining a second light emitting device according to the control request;
and controlling the second light-emitting device to work in response to the control request.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 17 is a block diagram illustrating an apparatus for controlling a smart lamp, which is suitable for a terminal device, according to an exemplary embodiment. For example, the apparatus 1200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and so forth.
The apparatus 1200 may include one or more of the following components: processing component 1202, memory 1204, power component 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor component 1214, and communications component 1216.
The processing component 1202 generally controls overall operation of the apparatus 1200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 1202 may include one or more processors 1220 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1202 can include one or more modules that facilitate interaction between the processing component 1202 and other components. For example, the processing component 1202 can include a multimedia module to facilitate interaction between the multimedia component 1208 and the processing component 1202.
The memory 1204 is configured to store various types of data to support operation at the device 1200. Examples of such data include instructions for any application or method operating on the device 1200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1204 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A power component 1206 provides power to the various components of the device 1200. Power components 1206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for apparatus 1200.
The multimedia component 1208 includes a screen that provides an output interface between the device 1200 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1208 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1200 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 1210 is configured to output and/or input audio signals. For example, audio component 1210 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1204 or transmitted via the communication component 1216. In some embodiments, audio assembly 1210 further includes a speaker for outputting audio signals.
The I/O interface 1212 provides an interface between the processing component 1202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1214 includes one or more sensors for providing various aspects of state assessment for the apparatus 1200. For example, the sensor assembly 1214 may detect the open/closed state of the device 1200, the relative positioning of the components, such as the display and keypad of the apparatus 1200 described above, the sensor assembly 1214 may also detect a change in the position of the apparatus 1200 or a component of the apparatus 1200, the presence or absence of user contact with the apparatus 1200, the orientation or acceleration/deceleration of the apparatus 1200, and a change in the temperature of the apparatus 1200. The sensor assembly 1214 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1216 is configured to facilitate communications between the apparatus 1200 and other devices in a wired or wireless manner. The apparatus 1200 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1216 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1216 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 1204 comprising instructions, executable by processor 820 of device 1200 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, instructions in the storage medium, when executed by a processor of an apparatus 1200, enable the apparatus 1200 to perform the above-described method of controlling a smart lamp, the method comprising:
detecting a first control operation;
in response to detecting the first control operation, the server is requested to control the operation of the associated second light emitting device according to the first control operation.
In one embodiment, in response to detecting the first control operation, requesting the server to control the operation of the associated second light emitting device according to the first control operation may include:
generating a control instruction according to the first control operation;
and sending a control instruction to the server, wherein the control instruction instructs the server to control the second light-emitting device to operate according to the control instruction.
In one embodiment, detecting the first control operation may include:
detecting a first gesture operation for a first touch sensing area in the touch sensing part;
in response to detecting the first gesture operation, it is determined that the first control operation is detected.
In one embodiment, the method of controlling a smart lamp may further include:
detecting a second gesture operation directed to a second touch sensitive area within the touch sensitive member;
and responding to the detection of the second gesture operation, and executing according to the second gesture operation.
In one embodiment, the method of controlling a smart lamp may further include:
acquiring the position of a second light-emitting device;
and determining a first touch sensing area and a second touch sensing area according to the position of the second light-emitting device.
In one embodiment, the method of controlling a smart lamp may further include:
inquiring the light effect of a second light-emitting device in a prestored light effect configuration library;
and determining the first touch sensing area and the second touch sensing area according to the light effect of the second light-emitting device.
In one embodiment, the first touch sensing area and the second touch sensing area are circular rings, and the outer edge of the first touch sensing area and the inner edge of the second touch sensing area are adjacent.
Fig. 18 is a block diagram illustrating an apparatus 1900 for controlling smart lights according to an exemplary embodiment. For example, the apparatus 1900 may be provided as a server. Referring to FIG. 18, the device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by the processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the method … … described above
The device 1900 may also include a power component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input/output (I/O) interface 1958. The device 1900 may operate based on an operating system, such as Windows Server, MacOS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like, stored in memory 1932.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
A non-transitory computer readable storage medium, instructions in the storage medium, when executed by a processor of a device 1900, enable the device 1900 to perform the above-described method of controlling a smart lamp, the method comprising:
receiving a control request sent by a first light-emitting device;
determining a second light emitting device according to the control request;
and controlling the second light-emitting device to work in response to the control request.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (8)

1. A method of controlling a smart lamp, applied to a first lighting device, comprising:
detecting a first control operation;
in response to detecting the first control operation, requesting a server to control the operation of the associated second light-emitting device according to the first control operation;
the detecting a first control operation includes:
detecting a first gesture operation for a first touch sensing area in the touch sensing part;
in response to detecting the first gesture operation, determining that the first control operation is detected;
detecting a second gesture operation directed to a second touch sensitive area within the touch sensitive member;
responding to the detection of the second gesture operation, and operating according to the second gesture operation, wherein the first touch sensing area and the second touch sensing area respectively control different second light-emitting devices;
acquiring the position of a second light-emitting device;
determining the first touch sensing area and the second touch sensing area according to the position of the second light-emitting device; or
Inquiring the light effect of a second light-emitting device in a prestored light effect configuration library;
and determining the first touch induction area and the second touch induction area according to the light effect of the second light-emitting device.
2. The method of claim 1, wherein requesting the server to control the operation of the associated second lighting device according to the first control operation in response to detecting the first control operation comprises:
generating a control instruction according to the first control operation;
and sending the control instruction to the server, wherein the control instruction instructs the server to control the second light-emitting device to operate according to the control instruction.
3. The method of claim 1,
the first touch sensing area and the second touch sensing area are annular, and the outer edge of the first touch sensing area is adjacent to the inner edge of the second touch sensing area.
4. A system for controlling a smart light, comprising: a first light emitting device, a second light emitting device, and a server;
the first light-emitting device is used for detecting a first control operation; in response to detecting the first control operation, requesting a server to control an associated second light emitting device to execute the detected first control operation according to the first control operation, including: detecting a first gesture operation for a first touch sensing area in the touch sensing part; in response to detecting the first gesture operation, determining that the first control operation is detected; detecting a second gesture operation directed to a second touch sensitive area within the touch sensitive member; responding to the detection of the second gesture operation, and operating according to the second gesture operation, wherein the first touch sensing area and the second touch sensing area respectively control different second light-emitting devices; acquiring the position of a second light-emitting device; determining the first touch sensing area and the second touch sensing area according to the position of the second light-emitting device; or inquiring the light effect of the second light-emitting device in a prestored light effect configuration library; determining the first touch sensing area and the second touch sensing area according to the light effect of the second light-emitting device;
the server is used for receiving a first control request sent by the first light-emitting device during a first control operation detected by the first touch sensing area and a second control request sent by the first light-emitting device during a second control operation detected by the second touch sensing area;
determining a corresponding second light-emitting device according to the first control request and a second control request, wherein the first control request and the second control request respectively control different second light-emitting devices;
responding to the first control request and the second control request, and controlling corresponding second light-emitting equipment to work;
the second light emitting device is configured to receive the first control request or the second control request; and working according to the first control request or the second control request.
5. An apparatus for controlling a smart lamp, applied to a first lighting device, comprising:
the first detection module is used for detecting a first control operation;
the first response module is used for responding to the first control operation detected by the first detection module and requesting the server to control the operation of the associated second light-emitting device according to the first control operation;
the first detection module includes:
the detection submodule is used for detecting a first gesture operation aiming at a first touch sensing area in the touch sensing component;
a determination sub-module for determining that the first control operation is detected in response to the first gesture operation detected by the detection sub-module;
the second detection module is used for detecting second gesture operation aiming at a second touch sensing area in the touch sensing component;
the second response module is used for responding to second detection, detecting the second gesture operation and operating according to the second gesture operation, wherein the first touch sensing area and the second touch sensing area respectively control different second light-emitting devices;
the device further comprises:
the acquisition module is used for acquiring the position of the second light-emitting device;
the first determining module is used for determining the first touch sensing area and the second touch sensing area according to the position of the second light-emitting device acquired by the acquiring module; or
The query module is used for querying the light effect of the second light-emitting device in the prestored light effect configuration library;
and the second determining module is used for determining the first touch sensing area and the second touch sensing area according to the light effect of the second light-emitting device inquired by the inquiring module.
6. The apparatus of claim 5, wherein the first response module comprises:
the instruction generation submodule is used for generating a control instruction according to the first control operation;
and the sending submodule is used for sending the control instruction to the server after the instruction generating submodule generates the control instruction, and the control instruction instructs the server to control the second light-emitting device to operate according to the control instruction.
7. The apparatus of claim 5,
the first touch sensing area and the second touch sensing area are annular, and the outer edge of the first touch sensing area is adjacent to the inner edge of the second touch sensing area.
8. An apparatus for controlling a smart lamp, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting a first control operation;
in response to detecting the first control operation, requesting a server to control the operation of the associated second light-emitting device according to the first control operation;
the detecting a first control operation includes:
detecting a first gesture operation for a first touch sensing area in the touch sensing part;
in response to detecting the first gesture operation, determining that the first control operation is detected;
detecting a second gesture operation directed to a second touch sensitive area within the touch sensitive member;
responding to the detection of the second gesture operation, and operating according to the second gesture operation, wherein the first touch sensing area and the second touch sensing area respectively control different second light-emitting devices;
acquiring the position of a second light-emitting device;
determining the first touch sensing area and the second touch sensing area according to the position of the second light-emitting device; or
Inquiring the light effect of a second light-emitting device in a prestored light effect configuration library;
and determining the first touch induction area and the second touch induction area according to the light effect of the second light-emitting device.
CN201510732204.9A 2015-11-02 2015-11-02 Method, device and system for controlling intelligent lamp Active CN105425597B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510732204.9A CN105425597B (en) 2015-11-02 2015-11-02 Method, device and system for controlling intelligent lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510732204.9A CN105425597B (en) 2015-11-02 2015-11-02 Method, device and system for controlling intelligent lamp

Publications (2)

Publication Number Publication Date
CN105425597A CN105425597A (en) 2016-03-23
CN105425597B true CN105425597B (en) 2020-03-03

Family

ID=55503875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510732204.9A Active CN105425597B (en) 2015-11-02 2015-11-02 Method, device and system for controlling intelligent lamp

Country Status (1)

Country Link
CN (1) CN105425597B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737497B (en) * 2018-04-18 2020-12-22 王蕴卓 Intelligent patch board binding method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004171236A (en) * 2002-11-19 2004-06-17 I L C:Kk Controller unit, control program and control method
CN104333962A (en) * 2014-11-28 2015-02-04 浙江晶日照明科技有限公司 Intelligent LED (light emitting diode) lamp as well as man-machine interactive system and man-machine interactive method thereof
CN104699244A (en) * 2015-02-26 2015-06-10 小米科技有限责任公司 Controlling method and device for intelligent device
CN104735878A (en) * 2015-03-25 2015-06-24 欧普照明股份有限公司 Wearable illumination lamp control device and illumination lamp control system
CN104850329A (en) * 2015-04-29 2015-08-19 小米科技有限责任公司 Method and device for adjusting parameters
CN104898473A (en) * 2015-04-01 2015-09-09 小米科技有限责任公司 Method of handling terminal equipment and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104936360A (en) * 2015-07-13 2015-09-23 深圳市艾瑟网络技术有限公司 Touching-type intelligent desk lamp light supplement system and method based on interactive communication

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004171236A (en) * 2002-11-19 2004-06-17 I L C:Kk Controller unit, control program and control method
CN104333962A (en) * 2014-11-28 2015-02-04 浙江晶日照明科技有限公司 Intelligent LED (light emitting diode) lamp as well as man-machine interactive system and man-machine interactive method thereof
CN104699244A (en) * 2015-02-26 2015-06-10 小米科技有限责任公司 Controlling method and device for intelligent device
CN104735878A (en) * 2015-03-25 2015-06-24 欧普照明股份有限公司 Wearable illumination lamp control device and illumination lamp control system
CN104898473A (en) * 2015-04-01 2015-09-09 小米科技有限责任公司 Method of handling terminal equipment and device
CN104850329A (en) * 2015-04-29 2015-08-19 小米科技有限责任公司 Method and device for adjusting parameters

Also Published As

Publication number Publication date
CN105425597A (en) 2016-03-23

Similar Documents

Publication Publication Date Title
RU2636135C2 (en) Method and device for switching applications
US10007354B2 (en) Method and apparatus for controlling smart device
KR102036977B1 (en) Method and apparatus for controlling device, and terminal device
JP6488375B2 (en) Device control method and apparatus
EP3125531B1 (en) Control method and device for adjusting shooting function
EP2991275B1 (en) Making router management application compatible with router firmware
US20170126420A1 (en) Method for controlling electronic device
CN107390932B (en) Edge false touch prevention method and device and computer readable storage medium
JP2017524316A (en) Video communication method, apparatus, program, and recording medium
RU2651151C2 (en) Applications icons control method and device
JP2017535895A (en) Mobile terminal control method and mobile terminal
US20170171706A1 (en) Device displaying method, apparatus, and storage medium
JP2017525076A (en) Character identification method, apparatus, program, and recording medium
CN111123716B (en) Remote control method, remote control device, and computer-readable storage medium
CN108874450B (en) Method and device for waking up voice assistant
CN106940653B (en) Method, apparatus and computer-readable storage medium for controlling application program
CN106878654B (en) Video communication method and device
KR102258742B1 (en) Touch signal processing method, apparatus and medium
EP3236717A1 (en) Method, device and system for controlling smart light
CN105425597B (en) Method, device and system for controlling intelligent lamp
CN112346571A (en) Equipment control method and device and storage medium
CN108845852B (en) Control method and device of intelligent equipment and computer readable storage medium
CN106922005B (en) Method and device for accessing wireless access point and computer readable storage medium
CN114296587A (en) Cursor control method and device, electronic equipment and storage medium
CN106773753B (en) Equipment control method and device

Legal Events

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