CN111163575B - Method and system for supporting remote control of five-way colored lamp - Google Patents

Method and system for supporting remote control of five-way colored lamp Download PDF

Info

Publication number
CN111163575B
CN111163575B CN202010002100.3A CN202010002100A CN111163575B CN 111163575 B CN111163575 B CN 111163575B CN 202010002100 A CN202010002100 A CN 202010002100A CN 111163575 B CN111163575 B CN 111163575B
Authority
CN
China
Prior art keywords
data
operating system
color
intelligent home
rgb
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
CN202010002100.3A
Other languages
Chinese (zh)
Other versions
CN111163575A (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.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya Information 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 Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN202010002100.3A priority Critical patent/CN111163575B/en
Publication of CN111163575A publication Critical patent/CN111163575A/en
Application granted granted Critical
Publication of CN111163575B publication Critical patent/CN111163575B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Abstract

The application discloses a method for supporting remote control by a five-way colored lamp, which comprises the following steps: s2: the method comprises the steps that hsb data of an intelligent home platform based on a first operating system are analyzed, data analysis results are obtained, and an analysis model is built according to the analysis results; obtaining an algorithm according to the analytical model; s4: and the data of the first operating system and the second operating system are mutually transmitted in two directions. Compared with the prior art, the method has the following beneficial effects: the problem that the homekit color lamp generally supports at most three RGB (red, green and blue) paths of display is solved, and the RGBCW (red, green and blue) five-path color lamp is supported; the problem of single homekit equipment can't remote control, and can't be by android smart mobile phone control is solved.

Description

Method and system for supporting remote control of five-way colored lamp
Technical Field
The application relates to the field of smart homes, in particular to a method for supporting remote control by using five-way colored lamps.
Background
The RGB color scheme is a color standard in the industry, and various colors are obtained by changing three color channels of red (R), green (G) and blue (B) and superimposing the three color channels on each other, where RGB represents colors of the three channels of red, green and blue, and the color standard almost includes all colors that can be perceived by human vision, and is one of the most widely used color systems at present. C (cold) W (arm) represents the cold and warm light values. HSB (h (hues) represents hue, s (saturation) represents saturation, and b (brightness) represents brightness, the medium corresponding to the HSB mode is human eyes), and the system is converted into an RGBCW system algorithm and further converted into RGBCW five-way control data, so that the device can support five-way colored light equipment, and meanwhile, the device has the capability of supporting android smart phone control.
The existing homekit (apple company intelligent home platform) equipment can be controlled by a mobile phone APP, and generally supports control of one-way to three-way colored lamps for homekit intelligent colored lamps. The existing Homekit colored lamp equipment mainly converts hs (H) (hue) of the Homekit into RGB data to realize color control. However, the prior art has the following disadvantages:
1. because homekit is an end-to-end control mode in the local area network, remote control is not supported;
2. android devices cannot control the homekit device, so that certain limitations exist in use scenes and universality;
and 3. the homekit color lamp only supports RGB three-way display at most.
Disclosure of Invention
The main purpose of the present application is to provide a method for supporting remote control by a five-way color lamp, which includes:
s2: the method comprises the steps that hsb data of an intelligent home platform based on a first operating system are analyzed, data analysis results are obtained, and an analysis model is built according to the analysis results; obtaining an algorithm according to the analytical model;
s4: and the data of the first operating system and the second operating system are mutually transmitted in two directions.
Optionally, step S2 includes:
s21: adding colored lamp equipment of the intelligent home platform into a control end by using equipment of the first operating system, switching to color temperature adjustment, adjusting and displaying by 360 degrees, and capturing HS data;
s22: analyzing the change rule of the HS data, taking a color temperature panel as a source of CW display data, taking an RGB panel as a source of RGB three-color data, comparing the display data with the three-color data, and separating the color temperature panel data by adopting an elimination method, wherein the rest are the RGB data;
s23: and carrying out segmentation processing on the HS data, enabling the HS to show the same increasing or decreasing trend in the overall effect, and separating out full white light and full cold light according to a first preset value and a second preset value.
Optionally, step S4 includes:
s41: constructing an intermediate conversion algorithm such that the hsb of the first operating system and the hsb of the second operating system can be mutually translated;
s42: and sending the data of the intelligent home platform to a server.
Optionally, the control end is a mobile phone app.
Optionally, the separating out the full white light and the full cold light according to the first preset value and the second preset value includes:
when s is 0, the white light is full white light; when s is more than or equal to 75, the luminescent material is full luminescent; the middle segment data is initialized with the warm light value in conjunction with the value of h.
Optionally, step S4 further includes:
s43: and displaying the data of the intelligent home platform on the server, and simultaneously supporting remote data issuing.
According to an aspect of the application, a system for supporting remote control by a five-way colored lamp is also provided, which includes:
the analysis module is used for analyzing the hsb data of the intelligent home platform based on the first operating system, obtaining a data analysis result and constructing an analysis model according to the analysis result; obtaining an algorithm according to the analytical model;
and the mutual transmission module is used for mutual data transmission between the first operating system and the second operating system in a two-way manner.
The application also discloses a computer device, which comprises a memory, a processor and a computer program stored in the memory and capable of being executed by the processor, wherein the processor realizes the method of any one of the above items when executing the computer program.
The application also discloses a computer-readable storage medium, a non-volatile readable storage medium, having stored therein a computer program which, when executed by a processor, implements the method of any of the above.
The present application also discloses a computer program product comprising computer readable code which, when executed by a computer device, causes the computer device to perform the method of any of the above.
Compared with the prior art, the method has the following beneficial effects:
1. the problem that the homekit color lamp generally supports at most three RGB (red, green and blue) paths of display is solved, and the RGBCW (red, green and blue) five-path color lamp is supported;
2. the problem of single homekit equipment can't remote control, and can't be by android smart mobile phone control is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and their description illustrate the embodiments of the invention and do not limit it. In the drawings:
FIG. 1 is a schematic flow chart of a method for supporting remote control of a five-way color lamp according to one embodiment of the present application;
FIG. 2 is a schematic flow chart of a method for supporting remote control of a five-way color lamp according to an embodiment of the application;
FIG. 3 is a schematic flow chart of a method for supporting remote control of a five-way color lamp according to an embodiment of the application;
FIG. 4 is a schematic diagram of a computer device according to one embodiment of the present application; and
FIG. 5 is a schematic diagram of a computer-readable storage medium according to one embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Referring to fig. 1, the present application provides a method for supporting remote control of a five-way color lamp, including:
s2: the method comprises the steps that hsb data of an intelligent home platform based on a first operating system are analyzed, data analysis results are obtained, and an analysis model is built according to the analysis results; obtaining an algorithm according to the analytical model;
s4: and the data of the first operating system and the second operating system are mutually transmitted in two directions.
Referring to fig. 2, in an embodiment of the present application, step S2 includes:
s21: adding colored lamp equipment of the intelligent home platform into a control end by using equipment of the first operating system, switching to color temperature adjustment, adjusting and displaying by 360 degrees, and capturing HS data;
s22: analyzing the change rule of the HS data, taking a color temperature panel as a source of CW display data, taking an RGB panel as a source of RGB three-color data, comparing the display data with the three-color data, and separating the color temperature panel data by adopting an elimination method, wherein the rest are the RGB data;
s23: and carrying out segmentation processing on the HS data, enabling the HS to show the same increasing or decreasing trend in the overall effect, and separating out full white light and full cold light according to a first preset value and a second preset value.
Referring to fig. 3, in an embodiment of the present application, step S4 includes:
s41: constructing an intermediate conversion algorithm such that the hsb of the first operating system and the hsb of the second operating system can be mutually translated;
s42: and sending the data of the intelligent home platform to a server.
In an embodiment of the application, the control terminal is a mobile app.
In an embodiment of the present application, the separating the full white light and the full cold light according to the first preset value and the second preset value includes:
when s is 0, the white light is full white light; when s is more than or equal to 75, the luminescent material is full luminescent; the middle segment data is initialized with the warm light value in conjunction with the value of h.
In an embodiment of the present application, step S4 further includes:
s43: and displaying the data of the intelligent home platform on the server, and simultaneously supporting remote data issuing.
The application also provides a system that five way color lamps support remote control, includes:
the analysis module is used for analyzing the hsb data of the intelligent home platform based on the first operating system, obtaining a data analysis result and constructing an analysis model according to the analysis result; obtaining an algorithm according to the analytical model;
compared with the prior art, the method has the following beneficial effects:
the problem that the homekit color lamp generally supports at most three RGB (red, green and blue) paths of display is solved, and the RGBCW (red, green and blue) five-path color lamp is supported;
the problem of single homekit equipment can't remote control, and can't be by android smart mobile phone control is solved.
Referring to fig. 4, the present application further provides a computer device including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method of any one of the above methods when executing the computer program.
Referring to fig. 5, a computer-readable storage medium, a non-volatile readable storage medium, having stored therein a computer program which, when executed by a processor, implements any of the methods described above.
A computer program product comprising computer readable code which, when executed by a computer device, causes the computer device to perform the method of any of the above.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (7)

1. A method for supporting remote control of a five-way colored lamp is characterized by comprising the following steps:
s2: the method comprises the steps that hsb data of an intelligent home platform based on a first operating system are analyzed, data analysis results are obtained, and an analysis model is built according to the analysis results; obtaining an algorithm according to the analytical model;
s4: the data of the first operating system and the data of the second operating system are mutually transmitted in two directions;
wherein the step S2 includes:
s21: adding colored lamp equipment of the intelligent home platform into a control end by using equipment of the first operating system, switching to color temperature adjustment, adjusting and displaying by 360 degrees, and capturing HS data;
s22: analyzing the change rule of the HS data, taking a color temperature panel as a source of CW display data, taking an RGB panel as a source of RGB three-color data, comparing the display data with the three-color data, and separating the color temperature panel data by adopting an elimination method, wherein the rest are the RGB data;
s23: carrying out segmentation processing on the HS data, enabling the HS to show the same increasing or decreasing trend in the overall effect, and separating out full white light and full cold light according to a first preset value and a second preset value;
wherein the step S4 includes:
s41: constructing an intermediate conversion algorithm such that the hsb of the first operating system and the hsb of the second operating system can be mutually translated;
s42: sending the data of the intelligent home platform to a server;
wherein, HS data is hue saturation data, CW display data is cold and warm light value display data.
2. The method for supporting remote control by using the five-way colored lamp according to claim 1, wherein the control end is a mobile phone app.
3. The method of claim 2, wherein the step of separating the full white light and the full cold light according to the first preset value and the second preset value comprises:
when s is 0, the white light is full white light; when s is more than or equal to 75, the luminescent material is full luminescent; the middle segment data is initialized with the warm light value in conjunction with the value of h.
4. The method for supporting remote control of the five-way color lamp according to claim 3, wherein the step S4 further comprises:
s43: and displaying the data of the intelligent home platform on the server, and simultaneously supporting remote data issuing.
5. The system for supporting remote control by the five-way colored lamp is characterized by comprising:
the analysis module is used for analyzing the hsb data of the intelligent home platform based on the first operating system, obtaining a data analysis result and constructing an analysis model according to the analysis result; obtaining an algorithm according to the analytical model;
the mutual transmission module is used for mutual transmission of data of the first operating system and the second operating system in a two-way manner;
the analysis module adds the colored lamp equipment of the intelligent home platform into a control end by using the equipment of the first operating system, switches to color temperature adjustment, adjusts and displays 360 degrees, and simultaneously captures HS data; analyzing the change rule of the HS data, taking a color temperature panel as a source of CW display data, taking an RGB panel as a source of RGB three-color data, comparing the display data with the three-color data, and separating the color temperature panel data by adopting an elimination method, wherein the rest are the RGB data; carrying out segmentation processing on the HS data, enabling the HS to show the same increasing or decreasing trend in the overall effect, and separating out full white light and full cold light according to a first preset value and a second preset value;
wherein the mutual transmission module constructs an intermediate conversion algorithm so that the hsb of the system of the first operating system and the hsb of the system of the second operating system can be mutually converted; and sending the data of the intelligent home platform to a server.
6. A computer device comprising a memory, a processor and a computer program stored in the memory and executable by the processor, wherein the processor implements the method of any one of claims 1-4 when executing the computer program.
7. A computer-readable storage medium, a non-transitory readable storage medium, having stored therein a computer program, characterized in that the computer program, when executed by a processor, implements the method according to any one of claims 1-4.
CN202010002100.3A 2020-01-02 2020-01-02 Method and system for supporting remote control of five-way colored lamp Active CN111163575B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010002100.3A CN111163575B (en) 2020-01-02 2020-01-02 Method and system for supporting remote control of five-way colored lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010002100.3A CN111163575B (en) 2020-01-02 2020-01-02 Method and system for supporting remote control of five-way colored lamp

Publications (2)

Publication Number Publication Date
CN111163575A CN111163575A (en) 2020-05-15
CN111163575B true CN111163575B (en) 2021-08-20

Family

ID=70561167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010002100.3A Active CN111163575B (en) 2020-01-02 2020-01-02 Method and system for supporting remote control of five-way colored lamp

Country Status (1)

Country Link
CN (1) CN111163575B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102110429A (en) * 2009-12-29 2011-06-29 英特尔公司 Techniques for adapting a color gamut
CN102564593A (en) * 2011-12-30 2012-07-11 河海大学常州校区 Plant growth condition monitoring system based on compute vision and internet of things
CN106030614A (en) * 2014-04-22 2016-10-12 史內普艾德有限公司 System and method for controlling a camera based on processing an image captured by other camera
WO2017190351A1 (en) * 2016-05-06 2017-11-09 SZ DJI Technology Co., Ltd. Systems and methods for video processing and display
CN110225315A (en) * 2019-07-12 2019-09-10 北京派克盛宏电子科技有限公司 Electric system screen monitored picture fusion method
CN110381287A (en) * 2019-03-21 2019-10-25 泰州市朗嘉尚网络科技有限公司 Multifunctional network control platform
CN112270254A (en) * 2020-10-27 2021-01-26 上海幻维数码创意科技有限公司 Element matching information processing method and device based on camera vision

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8558844B2 (en) * 2010-09-28 2013-10-15 Apple Inc. Systems, methods, and computer-readable media for changing colors of displayed assets
CN103248793B (en) * 2013-05-14 2016-08-10 旭曜科技股份有限公司 The colour of skin optimization method of gamut conversion system and device
CN103400150B (en) * 2013-08-14 2017-07-07 浙江大学 A kind of method and device that road edge identification is carried out based on mobile platform

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102110429A (en) * 2009-12-29 2011-06-29 英特尔公司 Techniques for adapting a color gamut
CN102564593A (en) * 2011-12-30 2012-07-11 河海大学常州校区 Plant growth condition monitoring system based on compute vision and internet of things
CN106030614A (en) * 2014-04-22 2016-10-12 史內普艾德有限公司 System and method for controlling a camera based on processing an image captured by other camera
WO2017190351A1 (en) * 2016-05-06 2017-11-09 SZ DJI Technology Co., Ltd. Systems and methods for video processing and display
CN110381287A (en) * 2019-03-21 2019-10-25 泰州市朗嘉尚网络科技有限公司 Multifunctional network control platform
CN110225315A (en) * 2019-07-12 2019-09-10 北京派克盛宏电子科技有限公司 Electric system screen monitored picture fusion method
CN112270254A (en) * 2020-10-27 2021-01-26 上海幻维数码创意科技有限公司 Element matching information processing method and device based on camera vision

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Android的图像内容检索系统;史继先;《中国优秀硕士学位论文全文数据库 信息科技辑》;20150215;全文 *

Also Published As

Publication number Publication date
CN111163575A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
CN105632412B (en) Method and its device and system that bias light showed and be played simultaneously video are provided
WO2017059732A1 (en) Display device for adjusting display colour gamut and method for adjusting display colour gamut therefor
CN106054655B (en) A kind of smart home inter-linked controlling method and device
CN103050090B (en) Method and device for adjusting display brightness of mobile terminal application
US20220116529A1 (en) Light supplementing method for shooting pictures, smart tv and computer-readable storage medium
CN110930917A (en) Display screen correction method and display screen correction system
WO2006003602A1 (en) Dominant color extraction for ambient light derived from video content mapped through unrendered color space
CN112616225A (en) Color light lamp illumination control method and terminal equipment
CN106227045A (en) A kind of Smart Home inter-linked controlling method, device and system
CN104428829A (en) Color control method and communication apparatus
CN106997748B (en) Display equipment and method and apparatus for display
CN105118475A (en) Brightness or brightness and chroma adjusting method of LED display screen
CN104902088A (en) Method and device for adjusting screen brightness of mobile terminal
CN106030665A (en) Creating a realistic color for a virtual object in an augmented reality environment
CN111326099A (en) Display correction method, device and system, storage medium and display system
CN112734600B (en) Hotel personalized intelligent lighting method based on mobile phone APP
KR20070090224A (en) Method of electronic color image saturation processing
CN111935885B (en) Linkage control method, equipment and storage medium for lamplight colors of terminal and equipment
US20140292616A1 (en) Computer monitor equalization using handheld device
CN103716605A (en) Television color temperature control method and system
CN111951696A (en) Correction method and related device for LED display screen
CN101110963B (en) Image adjusting device
CN110930932B (en) Display screen correction method and system
CN111163575B (en) Method and system for supporting remote control of five-way colored lamp
CN110444181A (en) Display methods, device, terminal and computer readable storage medium

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