Curtain light assembly, curtain light equipment configuration method and storage medium

By implementing the configuration method in the curtain light equipment, receiving external configuration information and establishing a data communication link, and synchronous control using the host and slave identity identifiers, the problems of clock deviation and lack of memory functions during the operation of the curtain light equipment are solved, and efficient linkage effect and simplified user configuration process are achieved.

CN115941376BActive Publication Date: 2025-03-18SHENZHEN QIANYAN TECH LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211590263.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-09
Publication Date
2025-03-18
Estimated Expiration
2042-12-09

AI Technical Summary

Technical Problem

After the existing curtain light equipment is running for a period of time or due to frequent interruption of tasks, the chip system clock will be deviated, resulting in the poor linkage effect of multiple sets of curtain lights, and the equipment lacks memory function. After restarting, the association relationship needs to be reconfigured, which increases the difficulty of use.

Method used

Through the curtain light equipment configuration method, the configuration information broadcast by external devices is received, the data communication link between each curtain light equipment is established, and the host and slave identity identification are used for synchronization control to ensure time calibration and data transmission between each curtain light equipment.

Benefits of technology

It realizes the establishment of an automatic data communication link between curtain light equipment, ensures time synchronization of each device, improves the continuity and stability of the linkage effect, and reduces the difficulty of user configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115941376B_ABST
    Figure CN115941376B_ABST
Patent Text Reader

Abstract

The present invention provides a curtain light assembly, a curtain light device configuration method and a storage medium, the method comprising the following steps: the curtain light device receives configuration information broadcasted by an external device, the configuration information comprising address information and corresponding identity identification of each curtain light device in the curtain light assembly; when the curtain light device works as a host, a lighting effect synchronization instruction is transmitted to at least one curtain light device working as a slave through a corresponding data communication link; when the curtain light device works as a slave, the lighting effect execution parameters of the local device are adjusted according to the lighting effect synchronization instruction. The method enables data communication links to be established between the curtain light devices of the curtain light assembly, facilitating data transmission between the curtain light devices, and facilitating time synchronization between the curtain light devices, so that the curtain light devices can work in coordination and the curtain light assembly can emit a predetermined lighting effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart home technology, and in particular to a curtain light assembly, a curtain light equipment configuration method and a storage medium. Background Art

[0002] Curtains are generally used to shade or adjust indoor light. With the continuous development of the curtain industry, it has become an indispensable interior decoration that perfectly combines functionality and decoration. With the development of the times and the improvement of consumers' aesthetic concepts, the industry has introduced curtains with various colorful LED light strings installed on them for decorative purposes, and multiple sets of curtains with LED light strings are installed together. Through clever system control, the LED light strings on these multiple sets of curtains form a dynamic effect of interactive display, such as the effect of gradually rolling subtitles from the left curtain to the rightmost curtain, or the effect of one after another, or the visual effect of letters moving in a specific direction, etc., which greatly enriches people's lives.

[0003] In order to achieve the above-mentioned precise coordinated control of multiple sets of curtain lights in order to achieve a perfect linkage display effect, it is usually necessary to synchronize the multiple sets of curtain lights. This synchronization control is generally achieved through curtain light devices. However, since the curtain light device has a chip inside, after running for a period of time or due to frequent task interruptions, the system clock of the chip itself will be deviated and inaccurate, which will cause the system clocks of the multiple sets of curtain lights to be inconsistent. This will cause a certain time deviation between the dynamic effects presented by the multiple sets of curtain lights. From a visual perspective, the linkage effect of the multiple sets of curtain lights is deteriorated, such as time discontinuity, scrolling display effect jamming, etc.

[0004] Moreover, the existing curtain light device has no memory function. When the curtain light device is restarted, the association relationship with other curtain light devices needs to be reconfigured, which increases the difficulty of using the curtain light device and reduces the user experience.

[0005] In addition, in order to achieve the animation linkage effect of multiple sets of curtain lights, the industry connects multiple sets of curtain lights with cables to ensure the real-time and continuity of the linkage and dynamic display effects of the light strings. Although this method of interconnecting through cables is very stable, because many cables need to be arranged reasonably, the cable installation position is greatly limited, and this also increases the installation cost and material cost. Summary of the invention

