Lamp parameter setting method and system based on NFC and lamp

By using NFC technology, lighting fixture parameters can be set efficiently and accurately, solving the problems of cumbersome and inaccurate traditional setting methods. It supports batch configuration and cloud management, improving the efficiency and reliability of lighting fixture parameter setting.

CN121968425APending Publication Date: 2026-05-01PR LIGHTING
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
PR LIGHTING
Filing Date
2025-12-19
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

Traditional methods of setting lighting parameters are cumbersome, prone to errors, and lack efficient and reliable batch setting and cloud management linkage mechanisms. Existing technologies cannot achieve rapid and accurate parameter configuration for multiple lighting fixtures.

Method used

The method adopts an NFC-based lighting parameter setting method, which establishes a near-field communication connection between the mobile terminal and the NFC chip of the lighting fixture, writes instruction data, and has the main controller parse and update the lighting fixture parameters, supporting batch setting and firmware upgrade.

Benefits of technology

It improves the efficiency and accuracy of setting lighting parameters, enabling rapid and reliable parameter configuration and firmware upgrades for multiple lighting fixtures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121968425A_ABST
    Figure CN121968425A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of light control, in particular to a lamp parameter setting method and system based on NFC and a lamp. The lamp comprises an NFC chip. The lamp parameter setting method comprises the following steps: establishing near field communication connection between a mobile terminal and the NFC chip of the lamp; the mobile terminal writes instruction data into the NFC chip, wherein the instruction data comprises an instruction field and a data block field corresponding to the instruction field; reading and analyzing the instruction field through a master controller of the lamp to obtain an analysis result of the instruction field; and updating corresponding lamp parameters based on an analysis result of the instruction field, when the instruction field is a batch setting instruction, the data block field comprises a plurality of parameter items, the master controller analyzes the data block field and updates the lamp parameters corresponding to the plurality of parameter items in batches, and when the instruction field is a batch setting instruction, the data block field comprises a plurality of parameter items. Therefore, the efficiency and accuracy of lamp parameter setting are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of lighting control, and in particular to a method, system and lighting fixture for setting lighting parameters based on NFC. Background Technology

[0002] A stage lighting system typically consists of multiple lights and a main control console, controlled via the DMX512 protocol. Before deployment, each light needs to have a series of parameters pre-set, including a unique DMX address, channel mode, IP address (for network lights), gamma curve, etc. Traditional setup methods usually rely on physical DIP switches or small LCD menus and buttons, which are cumbersome, error-prone, and inefficient, especially when debugging a large number of lights.

[0003] Furthermore, current firmware upgrades for lighting fixtures sometimes involve wired connections to a computer, while others use infrared or Bluetooth for initial setup. However, these methods suffer from slow transmission speeds, poor stability, inability to batch configure multiple fixtures, and a lack of effective integration with cloud-based configuration management. Therefore, there is an urgent need for an efficient, reliable, and intelligent method for setting lighting fixture parameters. Summary of the Invention

[0004] To address the aforementioned technical issues, this application provides an NFC-based method, system, and lighting fixture for setting lighting fixture parameters, thereby improving the efficiency and accuracy of lighting fixture parameter settings.

[0005] In a first aspect, this application provides a method for setting lighting parameters based on NFC, wherein the lighting fixture includes an NFC chip, and the method includes: a mobile terminal establishing a near-field communication connection with the NFC chip of the lighting fixture; the mobile terminal writing instruction data to the NFC chip, the instruction data including an instruction field and a data block field corresponding to the instruction field; the main controller of the lighting fixture reading and parsing the instruction field to obtain a parsing result of the instruction field; and updating the corresponding lighting parameters based on the parsing result of the instruction field, wherein when the instruction field is a batch setting instruction, the data block field includes multiple parameter items, and the main controller parses the data block field and updates the lighting parameters corresponding to the multiple parameter items in batches.

[0006] Optionally, in some embodiments, the instruction data is stored in a preset storage area of ​​the NFC chip.

[0007] Optionally, in some embodiments, the preset storage area includes: an instruction register for storing the instruction field, a status register for indicating the communication status, a length register for indicating the length of the data block field, and a data area for storing the data block field.

[0008] Optionally, in some embodiments, the parameter item is in TLV format, and the parameter item includes a type field, a length field, and / or a value field.

