[go: up one dir, main page]

CN117042265B - Calibration method, device, electronic equipment and computer readable storage medium - Google Patents

Calibration method, device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN117042265B
CN117042265B CN202311307203.0A CN202311307203A CN117042265B CN 117042265 B CN117042265 B CN 117042265B CN 202311307203 A CN202311307203 A CN 202311307203A CN 117042265 B CN117042265 B CN 117042265B
Authority
CN
China
Prior art keywords
calibration
emitting units
light emitting
light
lamp
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
CN202311307203.0A
Other languages
Chinese (zh)
Other versions
CN117042265A (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 Zhiyan Technology Co Ltd
Shenzhen Qianyan Technology Co Ltd
Original Assignee
Shenzhen Zhiyan Technology Co Ltd
Shenzhen Qianyan 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 Zhiyan Technology Co Ltd, Shenzhen Qianyan Technology Co Ltd filed Critical Shenzhen Zhiyan Technology Co Ltd
Priority to CN202311307203.0A priority Critical patent/CN117042265B/en
Publication of CN117042265A publication Critical patent/CN117042265A/en
Application granted granted Critical
Publication of CN117042265B publication Critical patent/CN117042265B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H05B47/155Coordinated control of two or more light sources
    • 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 application discloses a calibration method, a device, electronic equipment and a computer readable storage medium, and relates to the technical field of illumination, wherein the method is applied to a lamp, the lamp comprises a plurality of light-emitting units, and the method comprises the following steps: receiving a calibration instruction from a client; controlling the plurality of light emitting units to display the first light effect according to the calibration instruction; receiving first calibration information from the client, wherein the first calibration information is determined by a user according to first light efficiency; and if the first calibration information meets the preset condition, determining the number of the plurality of light emitting units according to the first calibration information. In the embodiment of the application, the calibration efficiency of the lamp can be improved.

Description

校准方法、装置、电子设备及计算机可读存储介质Calibration methods, devices, electronic equipment and computer-readable storage media

技术领域Technical field

本申请涉及照明技术领域,具体涉及一种校准方法、装置、电子设备及计算机可读存储介质。This application relates to the field of lighting technology, and specifically to a calibration method, device, electronic equipment and computer-readable storage medium.

背景技术Background technique

为了更准确地显示灯具的灯效,在使用灯具之前会对灯具包括的发光单元的数量进行校准。在校准灯具包括的发光单元的数量时,通常会先控制灯具包括的发光单元显示对应的颜色,再根据用户反馈的数据来获得灯具包括的发光单元的数量。然而,用户在对灯具包括的发光单元进行校准时过程过于繁琐,以致无法快速准确地得到发光单元的数量,从而降低了校准效率。In order to more accurately display the lighting effect of the lamp, the number of light-emitting units included in the lamp will be calibrated before use. When calibrating the number of light-emitting units included in a lamp, the light-emitting units included in the lamp are usually controlled to display corresponding colors, and then the number of light-emitting units included in the lamp is obtained based on user feedback data. However, the process for users to calibrate the light-emitting units included in the lamp is too cumbersome, so that the number of light-emitting units cannot be obtained quickly and accurately, thereby reducing the calibration efficiency.

发明内容Contents of the invention

本申请实施例公开一种校准方法、装置、电子设备及计算机可读存储介质,可以提高校准效率。The embodiments of the present application disclose a calibration method, device, electronic equipment and computer-readable storage medium, which can improve calibration efficiency.

第一方面,本申请实施例公开了一种校准方法,应用于灯具,该灯具包括多个发光单元,该方法包括:In a first aspect, embodiments of the present application disclose a calibration method, which is applied to a lamp that includes multiple light-emitting units. The method includes:

接收来自客户端的校准指令;Receive calibration instructions from the client;

根据校准指令控制多个发光单元显示第一灯效;Control multiple light-emitting units to display the first light effect according to the calibration instruction;

接收来自客户端的第一校准信息,第一校准信息由用户根据第一灯效确定;Receive the first calibration information from the client, the first calibration information is determined by the user based on the first lighting effect;

若第一校准信息满足预设条件,则根据第一校准信息确定多个发光单元的数量。If the first calibration information satisfies the preset condition, the number of the plurality of light-emitting units is determined according to the first calibration information.

第二方面,本申请实施例公开了另一种校准方法,包括:In a second aspect, embodiments of the present application disclose another calibration method, including:

响应于用户针对灯具的校准设置操作,显示用于校准的第一校准界面,灯具包括多个发光单元;In response to the user's calibration setting operation for the lamp, displaying a first calibration interface for calibration, the lamp including a plurality of light-emitting units;

向灯具发送校准指令,以使灯具控制多个发光单元显示第一灯效;Send a calibration instruction to the lamp so that the lamp controls multiple light-emitting units to display the first lighting effect;

响应于用户针对第一校准界面的第一操作,确定第一校准信息,第一校准信息由用户根据第一灯效确定;In response to the user's first operation on the first calibration interface, the first calibration information is determined, and the first calibration information is determined by the user based on the first lighting effect;

向灯具发送第一校准信息,以使灯具在第一校准信息满足预设条件的情况下,根据第一校准信息确定多个发光单元的数量。The first calibration information is sent to the lamp, so that the lamp determines the number of the plurality of light-emitting units according to the first calibration information when the first calibration information satisfies a preset condition.

第三方面,本申请实施例公开了一种校准装置,应用于灯具,该灯具包括多个发光单元,该装置包括:In a third aspect, embodiments of the present application disclose a calibration device, which is applied to a lamp. The lamp includes a plurality of light-emitting units. The device includes:

接收单元,用于接收来自客户端的校准指令;A receiving unit used to receive calibration instructions from the client;

控制单元,用于根据校准指令控制多个发光单元显示第一灯效;A control unit used to control multiple light-emitting units to display the first light effect according to the calibration instruction;

接收单元,还用于接收来自客户端的第一校准信息,第一校准信息由用户根据第一灯效确定;The receiving unit is also configured to receive first calibration information from the client, where the first calibration information is determined by the user based on the first lighting effect;

确定单元,用于若第一校准信息满足预设条件,则根据第一校准信息确定多个发光单元的数量。A determining unit configured to determine the number of multiple light-emitting units according to the first calibration information if the first calibration information satisfies the preset condition.

第四方面,本申请实施例公开了另一种校准装置,包括:In the fourth aspect, the embodiment of the present application discloses another calibration device, including:

显示单元,用于响应于用户针对灯具的校准设置操作,显示用于校准的第一校准界面,灯具包括多个发光单元;A display unit configured to display a first calibration interface for calibration in response to a user's calibration setting operation for the lamp, where the lamp includes a plurality of light-emitting units;

发送单元,用于向灯具发送校准指令,以使灯具控制多个发光单元显示第一灯效;A sending unit, used to send calibration instructions to the lamp, so that the lamp controls multiple light-emitting units to display the first light effect;

确定单元,用于响应于用户针对第一校准界面的第一操作,确定第一校准信息,第一校准信息由用户根据第一灯效确定;a determining unit configured to determine first calibration information in response to the user's first operation on the first calibration interface, where the first calibration information is determined by the user based on the first lighting effect;

发送单元,还用于向灯具发送第一校准信息,以使灯具在第一校准信息满足预设条件的情况下,根据第一校准信息确定多个发光单元的数量。The sending unit is also configured to send the first calibration information to the lamp, so that the lamp determines the number of multiple light-emitting units based on the first calibration information when the first calibration information satisfies the preset condition.

第五方面,本申请实施例公开了一种电子设备,该电子设备包括处理器和存储器,存储器存储有计算机程序,处理器调用计算机程序实现上述的声纹识别方法。In a fifth aspect, an embodiment of the present application discloses an electronic device. The electronic device includes a processor and a memory. The memory stores a computer program. The processor calls the computer program to implement the above voiceprint recognition method.

第六方面,本申请实施例公开了一种计算机可读存储介质,该计算机可读存储介质中存储有程序代码,程序代码可被处理器调用实现上述的声纹识别方法。In a sixth aspect, embodiments of the present application disclose a computer-readable storage medium that stores program code, and the program code can be called by a processor to implement the above voiceprint recognition method.

本申请实施例中,用户可以通过客户端对灯具进行校准设置,客户端可以响应于用户的校准设置操作,从而显示用于校准的第一校准界面,并向灯具发送校准指令,灯具可以根据校准指令控制多个发光单元显示第一灯效;基于第一灯效,用户可以通过客户端确认第一校准信息,客户端可以将第一校准信息发送给灯具,若第一校准信息满足预设条件,则灯具可以根据第一校准信息确定多个发光单元的数量,简化了用户对灯具进行校准的操作,从而可以提高校准效率。In the embodiment of the present application, the user can perform calibration settings on the lamp through the client. The client can respond to the user's calibration setting operation, thereby displaying the first calibration interface for calibration and sending calibration instructions to the lamp. The lamp can be calibrated according to The instruction controls multiple light-emitting units to display the first lighting effect; based on the first lighting effect, the user can confirm the first calibration information through the client, and the client can send the first calibration information to the lamp, if the first calibration information meets the preset conditions , then the lamp can determine the number of multiple light-emitting units according to the first calibration information, which simplifies the user's operation of calibrating the lamp, thereby improving calibration efficiency.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without exerting creative efforts.

图1是本申请实施例公开的一种灯具的结构示意图。Figure 1 is a schematic structural diagram of a lamp disclosed in an embodiment of the present application.

图2是本申请实施例公开的另一种灯具的结构示意图。Figure 2 is a schematic structural diagram of another lamp disclosed in the embodiment of the present application.

图3是本申请实施例公开的一种校准方法的流程示意图。Figure 3 is a schematic flow chart of a calibration method disclosed in the embodiment of the present application.

图4是本申请实施例公开的一种灯效的结构示意图。Figure 4 is a schematic structural diagram of a lighting effect disclosed in the embodiment of the present application.

图5是本申请实施例公开的一种客户端的界面示意图。Figure 5 is a schematic interface diagram of a client disclosed in the embodiment of the present application.

图6是本申请实施例公开的另一种客户端的界面示意图。Figure 6 is a schematic interface diagram of another client disclosed in the embodiment of the present application.

图7是本申请实施例公开的又一种客户端的界面示意图。Figure 7 is a schematic interface diagram of yet another client disclosed in an embodiment of the present application.

图8是本申请实施例公开的又一种客户端的界面示意图。Figure 8 is a schematic interface diagram of yet another client disclosed in the embodiment of the present application.

图9是本申请实施例公开的又一种客户端的界面示意图。Figure 9 is a schematic interface diagram of yet another client disclosed in the embodiment of the present application.

图10是本申请实施例公开的另一种校准方法的流程示意图。Figure 10 is a schematic flow chart of another calibration method disclosed in the embodiment of the present application.

图11是本申请实施例公开的另一种灯效的结构示意图。Figure 11 is a schematic structural diagram of another lighting effect disclosed in the embodiment of the present application.

图12是本申请实施例公开的又一种客户端的界面示意图。Figure 12 is a schematic interface diagram of yet another client disclosed in the embodiment of the present application.

图13是本申请实施例公开的又一种客户端的界面示意图。Figure 13 is a schematic interface diagram of yet another client disclosed in the embodiment of the present application.

图14是本申请实施例公开的一种校准装置的结构示意图。Figure 14 is a schematic structural diagram of a calibration device disclosed in the embodiment of the present application.

图15是本申请实施例公开的另一种校准装置的结构示意图。Figure 15 is a schematic structural diagram of another calibration device disclosed in the embodiment of the present application.

图16是本申请实施例公开的一种电子设备的结构示意图。Figure 16 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.

图17是本申请实施例公开的一种计算机可读存储介质的结构示意图。Figure 17 is a schematic structural diagram of a computer-readable storage medium disclosed in an embodiment of the present application.

具体实施方式Detailed ways

下面详细描述本申请的实施方式,实施方式的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性地,仅用于解释本申请,而不能理解为对本申请的限制。The embodiments of the present application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application and cannot be understood as limiting the present application.

为了使本技术领域的人员更好地理解本申请的方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整的描述。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those in the technical field to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the scope of protection of this application.

为了更准确地显示灯具的灯效,在使用灯具之前会对灯具包括的发光单元的数量进行校准。在校准灯具包括的发光单元数量时,通常会先控制灯具包括的发光单元显示对应的颜色,再根据用户反馈的数据来获得设备包括的发光单元的数量。然而,用户在对灯具包括的发光单元进行校准时过程过于繁琐,以致无法快速准确地得到发光单元的数量,从而降低了校准效率。In order to more accurately display the lighting effect of the lamp, the number of light-emitting units included in the lamp will be calibrated before use. When calibrating the number of light-emitting units included in a lamp, the light-emitting units included in the lamp are usually controlled to display corresponding colors, and then the number of light-emitting units included in the device is obtained based on user feedback data. However, the process for users to calibrate the light-emitting units included in the lamp is too cumbersome, so that the number of light-emitting units cannot be obtained quickly and accurately, thereby reducing the calibration efficiency.

为了解决上述问题,本申请实施例中,用户可以通过客户端对灯具进行校准设置,客户端可以响应于用户的校准设置操作,从而显示用于校准的第一校准界面,并向灯具发送校准指令,灯具可以根据校准指令控制多个发光单元显示第一灯效;基于第一灯效,用户可以通过客户端确认第一校准信息,客户端可以将第一校准信息发送给灯具,若第一校准信息满足预设条件,则灯具可以根据第一校准信息确定多个发光单元的数量,简化了用户对灯具进行校准的操作,从而可以提高校准效率。In order to solve the above problem, in the embodiment of the present application, the user can perform calibration settings on the lamp through the client. The client can respond to the user's calibration setting operation, thereby displaying the first calibration interface for calibration and sending calibration instructions to the lamp. , the lamp can control multiple light-emitting units to display the first lighting effect according to the calibration instruction; based on the first lighting effect, the user can confirm the first calibration information through the client, and the client can send the first calibration information to the lamp. If the first calibration If the information meets the preset conditions, the lamp can determine the number of multiple light-emitting units according to the first calibration information, which simplifies the user's operation of calibrating the lamp, thereby improving calibration efficiency.

请参阅图1,图1是本申请实施例公开的一种灯具的结构示意图。如图1所示,该灯具可以包括开关模块、通信模块、控制模块、驱动模块、调试模块、稳压模块以及灯带,该灯带包括多个发光单元。其中,控制模块分别与开关模块、通信模块、驱动模块、调试模块以及稳压模块连接,驱动模块分别与稳压模块以及灯带连接,灯带与稳压模块连接。Please refer to FIG. 1 , which is a schematic structural diagram of a lamp disclosed in an embodiment of the present application. As shown in Figure 1, the lamp may include a switch module, a communication module, a control module, a driving module, a debugging module, a voltage stabilizing module, and a light strip. The light strip includes multiple light-emitting units. Among them, the control module is connected to the switch module, the communication module, the driving module, the debugging module and the voltage stabilizing module respectively, the driving module is connected to the voltage stabilizing module and the light strip respectively, and the light strip is connected to the voltage stabilizing module.

开关模块可以用于控制灯具的状态,该状态可以包括工作状态和非工作状态。在工作状态下,灯具可以与外部设备进行通信、也可以控制灯带显示对应的灯效,还可以对灯带进行调试,在此不对工作状态下灯具的功能进行限定。示例性的,当灯具的状态为非工作状态时,可以通过开关模块使灯具进入工作状态。示例性的,当灯具的状态为工作状态时,可以通过开关模块使灯具进入非工作状态。The switch module can be used to control the status of the lamp, which status can include working status and non-working status. In the working state, the lamps can communicate with external devices, control the light strips to display corresponding light effects, and debug the light strips. The functions of the lamps in the working state are not limited here. For example, when the status of the lamp is in the non-working state, the switch module can be used to put the lamp into the working state. For example, when the status of the lamp is the working state, the switch module can be used to make the lamp enter the non-working state.

通信模块可以用于灯具与外部设备建立通信,从而进行数据传输。示例性的,用户可以先将客户端与灯具建立通信连接,然后可以通过客户端修改灯具的工作参数,将对应该工作参数的数据信息通过灯具的通信模块传输给灯具的控制模块。The communication module can be used to establish communication between the lamp and external devices for data transmission. For example, the user can first establish a communication connection between the client and the lamp, and then modify the working parameters of the lamp through the client, and transmit the data information of the corresponding working parameters to the control module of the lamp through the communication module of the lamp.

控制模块可以用于对数据信息进行处理,得到控制信号,并将控制信号发送给驱动模块以驱动灯带工作。示例性的,用户修改灯具的工作参数之后,控制模块可以将对应该工作参数的数据信息进行处理得到对应的控制信号,然后可以将控制信号发送给驱动模块。The control module can be used to process data information, obtain a control signal, and send the control signal to the driving module to drive the light strip to work. For example, after the user modifies the working parameters of the lamp, the control module can process the data information of the corresponding working parameters to obtain the corresponding control signal, and then the control signal can be sent to the driving module.

驱动模块可以用于根据控制信号驱动灯带工作。示例性的,驱动模块可以根据控制信号输出对应的电流值来驱动灯带工作。The driving module can be used to drive the light strip to work according to the control signal. For example, the driving module can output a corresponding current value according to the control signal to drive the light strip to work.

调试模块可以用于对灯具进行调试,得到调试信息。The debugging module can be used to debug lamps and obtain debugging information.

稳压模块可以为灯具工作提供稳定的工作电压。The voltage stabilizing module can provide stable working voltage for lamp operation.

请参阅图2,图2是本申请实施例公开的另一种灯具的结构示意图。如图2所示,开关模块可以包括开关,用户可以通过开关来控制灯具的状态;通信模块可以包括无线网络(Wireless Fidelity,WIFI)子模块、麦克风(Microphone,MIC)子模块、WIFI天线(Antenna,ANT)以及蓝牙天线,WIFI子模块可以用于接收或发送与灯具相关的信息,MIC子模块可以用于采集语音信号;控制模块可以包括主控芯片和微控制单元(Microcontroller Unit,MCU),主控芯片和MCU可以分别与稳压模块连接,主控芯片可以用于处理与灯具相关的信息以得到对应的数据,与灯具相关的信息可以包括蓝牙信息、WIFI信息、MIC采集的声音信息等,MCU可以将主控芯片发送的数据转换为控制信号并可以将控制信号发送给驱动模块;驱动模块可以包括驱动集成电路(Integrated Circuit,IC),可以根据控制信号输出对应的电流值驱动灯带工作;调试模块可以包括调试电路接口,可以用于打印调试信息;稳压模块可以包括适配器和低压差稳压器;灯带可以用于显示对应的灯效。Please refer to FIG. 2 , which is a schematic structural diagram of another lamp disclosed in an embodiment of the present application. As shown in Figure 2, the switch module can include a switch, and the user can control the status of the lamp through the switch; the communication module can include a wireless network (Wireless Fidelity, WIFI) sub-module, a microphone (Microphone, MIC) sub-module, and a WIFI antenna (Antenna). , ANT) and Bluetooth antenna, the WIFI sub-module can be used to receive or send information related to the lamp, and the MIC sub-module can be used to collect voice signals; the control module can include a main control chip and a microcontroller unit (Microcontroller Unit, MCU), The main control chip and MCU can be connected to the voltage stabilizing module respectively. The main control chip can be used to process information related to the lamp to obtain corresponding data. The information related to the lamp can include Bluetooth information, WIFI information, sound information collected by the MIC, etc. , the MCU can convert the data sent by the main control chip into a control signal and can send the control signal to the drive module; the drive module can include a drive integrated circuit (IC), which can drive the light strip according to the corresponding current value output by the control signal. work; the debugging module can include a debugging circuit interface, which can be used to print debugging information; the voltage stabilizing module can include an adapter and a low-voltage voltage regulator; the light strip can be used to display the corresponding lighting effect.