[0006] The object of the present invention is to solve one of the above problems and provide a curtain light assembly, a curtain light device configuration method and a storage medium.

[0007] To adapt to the various purposes of the present invention, the following technical solutions are adopted:

[0008] A curtain light device configuration method is provided to meet one of the purposes of the present invention, comprising the following steps:

[0009] The curtain light device receives configuration information broadcasted by an external device, wherein the configuration information includes address information of each curtain light device in the curtain light assembly and a corresponding identity identifier;

[0010] The curtain light device configures the identity of the device as a host or a slave according to the identity identifier corresponding to the address information of the device in the configuration information, and establishes a data communication link with the other curtain light devices according to the address information of the other curtain light devices;

[0011] When the curtain light device works as a host, a lighting effect synchronization instruction is transmitted to at least one curtain light device working as a slave through a corresponding data communication link, so as to control the curtain light device working as a slave to adjust its lighting effect execution parameters;

[0012] When the curtain light device works as a slave, it receives a lighting effect synchronization instruction transmitted by the curtain light device working as a host, and adjusts the lighting effect execution parameters of the local device according to the lighting effect synchronization instruction.

[0013] Furthermore, in the step where the curtain light device receives configuration information broadcast by an external device, wherein the configuration information includes address information and corresponding identity identifiers of each curtain light device in the curtain light assembly, the curtain light device stores the address information and corresponding identity identifiers of each curtain light device in the configuration information in its storage space.

[0014] Further, the curtain light device configures the identity of the local device as a host or a slave according to the identity identifier corresponding to the address information of the local device in the configuration information, and establishes a data communication link with the other curtain light devices according to the address information of the other curtain light devices, including the following specific steps:

[0015] When the curtain light device working as a host is restarted, the curtain light device working as a host reads the address information of other curtain light devices in its storage space and establishes a data communication link with at least one curtain light device working as a slave.

[0016] Further, the curtain light device configures the identity of the local device as a host or a slave according to the identity identifier corresponding to the address information of the local device in the configuration information, and establishes a data communication link with the other curtain light devices according to the address information of the other curtain light devices, including the following specific steps:

[0017] When the curtain light device working as a slave is restarted, the curtain light device working as a slave reads the address information of other curtain light devices in its storage space and establishes a data communication link with the curtain light device working as a host or another curtain light device working as a slave.

[0018] Further, the curtain light device configures the identity of the local device as a host or a slave according to the identity identifier corresponding to the address information of the local device in the configuration information, and establishes a data communication link with the other curtain light devices according to the address information of the other curtain light devices, including the following specific steps:

[0019] The curtain light device working as a host device establishes a data communication link with the second curtain light device working as a slave device;

[0020] The second curtain light device operating as a slave establishes a data communication link with the third curtain light device operating as a slave.

[0021] Further, when the curtain light device works as a host, the step of transmitting a lighting effect synchronization instruction to at least one curtain light device working as a slave through a corresponding data communication link to control the curtain light device working as a slave to adjust its lighting effect execution parameters includes the following specific steps:

[0022] The curtain light device working as a host distributes lighting effect synchronization data to a plurality of curtain light devices working as slaves, and encapsulates the lighting effect synchronization data in the lighting effect synchronization execution instruction;

[0023] After receiving the lighting effect synchronization instruction, the curtain light working as a slave updates the lighting effect display time data in its lighting effect execution parameters based on the lighting effect synchronization data in the lighting effect synchronization instruction.

[0024] Furthermore, the lighting effect execution parameters include the lighting effect display data and lighting effect display time data, the lighting effect display data is used to control the lighting effect content when the curtain light device is working, and the lighting effect display time data is used to control the display time or display speed of the lighting effect content.

[0025] A curtain light assembly is provided to meet one of the purposes of the present invention, including multiple curtain light devices, wherein the curtain light devices include a control unit and curtain lights electrically connected to the control unit, and the control unit is used to execute the curtain light device configuration method as described in any one of the previous purposes.

