CN108966452B - Intelligent bulb control method and device, communication equipment and storage medium - Google Patents

Intelligent bulb control method and device, communication equipment and storage medium Download PDF

Info

Publication number
CN108966452B
CN108966452B CN201810581906.5A CN201810581906A CN108966452B CN 108966452 B CN108966452 B CN 108966452B CN 201810581906 A CN201810581906 A CN 201810581906A CN 108966452 B CN108966452 B CN 108966452B
Authority
CN
China
Prior art keywords
control
bulb
intelligent
intelligent bulb
parameters
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
CN201810581906.5A
Other languages
Chinese (zh)
Other versions
CN108966452A (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.)
Shenzhen Lutuo Technology Co Ltd
Original Assignee
Shenzhen Lutuo Technology 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 Shenzhen Lutuo Technology Co Ltd filed Critical Shenzhen Lutuo Technology Co Ltd
Priority to CN201810581906.5A priority Critical patent/CN108966452B/en
Publication of CN108966452A publication Critical patent/CN108966452A/en
Application granted granted Critical
Publication of CN108966452B publication Critical patent/CN108966452B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • 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
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention relates to an intelligent bulb control method and device, wherein the intelligent bulb control method comprises the following steps: acquiring position information of a control point according to the control point corresponding to the control action in the intelligent bulb control interface; acquiring control parameters corresponding to the position information according to the position information of the control point; adjusting the display state of the intelligent bulb control interface according to the control parameters; and forwarding the control parameters to the intelligent bulb so as to control the intelligent bulb to adjust the working state of the intelligent bulb according to the control parameters along with the adjustment of the display state of the intelligent bulb control interface. The invention solves the problem that the working state of the intelligent bulb cannot be accurately adjusted when the intelligent bulb is remotely controlled in the prior art.

Description