请参阅图3,图3是本申请实施例公开的一种校准方法的流程示意图。如图3所示,该方法包括以下步骤。Please refer to FIG. 3 , which is a schematic flow chart of a calibration method disclosed in an embodiment of the present application. As shown in Figure 3, the method includes the following steps.

301、客户端响应于用户针对灯具的校准设置操作,显示用于校准的第一校准界面。301. The client displays the first calibration interface for calibration in response to the user's calibration setting operation for the lamp.

用户可以通过客户端对灯具进行校准设置操作,客户端可以响应于用户针对灯具的校准设置操作,然后可以显示用于校准的第一校准页面。其中,用户针对灯具的校准设置操作指的是用户选择对灯具中发光单元的数量进行校准的操作,从而使灯具更准确的显示灯效;第一校准界面可以包括用于用户确定校准信息的操作控件,发光单元可以包括一个或多个灯珠。The user can perform a calibration setting operation on the lamp through the client, and the client can respond to the user's calibration setting operation on the lamp, and then can display a first calibration page for calibration. Among them, the user's calibration setting operation for the lamp refers to the user's operation of selecting to calibrate the number of light-emitting units in the lamp, so that the lamp can display the lighting effect more accurately; the first calibration interface may include an operation for the user to determine the calibration information. The control and lighting unit may include one or more lamp beads.