[0026] Specifically, the control unit is a Bluetooth chip.

[0027] A computer-readable storage medium is provided to meet one of the purposes of the present invention. The computer-readable storage medium stores a program code, and the program code can be called by a processor to execute the curtain light device configuration method as described in any of the above items.

[0028] Compared with the prior art, the present invention has many advantages, including but not limited to:

[0029] On the one hand, according to the curtain light device configuration method of the present invention, each curtain light device of the curtain light assembly can automatically establish a data communication link with other curtain light devices, thereby facilitating data transmission between each curtain light device and improving the operation flow of the curtain light assembly.

[0030] On the other hand, according to the curtain light device configuration method of the present invention, the curtain light device working as a host can send a lighting effect synchronization instruction to the curtain light device working as a slave, so that the time between each curtain light device of the curtain light assembly is calibrated, and each curtain light device can operate synchronously. With the cooperation of each curtain light, the curtain light assembly can emit a predetermined lighting effect.

[0031] Additional aspects and advantages of the present invention will be given in part in the following description, which will become obvious from the following description, or may be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0033] Figure 1 The figure is a schematic diagram of the circuit principle of the curtain light assembly according to a typical embodiment of the present invention.

[0034] Figure 2 The figure is a flow chart of a curtain light device configuration method according to a typical embodiment of the present invention.

[0035] Figure 3 It is a flowchart diagram of step S12 of the curtain light device configuration method according to an embodiment of the present invention.

[0036] Figure 4 It is a flowchart diagram of step S13 of the curtain light device configuration method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0037] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having 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 invention, and cannot be interpreted as limiting the present invention.

[0038] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as herein.

[0039] Those skilled in the art should know that, although the various methods of the present invention are described based on the same concept and thus present commonality to each other, unless otherwise specified, these methods can be independently executed. Similarly, for each embodiment disclosed in the present invention, they are all proposed based on the same inventive concept, therefore, concepts with the same expression, and concepts that are appropriately changed for convenience despite different expressions, should be understood as equivalent.

[0040] Unless the mutually exclusive relationship between the embodiments to be disclosed in the present invention is explicitly stated, the relevant technical features involved in the embodiments can be cross-combined to flexibly construct new embodiments, as long as such combination does not deviate from the creative spirit of the present invention and can meet the needs of the prior art or solve certain deficiencies in the prior art. Those skilled in the art should be aware of this flexibility.

[0041] The present invention provides a curtain light device configuration method, in which the curtain light device stores address information and identity identification of each curtain light device of a curtain light assembly, so as to facilitate establishment of a data communication link between each curtain light device, facilitate data transmission between each curtain light device, and facilitate synchronous operation between multiple curtain light devices.

[0042] To implement the curtain light device 100 method, in combination Figure 1 The present invention provides a curtain light assembly, wherein the curtain light assembly includes a plurality of curtain light devices 100. The curtain light device 100 includes a control unit 110, a storage unit 120, a communication unit 130, and a curtain light 140, wherein the control unit 110 is electrically connected to the storage unit 120, the communication unit 130, and the curtain light 140, respectively. In one embodiment, the curtain light device 100 includes a plurality of curtain lights 140.

[0043] The control unit 110 transmits signals to the outside or receives signals sent by external devices through the communication unit 130 , and the control unit 110 stores the received information through the storage unit 120 .

[0044] A light control circuit is provided between the control unit 110 and the curtain light 140 . The control unit 110 outputs a light effect control signal to the curtain light 140 through the light control circuit to control the curtain light 140 to emit a predetermined light effect.

[0045] In this embodiment, the communication unit 130 is integrated into the control unit 110 , and the control unit 110 is a Bluetooth chip. Preferably, the storage unit 120 is also integrated into the control unit 110 .