Intelligent bulb control method and device, communication equipment and storage medium
Technical Field
The invention relates to the technical field of intelligent home systems, in particular to an intelligent bulb control method and device, communication equipment and a storage medium.
Background
With the development of the internet of things technology, more and more internet of things devices enter the visual field of people, such as intelligent air conditioners, intelligent doors and windows, intelligent bulbs and the like.
The existing intelligent bulb can adjust the working state (such as brightness) of the intelligent bulb through an APP (intelligent bulb client) running at a terminal, for example, a user can adjust the brightness of the intelligent bulb by dragging a brightness control bar displayed on an APP interface, or adjust the brightness of the intelligent bulb through sliding operation on the APP interface.
However, since the user only remotely adjusts the brightness of the smart bulb through the brightness value displayed on the APP interface, if the current position of the user is not within the visible range of the smart bulb, the user cannot intuitively feel the brightness of the smart bulb, which may cause the brightness of the smart bulb to be inconsistent with the actual requirements of the user.
Therefore, how to accurately adjust the working state of the intelligent bulb in the remote control process of the intelligent bulb still needs to be solved.
Disclosure of Invention
Based on the above technical problem, an object of the present invention is to provide an intelligent light bulb control method, an intelligent light bulb control device, a communication device and a storage medium.
The technical scheme adopted by the invention is as follows:
an intelligent light bulb control method, comprising: acquiring position information of a control point according to the control point corresponding to the control action in the intelligent bulb control interface; acquiring control parameters corresponding to the position information according to the position information of the control point; adjusting the display state of the intelligent bulb control interface according to the control parameters; and forwarding the control parameters to the intelligent bulb so as to control the intelligent bulb to adjust the working state of the intelligent bulb according to the control parameters along with the adjustment of the display state of the intelligent bulb control interface.
An intelligent light bulb control device, comprising: the position information acquisition module is used for acquiring the position information of the control point according to the control point corresponding to the control action in the intelligent bulb control interface; the control parameter acquisition module is used for acquiring control parameters corresponding to the position information according to the position information of the control point; the interface control module is used for adjusting the display state of the intelligent bulb control interface according to the control parameters; and the intelligent bulb control module is used for forwarding the control parameters to the intelligent bulb so as to control the intelligent bulb to adjust the working state of the intelligent bulb according to the control parameters along with the adjustment of the display state of the intelligent bulb control interface.
A communication device comprising a processor and a memory, the memory having stored thereon computer readable instructions which, when executed by the processor, implement a method as described above.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method as set forth above.
In the technical scheme, the position information of the control point is obtained according to the control point corresponding to the control action in the intelligent bulb control interface, the control parameter corresponding to the position information is obtained according to the position information of the control point, the display state of the intelligent bulb control interface is adjusted according to the control parameter, and the working state of the intelligent bulb is adjusted, so that the working state of the intelligent bulb changes along with the change of the display state of the intelligent bulb control interface.
Therefore, when the intelligent bulb is remotely controlled, a user can intuitively feel the working state of the intelligent bulb through the display state change of the intelligent bulb control interface, so that the control parameters are accurately adjusted, and the working state of the intelligent bulb is accurately adjusted.
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 invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a schematic illustration of an implementation environment in accordance with the present invention.
Fig. 2 is a flow chart illustrating a method of intelligent light bulb control according to an exemplary embodiment.
Fig. 3 is a reference diagram illustrating an intelligent light bulb control interface according to an exemplary embodiment.
FIG. 4 is a flow chart of one embodiment of step 230 of the corresponding embodiment of FIG. 2.
FIG. 5 is a flow diagram of one embodiment of step 250 of the corresponding embodiment of FIG. 2.
Fig. 6 is a flow chart illustrating a method of intelligent light bulb control according to another exemplary embodiment.
Fig. 7 is a flowchart illustrating a method of intelligent light bulb control, according to another exemplary embodiment.
Fig. 8 is a flowchart illustrating a method of intelligent light bulb control, according to another example embodiment.
Fig. 9 is a flowchart illustrating a method of intelligent light bulb control, according to another example embodiment.
Fig. 10 is a block diagram illustrating an intelligent light bulb control device according to an exemplary embodiment.
While specific embodiments of the invention have been shown by way of example in the drawings and will be described in detail hereinafter, such drawings and description are not intended to limit the scope of the inventive concepts in any way, but rather to explain the inventive concepts to those skilled in the art by reference to the particular embodiments.
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 embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
FIG. 1 is a schematic illustration of an implementation environment in accordance with the present invention. The implementation environment is an intelligent home system in the internet of things, and the intelligent home system includes a terminal 100, a gateway 200, an intelligent bulb 300, and a server 400.
The intelligent light bulb 300 is pre-deployed in the gateway 200, and establishes a wireless or wired network connection with the gateway 200 through a communication module configured by the intelligent light bulb 300, so as to realize communication with the gateway 200 through the network connection.
The communication module configured for the intelligent light bulb 300 includes, but is not limited to, any one or more of a ZigBee communication module, a Bluetooth module, and a WiFi communication module, and accordingly, the network connection mode established between the intelligent light bulb 300 and the gateway 200 includes any one or more of ZigBee, Bluetooth, or WiFi. The gateway 200 is a separate device that is distinct from the intelligent light bulb 300, and may be a router, or any other electronic device that can establish a wireless or wired network connection with the intelligent light bulb 300 and the server 400, respectively, and is not limited herein.
Of course, in other application scenarios, the gateway 200 may be integrated into the smart light bulb 300 and integrated with the smart light bulb 300, which is not limited in this application scenario.
The terminal 100 may be a smart phone, a tablet computer, a notebook computer, a computer, or any other electronic device capable of being operated by a smart bulb client (APP), which is not limited herein. The smart light bulb client may be an application client, or may also be a web page client, which is not limited herein.
The terminal 100 and the server 400 establish a communication connection through a communication mode such as 2G/3G/4G/5G, WIFI, so that the terminal 100 interacts with the server 400 through the communication connection.
Along with the interaction between the terminal 100 and the server 400, the intelligent light bulb client running in the terminal 100 can send the control instruction generated according to the relevant operation triggered by the user to the server 400, so that the server 400 requests the gateway 200 to control the intelligent light bulb 300 deployed in the gateway 200 according to the control instruction.
Certainly, for the gateway 200 integrated in the intelligent light bulb 300, the communication module configured in the intelligent light bulb 300 may directly establish a communication connection with the server 400, so that after the control instruction generated by the intelligent light bulb client operating in the terminal 100 according to the relevant operation triggered by the user is sent to the server 400, the server 400 directly controls the intelligent light bulb 300 according to the control instruction.
Fig. 2 is a flowchart illustrating an intelligent light bulb control method according to an exemplary embodiment, which is suitable for the terminal 100 in the implementation environment illustrated in fig. 1. The intelligent bulb control method comprises the following steps:
in step 210, position information of the control point is obtained according to the control point corresponding to the control action in the intelligent bulb control interface.
The intelligent bulb control interface is an operation interface which is provided by an intelligent bulb client operated by the terminal and used for interacting with a user. As mentioned above, the smart bulb client may be an application client or a web client, and accordingly, the smart bulb control interface may be a program window or a web page, which is not limited herein.
The control behavior refers to related operations triggered when a user interacts with the intelligent bulb control interface. Specifically, a corresponding control inlet is arranged on the intelligent bulb control interface, so that the parameters of the intelligent bulb can be correspondingly adjusted according to the relevant operation triggered by the user. The parameters of the intelligent light bulb comprise any one or more of a brightness parameter, a color temperature parameter or a color parameter.
The control inlet can be arranged at any position of the intelligent bulb control interface. Preferably, the control entrance is arranged in a designated area in the control interface of the intelligent bulb, and the user can adjust the parameters of the intelligent bulb through the control behavior in the designated area. The designated area may be any figure such as a circle, a square, a diamond, etc.
The designated area may be formed by a single area, that is, the designated area is a single area, or may be formed by combining a plurality of single areas, that is, the designated area is a composite area. When the designated area is a single area, the designated area is used for adjusting one parameter of the intelligent bulb; when the designated area is a composite area, the designated area is formed by splicing and overlapping a plurality of independent areas, and each independent area is used for adjusting one parameter of the intelligent bulb, namely, each independent area corresponds to the adjustable parameter of the intelligent bulb one by one.
Further, the designated area may also be configured with a color, for example, if the designated area is used to adjust the brightness parameter and/or the color temperature parameter of the smart bulb, the color of the designated area may be configured to be the same as the color corresponding to the current brightness and/or the current color temperature of the smart bulb. The intelligent bulb control interface is displayed according to the color configured in the designated area, so that a subsequent user can intuitively sense the working state of the intelligent bulb through the display state of the intelligent bulb control interface.
Fig. 3 is a reference diagram illustrating an intelligent light bulb control interface in accordance with an exemplary embodiment. As shown in fig. 3, the designated area is located in the middle of the intelligent light bulb control interface, and the designated area is formed by two circles with the same center and different radii. Specifically, the outer circle area is configured to be light color and can be used for adjusting brightness parameters of the intelligent bulb, and the inner circle area is configured to be dark color and can be used for adjusting color temperature parameters of the intelligent bulb.
In this embodiment, the manipulation behavior includes, but is not limited to, a sliding operation or a clicking operation triggered by the user, and accordingly, the position information of the manipulation point corresponding to the manipulation behavior may refer to a position where a finger of the user is in contact with the smart bulb control interface during the clicking operation, and may also refer to a position where the finger of the user finally stays on the smart bulb control interface during the sliding operation.
In one embodiment, the position information refers to coordinates of the control point located on the control interface of the smart light bulb.
Furthermore, when the designated area is a composite area and the manipulation behavior is a sliding operation triggered by a user, before the position information of the manipulation point corresponding to the manipulation behavior is acquired, the validity of the manipulation behavior needs to be determined.
It can be understood that the sliding operation is a continuous gesture operation, and the corresponding control point of the sliding operation forms a sliding track in the smart light bulb control interface along with the triggering of the sliding operation, so that for each individual region constituting the composite region, if the sliding track is only formed in one of the individual regions, that is, the control point always slides in one of the individual regions, the sliding operation is determined as an effective control behavior, and conversely, if the sliding track has region crossing, that is, the control point moves from one of the individual regions to another, the sliding operation is determined as an ineffective control behavior.
Therefore, the position information of the control point is obtained only aiming at the effective control action, and the accuracy of the subsequent adjustment of the working state of the intelligent bulb is fully ensured.
In step 230, a control parameter corresponding to the position information is obtained according to the position information of the control point.
The position information of the control point and the control parameter of the intelligent bulb have a corresponding relation, and the corresponding relation is pre-stored in the terminal along with the installation and the deployment of the intelligent bulb client in the terminal.
Therefore, when the position information of the control point is acquired, the control parameters of the intelligent bulb can be correspondingly acquired based on the corresponding relation.
As shown in fig. 4, in an embodiment, the step of the client obtaining the control parameter corresponding to the location information according to the location information of the control point may include the following steps:
in step 231, the relative position of the manipulation point in the specified area of the smart bulb control interface is determined according to the position information of the manipulation point.
As shown in fig. 3, in the designated area, the inner circle area is used for adjusting color temperature parameters of the smart bulb, the adjustable range of the color temperature parameters is 0-4000K, and if the circle center position B represents the color temperature parameters 4000K, the color temperature parameters corresponding to the control point C located at 50% of the radius position of the inner circle area are 2000K.
Similarly, the excircle area is used for adjusting the brightness parameter of the intelligent bulb, the adjustable range of the brightness parameter is 0-100%, and if the 12 o 'clock direction position of the excircle area represents the brightness parameter of 100%, the brightness parameter corresponding to the control point A located at the 9 o' clock direction position of the excircle area is 50%.
In other embodiments, the parameter adjustment manner of the outer circle region may also be the same as the parameter adjustment manner of the inner circle region, which is not limited herein.
That is, what has a corresponding relationship with the control parameter of the smart bulb is the relative position of the manipulation point in the designated area, which is in terms of the absolute position of the relative manipulation point in the smart bulb control interface.
Therefore, in order to acquire the control parameter corresponding to the position information of the control point, after acquiring the position information of the control point, the client first needs to convert the absolute position of the control point represented by the position information in the smart bulb control interface into the relative position of the control point in the specified area.
In step 233, the control parameter associated with the relative position is obtained according to the relative position of the manipulation point in the designated area.
As described above, the essence of the correspondence relationship between the control parameters of the smart light bulb and the control parameters of the smart light bulb is the relative position of the control point in the designated area, so that after the relative position of the control point in the designated area is obtained, the client can obtain the control parameters associated with the relative position.
In step 250, adjusting the display state of the intelligent bulb control interface according to the control parameters.
The display state of the intelligent bulb control interface is adjusted according to all the areas of the intelligent bulb control interface and the designated areas of the intelligent bulb control interface.
The designated area shown in fig. 3 is taken as an example for explanation, assuming that the control parameter is used for adjusting the color temperature parameter of the intelligent bulb, because the inner circle area is used for adjusting the color temperature parameter of the intelligent bulb, and the outer circle area is used for adjusting the brightness parameter of the intelligent bulb, after the client acquires the control parameter corresponding to the control point, the display state of the inner circle area in the intelligent bulb control interface is adjusted only according to the control parameter, and the display state of the outer circle area in the intelligent bulb control interface is not adjusted.
Further, the display state of the intelligent bulb control interface refers to the brightness, color temperature, color, and the like of the intelligent bulb control interface when displaying, and thus, the adjustment of the display state of the intelligent bulb control interface is substantially the adjustment of the display parameters for indicating the display state of the intelligent bulb control interface, and the display parameters include, but are not limited to, a brightness parameter, a color temperature parameter, a color parameter, and the like.
It should be understood that the control parameter includes, but is not limited to, a brightness parameter, a color temperature parameter, and a color parameter, but the control parameter is a display parameter for indicating an operating state of the smart bulb and is not equivalent to a display parameter for indicating a display state of the smart bulb control interface.
Therefore, before the display state of the intelligent bulb control interface is adjusted, the control parameters of the intelligent bulb are first converted into the display parameters of the intelligent bulb control interface, and then the display state of the intelligent bulb control interface can be adjusted based on the display parameters of the intelligent bulb control interface.
Specifically, as shown in fig. 5, in an embodiment, the method for adjusting the display state of the intelligent bulb control interface by the client according to the control parameter includes the following steps:
in step 251, display parameters indicating the display status of the smart light bulb control interface are obtained from the system configuration file.
Before adjusting the display state of the intelligent bulb control interface, the client needs to obtain the current display parameters of the display state of the intelligent bulb control interface from the system configuration file.
The system configuration file is stored in the terminal and used for recording configuration parameters of an operating system installed and deployed in the terminal and each client, including but not limited to display parameters of the intelligent bulb control interface, so that the client can obtain the current display parameters of the display state of the intelligent bulb control interface from the system configuration file.
In step 253, the display parameters are updated according to the control parameters.
And updating the current display parameters of the display state of the intelligent bulb control interface to the display parameters to be updated of the intelligent bulb control interface.
Based on the method, firstly, display parameters to be updated of the intelligent bulb control interface are obtained according to the control parameters. The control parameters and the display parameters of the intelligent bulb control interface have a mapping relation, and the mapping relation is pre-stored in the terminal along with the installation and the deployment of the intelligent bulb client in the terminal.
In an embodiment, the control parameters are the same as the display parameters of the smart bulb control interface, taking the color temperature parameter in the control parameters as an example, assuming that the maximum color temperature values of the smart bulb and the smart bulb control interface are 4000K, after obtaining the current display parameters of the display state of the smart bulb control interface, directly updating and displaying the current display parameters of the display state of the smart bulb control interface according to the color temperature value in the control parameters.
For example, assuming that the color temperature parameter in the control parameters is 2000K, after the current display parameter of the display state of the smart bulb control interface is obtained, the color temperature parameter in the current display parameter of the display state of the smart bulb control interface is directly updated to 2000K.
In another embodiment, the control parameters are different from the display parameters of the smart bulb control interface, and the color temperature parameter in the control parameters is still taken as an example for explanation, assuming that the maximum color temperature of the smart bulb is 4000K, and for the smart bulb control interface, the maximum color temperature is 9600K, it is obvious that the color temperature of the smart bulb cannot be directly updated to the color temperature of the smart bulb control interface, so that a mapping relationship constructed between the color temperature parameter of the smart bulb and the color temperature parameter of the smart bulb control interface is 1:2.4 based on the maximum color temperatures of the two.
Therefore, after the control parameters of the intelligent bulb are obtained, the display parameters to be updated of the intelligent bulb control interface can be correspondingly obtained based on the mapping relation.
Still assuming that the color temperature parameter in the control parameters is 2000K, according to the mapping relation 1:2.4, the color temperature parameter to be updated of the intelligent bulb control interface is obtained as 4800K, which is 2000 × 2.4. After the display parameters to be updated of the intelligent bulb control interface are obtained, the display parameters to be updated of the intelligent bulb control interface are updated to the current display parameters of the display state of the intelligent bulb control interface, and therefore the intelligent bulb control interface can be updated and displayed according to the updated display parameters.
In step 255, the control interface of the smart bulb is controlled to perform the update display according to the updated display parameters.
That is to say, the display state of the intelligent bulb control interface changes correspondingly with the change of the control parameter, and because the control parameter is used for adjusting the working state of the intelligent bulb, the changed display state of the intelligent bulb control interface reflects the change of the working state of the intelligent bulb in real time, thereby fully ensuring that the change of the intelligent bulb conforms to the actual requirement of a user, and effectively improving the accuracy of the adjustment of the working state in the remote control process of the intelligent bulb.
In step 270, the control parameter is forwarded to the smart bulb, so as to control the smart bulb to adjust its own working state according to the control parameter as the display state of the smart bulb control interface is adjusted.
For the client, the client sends the acquired control parameters to the gateway or the server and requests the gateway or the server to forward the control parameters to the intelligent bulb.
For the intelligent bulb, after receiving the control parameters forwarded by the gateway or the server, the intelligent bulb can adjust the working state of the intelligent bulb to the working state corresponding to the control parameters. For example, assuming that the control parameter forwarded by the gateway or the server is 97% of the brightness parameter, the intelligent bulb adjusts its brightness to 97% of the maximum brightness after receiving the brightness parameter.
It should be noted that the intelligent light bulb interacts with the gateway, and it is directed to that the gateway is an electronic device independent of the existence of the intelligent light bulb, and the intelligent light bulb interacts with the server, and it is directed to that the gateway is integrated in the intelligent light bulb, which is not limited herein.
In this embodiment, the operating state of the intelligent bulb and the display state of the intelligent bulb control interface are adjusted together through the operation and control actions performed in the intelligent bulb control interface by the user, so that the display state of the intelligent bulb control interface can correspondingly change along with the change of the operating state of the intelligent bulb, and therefore, when the user remotely controls the intelligent bulb, the operating state of the intelligent bulb can be monitored through the change of the display state of the intelligent bulb control interface, and the accurate adjustment of the operating state of the intelligent bulb is realized.
In addition, the user can carry out the experience directly perceived to the operating condition of intelligent bulb through the demonstration state of intelligent bulb control interface to adjust the light state of intelligent bulb according to user's experience directly perceived, greatly improved user's intelligent control and experienced.
Fig. 6 is a flow chart illustrating a method of intelligent light bulb control according to another exemplary embodiment. As shown in fig. 6, the intelligent light bulb control method further includes the following steps:
in step 310, an intelligent bulb shortcut scene is generated according to an interface collection operation triggered in the intelligent bulb control interface.
The intelligent bulb control interface is characterized in that an interface collection inlet is additionally arranged for a user, and if the user wants to collect the current control parameters of the intelligent bulb, an interface collection instruction is triggered at the interface collection inlet in the intelligent bulb control interface to generate an intelligent bulb shortcut scene.
The intelligent bulb shortcut scene is substantially related data stored in a storage space in a memory configured in the terminal. The related data comprises at least one of current control parameters of the intelligent bulb, scene names and scene identifications.
In one embodiment, the smart bulb control interface further adds a scene name input entry to the user, for example, the scene name input entry is an input dialog box.
Specifically, after the user triggers an interface collection instruction, an input dialog box pops up in the intelligent bulb control interface, and the user can input a scene name in the input dialog box so as to describe the working state of the intelligent bulb in the intelligent bulb shortcut scene through the scene name. For example, in a scene of a smart light bulb shortcut with a scene name of "movie", the working state of the smart light bulb is suitable for a user to watch the movie, and in a scene of a scene name of "relaxing", the working state of the smart light bulb creates a relaxing atmosphere.
And correspondingly generating the intelligent bulb shortcut scene with the name as the scene name when the scene name input is completed.
Furthermore, the client can also configure the scene identifier for the intelligent bulb shortcut scene according to the scene identifier configuration operation triggered by the user, so that the intelligent bulb shortcut scene uniquely identified by the client is displayed on the intelligent bulb control interface through the scene identifier.
In one embodiment, the smart bulb control interface further adds a scene identifier configuration entry to the user, for example, the scene identifier configuration entry is an identifier selection interface.
Specifically, after the user completes the input of the scene name, the intelligent bulb control interface jumps to an identification selection interface, the identification selection interface displays a plurality of identifications which can be selected by the user, the user can select one identification as the scene identification, wherein the selection operation is the configuration operation of the scene identification.
And when the selection of the identifier is completed, correspondingly generating the intelligent bulb shortcut scene with the name of the scene name and the scene identifier of the selected identifier so as to be displayed in the intelligent bulb control interface subsequently.
For example, as shown in fig. 3, in the intelligent bulb control interface, several intelligent bulb shortcut scenes are shown: "relax", "night light", "movie", "get up".
Of course, in other embodiments, the scene name and the scene identifier of the smart bulb shortcut scene may also be automatically generated by the client, for example, the client may automatically configure the scene name and the scene identifier according to the sequence of generating the smart bulb shortcut scene, which is not limited herein.
For example, the 1 st generated smart bulb shortcut scene is configured with a scene name of "scene 1" and a scene identifier of "001".
By analogy, the nth generated shortcut scene of the intelligent bulb is correspondingly configured with a scene name of 'scene N', and the scene identifier is '00N'.
In step 330, the control parameters are stored to the smart light bulb shortcut scenario.
After the intelligent bulb shortcut scene is generated, packing the current control parameters of the intelligent bulb and adding the packed current control parameters into a storage space corresponding to the intelligent bulb shortcut scene for storage.
The current control parameters of the intelligent bulb comprise all control parameters for controlling the intelligent bulb in a specified area of an intelligent bulb control interface. For example, in the designated area shown in fig. 3, the control parameters for controlling the smart bulb include both a brightness parameter and a color temperature parameter.
In step 350, the smart bulb shortcut scene is reported to a server, so that the smart bulb shortcut scene is stored for a user in the server.
The client reports the intelligent bulb shortcut scene to the server so as to store the intelligent bulb shortcut scene in the server.
For the server, after receiving the smart bulb shortcut scene sent by the client, the smart bulb shortcut scene can be stored for the user.
It should be noted that the server serves a large number of users, and accordingly, the smart bulb shortcut scenes stored in the server are also large and correspond to different users, so that the server stores the smart bulb shortcut scenes for the users, and an association relationship is substantially established between a user identifier for identifying the user and the smart bulb shortcut scenes.
In this embodiment, the control parameters of the current intelligent bulb can be collected as the shortcut scene of the intelligent bulb, and the shortcut scene of the intelligent bulb and the user information are stored in the server in a correlated manner, so that the collected shortcut scene of the intelligent bulb can be repeatedly used by the user.
Fig. 7 is a flowchart illustrating a method of intelligent light bulb control, according to another exemplary embodiment. As shown in fig. 7, the intelligent light bulb control method further includes the following steps:
in step 410, if the client detects a user login operation, a user identifier of a login user is obtained through the user login operation.
The client is provided with a user information login entry, and if a user wants to log in the client to control the intelligent bulb, a user login operation is triggered in the user information login entry, for example, the user login operation includes inputting a user account, a user password and the like, and the user account of the logged-in user can be used as a user identifier.
In step 420, the server is requested to return the smart bulb shortcut scenario associated with the user identifier.
As described above, all the smart bulb shortcut scenes stored in the server have an association relationship with the user identifier, so that after the client acquires the user identifier, the smart bulb shortcut scene associated with the user identifier can be obtained from the smart bulb shortcut scenes stored in the server.
For the server, after receiving the user identifier sent by the client, the server queries the associated and stored smart bulb shortcut scene according to the user identifier, and sends the queried smart bulb shortcut scene to the client.
In step 430, a scene identifier of the smart bulb shortcut scene is displayed on the smart bulb control interface.
After receiving the intelligent bulb shortcut scene returned by the server, the client displays the scene identifier in the intelligent bulb shortcut scene on an intelligent bulb control interface so that a user can check the usable intelligent bulb shortcut scene, and/or the client executes the corresponding intelligent bulb shortcut scene according to the selection operation triggered by the user to the scene identifier.
Further, the client may also jointly display the scene name and the scene identifier in the smart bulb shortcut scene, for example, as shown in fig. 3, the scene name of the smart bulb shortcut scene may be displayed below the scene identifier to describe the smart bulb shortcut scene identified by the scene identifier.
In this embodiment, once the client detects a user login operation, the client may request the client to return the smart bulb shortcut scene associated with the user account to the smart bulb control interface for display, so that the smart bulb shortcut scene set by the user is not lost.
Therefore, if the user logs in the other mobile terminals through the user account, the smart bulb shortcut scenes set by the user can still be obtained, the smart bulb is controlled quickly according to the smart bulb shortcut scenes, and the user experience is improved.
Fig. 8 is a flowchart illustrating a method of intelligent light bulb control, according to another exemplary embodiment. As shown in fig. 8, the intelligent light bulb control method further includes the following steps:
in step 440, a selection operation triggered in the scene identification is detected.
The selection operation triggered by the user in the scene identifier includes, but is not limited to, single click (click), double click, long press, drag, and the like.
In step 450, if the selection operation is detected, the control parameters in the smart bulb shortcut scene identified by the scene identifier are obtained in response to the operation.
After detecting the selection operation triggered by the user in the scene identifier, the client acquires the control parameters in the smart bulb shortcut scene identified by the scene identifier.
For example, when detecting that the user clicks a scene identifier corresponding to a scene name "movie", the client acquires the control parameter in the smart bulb shortcut scene identified by the clicked scene identifier. The click operation is a selection operation triggered in the scene identifier.
In step 460, the intelligent bulb control interface and the intelligent bulb are controlled in a linkage manner according to the acquired control parameters.
The intelligent bulb control interface adjusts the display state of the intelligent bulb control interface according to the control parameters, and the intelligent bulb adjusts the working state of the intelligent bulb according to the control parameters, so that the working state of the intelligent bulb changes along with the change of the display state of the intelligent bulb control interface.
After the client side obtains the control parameters, the display state of the intelligent bulb control interface and the working state of the intelligent bulb are respectively adjusted to be corresponding to the control parameters, so that linkage control over the intelligent bulb control interface and the intelligent bulb is completed.
In this embodiment, through the storage of the swift scene of intelligent bulb for no matter which terminal the user has operated the customer end, the swift scene of intelligent bulb that has all can obtain having generated avoids repetitive operation, has improved the control efficiency of intelligent bulb effectively, is favorable to improving user's intelligent control and experiences.
In addition, the client side carries out linkage control on the intelligent bulb control interface and the intelligent bulb according to the control parameters in the intelligent bulb shortcut scene returned by the server side, and the display state of the intelligent bulb control interface and the change of the working state of the intelligent bulb are ensured to be synchronous.
Fig. 9 is a flowchart illustrating a method of intelligent light bulb control, according to another exemplary embodiment. As shown in fig. 9, the intelligent light bulb control method further includes the following steps:
in step 510, an execution result message of the smart light bulb is received.
For the intelligent bulb, after the intelligent bulb adjusts the working state of the intelligent bulb according to the control parameter forwarded by the intelligent bulb executing gateway, an execution result message can be generated and forwarded to the client through the gateway.
In an embodiment, the execution result message includes the working state of the intelligent light bulb after the working state adjustment is completed, for example, the brightness of the intelligent light bulb is adjusted to 97% of the maximum brightness according to the brightness parameter 97%, and then the execution result message is "adjustment is successful, and the current brightness is XX".
In step 530, the execution result message is displayed in the intelligent light bulb control interface, and the execution result of the intelligent light bulb is prompted to the user through the displayed execution result message.
Therefore, in this embodiment, the user can obtain the execution result of the smart bulb through the execution result message displayed in the smart bulb control interface, and the experience of the user is further improved.
Fig. 10 is a block diagram of an intelligent light bulb control device, according to an exemplary embodiment. As shown in fig. 10, the intelligent light bulb control device includes a position information acquisition module 610, a control parameter acquisition module 630, an interface control module 650, and an intelligent light bulb control module 670.
The position information obtaining module 610 is configured to obtain position information of a control point according to a control point corresponding to a control behavior in the intelligent bulb control interface.
The control parameter obtaining module 630 is configured to obtain a control parameter corresponding to the position information according to the position information of the control point.
The interface control module 650 is configured to adjust a display state of the smart bulb control interface according to the control parameter.
The intelligent bulb control module 670 is configured to request a gateway to forward the control parameter to the intelligent bulb, so as to control the intelligent bulb to adjust its working state according to the control parameter along with adjustment of the display state of the intelligent bulb control interface.
It should be noted that the apparatus provided in the foregoing embodiment and the method provided in the foregoing embodiment belong to the same concept, and the specific manner in which each module performs operations has been described in detail in the method embodiment, and is not described again here.
In one exemplary embodiment, a communication device includes:
a processor; and
a memory, wherein the memory stores thereon computer readable instructions, and the computer readable instructions, when executed by the processor, implement the intelligent light bulb control method in the above embodiments.
In one exemplary embodiment, a computer readable storage medium has a computer program stored thereon, and the computer program, when executed by a processor, implements the intelligent light bulb control method in the above embodiments.
The above-mentioned embodiments are merely preferred examples of the present invention, and are not intended to limit the embodiments of the present invention, and those skilled in the art can easily make various changes and modifications according to the main concept and spirit of the present invention, so that the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. An intelligent bulb control method is characterized by comprising the following steps:
acquiring a control behavior triggered in an intelligent bulb control interface, wherein at least two circular independent areas are arranged in the intelligent bulb control interface, the independent areas have the same circle center, different independent areas have different radiuses, and different independent areas are associated with different types of intelligent bulb control parameters;
if the sliding track corresponding to the control behavior is formed in a target single area, determining that the control behavior is valid, and if the sliding track moves from one single area to another single area, determining that the control behavior is invalid;
when the control behavior is determined to be effective, acquiring the position information of the control point according to the control point corresponding to the control behavior;
determining the absolute position of the control point in the intelligent bulb control interface represented by the position information according to the position information of the control point, and converting the absolute position into the relative position of the control point in the target individual area;
acquiring control parameters related to the relative positions of the control points in the target individual region according to the corresponding relation between the control parameters of the intelligent bulbs and the relative positions of the target individual region;
converting the control parameters into display parameters to be updated corresponding to the target individual area according to a mapping relation established between the target individual area and the maximum display parameters of the intelligent bulb;
acquiring a display parameter for indicating the display state of the target individual area from a system configuration file, and updating the display parameter into the display parameter to be updated so as to control the target individual area to update and display according to the updated display parameter;
sending the control parameters to a gateway or a server, and requesting the gateway or the server to forward the control parameters to the intelligent bulb so as to control the intelligent bulb to adjust the working state of the intelligent bulb according to the control parameters along with the adjustment of the display state of the target individual region;
the two adjacent circular individual regions do not correspond to each other in the manner of parameter adjustment, wherein in one circular individual region the control point is moved in the radial direction of the circle for parameter adjustment, and in the other circular individual region the control point is moved in the direction of the circular ring for direction adjustment.
2. The method of claim 1, wherein the method further comprises:
generating an intelligent bulb shortcut scene according to interface collection operation triggered in the intelligent bulb control interface;
storing the control parameters to the smart bulb shortcut scene;
and reporting the intelligent bulb shortcut scene to a server side so as to store the intelligent bulb shortcut scene for a user in the server side.
3. The method of claim 2, wherein the method further comprises:
if the client detects a user login operation, acquiring a user identifier of a login user through the user login operation;
requesting the server side to return an intelligent bulb shortcut scene associated with the user identification;
and displaying the scene identification of the intelligent bulb shortcut scene on the intelligent bulb control interface.
4. The method of claim 3, wherein the method further comprises:
detecting selection operation triggered in the scene identifier;
if the selection operation is detected, responding to the operation to acquire control parameters in the intelligent bulb shortcut scene identified by the scene identification;
and controlling the intelligent bulb control interface and the intelligent bulb in a linkage manner according to the acquired control parameters.
5. The method of any of claims 1 to 4, further comprising:
receiving an execution result message of the intelligent bulb;
and displaying the execution result message in the intelligent bulb control interface, and prompting a user of the execution result of the intelligent bulb through the displayed execution result message.
6. An intelligent light bulb control device, comprising:
the intelligent bulb control interface comprises a control behavior acquisition module, a control behavior acquisition module and a control behavior acquisition module, wherein the control behavior acquisition module is used for acquiring control behaviors triggered in the intelligent bulb control interface, at least two circular independent areas are arranged in the intelligent bulb control interface, the independent areas have the same circle center, different independent areas have different radiuses, and different independent areas are associated with different types of intelligent bulb control parameters;
a manipulation behavior determination module for determining that the manipulation behavior is valid when a sliding trajectory corresponding to the manipulation behavior is formed within a target individual region, and determining that the manipulation behavior is invalid when the sliding trajectory is moved from one individual region to another individual region;
the position information acquisition module is used for acquiring the position information of the control point according to the control point corresponding to the control behavior when the control behavior is determined to be effective;
the relative position conversion module is used for determining the absolute position of the control point represented by the position information in the intelligent bulb control interface according to the position information of the control point and converting the absolute position into the relative position of the control point in the target single area;
the control parameter acquisition module is used for acquiring control parameters related to the relative positions of the control points in the target individual region according to the corresponding relation between the control parameters of the intelligent bulbs and the relative positions of the target individual region;
the control parameter conversion module is used for converting the control parameters into display parameters to be updated corresponding to the target individual region according to a mapping relation established between the target individual region and the maximum display parameters of the intelligent bulb;
the interface control module is used for acquiring display parameters for indicating the display state of the target individual area from a system configuration file, updating the display parameters into the display parameters to be updated and controlling the target individual area to update and display according to the updated display parameters;
the intelligent bulb control module is used for sending the control parameters to a gateway or a server and requesting the gateway or the server to forward the control parameters to the intelligent bulb so as to control the intelligent bulb to adjust the working state of the intelligent bulb according to the control parameters along with the adjustment of the display state of the target individual region;
the two adjacent circular individual regions do not correspond to each other in the manner of parameter adjustment, wherein in one circular individual region the control point is moved in the radial direction of the circle for parameter adjustment, and in the other circular individual region the control point is moved in the direction of the circular ring for direction adjustment.
7. A communication device, comprising:
a processor; and
a memory having computer readable instructions stored thereon which, when executed by the processor, implement the intelligent light bulb control method of any one of claims 1 to 5.
8. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing the intelligent light bulb control method according to any one of claims 1 to 5.
CN201810581906.5A 2018-06-07 2018-06-07 Intelligent bulb control method and device, communication equipment and storage medium Active CN108966452B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810581906.5A CN108966452B (en) 2018-06-07 2018-06-07 Intelligent bulb control method and device, communication equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810581906.5A CN108966452B (en) 2018-06-07 2018-06-07 Intelligent bulb control method and device, communication equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108966452A CN108966452A (en) 2018-12-07
CN108966452B true CN108966452B (en) 2021-06-04