作为一种实施方式,当用户第一次将灯具绑定至客户端时,客户端可以在绑定完成后显示第一校准界面,以提示用户对灯具进行校准设置,简化了校准设置的操作过程,从而提高了用户的体验感。As an implementation method, when the user binds the lamp to the client for the first time, the client can display the first calibration interface after the binding is completed to prompt the user to perform calibration settings on the lamp, simplifying the calibration setting operation process. , thereby improving the user experience.

302、客户端向灯具发送校准指令。302. The client sends calibration instructions to the lamp.

客户端在显示第一校准界面的同时,还可以向灯具发送校准指令,以使灯具可以进入校准阶段。While displaying the first calibration interface, the client can also send a calibration instruction to the lamp so that the lamp can enter the calibration stage.

步骤302可以和步骤301同步执行。Step 302 can be executed simultaneously with step 301.

303、灯具根据校准指令控制多个发光单元显示第一灯效。303. The lamp controls multiple light-emitting units to display the first light effect according to the calibration instruction.

灯具可以包括多个发光单元。灯具在接收到校准指令之后,可以控制多个发光单元显示第一灯效。The luminaire may include multiple lighting units. After receiving the calibration instruction, the lamp can control multiple light-emitting units to display the first light effect.

作为一种实施方式,灯具在接收到校准指令之后,可以先对校准指令进行校验,若校验成功,则可以进入校准阶段,并可以控制多个发光单元显示第一灯效,若校验失败则不进入校准阶段。As an implementation manner, after receiving the calibration instruction, the lamp can first verify the calibration instruction. If the verification is successful, it can enter the calibration stage and can control multiple light-emitting units to display the first light effect. If the verification is successful, If it fails, the calibration phase will not be entered.

作为一种实施方式,灯具根据校准指令控制多个发光单元显示第一灯效可以包括:As an implementation manner, the lamp controlling multiple light-emitting units to display the first light effect according to the calibration instruction may include:

根据校准指令,将多个发光单元进行分组得到多个灯组;According to the calibration instructions, multiple light-emitting units are grouped to obtain multiple lamp groups;

控制多个灯组中每个灯组的第一个发光单元显示第一颜色;Controlling the first light-emitting unit of each of the plurality of light groups to display the first color;

控制每个灯组中除第一个发光单元之外的发光单元显示第二颜色,第一颜色与第二颜色不同。The light-emitting units except the first light-emitting unit in each light group are controlled to display a second color, where the first color is different from the second color.

在控制多个发光单元显示第一灯效时,灯具可以先将多个发光单元进行分组得到多个灯组,然后控制多个灯组中每个灯组的第一个发光单元显示第一颜色,最后控制每个灯组中除第一个发光单元之外的发光单元显示第二颜色,从而使得多个发光单元显示第一灯效。其中,第一颜色与第二颜色不同。第一颜色可以为绿色,也可以为红色,还可以为蓝色,还可以为其他颜色,在此不对第一颜色进行限制。第一颜色和第二颜色可以由厂家设置,也可以由用户设置。When controlling multiple light-emitting units to display the first light effect, the lamp can first group the multiple light-emitting units to obtain multiple light groups, and then control the first light-emitting unit of each light group in the multiple light groups to display the first color. , and finally control the light-emitting units in each light group except the first light-emitting unit to display the second color, so that the multiple light-emitting units display the first light effect. Wherein, the first color and the second color are different. The first color may be green, red, blue, or other colors, and the first color is not limited here. The first color and the second color can be set by the manufacturer or set by the user.

在对多个发光单元进行分组时,可以以每组均包括预设数量的发光单元进行分组。预设数量可以为4,也可以为6,也可以为10,还可以为其他值,在此不对预设数量进行限制。预设数量可以由厂家设置,也可以由用户设置。When multiple light-emitting units are grouped, each group may include a preset number of light-emitting units. The preset number can be 4, 6, 10, or other values. There is no limit to the preset number here. The preset quantity can be set by the manufacturer or by the user.

请参阅图4,图4是本申请实施例公开的一种灯效的结构示意图。如图4所示,该灯效为按照每组10个发光单元对多个发光单元进行分组之后得到的灯效,该灯效可以包括第一颜色和第二颜色。灯具可以控制每一灯组的第1个发光单元显示第一颜色,其余9个发光单元显示第二颜色。其中,A为第一颜色,B为第二颜色。Please refer to FIG. 4 , which is a schematic structural diagram of a lighting effect disclosed in an embodiment of the present application. As shown in FIG. 4 , the lighting effect is a lighting effect obtained by grouping a plurality of light-emitting units according to each group of 10 lighting units. The lighting effect may include a first color and a second color. The lamp can control the first light-emitting unit of each light group to display the first color, and the remaining 9 light-emitting units to display the second color. Among them, A is the first color and B is the second color.

304、客户端响应于用户针对第一校准界面的第一操作,确定第一校准信息。304. The client determines the first calibration information in response to the user's first operation on the first calibration interface.

在灯具显示第一灯效之后,基于第一灯效,用户可以对第一校准界面进行第一操作,客户端可以响应于该第一操作,然后可以确定第一校准信息。第一操作可以为用户在第一校准界面输入第一校准信息的操作,也可以为用户在第一校准界面选择第一校准信息的操作,还可以为其他形式的操作。第一校准信息可以包括第一颜色的发光单元的数量和灯具的裁剪信息。第一颜色的发光单元的数量可以由用户根据第一灯效确定,裁剪信息可以为未裁剪,也可以为已裁剪。未裁剪表示用户没有对灯具包括的多个发光单元进行裁剪,从而使得分组之后得到的多个灯组中每个灯组包括的发光单元的数量相同;已裁剪表示用户对灯具包括的多个发光单元进行了裁剪,从而使得分组之后得到的多个灯组中最后一个灯组包括的发光单元的数量小于或等于多个灯组中除最后一个灯组之外的灯组包括的发光单元的数量。After the lamp displays the first lighting effect, based on the first lighting effect, the user can perform a first operation on the first calibration interface, the client can respond to the first operation, and then can determine the first calibration information. The first operation may be an operation in which the user inputs the first calibration information on the first calibration interface, or may be an operation in which the user selects the first calibration information on the first calibration interface, or may be other forms of operations. The first calibration information may include the number of light-emitting units of the first color and cropping information of the lamp. The number of light-emitting units of the first color can be determined by the user according to the first lighting effect, and the cropping information can be uncropped or cropped. Uncropped means that the user has not cropped the multiple light-emitting units included in the lamp, so that the number of light-emitting units included in each of the multiple lamp groups obtained after grouping is the same; clipped means that the user has not clipped the multiple light-emitting units included in the lamp. The units are cropped so that the number of light-emitting units included in the last light group among the multiple light groups obtained after grouping is less than or equal to the number of light-emitting units included in the light groups except the last light group among the multiple light groups. .

请参阅图5,图5是本申请实施例公开的一种客户端的界面示意图。如图5所示,该界面可以包括选择控件、滑动控件和按钮控件,其中D为选择控件,E为滑动控件,F为按钮控件。选择控件可以用于选择第一颜色的发光单元的数量,滑动控件可以用于选择灯具的裁剪信息,按钮控件可以用于确定进入校准。Please refer to Figure 5, which is a schematic interface diagram of a client disclosed in an embodiment of the present application. As shown in Figure 5, the interface can include selection controls, sliding controls and button controls, where D is a selection control, E is a sliding control, and F is a button control. The selection control can be used to select the number of light-emitting units of the first color, the sliding control can be used to select cropping information of the lamp, and the button control can be used to determine to enter calibration.

示例性的,第一颜色可以为绿色,用户可以统计第一灯效中绿色发光单元的数量,然后通过选择控件选择绿灯的数量。用户可以根据实际情况确定灯具的裁剪信息,然后可以将滑动控件的滑块滑动至对应的裁剪信息。For example, the first color can be green, and the user can count the number of green light-emitting units in the first lighting effect, and then select the number of green lights through the selection control. The user can determine the cropping information of the lamp according to the actual situation, and then slide the slider of the sliding control to the corresponding cropping information.

请参阅图6,图6是本申请实施例公开的另一种客户端的界面示意图。如图6所示,G为选择控件的下拉框。用户可以滑动选择控件的下拉框来选择对应的绿色发光单元的数量。Please refer to FIG. 6 , which is a schematic interface diagram of another client disclosed in an embodiment of the present application. As shown in Figure 6, G is the drop-down box of the selection control. The user can slide the drop-down box of the selection control to select the corresponding number of green light-emitting units.

305、客户端向灯具发送第一校准信息。305. The client sends the first calibration information to the lamp.

如图5所示,用户在通过第一校准界面确定了第一校准信息之后,可以点击按钮控件进入校准,然后客户端可以将第一校准信息发送给灯具。As shown in Figure 5, after the user determines the first calibration information through the first calibration interface, the user can click the button control to enter calibration, and then the client can send the first calibration information to the lamp.

306、灯具根据第一校准信息确定多个发光单元的数量。306. The lamp determines the number of multiple light-emitting units according to the first calibration information.

灯具在接收到第一校准信息之后,可以先判断第一校准信息是否满足预设条件。若第一校准信息满足预设条件,则灯具可以根据第一校准信息确定多个发光单元的数量。预设条件可以根据需求设置。After receiving the first calibration information, the lamp can first determine whether the first calibration information satisfies the preset conditions. If the first calibration information satisfies the preset condition, the lamp can determine the number of multiple light-emitting units based on the first calibration information. Preset conditions can be set according to needs.

作为一种实施方式,第一校准信息可以包括第一数量和灯具的裁剪信息,第一数量为第一灯效中显示第一颜色的发光单元的数量,若第一校准信息满足预设条件,则根据第一校准信息确定多个发光单元的数量可以包括:As an implementation manner, the first calibration information may include a first quantity and cropping information of the lamp. The first quantity is the number of light-emitting units displaying the first color in the first lighting effect. If the first calibration information meets the preset conditions, Then determining the number of multiple light-emitting units according to the first calibration information may include:

若裁剪信息为第一信息,则第一校准信息满足预设条件;If the cropping information is the first information, the first calibration information satisfies the preset condition;

根据第一数量确定多个发光单元的数量。The number of the plurality of light-emitting units is determined according to the first number.

第一校准信息可以包括第一颜色的发光单元的数量和灯具的裁剪信息。在裁剪信息为第一信息的情况下,可以确定第一校准信息满足预设条件,然后可以根据第一数量确定多个发光单元的数量。第一信息指的是代表灯具是否裁剪的信息。示例性的,第一信息可以为未裁剪。The first calibration information may include the number of light-emitting units of the first color and cropping information of the lamp. In the case where the cropping information is the first information, it can be determined that the first calibration information satisfies the preset condition, and then the number of the plurality of light-emitting units can be determined according to the first number. The first information refers to information representing whether the lamp is cropped. For example, the first information may be uncropped.