[0046] In this embodiment, the multiple curtain light devices 100 in the curtain light assembly can all receive configuration information sent by an external device, and the configuration information includes address information and corresponding identity identification of each curtain light device 100 in the curtain light assembly, and the identity identification is used to mark the identity status of the curtain light device 100 in the curtain light assembly. For example, the curtain light device 100 is marked as a host or a slave by the identity identification, or the curtain light device 100 is marked in the order of the curtain light assembly by the identity identification, such as the first, the second, and so on.

[0047] After receiving the configuration information sent by the external device, the curtain light device 100 obtains the identity identifier corresponding to the local address in the configuration information, and converts its identity state into the identity state corresponding to the identity identifier. Moreover, after obtaining the address information and identity identifiers of other curtain light devices 100 in the curtain light assembly in the configuration information, the curtain light device 100 stores the address information and identity identifiers of other curtain light devices 100 in the curtain light assembly in the storage space of its storage unit 120. The curtain light device 100 can establish a data communication link with the corresponding curtain light device 100 by retrieving the address information of other curtain light devices 100.

[0048] In one embodiment, the external device may be a terminal device, and the terminal device may be used to obtain the address information of each curtain light device 100 by establishing a data connection with each curtain light device 100 in the curtain light assembly. The terminal device may be used to assign an identity to each curtain light device 100 in the curtain light assembly, so that the multiple curtain light devices 100 in the curtain light assembly may work in a predetermined order, thereby improving the working smoothness of the curtain light assembly and facilitating the display of light effects. Preferably, the terminal device is a mobile phone.

[0049] In an exemplary embodiment of the present invention, Figure 2 , the curtain light device configuration method includes the following specific steps:

[0050] Step S11, the curtain light device receives the configuration information broadcast by the external device, wherein the configuration information includes the address information of each curtain light device in the curtain light assembly and the corresponding identity identification:

[0051] The external device transmits configuration information to the outside, wherein the configuration information includes address information of each curtain light device in the curtain light assembly and an identity tag assigned by the external device to each curtain light device in the curtain light assembly, each curtain light device is assigned a unique identity tag, and the identity tag corresponding to the curtain light device is associated with the address information of the curtain light device.

[0052] The curtain light device receives the configuration information broadcasted by the external device. After receiving the configuration information, the curtain light device obtains the corresponding address information and the identity corresponding to the address information from the configuration information. After obtaining the corresponding identity, the curtain light device converts its identity into the identity state corresponding to the identity. In a typical embodiment of the present invention, the identity is divided into a host and a slave, and there is only one host and one or more slaves. Each curtain light has and corresponds to an identity.

[0053] The step S11 also includes the following specific steps:

[0054] Step S111, the curtain light device stores the address information and the corresponding identity of each curtain light device in the configuration information in its storage space:

[0055] After receiving the address information and identity identification of other curtain light devices in the curtain light assembly, the curtain light device stores the address information and identity identification of other curtain light devices in the storage space of its storage unit, so that the control unit of the curtain light device can call the address information of other curtain light devices in the curtain light assembly from the storage unit and establish a data communication link with other curtain light devices.

[0056] Step S12, the curtain light device configures the identity of the local device as a host or a slave device according to the identity identifier corresponding to the address information of the local device in the configuration information, and establishes a data communication link with the other curtain light devices according to the address information of the other curtain light devices:

[0057] After the curtain light device obtains the corresponding identity from the configuration information sent by the external device, the curtain light device configures its own identity to the identity corresponding to the identity, and writes the identity into its control unit. When the identity corresponding to the curtain light device is the host, the curtain light device converts its identity to the host according to the identity representing the host, and writes the identity representing the host into the control unit; when the identity corresponding to the curtain light device is the slave, the curtain light device converts its identity to the slave according to the identity representing the slave, and writes the identity representing the slave into the control unit.

[0058] When the curtain light device working as a host (the curtain light device working as a host is referred to as the first curtain light device) sends a communication signal to the outside, when the curtain light device working as a slave (the curtain light device working as a slave is referred to as the slave curtain light device) receives the communication signal, the slave curtain light device sends a feedback signal to establish a data communication link with the first curtain light device.