Family

ID=64494104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810581906.5A Active CN108966452B (en) 2018-06-07 2018-06-07 Intelligent bulb control method and device, communication equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108966452B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489028B (en) * 2019-07-11 2021-12-24 联想(北京)有限公司 Control method, electronic device and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012032452A1 (en) * 2010-09-08 2012-03-15 Koninklijke Philips Electronics N.V. Controlling a color variation of a color adjustable illumination device
CN104020936A (en) * 2013-03-01 2014-09-03 北京三星通信技术研究有限公司 Terminal and controlling method thereof
CN104949289A (en) * 2015-07-14 2015-09-30 熊益冲 Wireless IoT (Internet of things) monitoring method and system for air conditioners
CN106357909A (en) * 2016-09-23 2017-01-25 广州恒业软件科技有限公司 Flashlight control system on basis of mobile terminal
US9848158B2 (en) * 2011-05-04 2017-12-19 Monument Peak Ventures, Llc Digital camera user interface for video trimming

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4438741B2 (en) * 2005-11-30 2010-03-24 ソニー株式会社 Color adjustment apparatus, printing apparatus, image processing apparatus, color adjustment method, program
CN101097443A (en) * 2007-07-17 2008-01-02 当代天启技术(北京)有限公司 User equipment control method, system and control device
CN102625529A (en) * 2012-03-14 2012-08-01 中山伟强科技有限公司 Integrated wireless and wired control system
CN104460326A (en) * 2014-10-24 2015-03-25 杭州赫智电子科技有限公司 One-button type intelligent device management system and control method based on gravity sensing
CN104898440B (en) * 2015-04-30 2018-07-13 广东美的制冷设备有限公司 Household electric appliance control method and device
CN107885429A (en) * 2017-11-01 2018-04-06 上海飞乐智能技术有限公司 The construction method and lamp prosecutor method, system, device and storage medium of lamp control model

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012032452A1 (en) * 2010-09-08 2012-03-15 Koninklijke Philips Electronics N.V. Controlling a color variation of a color adjustable illumination device
US9848158B2 (en) * 2011-05-04 2017-12-19 Monument Peak Ventures, Llc Digital camera user interface for video trimming
CN104020936A (en) * 2013-03-01 2014-09-03 北京三星通信技术研究有限公司 Terminal and controlling method thereof
CN104949289A (en) * 2015-07-14 2015-09-30 熊益冲 Wireless IoT (Internet of things) monitoring method and system for air conditioners
CN106357909A (en) * 2016-09-23 2017-01-25 广州恒业软件科技有限公司 Flashlight control system on basis of mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
智能家居产品情感化设计;张娉;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;20150515;全文 *