灯具在接收到第一校准信息之后,可以先判断裁剪信息是否为第一信息,若裁剪信息为第一信息,则可以根据第一校准信息中第一数量确定多个发光单元的数量。示例性的,可以将第一颜色发光单元的数量与预设数量的乘积确定为灯具中发光单元的数量。示例性的,若预设数量为10且第一颜色的发光单元的数量为6,则多个发光单元的数量为10*6=60。After receiving the first calibration information, the lamp can first determine whether the cropping information is the first information. If the cropping information is the first information, the number of multiple light-emitting units can be determined based on the first number in the first calibration information. For example, the product of the number of first color light-emitting units and the preset number may be determined as the number of light-emitting units in the lamp. For example, if the preset number is 10 and the number of light-emitting units of the first color is 6, then the number of multiple light-emitting units is 10*6=60.

用户在对灯具包括的多个发光单元进行校准之后,可以通过客户端对灯具包括的发光单元进行自定义分段设置、自定义颜色设置、自定义颜色高阶设置等自定义设置,以满足用户对灯具的自定义需求。由于校准之后灯具可以准确地获得其包括的发光单元的数量,因而在用户对灯具进行自定义设置之后,可以更准确的显示对应的灯效,从而可以提高用户的体验感。After calibrating multiple light-emitting units included in the lamp, the user can use the client to perform customized settings such as custom segment settings, custom color settings, custom color high-level settings, etc. for the light-emitting units included in the lamp to meet the needs of the user. Custom needs for lighting fixtures. Since the lamp can accurately obtain the number of light-emitting units it includes after calibration, the corresponding lighting effect can be displayed more accurately after the user customizes the settings of the lamp, thereby improving the user's experience.

请参阅图7,图7是本申请实施例公开的又一种客户端的界面示意图。如图7所示,该界面为对灯具包括的发光单元进行自定义分段设置的界面,用户可以通过该界面对灯具进行自定义分段设置。在用户对灯具进行校准之后,可以进入分段设置界面对灯具进行自定义分段设置以自定义灯效。Please refer to FIG. 7 , which is a schematic interface diagram of yet another client disclosed in an embodiment of the present application. As shown in Figure 7, this interface is an interface for customizing segmented settings for the light-emitting units included in the lamps. Users can use this interface to perform customized segmented settings for the lamps. After users calibrate the lamps, they can enter the segment setting interface to customize segment settings for the lamps to customize the lighting effects.

请参阅图8,图8是本申请实施例公开的又一种客户端的界面示意图。如图8所示,该界面为对灯具包括的发光单元进行自定义(Do It Yourself,DIY)颜色的界面,用户可以通过该界面对灯具中发光单元的颜色进行自定义设置。在用户对灯具进行校准之后,可以进入DIY界面对灯具中发光单元的颜色进行自定义设置以自定义灯效。Please refer to FIG. 8 , which is a schematic interface diagram of yet another client disclosed in an embodiment of the present application. As shown in Figure 8, this interface is an interface for customizing (Do It Yourself, DIY) the color of the light-emitting unit included in the lamp. The user can customize the color of the light-emitting unit in the lamp through this interface. After users calibrate the lamp, they can enter the DIY interface to customize the color of the light-emitting unit in the lamp to customize the lighting effect.

请参阅图9,图9是本申请实施例公开的又一种客户端的界面示意图。如图9所示,该界面为对灯具包括的发光单元进行自定义颜色高阶设置的界面,用户可以通过该界面对灯具中发光单元的颜色进行高阶的自定义设置。在用户对灯具进行校准之后,可以进入高阶设置界面对灯具中发光单元的颜色进行高阶设置以自定义灯效。Please refer to FIG. 9 , which is a schematic interface diagram of yet another client disclosed in an embodiment of the present application. As shown in Figure 9, this interface is an interface for high-level customized color settings for the light-emitting units included in the lamp. Users can use this interface to perform high-level customized settings for the color of the light-emitting units in the lamp. After the user has calibrated the lamp, he or she can enter the advanced setting interface to perform advanced settings on the color of the light-emitting unit in the lamp to customize the lighting effect.

在图3所描述的方法实施例中,用户可以通过客户端对灯具进行校准设置,客户端可以响应于用户的校准设置操作,从而显示用于校准的第一校准界面,并向灯具发送校准指令,灯具可以根据校准指令控制多个发光单元显示第一灯效;基于第一灯效,用户可以通过客户端确认第一校准信息,客户端可以将第一校准信息发送给灯具,若第一校准信息满足预设条件,则灯具可以根据第一校准信息确定多个发光单元的数量,简化了用户对灯具进行校准的操作,从而可以提高校准效率。In the method embodiment described in Figure 3, the user can perform calibration settings on the lamp through the client. The client can respond to the user's calibration setting operation, thereby displaying the first calibration interface for calibration and sending calibration instructions to the lamp. , the lamp can control multiple light-emitting units to display the first lighting effect according to the calibration instruction; based on the first lighting effect, the user can confirm the first calibration information through the client, and the client can send the first calibration information to the lamp. If the first calibration If the information meets the preset conditions, the lamp can determine the number of multiple light-emitting units according to the first calibration information, which simplifies the user's operation of calibrating the lamp, thereby improving calibration efficiency.

请参阅图10,图10是本申请实施例公开的另一种校准方法的流程示意图。如图10所示,该方法包括以下步骤。Please refer to FIG. 10 , which is a schematic flow chart of another calibration method disclosed in an embodiment of the present application. As shown in Figure 10, the method includes the following steps.

1001、客户端响应于用户针对灯具的校准设置操作,显示用于校准的第一校准界面。1001. The client displays the first calibration interface for calibration in response to the user's calibration setting operation for the lamp.

用户可以通过客户端对灯具进行校准设置操作,客户端可以响应于用户针对灯具的校准设置操作,然后可以显示用于校准的第一校准页面。其中,用户针对灯具的校准设置操作指的是用户选择对灯具中发光单元的数量进行校准的操作,从而使灯具更准确的显示灯效;第一校准界面可以包括用于用户确定校准信息的操作控件。The user can perform a calibration setting operation on the lamp through the client, and the client can respond to the user's calibration setting operation on the lamp, and then can display a first calibration page for calibration. Among them, the user's calibration setting operation for the lamp refers to the user's operation of selecting to calibrate the number of light-emitting units in the lamp, so that the lamp can display the lighting effect more accurately; the first calibration interface may include an operation for the user to determine the calibration information. controls.

步骤1001的详细描述可以参考步骤301的详细描述。For a detailed description of step 1001, please refer to the detailed description of step 301.

1002、客户端向灯具发送校准指令。1002. The client sends calibration instructions to the lamp.

客户端在显示第一校准界面的同时,还可以向灯具发送校准指令,以使灯具可以进入校准阶段。While displaying the first calibration interface, the client can also send a calibration instruction to the lamp so that the lamp can enter the calibration stage.

步骤1002可以和步骤1001同步执行。Step 1002 can be executed simultaneously with step 1001.

1003、灯具根据校准指令控制多个发光单元显示第一灯效。1003. The lamp controls multiple light-emitting units to display the first light effect according to the calibration instruction.

灯具可以包括多个发光单元。灯具在接收到校准指令之后,可以控制多个发光单元显示第一灯效。The luminaire may include multiple lighting units. After receiving the calibration instruction, the lamp can control multiple light-emitting units to display the first light effect.

作为一种实施方式,灯具根据校准指令控制多个发光单元显示第一灯效可以包括:As an implementation manner, the lamp controlling multiple light-emitting units to display the first light effect according to the calibration instruction may include:

根据校准指令,将多个发光单元进行分组得到多个灯组;According to the calibration instructions, multiple light-emitting units are grouped to obtain multiple lamp groups;

控制多个灯组中每个灯组的第一个发光单元显示第一颜色;Controlling the first light-emitting unit of each of the plurality of light groups to display the first color;

控制每个灯组中除第一个发光单元之外的发光单元显示第二颜色,第一颜色与第二颜色不同。The light-emitting units except the first light-emitting unit in each light group are controlled to display a second color, where the first color is different from the second color.

步骤1003的详细描述可以参考步骤303的详细描述。For detailed description of step 1003, please refer to the detailed description of step 303.

1004、客户端响应于用户针对第一校准界面的第一操作,确定第一校准信息。1004. The client determines the first calibration information in response to the user's first operation on the first calibration interface.

在灯具显示第一灯效之后,基于第一灯效,用户可以对第一校准界面进行第一操作,客户端可以响应于该第一操作,然后可以确定第一校准信息。第一操作可以为用户在第一校准界面输入第一校准信息的操作,也可以为用户在第一校准界面选择第一校准信息的操作,还可以为其他形式的操作。第一校准信息可以包括第一颜色的发光单元的数量和灯具的裁剪信息。第一颜色的发光单元的数量可以由用户根据第一灯效确定,裁剪信息可以为未裁剪,也可以为已裁剪。After the lamp displays the first lighting effect, based on the first lighting effect, the user can perform a first operation on the first calibration interface, the client can respond to the first operation, and then can determine the first calibration information. The first operation may be an operation in which the user inputs the first calibration information on the first calibration interface, or may be an operation in which the user selects the first calibration information on the first calibration interface, or may be other forms of operations. The first calibration information may include the number of light-emitting units of the first color and cropping information of the lamp. The number of light-emitting units of the first color can be determined by the user according to the first lighting effect, and the cropping information can be uncropped or cropped.

步骤1004的详细描述可以参考步骤304的详细描述。For a detailed description of step 1004, please refer to the detailed description of step 304.

1005、客户端向灯具发送第一校准信息。1005. The client sends the first calibration information to the lamp.

用户在通过第一校准界面确定了第一校准信息之后,可以点击按钮控件进入校准,然后客户端可以将第一校准信息发送给灯具。After the user determines the first calibration information through the first calibration interface, the user can click the button control to enter calibration, and then the client can send the first calibration information to the lamp.

1006、灯具控制多个发光单元显示第二灯效。1006. The lamp controls multiple light-emitting units to display the second light effect.

灯具在接收到第一校准信息之后,可以先判断第一校准信息是否满足预设条件。若第一校准信息不满足预设条件,则灯具可以控制多个发光单元显示第二灯效。After receiving the first calibration information, the lamp can first determine whether the first calibration information satisfies the preset conditions. If the first calibration information does not meet the preset conditions, the lamp can control multiple light-emitting units to display the second light effect.