[0059] Specifically, the first curtain light device retrieves the address information and identity identification of other curtain light devices in the curtain light assembly from its storage unit, and the first curtain light device sends a communication signal to one or more slave curtain light devices based on the address information of each slave curtain light device, so that the first curtain light device establishes a data communication link with the one or more curtain light devices.

[0060] In a typical embodiment of the present invention, the first curtain light device directly establishes a data communication link with each slave curtain light device of the curtain light assembly based on the address information of each slave curtain light device of the curtain light assembly, so that the first curtain light device sends data to each slave curtain light device.

[0061] In a typical embodiment of the present invention, this step S12 includes the following specific steps:

[0062] Step S121, when the curtain light device working as a host is restarted, the curtain light device working as a host reads the address information of other curtain light devices in its storage space, and establishes a data communication link with at least one curtain light device working as a slave:

[0063] When the first curtain light device is shut down, the first curtain light device will disconnect the data communication link with each slave curtain light device. When the first curtain light device is restarted, the first curtain light device immediately calls out the address information of each slave curtain light device of the curtain light assembly from its storage unit, and sends a communication signal to each slave curtain light device respectively, and establishes a data communication link with each slave curtain light device, so as to avoid the first curtain light device being unable to actively establish a data communication link with each slave curtain light device after restarting.

[0064] In one embodiment, in combination Figure 3 , step S12 also includes the following specific steps:

[0065] Step S122, the curtain light device working as a host device establishes a data communication link with the second curtain light device working as a slave device;

[0066] The identity identifier representing the slave can be further divided into the first slave, the second slave, the third slave, and so on. After the curtain light device receives the configuration information sent by the external device, if the identity identifier corresponding to the address information of the curtain light device represents the first slave, the curtain light device converts its identity to the first slave, and the curtain light device working as the first slave is called the second curtain light device; when the identity identifier corresponding to the curtain light device represents the second slave, the curtain light device converts its identity to the second slave, and the curtain light device working as the second slave is called the third curtain light device, and so on.

[0067] The first curtain light device selects the address information corresponding to the identity identifier representing the first slave (the address information is referred to as the first address information) from the address information and identity identifiers corresponding to other curtain light devices of the curtain light assembly stored in its storage space. The first curtain light device establishes a data communication link with the curtain light device working as the first slave, that is, the second curtain light device, based on the first address information. After establishing the data communication link with the second curtain light device, the first curtain light device no longer establishes a data communication link with other curtain light devices.

[0068] Step S123, the second curtain light device working as a slave device establishes a data communication link with the third curtain light device working as a slave device:

[0069] After the second curtain light device establishes a data communication link with the first curtain light device, the second curtain light device sends a communication signal to the curtain light device working as the second slave, that is, the third curtain light device, to establish a data communication link with the third curtain light device.

[0070] Furthermore, after the third curtain light device establishes a data communication link with the second curtain light device, the third curtain light device sends a communication signal to the curtain light device working as the second slave, that is, the fourth curtain light device, to establish a data communication link with the fourth curtain light device, and so on... Each curtain light device of the curtain light assembly establishes a data communication link in turn according to the identity identification, which will not be elaborated here to save space.

[0071] In another embodiment, step S12 further includes the following specific steps:

[0072] Step S124, when the curtain light device working as a slave is restarted, the curtain light device working as a slave reads the address information of other curtain light devices in its storage space, and establishes a data communication link with the curtain light device working as a host and / or another curtain light device working as a slave:

[0073] When the slave curtain light device is shut down, the slave curtain light device will disconnect the data communication link with the first curtain light device and / or another slave curtain light device. In combination with the typical embodiment of the present invention, when the slave curtain light device is restarted, the slave curtain light device immediately calls out the address information corresponding to the identity identifier representing the host from its storage unit, and sends a communication signal to the first curtain light device based on the address information corresponding to the identity identifier representing the host, so as to establish a data communication link with the first curtain light device.