Also Published As

Publication number Publication date
CN108966452A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
US11627013B2 (en) Display apparatus, terminal apparatus, and methods of controlling at least one peripheral device using same
CN106155002B (en) Intelligent household system
US11190850B2 (en) Methods, systems, and media for determining channel information
KR102060573B1 (en) Monitoring system and operating method thereof
US10055094B2 (en) Method and apparatus for dynamically displaying device list
KR102307701B1 (en) Method and apparatus for controlling peripheral devices
JP2018519761A (en) HA system including desired scene realization based on user selectable list of addressable home automation (HA) devices and related methods
CN107450899B (en) Method and device for generating terminal control script
US10423142B2 (en) Thermostat configuration duplication system
JP2018525889A (en) Home automation system including device signature pairing and related methods
JP2018519762A (en) Home automation system including a security controller that terminates communication with an addressable device that operates abnormally and associated method
JP6323786B2 (en) Server, control method and program
US10200631B2 (en) Method for configuring a camera
JP2021166394A (en) Method, mobile device and non-transitory computer-readable storage medium for utilizing machine-readable codes for testing communication network
JP2006323597A (en) Network household electric appliance control system
CN108803371B (en) Control method and device for electrical equipment
KR101208857B1 (en) Method and system for node diagnosis based on sensor network
CN108966452B (en) Intelligent bulb control method and device, communication equipment and storage medium
CN109076099B (en) Method and control device for coordinating functional components of a motor vehicle with one another and/or with at least one offboard functional component
US20120280801A1 (en) Controlled device, device control system, device control program and device control method
CN107229236A (en) Greenhouse environment remote mobile monitoring system based on Android platform
US10656802B2 (en) User interface component registry
CN106256133B (en) Apparatus control method and device in domestic network system
CN113325729B (en) Region division method for household appliance, terminal device and readable storage medium
JP5266416B1 (en) Test system and test program

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