作为一种实施方式,第一校准信息可以包括第一数量和灯具的裁剪信息,第一数量为第一灯效中显示第一颜色的发光单元的数量,若第一校准信息不满足预设条件,则控制多个发光单元显示第二灯效包括:As an implementation manner, the first calibration information may include a first quantity and cropping information of the lamp. The first quantity is the number of light-emitting units displaying the first color in the first lighting effect. If the first calibration information does not meet the preset conditions , then controlling multiple light-emitting units to display the second light effect includes:

若裁剪信息为第二信息,则第一校准信息不满足所示预设条件;If the cropping information is the second information, the first calibration information does not satisfy the preset condition shown;

控制多个灯组中最后一个灯组包括的发光单元显示第三颜色,第三颜色与第一颜色不同,第三颜色与第二颜色不同。The lighting unit included in the last lamp group among the plurality of lamp groups is controlled to display a third color, the third color is different from the first color, and the third color is different from the second color.

在裁剪信息为第二信息的情况下,可以确定第一校准信息不满足预设条件,然后灯具可以控制多个灯组中最后一个灯组包括的发光单元显示第三颜色,以显示第三灯效,其中第三颜色与第一颜色不同,第三颜色与第二颜色不同。灯具可以根据第一颜色的发光单元的数量确定多个灯组中最后一个灯组。示例性的,当第一颜色的发光单元的数量为6,则可以将多个灯组中第6组确定为最后一个灯组。最后一个灯组包括的发光单元的数量可以等于多个灯组中除最后一个灯组之外的灯组包括的发光单元的数量,也可以小于多个灯组中除最后一个灯组之外的灯组包括的发光单元的数量。In the case where the cropping information is the second information, it can be determined that the first calibration information does not meet the preset conditions, and then the lamp can control the lighting unit included in the last lamp group among the plurality of lamp groups to display the third color to display the third lamp. Effect, where the third color is different from the first color, and the third color is different from the second color. The lamp may determine the last lamp group among the plurality of lamp groups according to the number of light-emitting units of the first color. For example, when the number of light-emitting units of the first color is 6, the sixth group among the plurality of lamp groups may be determined as the last lamp group. The number of light-emitting units included in the last lamp group may be equal to the number of light-emitting units included in the lamp groups except the last lamp group among the plurality of lamp groups, or may be smaller than the number of light-emitting units included in the lamp groups except the last lamp group among the plurality of lamp groups. The number of lighting units included in the lighting group.

请参阅图11,图11是本申请实施例公开的另一种灯效的结构示意图。如图11所示,该灯效为按照每组10个发光单元对多个发光单元进行分组之后得到的灯效,该灯效可以包括第一颜色、第二颜色和第三颜色。在第一灯效的基础上,灯具可以控制多个灯组中最后一个灯组中包括的8个发光单元显示第三颜色,其中C为第三颜色。Please refer to FIG. 11 , which is a schematic structural diagram of another lighting effect disclosed in an embodiment of the present application. As shown in FIG. 11 , the lighting effect is a lighting effect obtained by grouping a plurality of light-emitting units according to each group of 10 lighting units. The lighting effect may include a first color, a second color, and a third color. On the basis of the first light effect, the lamp can control the 8 light-emitting units included in the last light group of the multiple light groups to display a third color, where C is the third color.

1007、客户端显示用于校准的第二校准界面。1007. The client displays the second calibration interface for calibration.

在客户端确定第一校准信息之后,可以先判断第一校准信息是否满足预设条件,若第一校准信息不满足预设条件,则可以显示用于校准的第二校准界面。第二校准页面可以包括用于进一步确定校准信息的操作控件。After the client determines the first calibration information, it can first determine whether the first calibration information meets the preset conditions. If the first calibration information does not meet the preset conditions, the second calibration interface for calibration can be displayed. The second calibration page may include operational controls for further determining calibration information.

请参阅图12,图12是本申请实施例公开的又一种客户端的界面示意图。如图12所示,滑动控件被滑动至已裁剪选项,此时用户可以点击按钮控件,客户端可以响应于用户的点击操作显示第二校准界面。Please refer to Figure 12, which is a schematic interface diagram of yet another client disclosed in an embodiment of the present application. As shown in Figure 12, the sliding control is slid to the cropped option. At this time, the user can click the button control, and the client can display the second calibration interface in response to the user's clicking operation.

步骤1007可以和步骤1004同步执行。Step 1007 can be executed simultaneously with step 1004.

1008、客户端响应于用户针对第二校准界面的第二操作,确定第二校准信息。1008. The client determines the second calibration information in response to the user's second operation on the second calibration interface.

在灯具显示第二灯效之后,基于第二灯效,用户可以对第二校准界面进行第二操作,客户端可以响应于该第二操作,然后可以确定第二校准信息。第二操作可以为用户在第二校准界面输入第二校准信息的操作,也可以为用户在第二校准界面选择第二校准信息的操作,还可以为其他形式的操作。第二校准信息可以包括第三颜色的发光单元的数量。第三颜色的发光单元的数量可以由用户根据第二灯效确定。After the lamp displays the second lighting effect, based on the second lighting effect, the user can perform a second operation on the second calibration interface, the client can respond to the second operation, and then can determine the second calibration information. The second operation may be an operation for the user to input the second calibration information on the second calibration interface, or it may be an operation for the user to select the second calibration information on the second calibration interface, or it may be other forms of operations. The second calibration information may include the number of light emitting units of the third color. The number of light-emitting units of the third color may be determined by the user according to the second lighting effect.

请参阅图13,图13是本申请实施例公开的又一种客户端的界面示意图。如图13所示,该界面可以包括选择控件和按钮控件。示例性的,第二颜色可以为红色,用户可以统计第二灯效中红色发光单元的数量,然后可以通过选择控件选择红灯的数量。Please refer to Figure 13, which is a schematic interface diagram of yet another client disclosed in an embodiment of the present application. As shown in Figure 13, the interface may include selection controls and button controls. For example, the second color can be red, the user can count the number of red light-emitting units in the second lighting effect, and then can select the number of red lights through the selection control.

1009、客户端向灯具发送第二校准信息。1009. The client sends the second calibration information to the lamp.

如图13所示,用户在通过第二校准界面确定了第二校准信息之后,可以点击按钮控件进入校准,然后客户端可以将第二校准信息发送给灯具。As shown in Figure 13, after the user determines the second calibration information through the second calibration interface, the user can click the button control to enter calibration, and then the client can send the second calibration information to the lamp.

1010、灯具根据第一校准信息和第二校准信息确定多个发光单元的数量。1010. The lamp determines the number of multiple light-emitting units based on the first calibration information and the second calibration information.

灯具在接收到第二校准信息之后,可以根据第二校准信息和第一校准信息确定多个发光单元的数量。After receiving the second calibration information, the lamp may determine the number of multiple light-emitting units based on the second calibration information and the first calibration information.

作为一种实施方式,第一校准信息包括第一数量,第一数量为第一颜色的发光单元的数量,第二校准信息包括第二数量,第二数量为第二灯效中显示第三颜色的发光单元的数量,根据第一校准信息和第二校准信息确定多个发光单元的数量包括:As an implementation manner, the first calibration information includes a first quantity, and the first quantity is the number of light-emitting units of the first color. The second calibration information includes a second quantity, and the second quantity is the number of the third color displayed in the second lighting effect. The number of light-emitting units, determining the number of multiple light-emitting units according to the first calibration information and the second calibration information includes:

根据第一数量和第二数量确定多个发光单元的数量。The number of the plurality of light-emitting units is determined according to the first number and the second number.

第二校准信息可以包括第三颜色的发光单元的数量。灯具可以根据第一数量和第二数量来确定多个发光单元的数量。示例性的,可以先根据第一数量以及预设数量确定未裁剪的灯组包括的发光单元的总数量,然后可以将该总数量与第三颜色的发光单元的数量的和确定为多个发光单元的数量。示例性的,当第一数量为6、预设数量为10以及第二数量为8时,可以先确定未裁剪的灯组包括的发光单元的总数量为(6-1)*10=50,然后可以确定多个发光单元的数量为50+8=58。The second calibration information may include the number of light emitting units of the third color. The lamp may determine the number of the plurality of lighting units according to the first number and the second number. For example, the total number of light-emitting units included in the uncut light group can be determined first based on the first number and the preset number, and then the sum of the total number and the number of light-emitting units of the third color can be determined as a plurality of light-emitting units. Number of units. For example, when the first quantity is 6, the preset quantity is 10, and the second quantity is 8, it can first be determined that the total number of light-emitting units included in the uncut lamp group is (6-1)*10=50, Then the number of multiple light-emitting units can be determined to be 50+8=58.

用户在对灯具包括的多个发光单元进行校准之后,可以通过客户端对灯具包括的发光单元进行自定义分段设置、自定义颜色设置、自定义颜色高阶设置等自定义设置,以满足用户对灯具的自定义需求。由于校准之后灯具可以准确地获得其包括的发光单元的数量,因而在用户对灯具进行自定义设置之后,可以更准确的显示对应的灯效,从而可以提高用户的体验感。After calibrating multiple light-emitting units included in the lamp, the user can use the client to perform customized settings such as custom segment settings, custom color settings, custom color high-level settings, etc. for the light-emitting units included in the lamp to meet the needs of the user. Custom needs for lighting fixtures. Since the lamp can accurately obtain the number of light-emitting units it includes after calibration, the corresponding lighting effect can be displayed more accurately after the user customizes the settings of the lamp, thereby improving the user's experience.

在图10所描述的方法实施例中,用户可以通过客户端对灯具进行校准设置,客户端可以响应于用户的校准设置操作,从而显示用于校准的第一校准界面,并向灯具发送校准指令,灯具可以根据校准指令控制多个发光单元显示第一灯效;基于第一灯效,用户可以通过客户端确认第一校准信息,客户端可以将第一校准信息发送给灯具,若第一校准信息满足预设条件,则灯具可以控制多个发光单元显示第二灯效且客户端可以显示第二校准界面,基于第二灯效,用户可以通过客户端确定第二校准信息,客户端可以将第二校准信息发送给灯具,灯具可以根据第一校准信息和第二校准信息确定多个发光单元的数量,因此,不论用户裁减了多少发光单元,校准步骤也不会随之增加,从而可以提高校准效率。In the method embodiment described in Figure 10, the user can perform calibration settings on the lamp through the client. The client can respond to the user's calibration setting operation, thereby displaying the first calibration interface for calibration and sending calibration instructions to the lamp. , the lamp can control multiple light-emitting units to display the first lighting effect according to the calibration instruction; based on the first lighting effect, the user can confirm the first calibration information through the client, and the client can send the first calibration information to the lamp. If the first calibration If the information meets the preset conditions, the lamp can control multiple light-emitting units to display the second lighting effect and the client can display the second calibration interface. Based on the second lighting effect, the user can determine the second calibration information through the client, and the client can The second calibration information is sent to the lamp, and the lamp can determine the number of multiple light-emitting units based on the first calibration information and the second calibration information. Therefore, no matter how many light-emitting units the user cuts out, the calibration steps will not increase accordingly, which can improve Calibration efficiency.