[0074] In combination with the previous embodiment, when the slave curtain light device is the second curtain light device, after the second curtain light device is restarted, the second curtain light device calls out the address information corresponding to the identity identifier representing the host and the address information corresponding to the identity identifier representing the second slave from its storage unit, and the second curtain light device sends communication signals to the first curtain light device and the third curtain light device respectively, and establishes data communication links with the first curtain light device and the third curtain light device respectively.

[0075] When the slave curtain light device is the third curtain light device, after the third curtain light device is restarted, the third curtain light device calls out the address information corresponding to the identity identifier representing the first slave device and the address information corresponding to the identity identifier representing the third slave device from its storage unit, and the third curtain light device sends communication signals to the second curtain light device and the fourth curtain light device respectively, and establishes data communication links with the second curtain light device and the fourth curtain light device respectively.

[0076] Step S13, when the curtain light device works as a host, a lighting effect synchronization instruction is transmitted to at least one curtain light device working as a slave through a corresponding data communication link to control the curtain light device working as a slave to adjust its lighting effect execution parameters:

[0077] The various curtain light devices of the curtain light assembly need to work synchronously so that the various curtain light devices of the curtain light assembly can cooperate with each other to emit light, so that the curtain light assembly can emit a predetermined light effect when the various curtain light devices cooperate with each other.

[0078] The first curtain light device sends a lighting effect synchronization instruction to each slave curtain light device, and the slave curtain light device corrects its time after receiving the lighting effect synchronization instruction, so that the time of the slave curtain light device is relatively aligned with the time of the first curtain light device, so that the first curtain light device and each slave curtain light device work under the same time standard, so that each curtain light device of the curtain light assembly can perform corresponding work at a predetermined time, so that the curtain light assembly emits a predetermined lighting effect.

[0079] After receiving the lighting effect synchronization instruction, the slave curtain light device updates the lighting effect display time data in its lighting effect execution parameters through the lighting effect synchronization instruction, so that the time parameters are calibrated with the lighting effect display time data of the first curtain light component, so that there is no time deviation between the slave curtain light device and the first curtain light device, so that the slave curtain light device and the first curtain light device can work synchronously.

[0080] In one embodiment, the lighting effect execution parameter is used for the lighting effect of the curtain light of the curtain light device. The lighting effect execution parameter includes lighting effect display data and lighting effect display time data, and the lighting effect display data includes luminous color parameters and luminous intensity parameters. The luminous color parameters are used to control the three luminous colors of red, green and blue of the curtain light, and the luminous intensity parameters are used to control the luminous intensity of the curtain light. The curtain light device includes a plurality of curtain lights, and the control unit of the curtain light device sets the same or different lighting effect execution parameters corresponding to each curtain light.

[0081] In one embodiment, in combination Figure 4 , step S13 also includes the following specific steps:

[0082] Step S131, the curtain light device working as a host distributes lighting effect synchronization data to multiple curtain light devices working as slaves, and encapsulates the lighting effect synchronization data into the lighting effect synchronization instruction:

[0083] The first curtain light device distributes lighting effect synchronization data to multiple slave curtain light devices, and the lighting effect synchronization data is used to update the lighting effect display time data of the slave curtain light devices. The first curtain light device encapsulates the lighting effect synchronization data in a lighting effect synchronization instruction, and sends the lighting effect synchronization instruction to the corresponding slave curtain device based on the data communication link established between the first curtain light device and one or more slave curtain light devices.

[0084] Specifically, in a typical embodiment of the present invention, the first curtain light device establishes a data communication link with each slave curtain light device, the first curtain light device generates corresponding lighting effect synchronization instructions for each slave curtain light device, and the first curtain light device sends the generated lighting effect synchronization instructions to the corresponding slave curtain light devices.

[0085] In another embodiment, the first curtain light device establishes a data communication link with the second curtain light device, and the first curtain light device associates the lighting effect synchronization data corresponding to each slave curtain light device with the address information of the corresponding slave curtain light device, and encapsulates the lighting effect synchronization data corresponding to each slave curtain light device and the corresponding address data in the same lighting effect synchronization instruction. The first curtain light device sends the lighting effect synchronization instruction to the second curtain light device, and the second curtain light device obtains the corresponding lighting effect synchronization data from the address information of the machine corresponding to the lighting effect synchronization instruction. After obtaining the corresponding lighting effect synchronization data, the second curtain light device sends the lighting effect synchronization instruction to the third curtain light device, and the third curtain light device obtains the corresponding lighting effect synchronization data from the lighting effect synchronization instruction... and so on, until all curtain light devices have obtained the corresponding lighting effect synchronization data.