[0009] Optionally, in some embodiments, the lamp parameter setting method further includes: configuring consecutive DMX addresses for multiple lamps, wherein the mobile terminal obtains the configuration parameters of the first lamp and generates a parameter template; when the mobile terminal establishes a connection with the Mth lamp, it calculates the DMX address of the Mth lamp based on the parameter template and updates the address value in the parameter template; and sends the updated parameter template as a data block field of the batch setting instruction to the Mth lamp.

[0010] Optionally, in some embodiments, the lamp parameter setting method further includes: obtaining configuration parameters corresponding to the lamp model from the cloud platform via the mobile terminal, and writing the configuration parameters as data block fields of the batch setting instruction into the preset storage area of ​​the lamp; and / or, storing the configuration parameters of the lamp as data block fields on the cloud platform via the mobile terminal.

[0011] Optionally, in some embodiments, the instruction field further includes a firmware upgrade instruction; when the instruction field is the firmware upgrade instruction, the data block field includes a firmware data packet, and the master controller receives and stores the firmware data packet.

[0012] Secondly, this application also provides a lighting fixture parameter setting system applicable to the lighting fixture parameter setting method described in the first aspect above, comprising: a lighting fixture, wherein a main controller and an NFC chip connected to the main controller are provided on the main control board of the lighting fixture; a mobile terminal for data interaction with the NFC chip through an application, wherein the application is configured to write instruction data to the NFC chip, the instruction data including an instruction field and a data block field; the main controller for reading and parsing the instruction data from the NFC chip, and updating the corresponding lighting fixture parameters based on the parsing result of the instruction field, wherein when the instruction field is a batch setting instruction, the data block field includes multiple parameter items, the main controller parses the data block field, and batch updates the lighting fixture parameters corresponding to the multiple parameter items.

[0013] Optionally, in some embodiments, the NFC chip is connected to the host controller via an I2C bus or an SPI bus.

[0014] Thirdly, this application also provides a lighting fixture, including: a main controller and an NFC chip connected to the main controller, wherein the lighting fixture is configured to implement the NFC-based lighting fixture parameter setting method described in the first aspect above.

[0015] The technical solution provided in this application has the following advantages compared with the prior art:

[0016] The NFC-based lighting parameter setting method provided in this application establishes a near-field communication connection between a mobile terminal and the NFC chip of the lighting fixture, and writes instruction data containing instruction fields and corresponding data block fields to the NFC chip. The lighting fixture main controller reads and parses the instruction fields to execute corresponding operations, and updates the corresponding lighting fixture parameters based on the parsing results of the data block fields. Furthermore, when the instruction field is a batch setting instruction, multiple lighting fixture parameters can be updated in batches, thereby improving the efficiency and accuracy of lighting fixture parameter setting. Attached Figure Description