应理解,上述不同实施例中的相同或相应的信息可以相互参考。It should be understood that the same or corresponding information in the above different embodiments can be referenced to each other.

请参阅图14,图14是本申请实施例公开的一种校准装置的结构示意图。如图14所示,该校准装置应用于灯具,该灯具包括多个发光单元,该校准装置可以包括:Please refer to FIG. 14 , which is a schematic structural diagram of a calibration device disclosed in an embodiment of the present application. As shown in Figure 14, the calibration device is applied to a lamp, which includes multiple light-emitting units. The calibration device may include:

接收单元1401,用于接收来自客户端的校准指令;Receiving unit 1401, used to receive calibration instructions from the client;

控制单元1402,用于根据校准指令控制多个发光单元显示第一灯效;The control unit 1402 is used to control multiple light-emitting units to display the first lighting effect according to the calibration instruction;

接收单元1401,还用于接收来自客户端的第一校准信息,第一校准信息由用户根据第一灯效确定;The receiving unit 1401 is also configured to receive first calibration information from the client, where the first calibration information is determined by the user based on the first lighting effect;

确定单元1403,用于若第一校准信息满足预设条件,则根据第一校准信息确定多个发光单元的数量。The determining unit 1403 is configured to determine the number of multiple light-emitting units according to the first calibration information if the first calibration information satisfies the preset condition.

在一些实施例中,该校准装置还可以包括:In some embodiments, the calibration device may also include:

控制单元1402,还用于若第一校准信息不满足预设条件,则控制多个发光单元显示第二灯效;The control unit 1402 is also used to control the plurality of light-emitting units to display the second light effect if the first calibration information does not meet the preset conditions;

接收单元1401,还用于接收来自客户端的第二校准信息,第二校准信息由用户根据第二灯效确定,第二校准信息与第一校准信息不同;The receiving unit 1401 is also used to receive second calibration information from the client. The second calibration information is determined by the user based on the second lighting effect. The second calibration information is different from the first calibration information;

确定单元1403,还用于根据第一校准信息和第二校准信息确定多个发光单元的数量。The determining unit 1403 is also configured to determine the number of multiple light-emitting units according to the first calibration information and the second calibration information.

在一些实施例中,控制单元1402具体用于:In some embodiments, the control unit 1402 is specifically used to:

根据校准指令,将多个发光单元进行分组得到多个灯组;According to the calibration instructions, multiple light-emitting units are grouped to obtain multiple lamp groups;

控制多个灯组中每个灯组的第一个发光单元显示第一颜色;Controlling the first light-emitting unit of each of the plurality of light groups to display the first color;

控制每个灯组中除第一个发光单元之外的发光单元显示第二颜色,第一颜色与第二颜色不同。The light-emitting units except the first light-emitting unit in each light group are controlled to display a second color, where the first color is different from the second color.

在一些实施例中,第一校准信息包括第一数量和灯具的裁剪信息,第一数量为第一灯效中显示第一颜色的发光单元的数量,确定单元1403具体用于:In some embodiments, the first calibration information includes a first quantity and cropping information of the lamp. The first quantity is the number of light-emitting units displaying the first color in the first lighting effect. The determining unit 1403 is specifically configured to:

若裁剪信息为第一信息,则第一校准信息满足预设条件;If the cropping information is the first information, the first calibration information satisfies the preset condition;

根据第一数量确定多个发光单元的数量。The number of the plurality of light-emitting units is determined according to the first number.

在一些实施例中,控制单元1402具体还用于:In some embodiments, the control unit 1402 is also specifically used to:

若裁剪信息为第二信息,则第一校准信息不满足所示预设条件;If the cropping information is the second information, the first calibration information does not satisfy the preset condition shown;

控制多个灯组中最后一个灯组包括的发光单元显示第三颜色,第三颜色与第一颜色不同,第三颜色与第二颜色不同。The lighting unit included in the last lamp group among the plurality of lamp groups is controlled to display a third color, the third color is different from the first color, and the third color is different from the second color.

在一些实施例中,第二校准信息包括第二数量,第二数量为第二灯效中显示第三颜色的发光单元的数量,确定单元1403具体还用于根据第一数量和第二数量确定多个发光单元的数量。In some embodiments, the second calibration information includes a second quantity. The second quantity is the number of light-emitting units displaying the third color in the second lighting effect. The determining unit 1403 is specifically configured to determine based on the first quantity and the second quantity. Number of multiple lighting units.

在图14所描述的装置实施例中,灯具可以接收来自客户端的校准指令,并可以根据校准指令控制多个发光单元显示第一灯效,灯具还可以接收来自客户端的第一校准信息,该第一校准信息可以由用户根据第一灯效确定,若第一校准信息满足预设条件,则灯具可以根据第一校准信息确定多个发光单元的数量,简化了灯具校准的操作,从而可以提高校准效率。In the device embodiment described in Figure 14, the lamp can receive the calibration instruction from the client, and can control the plurality of light-emitting units to display the first lighting effect according to the calibration instruction. The lamp can also receive the first calibration information from the client, and the lamp can also receive the first calibration information from the client. A calibration information can be determined by the user based on the first lighting effect. If the first calibration information meets the preset conditions, the lamp can determine the number of multiple light-emitting units based on the first calibration information, which simplifies the operation of lamp calibration, thereby improving calibration. efficiency.

请参阅图15,图15是本申请实施例公开的另一种校准装置的结构示意图。如图15所示,该校准装置包括:Please refer to FIG. 15 , which is a schematic structural diagram of another calibration device disclosed in an embodiment of the present application. As shown in Figure 15, the calibration device includes:

显示单元1501,用于响应于用户针对灯具的校准设置操作,显示用于校准的第一校准界面,灯具包括多个发光单元;The display unit 1501 is configured to display a first calibration interface for calibration in response to the user's calibration setting operation for the lamp, where the lamp includes a plurality of light-emitting units;

发送单元1502,用于向灯具发送校准指令,以使灯具控制多个发光单元显示第一灯效;The sending unit 1502 is used to send calibration instructions to the lamp, so that the lamp controls multiple light-emitting units to display the first lighting effect;

确定单元1503,用于响应于用户针对第一校准界面的第一操作,确定第一校准信息,第一校准信息由用户根据第一灯效确定;Determining unit 1503, configured to determine first calibration information in response to the user's first operation on the first calibration interface, where the first calibration information is determined by the user based on the first lighting effect;

发送单元1502,还用于向灯具发送第一校准信息,以使灯具在第一校准信息满足预设条件的情况下,根据第一校准信息确定多个发光单元的数量。The sending unit 1502 is also configured to send the first calibration information to the lamp, so that the lamp determines the number of multiple light-emitting units based on the first calibration information when the first calibration information meets the preset conditions.

在一些实施例中,该校准装置还可以包括:In some embodiments, the calibration device may also include:

显示单元1501,还用于若第一校准信息不满足预设条件,则显示用于校准的第二校准界面;The display unit 1501 is also configured to display a second calibration interface for calibration if the first calibration information does not meet the preset conditions;

确定单元1503,还用于响应于用户针对第二校准界面的第二操作,确定第二校准信息,第二校准信息由用户根据第二灯效确定,第二校准信息与第一校准信息不同,第二灯效为第一校准信息不满足预设条件时多个发光单元显示的灯效;The determining unit 1503 is also configured to determine second calibration information in response to the user's second operation on the second calibration interface. The second calibration information is determined by the user based on the second lighting effect. The second calibration information is different from the first calibration information. The second lighting effect is the lighting effect displayed by the multiple light-emitting units when the first calibration information does not meet the preset conditions;

发送单元1502,还用于向灯具发送第二校准信息,以使灯具根据第一校准信息和第二校准信息确定多个发光单元的数量。The sending unit 1502 is also configured to send second calibration information to the lamp, so that the lamp determines the number of multiple light-emitting units based on the first calibration information and the second calibration information.

在一些实施例中,第一灯效包括第一颜色的发光单元和第二颜色的发光单元,第一颜色的发光单元为多个灯组中每个灯组的第一个发光单元,第二颜色的发光单元为每个灯组中除第一个发光单元之外的发光单元,多个灯组由多个发光单元分组得到,第一颜色与第二颜色不同。In some embodiments, the first light effect includes a first color light-emitting unit and a second color light-emitting unit. The first color light-emitting unit is the first light-emitting unit of each of the plurality of light groups, and the second color The light-emitting units of the color are light-emitting units in each lamp group except the first light-emitting unit. Multiple lamp groups are obtained by grouping multiple light-emitting units, and the first color and the second color are different.

在一些实施例中,第一校准信息包括第一数量和灯具的裁剪信息,第一数量为第一颜色的发光单元的数量;若裁剪信息为第一信息,则第一校准信息满足预设条件;根据第一校准信息确定多个发光单元的数量包括:根据第一数量确定多个发光单元的数量。In some embodiments, the first calibration information includes a first quantity and cropping information of the lamp, where the first quantity is the number of light-emitting units of the first color; if the cropping information is the first information, the first calibration information satisfies the preset condition ; Determining the number of the plurality of light-emitting units according to the first calibration information includes: determining the number of the plurality of light-emitting units according to the first quantity.

在一些实施例中,第二灯效包括第三颜色的发光单元,第三颜色的发光单元为多个灯组中最后一个灯组包括的发光单元,第三颜色与第一颜色和第二颜色不同。In some embodiments, the second light effect includes a light-emitting unit of a third color, the light-emitting unit of the third color is a light-emitting unit included in the last light group of the plurality of light groups, and the third color is the same as the first color and the second color. different.

在一些实施例中,第二校准信息包括第二数量,第二数量为第三颜色的发光单元的数量,灯具根据第一校准信息和第二校准信息确定多个发光单元的数量包括:灯具根据第一数量和第二数量确定多个发光单元的数量。In some embodiments, the second calibration information includes a second quantity, the second quantity is the number of light-emitting units of the third color, and the lamp determines the number of multiple light-emitting units based on the first calibration information and the second calibration information including: the lamp according to The first number and the second number determine the number of the plurality of light-emitting units.