[0086] Step S132, after the curtain light working as a slave receives the lighting effect synchronization instruction, it updates the lighting effect display time data in its lighting effect execution parameters based on the lighting effect synchronization data in the lighting effect synchronization instruction:

[0087] After receiving the lighting effect synchronization instruction from the curtain light device, the corresponding lighting effect synchronization data is obtained from the lighting effect synchronization instruction. The curtain light device updates the lighting effect display time data in its lighting effect execution parameters based on the lighting effect synchronization data, so that the lighting effect display time data of the curtain light device is calibrated with the lighting effect display time data of the first curtain light device, so that the curtain light devices of the curtain light assembly can work synchronously, and then the curtain light assembly emits a predetermined lighting effect.

[0088] For example, when the time of the first curtain light device does not correspond to the time of the second curtain light device, such as at the same timestamp, the time of the first curtain light device is 8:01, and the time of the second curtain light device is 8:03, the times of the two curtain light devices do not correspond, so that the curtain light assembly cannot emit the predetermined lighting effect. The first curtain light device sends a lighting effect synchronization instruction to the second curtain light device, so that the time of the first curtain light device and the second curtain light device are corrected. For example, at the same timestamp, the time of the first curtain light device and the second curtain light device are both 8:01, so that the time of the two curtain light devices corresponds, and the curtain light assembly can emit the predetermined lighting effect.

[0089] Step S14, when the curtain light device works as a slave, receiving the lighting effect synchronization instruction transmitted by the curtain light device working as a host, and adjusting the lighting effect execution parameters of the local device according to the lighting effect synchronization instruction:

[0090] When the slave curtain light device receives the lighting effect synchronization instruction sent by the first curtain light device, the lighting effect synchronization data is obtained from the lighting effect synchronization instruction. The lighting effect execution parameters of the slave curtain light device can be adjusted through the lighting effect synchronization data, so that the time of the slave curtain light device is calibrated with that of the first curtain light device, so that the curtain light devices of the curtain light assembly can work synchronously.

[0091] The present invention also provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the curtain light device configuration method of any embodiment of the present invention.

[0092] The present invention also provides a computer program product, comprising a computer program / instruction, which implements the steps of the method described in any embodiment of the present invention when executed by one or more processors.

[0093] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments of the present invention can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned computer-readable storage medium can be a disk, an optical disk, a read-only memory (ROM), etc., or a random access memory (RAM), etc.

[0094] In summary, through the curtain light device configuration method of the present invention, a data communication link is established between the various curtain light devices of the curtain light assembly, which facilitates data transmission between the curtain light devices and enables time synchronization between the various curtain light devices, so that the various curtain light devices can work together and the curtain light assembly can emit a predetermined lighting effect.

[0095] Those skilled in the art will appreciate that each block in these structure diagrams and / or block diagrams and / or flow charts and combinations of blocks in these structure diagrams and / or block diagrams and / or flow charts can be implemented using computer program instructions. Those skilled in the art will appreciate that these computer program instructions can be provided to a general-purpose computer, a professional computer, or a processor of other programmable data processing methods to implement, thereby executing the scheme specified in the block or multiple blocks of the structure diagrams and / or block diagrams and / or flow charts disclosed in this application through the processor of the computer or other programmable data processing method.

[0096] Those skilled in the art will appreciate that the various operations, methods, steps, measures, and schemes in the processes discussed in this application may be alternated, altered, combined, or deleted. Further, other steps, measures, and schemes in the various operations, methods, and processes discussed in this application may also be alternated, altered, rearranged, decomposed, combined, or deleted. Further, the steps, measures, and schemes in the prior art that are similar to those disclosed in this application may also be alternated, altered, rearranged, decomposed, combined, or deleted.