[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, those skilled in the art can obtain other drawings based on these drawings without any creative effort.

[0019] Figure 1 A flowchart illustrating the NFC-based lamp parameter setting method provided in an embodiment of this application is shown.

[0020] Figure 2 This paper shows a schematic diagram of the structure of a preset storage area provided in an embodiment of this application;

[0021] Figure 3 A schematic diagram of the firmware upgrade process provided in an embodiment of this application is shown;

[0022] Figure 4 This document illustrates a flowchart of a process for batch updating the lighting parameters corresponding to the multiple parameter items, provided in an embodiment of this application.

[0023] Figure 5 This invention illustrates a schematic diagram of the structure of a data block field in TLV format provided in an embodiment of this application.

[0024] Figure 6 A schematic diagram of the structure of the lighting parameter setting system provided in an embodiment of this application is shown;

[0025] Figure 7 A schematic diagram of the structure of the application provided in the embodiments of this application is shown. Detailed Implementation

[0026] To better understand the above-mentioned objectives, features, and advantages of this application, the solution of this application will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.

[0027] Many specific details are set forth in the following description to provide a full understanding of this application, but this application may also be implemented in other ways different from those described herein. Clearly, the embodiments in the specification are only a part of the embodiments of this application, and not all of them.

[0028] The following description, in conjunction with the accompanying drawings, provides an exemplary description of the NFC-based lamp parameter setting method, system, and lamp provided in the embodiments of this application. Figure 1 A flowchart illustrating an NFC-based method for setting lighting parameters according to an embodiment of this application is shown. (Refer to...) Figure 1 A method 10 for setting lighting parameters based on NFC, the method 10 includes the following steps:

[0029] S11. The mobile terminal establishes a near-field communication connection with the NFC chip of the lamp.

[0030] Specifically, the lighting fixture may be, for example, a stage lighting fixture. This fixture includes an NFC chip. When a mobile terminal (such as a mobile phone or tablet) is within a certain range (e.g., a few centimeters to tens of centimeters) of the fixture, a near-field communication (NFC) connection is established between the mobile terminal and the fixture's NFC chip. NFC is a short-range wireless communication technology that allows data transmission between two devices within a close range. This communication method is based on Radio Frequency Identification (RFID) technology, exchanging information by generating a small electromagnetic field between the two devices.

[0031] S12. The mobile terminal writes instruction data to the NFC chip. The instruction data includes an instruction field and a data block field corresponding to the instruction field.

[0032] Specifically, a mobile terminal can send command data to the NFC chip in the lamp via its built-in NFC module. This command data can accurately control various parameter settings of the lamp. Specifically, the command data can include a command field and a corresponding data block field.

[0033] The instruction field is the core part of the instruction data, defining the specific type of operation to be performed. For example, the instruction field may include setting lighting parameters, updating firmware, or querying status.

[0034] The data block field includes specific information. For example, if the instruction field is for parameter settings, the data block field will contain specific parameter values, such as DMX address, channel mode, IP address, or gamma curve. If the instruction field is for firmware updates, the data block field will include firmware version information and update data.

[0035] It is understood that the above description of the writing of instruction data and the content of instruction data is merely exemplary. Those skilled in the art can select and set the writing of instruction data and the content of instruction data according to actual needs, as long as the technical principles of this application can be achieved.

[0036] In one embodiment, the instruction data is stored in a preset storage area of ​​the NFC chip.

[0037] Specifically, instruction data can be stored, for example, in a preset storage area within the NFC chip. This preset storage area is used to store instruction information related to lighting control, ensuring that the data can be accurately read and parsed by the lighting fixture's main controller. This storage area can be configured with a specific format and capacity to store instruction fields and their corresponding data block fields.

[0038] For example, the preset storage area may include: an instruction register for storing the instruction field, a status register for indicating the communication status, a length register for indicating the length of the data block field, and a data area for storing the data block field.

[0039] Specifically, Figure 2 A schematic diagram of the structure of a preset storage area provided in an embodiment of this application is shown. (Refer to...) Figure 2 The instruction register (0x0000) can be a 1-byte register, for example, used to store instruction fields received from the mobile terminal. The instruction fields define the type of operation that the lamp needs to perform, such as parameter setting, firmware update, etc.

[0040] The status register (0x0001), which can be a 1-byte register, indicates the current communication status of the NFC chip. This status information may include whether a connection has been successfully established, whether data is being received, or whether data is ready to be sent. The status register helps the mobile terminal and the lighting controller understand the progress of the communication process, ensuring reliable data transmission.

[0041] The length register (0x0002-0x0003) can be, for example, a 2-byte register used to indicate the length of the data block field corresponding to the instruction field.

[0042] The data block area (0x0004-0x00FF) can be, for example, a 252-byte area used to store data block fields. These data block fields contain specific parameters or data required to execute instructions, such as DMX address, channel mode, IP address, or gamma curve.

[0043] In addition, the preset storage area may also include: user storage area (0x0100-0x1FFF), which can provide additional storage space for storing user-defined data or other information that needs to be saved, such as the configuration file of the lamp, history records, etc.

[0044] S13. The main controller of the lamp reads and parses the instruction field to obtain the parsing result of the instruction field.

[0045] Specifically, the main controller of the lamp can locate the instruction register in the NFC chip, read the instruction field from the instruction register, and parse the instruction field. Based on the parsing result, the main controller can identify the type of operation to be performed.

[0046] If the operation indicated by the instruction field requires additional data (such as parameter settings), the main controller will further read the data block area in the NFC chip to obtain the data block field corresponding to the instruction field. The main controller will then parse the data block field to obtain the specific parameters or data required.

[0047] In one embodiment, the instruction field may further include a firmware upgrade instruction. When the instruction field is the firmware upgrade instruction, the data block field includes a firmware data packet, and the master controller receives and stores the firmware data packet.

[0048] Specifically, the instruction field may also include firmware upgrade instructions to enable remote updates to the lighting fixture's firmware. Specifically, when the main controller recognizes the instruction field as a firmware upgrade instruction, it reads a firmware data packet from the data block field. This firmware data packet may include the new version information of the lighting fixture's firmware. Before updating the firmware data packet, it can be verified to ensure its integrity and correctness. After successful verification, the firmware data packet is written to the lighting fixture's firmware storage area to complete the firmware update.

[0049] Figure 3 This diagram illustrates the firmware upgrade process provided in an embodiment of this application. In practical applications, it can be referred to... Figure 3Firmware upgrades can be performed through communication between the mobile app and the MCU (Microcontroller Unit). After the app selects the firmware file and establishes an NFC connection, it sends an upgrade command (0xA0), which contains firmware information. If the MCU is not ready, it waits and retryes sending the command; if the MCU is ready, it initializes firmware reception and then sends a data packet command (0xA1). The MCU receives this command and replies with an ACK (acknowledgment signal).

[0050] During data transmission, timeouts or errors can be checked. If a timeout or error occurs and the number of retries is less than 3, the data packet will be resent. If the number of retries reaches 3 or more, the upgrade will fail and the process will end.

[0051] If there are no timeouts or errors during data transmission, it can be checked whether all data packets have been sent. After all data packets have been sent, an upgrade completion command (0xA2) will be sent. Furthermore, the MCU can verify the integrity of the firmware. If verification is successful, the MCU will restart and perform the upgrade. If the upgrade is successful, the user will be notified of a successful upgrade; if an error occurs during the upgrade process, a failure message will be displayed, and the user can be prompted to restart the upgrade process.

[0052] S14. Update the corresponding lighting parameters based on the parsing result of the instruction field. When the instruction field is a batch setting instruction, the data block field includes multiple parameter items. The main controller parses the data block field and updates the lighting parameters corresponding to the multiple parameter items in batch.

[0053] Specifically, based on the parsing result of the instruction field obtained in step S13, the main controller determines the lamp parameters that need to be updated. Next, the main controller extracts the data block field corresponding to the instruction field from the preset storage area of ​​the NFC chip. Based on the information provided in the data block field, the main controller updates the corresponding parameters of the lamp.

[0054] When the instruction field is specified as batch setting, the main controller will parse the multiple parameter items contained in the data block field and perform batch update operations. For example, it will identify each parameter item, map each parameter item to a specific lamp parameter, and update multiple parameters of the lamp at the same time, thereby improving the setting efficiency. Figure 4 This illustration shows a flowchart of a process for batch updating lighting parameters corresponding to multiple parameter items, as provided in an embodiment of this application. In practical applications, it can be referred to... Figure 4The process involves batch updating lighting fixture parameters. For example, the first lighting fixture is initialized via a mobile application (APP), and all its configuration parameters are read and saved in a parameter template, along with the base address (BaseAddr) and the number of channels. When the user clicks the "Continuous Address" button, a counter is set, and an NFC connection is attempted with the target lighting fixture. Upon successful connection, the target address is calculated, and its validity is checked. If valid, the address value in the parameter template is modified, and a batch setting command is sent. The target lighting fixture receives the command and updates its parameters. If the update is successful, the counter is updated, and the user is prompted to continue setting. If the user chooses to continue, the process repeats to update the parameters of the next target lighting fixture until the user selects "End."

[0055] For example, the parameter item is in TLV format, and the parameter item may include a type field, a length field, and / or a value field.

[0056] Specifically, parameter items can be in TLV format, for example. The type field identifies the specific type of the parameter item, allowing for the correct identification and parsing of each parameter item. The length field indicates the length of the value field, i.e., the number of data bytes contained in the value field. The value field contains the specific value of the parameter item, i.e., the data written into the lighting fixture parameters.

[0057] Figure 5 This diagram illustrates the structure of a data block field in TLV format provided in an embodiment of this application. In practical applications, the data block field can be referenced... Figure 5 In TLV format, data block fields can consist of multiple parameter items. Each parameter item can include, for example, a 1-byte type field (T), such as 0x01 representing the DMX address; a 1-byte length field (L), indicating the length of the value field (V); and an L-byte value field containing the specific parameter value. For example, parameter 1 can be set to DMX address, with a length of 1 byte and a value of 0x01; parameter 2 can be set to number of channels, with a length of 1 byte and a value of 0x02; and parameter 3 can be set to channel mode, with a length of 4 bytes and values ​​of "2", "0", "C", or "H" (representing "20 channels"). This structured encoding accurately parses and updates the lighting parameters, ensuring that multiple parameter items in batch setting instructions can be reliably processed.

[0058] In one embodiment, the lamp parameter setting method further includes: configuring the DMX address of multiple lamps consecutively, wherein the mobile terminal obtains the configuration parameters of the first lamp and generates a parameter template; when the mobile terminal establishes a connection with the Mth lamp, it calculates the DMX address of the Mth lamp based on the parameter template and updates the address value in the parameter template; and sends the updated parameter template as a data block field of the batch setting instruction to the Mth lamp.

[0059] Specifically, continue to refer to Figure 4 After the mobile terminal establishes an NFC connection with the first lamp, the mobile terminal reads the configuration parameters of the first lamp and generates a parameter template based on the current parameters. This parameter template can be, for example, a standardized configuration file.

[0060] Once the mobile terminal establishes a connection with the Mth lamp, it determines the DMX address of the Mth lamp based on the configuration parameters of the first lamp.

[0061] In one embodiment, the DMX address of the Mth luminaire can be calculated as follows:

[0062] The address of the Mth lamp is equal to the DMX address of the first lamp plus (M-1) * N.

[0063] Where N is the number of DMX channels occupied by the channel mode of the first lamp, and the address of the Mth lamp cannot be greater than 512, otherwise it will exceed the range of DMX addresses (usually 1 to 512).

[0064] Furthermore, it's also possible to check if the DMX address of the Mth luminaire will cause a conflict. This can be done, for example, by querying the address list of connected luminaires, or by sending a probe signal to the DMX network to confirm if any other luminaires are responding to that DMX address.

[0065] After checking the DMX address of the Mth lamp, the DMX address value of the Mth lamp is written into the corresponding position in the parameter template. Then, the updated parameter template is sent to the Mth lamp to update multiple parameter items of the Mth lamp.

[0066] In one embodiment, the lamp parameter setting method may further include: obtaining configuration parameters corresponding to the lamp model from a cloud platform via the mobile terminal, and writing the configuration parameters as a data block field of the batch setting instruction into the preset storage area of ​​the lamp; and / or, storing the configuration parameters of the lamp as a data block field in the cloud platform via the mobile terminal.

[0067] For example, configuration parameters corresponding to the target lighting model can be obtained from the cloud platform via a mobile terminal. These configuration parameters can be downloaded and written as data block fields of batch setting instructions into the preset storage area of ​​the target lighting chip, and the target lighting can be configured using these configuration parameters.

[0068] For example, a mobile terminal can encapsulate the configuration parameters of a lighting fixture into data block fields and upload them to a cloud platform. The cloud platform, acting as a remote server, receives and stores these configuration parameters and associates them with information such as the lighting fixture model and serial number for easy management and retrieval. This not only enables centralized management of lighting fixture configuration information but also supports data backup and synchronization, ensuring the consistency of configuration parameters.

[0069] In summary, the NFC-based lighting parameter setting method 10 provided in this application establishes a near-field communication connection between a mobile terminal and the NFC chip of the lighting fixture, and writes instruction data containing instruction fields and corresponding data block fields to the NFC chip. The lighting fixture main controller reads and parses the instruction fields to execute corresponding operations, and updates the corresponding lighting fixture parameters based on the parsing results of the data block fields. Furthermore, when the instruction field is a batch setting instruction, multiple lighting fixture parameters corresponding to multiple parameter items can be updated in batches, thereby improving the efficiency and accuracy of lighting fixture parameter setting.

[0070] Based on the same inventive concept, this application also provides a lighting parameter setting system, which is applicable to the NFC-based lighting parameter setting method 10 described in any of the above embodiments. Figure 6 A schematic diagram of the lighting parameter setting system provided in an embodiment of this application is shown. (Refer to...) Figure 6 The lighting parameter setting system may include: a lighting fixture 100, on which a main control board 110 of the lighting fixture 100 is provided with a main controller 112 and an NFC chip 114 connected to the main controller 112; a mobile terminal 200, used to interact with the NFC chip 114 through an application 210, wherein the application 210 is configured to write instruction data to the NFC chip 114, the instruction data including an instruction field and a data block field; the main controller 112 is used to read and parse the instruction data from the NFC chip 114, and update the corresponding lighting parameters based on the parsing result of the instruction field, wherein when the instruction field is a batch setting instruction, the data block field includes multiple parameter items, the main controller parses the data block field, and batch updates the lighting parameters corresponding to the multiple parameter items.

[0071] Specifically, the luminaire 100 is the main execution unit of the luminaire parameter setting system. The luminaire 100 can be, for example, a stage luminaire used to provide the required lighting effects on the stage. Each luminaire has a main controller 112 inside, which is used to control the parameters of the luminaire 100.

[0072] The main control board 110 is the intelligent control center of the lamp 100, integrating the main controller 112 and the NFC chip 114. The main controller 112, as the brain of the main control board 110, is used to parse the instruction data received from the mobile terminal 200 and perform corresponding operations, such as updating lamp parameters or upgrading firmware.

[0073] The NFC chip 114 is used for near-field communication with the mobile terminal 200, enabling contactless communication between the lamp 100 and the mobile terminal 200. The NFC chip 114 receives NFC signals from the mobile terminal 200 and exchanges data with the main controller 112 to achieve wireless configuration of the lamp 100 parameters.

[0074] For example, the NFC chip 114 and the host controller 112 can be connected via an I2C bus or an SPI bus.

[0075] Specifically, the I2C bus is a two-wire serial bus that uses one data line (SDA) and one clock line (SCL) to achieve communication between devices. In the I2C bus system, the master controller 112 acts as the master device, initiating communication with the NFC chip 114 by sending start conditions and the device address. The NFC chip 114 acts as the slave device, responding to the master controller's requests and transmitting or receiving data.

[0076] The SPI bus is a four-wire synchronous serial communication protocol, using four lines: Master Output Slave Input (MOSI), Master Input Slave Output (MISO), Clock (SCK), and Slave Select (SS). In SPI communication, the master controller 112 can provide a clock signal via the SCK line and send data to the NFC chip 114 via the MOSI line. The NFC chip 114 then sends data back to the master controller 112 via the MISO line. The SPI bus has a higher data transfer rate than the I2C bus and is suitable for applications requiring rapid data exchange.

[0077] The mobile terminal 200 (such as a smartphone or tablet) is the interface through which the user interacts with the lamp 100. The user can send commands or read the status information of the lamp through the application 210 on the mobile terminal 200, and write the command data containing the command field and data block field into the preset storage area of ​​the NFC chip 114.

[0078] The instruction field includes the operations performed by the luminaire 100, such as parameter settings or firmware updates, while the data block field contains the specific parameters or data required to perform the operations. When the instruction field is for batch settings, the data block field will contain multiple parameter items. The main controller 112 parses these multiple parameter items and updates the parameters of the corresponding luminaires in batches based on the parsing results, thereby improving the efficiency of luminaire parameter configuration.

[0079] Application 210 provides a user interface that enables users to select lighting fixtures, send configuration commands, monitor the status of lighting fixtures, etc. Figure 7 A schematic diagram of the structure of the application provided in an embodiment of this application is shown. (Refer to...) Figure 7 The main interface of application 210 may include: a parameter display and editing area for displaying and editing parameters such as DMX address, channel mode, and lamp IP; a core function button area, which may include buttons such as "Read Parameters", "Write Parameters", and "Continuous Address"; a cloud operation area, which may include buttons such as "Download Configuration from Cloud" and "Upload Configuration to Cloud"; and a system function area, which may include entries such as "Firmware Upgrade" and "Query Version Number".

[0080] The cloud platform 300 is used to store and manage the configuration parameters of all lamps 100. The cloud platform 300 and the mobile terminal 200 can be connected via the wireless network 301. Users can query the parameter templates of each lamp model from the cloud platform 300, and can also upload the configuration parameters of the lamps to the cloud platform for backup or sharing.

[0081] The lighting parameter setting system provided in the above embodiments has the same or corresponding beneficial effects as the NFC-based lighting parameter setting method 10 provided in the above embodiments, and will not be described in detail here. Please refer to the NFC-based lighting parameter setting method 10 provided in the above embodiments.

[0082] This application also provides a lamp 100, including: a main controller 112 and an NFC chip 114 connected to the main controller 112, wherein the lamp 100 is configured to implement the NFC-based lamp parameter setting method described in any of the embodiments of this application above.

[0083] It should be noted that the order of the embodiments described above is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments.

[0084] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of those different embodiments or examples.

[0085] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.

[0086] In this application, unless otherwise stated, directional terms such as "up" and "down" are generally used in relation to the direction shown in the accompanying drawings, or in relation to the vertical, perpendicular, or gravitational direction; similarly, for ease of understanding and description, "left" and "right" are generally used in relation to the left and right shown in the accompanying drawings; "inner" and "outer" refer to the inner and outer contours of each component itself, but the above directional terms are not intended to limit this application.

[0087] The above description is merely an exemplary embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various variations or substitutions within the technical scope described in this application, and these should all be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for setting parameters of a lighting fixture based on NFC, wherein the lighting fixture includes an NFC chip, characterized in that, The method includes: The mobile terminal establishes a near-field communication connection with the NFC chip of the lamp; The mobile terminal writes instruction data to the NFC chip, the instruction data including an instruction field and a data block field corresponding to the instruction field; The main controller of the lamp reads and parses the instruction field to obtain the parsing result of the instruction field; The corresponding lighting parameters are updated based on the parsing result of the instruction field, wherein, When the instruction field is a batch setting instruction, the data block field includes multiple parameter items. The main controller parses the data block field and updates the lamp parameters corresponding to the multiple parameter items in batches.

2. The method for setting lighting parameters according to claim 1, characterized in that, The instruction data is stored in the preset storage area of ​​the NFC chip.

3. The method for setting lighting parameters according to claim 2, characterized in that, The preset storage area includes: An instruction register for storing the instruction field, a status register for indicating the communication status, a length register for indicating the length of the data block field, and a data area for storing the data block field.

4. The method for setting lamp parameters according to claim 3, characterized in that, The parameter items are in TLV format and include a type field, a length field, and / or a value field.

5. The method for setting lighting parameters according to claim 1, characterized in that, The method for setting the lighting parameters further includes: configuring consecutive DMX addresses for multiple lighting fixtures, wherein... The mobile terminal obtains the configuration parameters of the first lamp and generates a parameter template; When the mobile terminal establishes a connection with the Mth lamp, it calculates the DMX address of the Mth lamp based on the parameter template and updates the address value in the parameter template. The updated parameter template is sent as the data block field of the batch setting instruction to the Mth lamp.

6. The method for setting lamp parameters according to claim 2, characterized in that, The method for setting the lighting parameters also includes: The mobile terminal obtains the configuration parameters corresponding to the lamp model from the cloud platform, and writes the configuration parameters as the data block field of the batch setting instruction into the preset storage area of ​​the lamp. And / or, the configuration parameters of the lamp are stored as data block fields on the cloud platform via the mobile terminal.

7. The method for setting lamp parameters according to claim 1, characterized in that, The instruction field also includes: A firmware upgrade instruction; when the instruction field is the firmware upgrade instruction, the data block field includes a firmware data packet, and the master controller receives and stores the firmware data packet.

8. A lighting fixture parameter setting system, applicable to the lighting fixture parameter setting method according to any one of claims 1 to 7, comprising: The lighting fixture has a main controller and an NFC chip connected to the main controller on its main control board. A mobile terminal for interacting with the NFC chip via an application, wherein the application is configured to write instruction data to the NFC chip, the instruction data including an instruction field and a data block field; The main controller is used to read and parse the instruction data from the NFC chip, and update the corresponding lamp parameters based on the parsing result of the instruction field. When the instruction field is a batch setting instruction, the data block field includes multiple parameter items. The main controller parses the data block field and updates the lamp parameters corresponding to the multiple parameter items in batch.

9. The lighting parameter setting system according to claim 8, characterized in that, The NFC chip is connected to the main controller via an I2C bus or an SPI bus.

10. A lamp, characterized in that, include: A main controller and an NFC chip connected to the main controller, wherein the luminaire is configured to implement the NFC-based luminaire parameter setting method as described in any one of claims 1 to 7.