在图15所描述的装置实施例中,客户端可以响应于用户针对灯具的校准设置操作,显示用于校准的第一校准界面,然后可以向灯具发送校准指令,以使灯具控制多个发光单元显示第一灯效;客户端还可以响应于用户针对第一校准界面的第一操作,确定第一校准信息,该第一校准信息由用户根据第一灯效确定,然后可以向灯具发送第一校准信息,以使灯具在第一校准信息满足预设条件的情况下,可以根据第一校准信息确定多个发光单元的数量,简化了用户对灯具进行校准的操作过程,从而可以提高校准效率。In the device embodiment described in FIG. 15 , the client may display a first calibration interface for calibration in response to the user's calibration setting operation for the lamp, and then may send a calibration instruction to the lamp so that the lamp controls multiple lighting units. Display the first lighting effect; the client can also determine the first calibration information in response to the user's first operation on the first calibration interface, the first calibration information is determined by the user based on the first lighting effect, and then can send the first calibration information to the lamp. Calibration information, so that the lamp can determine the number of multiple light-emitting units based on the first calibration information when the first calibration information meets the preset conditions, simplifying the user's operation process of calibrating the lamp, thereby improving calibration efficiency.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the above-described devices and units can be referred to the corresponding processes in the foregoing method embodiments, and will not be described again here.

在本申请所公开的几个实施例中,单元相互之间的耦合可以是电性,机械或其它形式的耦合。In several embodiments disclosed in this application, the coupling between units may be electrical, mechanical or other forms of coupling.

另外,在本申请各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in various embodiments of the present application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or software function modules.

如图16所示,本申请实施例还公开一种电子设备的结构示意图,该电子设备包括处理器1601、存储器1602,存储器1602存储有计算机程序指令,计算机程序指令被处理器1601调用时,可实执行上述的实施例公开的各种方法步骤。本领域技术人员可以理解,图中示出的电子设备的结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:As shown in Figure 16, an embodiment of the present application also discloses a schematic structural diagram of an electronic device. The electronic device includes a processor 1601 and a memory 1602. The memory 1602 stores computer program instructions. When the computer program instructions are called by the processor 1601, they can Implement various method steps disclosed in the above embodiments. Those skilled in the art can understand that the structure of the electronic device shown in the figures does not constitute a limitation of the electronic device, and may include more or fewer components than shown in the figures, or combine certain components, or arrange different components. in:

处理器1601可以包括一个或多个处理核。处理器1601利用各种接口和线路连接整个电池管理系统内的各种部分,通过运行或执行存储在存储器1602内的指令、程序、代码集或指令集,调用存储在存储器1602内的数据,执行电池管理系统的各种功能和处理数据,以及执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。可选地,处理器1601可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1601可集成中央处理器(Central ProcessingUnit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1601中,单独通过一块通信芯片进行实现。Processor 1601 may include one or more processing cores. The processor 1601 uses various interfaces and lines to connect various parts of the entire battery management system, runs or executes instructions, programs, code sets or instruction sets stored in the memory 1602, calls data stored in the memory 1602, and executes Various functions and processing data of the battery management system, as well as performing various functions and processing data of the electronic device, thereby overall monitoring of the electronic device. Optionally, the processor 1601 can use at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). implemented in hardware form. The processor 1601 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a modem, etc. Among them, the CPU mainly handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the display content; and the modem is used to handle wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 1601 and may be implemented solely through a communication chip.

存储器1602可以包括随机存储器1602(Random Access Memory,RAM),也可以包括只读存储器1602(Read-Only Memory)。存储器1602可用于存储指令、程序、代码、代码集或指令集。存储器1602可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各种方法实施例的指令等。存储数据区还可以存储电子设备在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。相应地,存储器1602还可以包括存储器控制器,以公开处理器1601对存储器1602的访问。The memory 1602 may include a random access memory 1602 (Random Access Memory, RAM) or a read-only memory 1602 (Read-Only Memory). Memory 1602 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 1602 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing various method embodiments described below, etc. The storage data area can also store data created during use of electronic devices (such as phone books, audio and video data, chat record data), etc. Accordingly, memory 1602 may also include a memory controller to expose access to memory 1602 by processor 1601 .

尽管未示出,电子设备还可以包括显示单元等,在此不再赘述。具体在本实施例中,电子设备中的处理器1601会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器1602中,并由处理器1601来运行存储在存储器1602中的应用程序,从而实现前述实施例公开的各种方法步骤。Although not shown, the electronic device may also include a display unit and the like, which will not be described again here. Specifically in this embodiment, the processor 1601 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 1602 according to the following instructions, and the processor 1601 will run the executable files stored in application program in the memory 1602, thereby implementing various method steps disclosed in the foregoing embodiments.

该电子设备可以为安装有上述客户端的设备,也可以为上述灯具,详细描述可以参考上述方法实施例中的相关描述。The electronic device may be a device installed with the above-mentioned client, or may be the above-mentioned lamp. For detailed description, please refer to the relevant descriptions in the above-mentioned method embodiments.

如图17所示,本申请实施例还公开一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序指令,计算机程序指令可被处理器调用以执行上述实施例中所描述的方法。As shown in Figure 17, an embodiment of the present application also discloses a computer-readable storage medium, which stores computer program instructions. The computer program instructions can be called by a processor to execute the steps described in the above embodiments. method.

计算机可读存储介质可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质包括非易失性计算机可读存储介质(Non-Transitory Computer-Readable Storage Medium)。计算机可读存储介质具有执行上述方法中的任何方法步骤的程序代码的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码可以例如以适当形式进行压缩。The computer-readable storage medium may be electronic memory such as flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium includes non-transitory computer-readable storage medium (Non-Transitory Computer-Readable Storage Medium). The computer-readable storage medium has storage space for program codes that perform any method steps in the above methods. These program codes can be read from or written into one or more computer program products. The program code may, for example, be compressed in a suitable form.

根据本申请的一个方面,公开了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。电子设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该电子设备执行上述实施例公开的各种可选实现方式中公开的方法。According to one aspect of the present application, a computer program product or computer program is disclosed, which computer program product or computer program includes computer instructions stored in a computer-readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device performs the methods disclosed in the various optional implementations disclosed in the above embodiments.

以上,仅是本申请的较佳实施例而已,并非对本申请作任何形式上的限制,虽然本申请已以较佳实施例揭示如上,然而并非用以限定本申请,任何本领域技术人员,在不脱离本申请技术方案范围内,当可利用上述揭示的技术内容做出些许更动或修饰为等同变化的等效实施例,但凡是未脱离本申请技术方案内容,依据本申请的技术实质对以上实施例所作的任何简介修改、等同变化与修饰,均仍属于本申请技术方案的范围内。The above are only preferred embodiments of the present application and are not intended to limit the present application in any form. Although the present application has been disclosed as above with preferred embodiments, they are not intended to limit the present application. Any person skilled in the art may Without departing from the scope of the technical solution of the present application, the technical content disclosed above can be used to make some changes or modifications to equivalent embodiments with equivalent changes. Any brief modifications, equivalent changes and modifications made to the above embodiments still fall within the scope of the technical solution of the present application.

Claims (14)

1. A calibration method, applied to a luminaire comprising a plurality of lighting units, the method comprising:
receiving a calibration instruction from a client, wherein the calibration instruction is sent by the client in response to a calibration setting operation of a user on the lamp;
controlling the plurality of light emitting units to display a first light effect according to the calibration instruction;
receiving first calibration information from the client, wherein the first calibration information is determined by a user according to the first light effect;
if the first calibration information meets a preset condition, determining the number of the plurality of light emitting units according to the first calibration information;
The controlling the plurality of light emitting units to display the first light effect according to the calibration instruction comprises:
grouping the plurality of light emitting units according to the calibration instruction to obtain a plurality of lamp groups;
controlling a first light emitting unit of each of the plurality of light groups to display a first color;
the first calibration information includes a first number and clipping information of the lamp, the first number is the number of light emitting units displaying the first color in the first light effect, and if the first calibration information meets a preset condition, determining the number of the plurality of light emitting units according to the first calibration information includes:
if the clipping information is first information, the first calibration information meets a preset condition;
the number of the plurality of light emitting units is determined according to the first number.
2. The method according to claim 1, wherein the method further comprises:
if the first calibration information does not meet the preset condition, controlling the plurality of light emitting units to display a second light effect;
receiving second calibration information from the client, wherein the second calibration information is determined by a user according to the second light effect, and the second calibration information is different from the first calibration information;
Determining the number of the plurality of light emitting units according to the first calibration information and the second calibration information.
3. The method of claim 2, wherein controlling the plurality of light emitting units to display a first light effect in accordance with the calibration instructions further comprises:
and controlling the light emitting units except the first light emitting unit in each lamp group to display a second color, wherein the first color is different from the second color.
4. The method of claim 3, wherein the first calibration information includes a first number and clipping information of the luminaire, the first number being a number of light emitting units in the first light effect that display a first color, and wherein controlling the plurality of light emitting units to display a second light effect if the first calibration information does not satisfy the preset condition includes:
if the clipping information is the second information, the first calibration information does not meet the preset condition;
and controlling a light emitting unit included in the last lamp group in the plurality of lamp groups to display a third color, wherein the third color is different from the first color, and the third color is different from the second color.
5. The method of claim 2, wherein the second calibration information comprises a second number of light emitting units of the second light effect that display a third color, and wherein determining the number of the plurality of light emitting units from the first calibration information and the second calibration information comprises:
The number of the plurality of light emitting units is determined according to the first number and the second number.
6. A method of calibration, comprising:
in response to a user's calibration setting operation for a luminaire, displaying a first calibration interface for calibration, the luminaire comprising a plurality of light emitting units;
transmitting a calibration instruction to the lamp so that the lamp controls the plurality of light emitting units to display a first light effect, wherein the first light effect comprises light emitting units with a first color, the light emitting units with the first color are first light emitting units of each of a plurality of lamp groups, and the plurality of lamp groups are obtained by grouping the plurality of light emitting units;
determining first calibration information in response to a first operation of a user on the first calibration interface, wherein the first calibration information is determined by the user according to the first light effect, and the first calibration information comprises a first number and clipping information of the lamp, and the first number is the number of the light-emitting units of the first color;
the first calibration information is sent to the lamp, so that the lamp can determine the number of the plurality of light emitting units according to the first calibration information under the condition that the first calibration information meets the preset condition, and if the clipping information is the first information, the first calibration information meets the preset condition; the determining the number of the plurality of light emitting units according to the first calibration information includes: the number of the plurality of light emitting units is determined according to the first number.
7. The method of claim 6, wherein the method further comprises:
if the first calibration information does not meet the preset conditions, displaying a second calibration interface for calibration;
determining second calibration information in response to a second operation of a user on the second calibration interface, wherein the second calibration information is determined by the user according to second light effects, the second calibration information is different from the first calibration information, and the second light effects are light effects displayed by the plurality of light emitting units when the first calibration information does not meet the preset condition;
and sending the second calibration information to the lamp so that the lamp can determine the number of the plurality of light emitting units according to the first calibration information and the second calibration information.
8. The method of claim 7, wherein the first light effect further comprises a second color of light emitting cells, the second color of light emitting cells being light emitting cells of each of the lamp sets other than the first light emitting cell, the first color being different from the second color.
9. The method of claim 8, wherein the second light effect comprises a light emitting unit of a third color, the light emitting unit of the third color being a light emitting unit comprised by a last light group of the plurality of light groups, the third color being different from the first color and the second color.
10. The method of claim 9, wherein the first calibration information comprises a first number of light emitting units of the first color, the second calibration information comprises a second number of light emitting units of the third color, and the luminaire determines the number of the plurality of light emitting units from the first calibration information and the second calibration information comprises:
the luminaire determines the number of the plurality of light emitting units according to the first number and the second number.
11. A calibration device for use with a luminaire, the luminaire comprising a plurality of light emitting units, comprising:
the receiving unit is used for receiving a calibration instruction from a client, and the calibration instruction is sent by the client in response to a calibration setting operation of a user on the lamp;
the control unit is used for controlling the plurality of light emitting units to display the first light effect according to the calibration instruction;
the receiving unit is further configured to receive first calibration information from the client, where the first calibration information is determined by a user according to the first light effect;
a determining unit, configured to determine the number of the plurality of light emitting units according to the first calibration information if the first calibration information meets a preset condition;
The control unit is specifically configured to:
grouping the plurality of light emitting units according to the calibration instruction to obtain a plurality of lamp groups;
controlling a first light emitting unit of each of the plurality of light groups to display a first color;
the first calibration information includes a first number and clipping information of the lamp, the first number is the number of light emitting units for displaying the first color in the first light effect, and the determining unit is specifically configured to:
if the clipping information is first information, the first calibration information meets a preset condition;
the number of the plurality of light emitting units is determined according to the first number.
12. A calibration device, comprising:
a display unit for displaying a first calibration interface for calibration in response to a calibration setting operation by a user for a lamp including a plurality of light emitting units;
the transmitting unit is used for transmitting a calibration instruction to the lamp so that the lamp controls the plurality of light emitting units to display a first light effect, the first light effect comprises light emitting units with a first color, the light emitting units with the first color are first light emitting units of each light group in a plurality of light groups, and the plurality of light groups are obtained by grouping the plurality of light emitting units;
A determining unit, configured to determine first calibration information in response to a first operation of a user on the first calibration interface, where the first calibration information is determined by the user according to the first light effect, and the first calibration information includes a first number and clipping information of the light fixture, where the first number is a number of light emitting units of the first color;
the sending unit is further configured to send the first calibration information to the lamp, so that the lamp determines the number of the plurality of light emitting units according to the first calibration information when the first calibration information meets a preset condition, and if the clipping information is first information, the first calibration information meets the preset condition; the determining the number of the plurality of light emitting units according to the first calibration information includes: the number of the plurality of light emitting units is determined according to the first number.
13. An electronic device comprising a processor and a memory, the memory storing a computer program, the processor invoking the computer program to implement the method of any of claims 1-10.
14. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a program code, which is callable by a processor to implement the method according to any one of claims 1-10.
CN202311307203.0A 2023-10-10 2023-10-10 Calibration method, device, electronic equipment and computer readable storage medium Active CN117042265B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311307203.0A CN117042265B (en) 2023-10-10 2023-10-10 Calibration method, device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311307203.0A CN117042265B (en) 2023-10-10 2023-10-10 Calibration method, device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN117042265A CN117042265A (en) 2023-11-10
CN117042265B true CN117042265B (en) 2024-02-23