[0097] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A curtain light equipment configuration method, characterized in that: The steps include: The curtain light device receives configuration information broadcasted by an external device, wherein the configuration information includes address information of each curtain light device in the curtain light assembly and a corresponding identity identifier; The curtain light device configures the identity of the device as a host or a slave according to the identity identifier corresponding to the address information of the device in the configuration information, and establishes a data communication link with the other curtain light devices according to the address information of the other curtain light devices; When the curtain light device works as a host, a lighting effect synchronization instruction is transmitted to at least one curtain light device working as a slave through a corresponding data communication link, so as to control the curtain light device working as a slave to adjust its lighting effect execution parameters, wherein the lighting effect execution parameters include the lighting effect display data and the lighting effect display time data, wherein the lighting effect display data is used to control the lighting effect content when the curtain light device works, and the lighting effect display time data is used to control the display time or display speed of the lighting effect content; When the curtain light device works as a slave, it receives a lighting effect synchronization instruction transmitted by the curtain light device working as a host, and adjusts the lighting effect execution parameters of the local device according to the lighting effect synchronization instruction.

2. The method according to claim 1, characterized in that In the step where the curtain light device receives configuration information broadcast by an external device, wherein the configuration information includes address information and corresponding identity identifiers of each curtain light device in the curtain light assembly, the curtain light device stores the address information and corresponding identity identifiers of each curtain light device in the configuration information in its storage space.

3. The method according to claim 2, characterized in that The curtain light device configures the identity of the local device as a host or a slave device according to the identity identifier corresponding to the address information of the local device in the configuration information, and establishes a data communication link with the other curtain light devices according to the address information of the other curtain light devices, including the following specific steps: When the curtain light device working as a host is restarted, the curtain light device working as a host reads the address information of other curtain light devices in its storage space and establishes a data communication link with at least one curtain light device working as a slave.

4. The method according to claim 2, characterized in that The curtain light device configures the identity of the local device as a host or a slave device according to the identity identifier corresponding to the address information of the local device in the configuration information, and establishes a data communication link with the other curtain light devices according to the address information of the other curtain light devices, including the following specific steps: When the curtain light device working as a slave is restarted, the curtain light device working as a slave reads the address information of other curtain light devices in its storage space and establishes a data communication link with the curtain light device working as a host or another curtain light device working as a slave.

5. The method according to claim 2, characterized in that The curtain light device configures the identity of the local device as a host or a slave device according to the identity identifier corresponding to the address information of the local device in the configuration information, and establishes a data communication link with the other curtain light devices according to the address information of the other curtain light devices, including the following specific steps: The curtain light device working as a host device establishes a data communication link with the second curtain light device working as a slave device; The second curtain light device operating as a slave establishes a data communication link with the third curtain light device operating as a slave.

6. The method according to claim 1, characterized in that When the curtain light device works as a host, the step of transmitting a lighting effect synchronization instruction to at least one curtain light device working as a slave through a corresponding data communication link to control the curtain light device working as a slave to adjust its lighting effect execution parameters includes the following specific steps: The curtain light device working as a host distributes lighting effect synchronization data to a plurality of curtain light devices working as slaves, and encapsulates the lighting effect synchronization data in the lighting effect synchronization execution instruction; After receiving the lighting effect synchronization instruction, the curtain light working as a slave updates the lighting effect display time data in its lighting effect execution parameters based on the lighting effect synchronization data in the lighting effect synchronization instruction.

7. A curtain light assembly, characterized in that: It comprises a plurality of curtain light devices, wherein the curtain light devices comprise a control unit and curtain lights electrically connected to the control unit, and the control unit is used to execute the curtain light device configuration method according to any one of claims 1 to 6.

8. The curtain light assembly according to claim 7, characterized in that: The control unit is a Bluetooth chip.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program code, and the program code can be called by a processor to execute the curtain light device configuration method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • But LED synchronising controller of property ability is produced to intuitive judgment

    CN207235162U