Family

ID=88624938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311307203.0A Active CN117042265B (en) 2023-10-10 2023-10-10 Calibration method, device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN117042265B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341929A (en) * 2015-07-07 2017-01-18 芋头科技(杭州)有限公司 Light and display content fusing method
TW201939109A (en) * 2018-03-12 2019-10-01 大陸商Oppo廣東移動通信有限公司 Control method, control device, depth camera and electronic device
WO2020235000A1 (en) * 2019-05-21 2020-11-26 日本電業工作株式会社 Luminescence device, electric wave transmission device, and control system
WO2020249502A1 (en) * 2019-06-14 2020-12-17 Signify Holding B.V. A method for controlling a plurality of lighting units of a lighting system
CN112188663A (en) * 2020-09-17 2021-01-05 Oppo(重庆)智能科技有限公司 Breathing lamp module, electronic equipment and preparation method of electronic equipment
CN113613362A (en) * 2020-12-11 2021-11-05 萤火虫(深圳)灯光科技有限公司 Lamp bead quantity detection method, controller, lighting module and storage medium
CN113677071A (en) * 2021-08-11 2021-11-19 深圳市智岩科技有限公司 Lamp control method, device, electronic device and storage medium
CN114051304A (en) * 2021-12-16 2022-02-15 浙江吉利控股集团有限公司 Lamp on-off state control method, device, equipment, medium and program product
WO2023109091A1 (en) * 2021-12-17 2023-06-22 深圳创维-Rgb电子有限公司 Lamp strip control method, lamp strip system, electronic device, and storage medium
CN116634635A (en) * 2023-07-24 2023-08-22 深圳市千岩科技有限公司 Method, device, equipment and medium for installation and verification of lamps

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7902771B2 (en) * 2006-11-21 2011-03-08 Exclara, Inc. Time division modulation with average current regulation for independent control of arrays of light emitting diodes
US8194159B2 (en) * 2008-04-28 2012-06-05 Omnivision Technologies, Inc. System and method for lens shading correction of an image sensor using splines
US8410706B2 (en) * 2009-03-27 2013-04-02 Lutron Electronics Co., Inc. Method of calibrating a daylight sensor
US8816591B2 (en) * 2012-05-26 2014-08-26 Vastview Technology Inc. Methods and apparatus for segmenting and driving LED-based lighting units
DE102015214939A1 (en) * 2015-08-05 2017-02-09 Osram Gmbh Voltage-dependent interconnection of individual light sources
WO2019075923A1 (en) * 2017-10-18 2019-04-25 深圳市暗能量电源有限公司 Linear power source for performing segmented dimming based on led lamp set
US11991808B2 (en) * 2018-07-12 2024-05-21 Apple Inc. Electronic device with ambient light flicker sensor
CN115884472A (en) * 2022-11-30 2023-03-31 深圳市千岩科技有限公司 Lamp effect control method, device, product, medium and lamp effect control equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341929A (en) * 2015-07-07 2017-01-18 芋头科技(杭州)有限公司 Light and display content fusing method
TW201939109A (en) * 2018-03-12 2019-10-01 大陸商Oppo廣東移動通信有限公司 Control method, control device, depth camera and electronic device
WO2020235000A1 (en) * 2019-05-21 2020-11-26 日本電業工作株式会社 Luminescence device, electric wave transmission device, and control system
WO2020249502A1 (en) * 2019-06-14 2020-12-17 Signify Holding B.V. A method for controlling a plurality of lighting units of a lighting system
CN112188663A (en) * 2020-09-17 2021-01-05 Oppo(重庆)智能科技有限公司 Breathing lamp module, electronic equipment and preparation method of electronic equipment
CN113613362A (en) * 2020-12-11 2021-11-05 萤火虫(深圳)灯光科技有限公司 Lamp bead quantity detection method, controller, lighting module and storage medium
CN113677071A (en) * 2021-08-11 2021-11-19 深圳市智岩科技有限公司 Lamp control method, device, electronic device and storage medium
CN114051304A (en) * 2021-12-16 2022-02-15 浙江吉利控股集团有限公司 Lamp on-off state control method, device, equipment, medium and program product
WO2023109091A1 (en) * 2021-12-17 2023-06-22 深圳创维-Rgb电子有限公司 Lamp strip control method, lamp strip system, electronic device, and storage medium
CN116634635A (en) * 2023-07-24 2023-08-22 深圳市千岩科技有限公司 Method, device, equipment and medium for installation and verification of lamps

Also Published As

Publication number Publication date
CN117042265A (en) 2023-11-10

Similar Documents

Publication Publication Date Title
US20240268012A1 (en) Light-emitting device control method, apparatus, electronic device, and storage medium
CN110996477B (en) Air conditioner lamp control method, computer device and computer readable storage medium
CN117042265B (en) Calibration method, device, electronic equipment and computer readable storage medium
CN104601786A (en) Method for controlling information reminder light of terminal, and terminal
WO2020113421A1 (en) Method for mounting file system, terminal device, and storage medium
CN108184193B (en) Play control method of Bluetooth play terminal, Bluetooth device and computer storage medium
CN109683470A (en) A kind of software and hardware self-adaptive matching method, device and driving device
WO2015106495A1 (en) Method and device for split-screen presentation of applications and terminal
CN102340714A (en) Method for configurating man-machine interface of bluetooth headset
CN117042266B (en) Control method, control device, electronic equipment and computer readable storage medium
CN115946126B (en) Task execution control method and robot
CN117042247B (en) Segmentation method, segmentation device, luminaire and computer-readable storage medium
CN105161119B (en) Method and terminal for synchronously playing music by grouping sound boxes
WO2021087749A1 (en) Switching control method, electronic device and computer readable storage medium
CN116643737B (en) Software architecture construction method and device, vehicle and storage medium
CN117217254B (en) Quantity determining method, device, system, lighting structure and storage medium
WO2024131116A1 (en) Sound effect switching method, electronic device, and storage medium
CN112135402B (en) RGB light path current adjusting method, terminal equipment and storage medium
CN108763036A (en) A kind of display lamp regulation and control method, system, device and readable storage medium storing program for executing
EP4136939A1 (en) Controlling a lighting device associated with a light segment of an array
EP4275457B1 (en) Selecting a more suitable input modality in relation to a user command for light control
CN118842823A (en) Linkage control method, device and equipment of Internet of things equipment and storage medium
CN117979101A (en) Video processing method and electronic device
CN115801846A (en) Functional device control method, device, electronic device and storage medium
CN116088355A (en) Working method of switch control panel, switch control panel and 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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 518057 3301, Building C, Lot 1, Chuangzhi Yuncheng, Liuxian Avenue, Xili Community, Xili Street, Nanshan District, Shenzhen, Guangdong

Patentee after: Shenzhen Qianyan Technology Co.,Ltd.

Country or region after: China

Patentee after: Shenzhen Zhiyan Technology Co.,Ltd.

Address before: 518057 3301, Building C, Lot 1, Chuangzhi Yuncheng, Liuxian Avenue, Xili Community, Xili Street, Nanshan District, Shenzhen, Guangdong

Patentee before: Shenzhen Qianyan Technology Co.,Ltd.

Country or region before: China

Patentee before: SHENZHEN ZHIYAN TECHNOLOGY Co.,Ltd.