Disclosure of Invention
The invention aims to provide a control method, a device and a controller of a light emitting device. The interference level during communication is reduced by using a method for carrying out cooperative dimming among the visible light multiple lamps, and the transmission efficiency of the visible light communication is further improved.
In order to solve the technical problems, the technical scheme of the invention is as follows:
the invention provides a control method of a light emitting device, comprising the following steps:
generating a control instruction for controlling the light emission of the at least two light emitting devices according to the lamp panel where the at least two light emitting devices are positioned;
and controlling the at least two light emitting devices to emit light according to the control instruction, wherein the interference between the at least two light emitting devices is lower than a preset value.
Optionally, generating a control instruction for controlling the light emission of the at least two light emitting devices according to the lamp panel where the at least two light emitting devices are located, including:
and generating control instructions for the first light emitting device and the second light emitting device according to the lamp panel where the first light emitting device and the second light emitting device in the at least two light emitting devices are located, wherein the communication transmission capacity of the second light emitting device is larger than that of the first light emitting device.
Optionally, generating a control instruction for the first light emitting device and the second light emitting device according to the lamp panel where the first light emitting device and the second light emitting device are located, including:
determining a first frequency range of the first light emitting device and a second frequency range of the second light emitting device under the condition that the first light emitting device and the second light emitting device are in the same lamp panel;
and generating a first control instruction for controlling the first light emitting device and the second light emitting device to emit light according to the first frequency range and the second frequency range.
Optionally, generating a first control instruction for controlling the first light emitting device and the second light emitting device to emit light according to the first frequency range and the second frequency range includes:
And when the second light emitting device is in a transmission state, the first light emitting device emits light at a first frequency, the second light emitting device emits light at a second frequency, and the first light emitting device and the second light emitting device emit light at a switching mode to maintain average light intensity, wherein the first light emitting device emits light at a brightness higher than the required light intensity, and the second light emitting device emits light at a lower brightness meeting the communication requirement for communication transmission.
Optionally, generating a first control instruction for controlling the first light emitting device and the second light emitting device to emit light according to the first frequency range and the second frequency range includes:
And if the first frequency range and the second frequency range are different frequency ranges, generating a first control instruction for controlling the first light emitting device and the second light emitting device to emit light, wherein the first control instruction is used for controlling the second light emitting device to be in an idle state, the first light emitting device maintains illumination light intensity, and when the second optical device is in a transmission state, the first light emitting device and the second light emitting device simultaneously emit light with different light intensities to maintain average light intensity, wherein the first light emitting device emits light with brightness higher than required light intensity, and the second light emitting device performs communication transmission with lower brightness meeting communication requirements.
Optionally, generating a control instruction for controlling the light emission of the at least two light emitting devices according to the lamp panel where the at least two light emitting devices are located, including:
And if the at least two light emitting devices are in different lamp panels, generating a second control instruction for controlling the third light emitting device in the first lamp panel and the fourth light emitting device in the second lamp panel to emit light, wherein the second control instruction is used for controlling the third light emitting device and the fourth light emitting device to emit light at different pulse positions in the same time period.
Optionally, the second control instruction includes a first pulse position control instruction indicating the pulse position of the third light emitting device and a second pulse position control instruction indicating the pulse position of the fourth light emitting device, where the first pulse position control instruction and the second pulse position control instruction are semi-static high-level signaling or dynamic control signaling.
Optionally, the second control instruction is further configured to control the third light emitting device and the fourth light emitting device to have different pulse amplitudes in the same time period.
Optionally, the second control instruction further includes a first pulse amplitude control instruction indicating the pulse amplitude of the third light emitting device and a second pulse amplitude control instruction indicating the pulse amplitude of the fourth light emitting device, where the first pulse amplitude control instruction and the second pulse amplitude control instruction are semi-static high-layer signaling or dynamic control signaling.
Optionally, when the third light emitting device or the fourth light emitting device is a multicolor light emitting device, the second control instruction further includes pulse width information indicating different colors of light within the same period of the multicolor light emitting device.
The embodiment of the invention also provides a control device of the light emitting device, which is applied to a controller and comprises:
the generating module is used for generating a control instruction for controlling the light emitting of the at least two light emitting devices according to the lamp panel where the at least two light emitting devices are positioned;
The control module is used for controlling the at least two light emitting devices to emit light according to the control instruction, and the interference between the at least two light emitting devices is lower than a preset value.
Optionally, the generating module is specifically configured to generate a control instruction for the first light emitting device and the second light emitting device according to a lamp panel where the first light emitting device and the second light emitting device in the at least two light emitting devices are located, where a communication transmission capacity of the second light emitting device is greater than a communication transmission capacity of the first light emitting device.
Optionally, the generating module is specifically configured to determine a first frequency range of the first light emitting device and a second frequency range of the second light emitting device when the first light emitting device and the second light emitting device are in the same lamp panel;
and generating a first control instruction for controlling the first light emitting device and the second light emitting device to emit light according to the first frequency range and the second frequency range.
Optionally, the generating module is specifically configured to generate a second control instruction for controlling the third light emitting device located in the first light panel and the fourth light emitting device located in the second light panel to emit light if the at least two light emitting devices are located in different light panels, where the second control instruction is used to control the third light emitting device and the fourth light emitting device to emit light at different pulse positions in the same time period.
The embodiment of the invention also provides a controller, comprising:
the processor is used for generating a control instruction for controlling the light emission of the at least two light emitting devices according to the lamp panel where the at least two light emitting devices are positioned;
and the controller is used for controlling the at least two light emitting devices to emit light according to the control instruction, and the interference between the at least two light emitting devices is lower than a preset value.
Optionally, the processor is specifically configured to generate a control instruction for the first light emitting device and the second light emitting device according to a lamp panel where the first light emitting device and the second light emitting device are located in the at least two light emitting devices, where the communication transmission capability of the second light emitting device is greater than that of the first light emitting device.
Optionally, the processor is specifically configured to determine a first frequency range of the first light emitting device and a second frequency range of the second light emitting device under the condition that the first light emitting device and the second light emitting device are in the same lamp panel, and generate a first control instruction for controlling the first light emitting device and the second light emitting device to emit light according to the first frequency range and the second frequency range.
Optionally, the processor is specifically configured to generate a second control instruction for controlling the third light emitting device located in the first light panel and the fourth light emitting device located in the second light panel to emit light if the at least two light emitting devices are located in different light panels, where the second control instruction is configured to control the third light emitting device and the fourth light emitting device to emit light at different pulse positions in the same time period.
Embodiments of the present invention also provide a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform a method as described above.
The scheme of the invention at least comprises the following beneficial effects:
And controlling the at least two light emitting devices to emit light according to the control instruction, wherein the interference between the at least two light emitting devices is lower than a preset value. The scheme of the invention can realize the lighting requirement, reduce interference and improve the transmission efficiency during networking.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As shown in fig. 1, an embodiment of the present invention provides a control method of a light emitting device, the method including:
Step 11, generating a control instruction for controlling the light emission of at least two light emitting devices according to the lamp panel where the at least two light emitting devices are positioned;
and step 12, controlling the at least two light emitting devices to emit light according to the control instruction, wherein the interference between the at least two light emitting devices is lower than a preset value.
Here, a specific description will be made of a Light Emitting device including a plurality of Light Emitting devices, and the first Light Emitting device in the following embodiments of the present invention may be a Light Emitting device commonly used in a daily lighting scene, including RBG-LEDs, OLEDs, etc., in which REG-LEDs (Red Blue GREEN LIGHT-emission diodes) are Light Emitting diodes imaged in a Red-green-Blue three primary color co-intersection, and OLEDs (Organic Light-emission diodes) are Organic Light Emitting diodes, and the first Light Emitting device has a high lighting efficiency but a low communication capability, particularly RBG-LEDs, and has a spectral bandwidth available for each wavelength of only 20 to 30MHz. In the embodiment of the invention, when the first light emitting device is arranged on the lamp panel, a plurality of first light emitting devices can be arranged;
The second light emitting device can be a micro light emitting diode mu LED which is specially developed for visible light communication, compared with the first light emitting device, the communication capacity of the second light emitting diode mu LED is greatly improved, the bandwidth can reach 400-500MHz, the communication rate can be greatly improved, but the light emitting efficiency is low, the brightness is weaker due to the self-luminous characteristic, and the second light emitting device is difficult to be used as lighting equipment. In the embodiment of the invention, when the second light emitting device is arranged on the lamp panel, a plurality of second light emitting devices can be arranged.
Therefore, the first light emitting device and the second light emitting device need to be matched in the actual use process.
In an alternative embodiment of the present invention, control instructions for the first light emitting device and the second light emitting device are generated according to a lamp panel where the first light emitting device and the second light emitting device are located in at least two light emitting devices, where the communication transmission capability of the second light emitting device is greater than that of the first light emitting device.
In this embodiment, a control instruction for controlling light emission is generated by the lamp panel where the first light emitting device and the second light emitting device are located, and light emission is performed according to the control instruction, so that cooperative dimming control of the light emitting devices is realized, lighting requirements can be considered, interference can be reduced, and transmission efficiency during networking is improved. In an alternative embodiment of the present invention, step 11 includes:
Step 111, if the first light emitting device and the second light emitting device are in the same lamp panel, determining a first frequency range of the first light emitting device and a second frequency range of the second light emitting device;
And step 112, generating a first control instruction for controlling the first light emitting device and the second light emitting device to emit light according to the first frequency range and the second frequency range.
As shown in fig. 2, in this embodiment, the first light emitting device and the second light emitting device are integrated in the same lamp panel to cooperate for dimming, in which the common LED lamp 21 is the first light emitting device, the micro light emitting diode μled22 is the second light emitting device, the first light emitting device provides illumination, and the second light emitting device provides a communication transmission function.
When the first light emitting device and the second light emitting device are on the same lamp panel, according to whether illumination and communication are on the same frequency, the following two schemes exist:
Scheme 1, under the condition that the first light emitting device and the second light emitting device are in the same frequency:
And when the second light emitting device is in a transmission state, the first light emitting device emits light at a first frequency, the second light emitting device emits light at a second frequency, and the first light emitting device and the second light emitting device emit light at a switching mode to maintain average light intensity, wherein the first light emitting device emits light at a brightness higher than the required light intensity, and the second light emitting device emits light at a lower brightness meeting the communication requirement for communication transmission.
In the embodiment, when the second light emitting device is in an idle state, the first light emitting device maintains the illumination intensity to provide the illumination requirement, and when the second light emitting device is in a transmission state, the first light emitting device and the second light emitting device perform switching light emission at a certain frequency to maintain the average intensity to provide the illumination requirement. Wherein the first light emitting device emits light at a brightness higher than the required light intensity and the second light emitting device performs communication transmission at a lower light intensity satisfying the communication demand.
As shown in fig. 3, in a specific embodiment 1, taking two lamp beads as an example, a lamp bead a is an LED lamp bead (first light emitting device) for general illumination, a lamp bead B is a lamp bead (second light emitting device) for communication, and the lamp bead a and the lamp bead B have the same frequency. CS (compensation symbols) is a compensation symbol, RF (resync field) is a synchronization field, DS (data symbol) is data coincidence, AB (average brightness) is average light intensity, N% is average light intensity AB maintained by the lamp bead a and the lamp bead B together in a certain frequency, and D% is lower light intensity satisfying communication requirements. Assuming that the required illumination intensity is 50%, the average light intensity N% of the lamp beads A and B within a period of time is more than or equal to 50%, and the required illumination intensity can be met.
As shown in fig. 3, in the idle state, the lamp bead B does not communicate, the illumination intensity of the lamp bead a is N%, the average intensity of the lamp bead a and the lamp bead B is N%, and since the average intensity of the illumination N% is not less than 50% of the set required illumination intensity, the illumination requirement is satisfied in the idle time.
When the light beads B need to perform data transmission, if the light intensity of the light beads A is still kept to be 50%, 2 problems are caused, namely, light noise interference on the light beads B can be caused when the light beads A are illuminated to influence the data transmission efficiency of the light beads B, and the overall illumination light intensity can be influenced when the light intensity of the light beads B for data transmission is suddenly increased to cause discomfort to human eyes.
Therefore, the beads a and B can maintain the average light intensity in such a manner that the switching light emission is performed at a certain frequency as shown in fig. 3. In one period, the light bead A emits light with the intensity N% higher than the average light intensity (namely, the part shown by the compensation symbol CS), and after a period of time, the light bead B is switched to perform communication transmission by using the light with the intensity lower than the average light intensity (namely, the light with the intensity lower than the average light intensity is used for communication transmission in the period of RF+DS). However, in one period, the average light intensity N% of the cooperative dimming of the lamp beads A and B meets the required 50% of the illumination light intensity (namely, the average light intensity N% is more than or equal to 50%). Therefore, the light intensity of the illumination requirement can be met, and the simultaneous light emission of the lamp beads A and B and the noise interference can be avoided.
Scheme 2, in case of different frequencies of the first light emitting device and the second light emitting device:
And if the first frequency range and the second frequency range are different frequency ranges, generating a first control instruction for controlling the first light emitting device and the second light emitting device to emit light, wherein the first control instruction is used for controlling the second light emitting device to be in an idle state, the first light emitting device maintains illumination light intensity, and when the second optical device is in a transmission state, the first light emitting device and the second light emitting device simultaneously emit light with different light intensities to maintain average light intensity, wherein the first light emitting device emits light with brightness higher than required light intensity, and the second light emitting device performs communication transmission with lower brightness meeting communication requirements.
In this embodiment, when the second light emitting device is in the idle state, the first light emitting device maintains the illumination intensity to provide the illumination requirement, and when the second optical device is in the transmission state, the first light emitting device and the second light emitting device simultaneously maintain the average light intensity with different light intensities to provide the illumination requirement. Wherein the first light emitting device emits light at a brightness higher than the required light intensity and the second light emitting device performs communication transmission at a lower light intensity satisfying the communication demand.
As shown in fig. 4, in a specific embodiment 2, taking two beads as an example, a bead a is an LED bead (first light emitting device) for general illumination, a bead B is a bead (second light emitting device) for communication, and the bead a and the bead B have different frequencies. CS (compensation symbols) is the compensation symbol, RF (resync field) is the synchronization field, DS (data symbol) is the data coincidence, AB (average brightness) is the average light intensity, N% is the average light intensity that bead a and bead B together maintain over a certain frequency, and E% is the lower light intensity that is lower than the average intensity but meets the communication needs. Assuming that the required illumination intensity is 50%, the average intensity N% of the cooperative dimming of the lamp beads a and B is not less than 50% of the set required illumination intensity may satisfy the required illumination intensity.
As shown in fig. 4, in the idle state, the lamp bead B does not communicate, the illumination intensity of the lamp bead a is N%, the average intensity of the cooperative dimming of the lamp bead a and the lamp bead B is N%, and since the average intensity N% is not less than 50% of the set required illumination intensity, the illumination requirement is satisfied in the idle time.
When the light beads B need to perform data transmission, if the light beads a still maintain 50% of the brightness, the light intensity for data transmission, which causes the abrupt increase of the light beads B, will affect the overall illumination brightness and cause discomfort to the human eyes.
Therefore, the lamp bead A and the lamp bead B can adopt the mode shown in fig. 4, when the lamp bead A starts to communicate with the lamp bead B, the light intensity is reduced to E%, the light intensity of the lamp bead B is D%, and under the coordination action of the lamp bead A and the lamp bead B, the average light intensity N% is not less than 50% of the required illumination demand, namely the overall brightness of the lamp bead A and the lamp bead B meets the illumination demand brightness, so that the light intensity of the illumination demand is met, and the noise interference is reduced.
In an alternative embodiment of the present invention, step 11 includes:
Step 113, if the at least two light emitting devices are in different light panels, generating a second control instruction for controlling the third light emitting device in the first light panel and the fourth light emitting device in the second light panel to emit light, where the second control instruction is used for controlling the third light emitting device and the fourth light emitting device to emit light at different pulse positions in the same time period.
In this embodiment, the third light emitting device and the fourth light emitting device are used in cooperation in different light panels, generate a second control instruction for controlling light emission, and emit light according to the second control instruction, so as to realize cooperative dimming control of the light emitting devices.
When the third light emitting device and the fourth light emitting device are on different light panels, according to the action of the second control signaling, the following three schemes exist:
scheme a, staggered pulse position cooperative dimming:
The second control instruction comprises a first pulse position control instruction indicating the pulse position of the third light emitting device and a second pulse position control instruction indicating the pulse position of the fourth light emitting device, wherein the first pulse position control instruction and the second pulse position control instruction are semi-static high-level signaling or dynamic control signaling.
In the embodiment, when networking, the intermittent design is performed by considering the pulse positions among a plurality of lamp panels, each lamp panel performs data transmission during high pulse, interference is reduced, the pulse positions among the plurality of lamp panels are uniformly and coordinately controlled by a central controller, and each lamp panel is notified through special signaling.
For the visible light terminal, the pulse position (i.e. the transmission data slot) of the service lamp panel can be notified semi-statically by a higher layer signaling such as RRC (Radio Resource Control; radio resource control), or dynamically by a control signaling such as DCI (Downlink Control Information; downlink control information). When the pulse amplitude is not adjustable, the method is suitable for scenes with lower brightness requirements, and the smaller the duty ratio of a single lamp panel is, the more lamp panels can be staggered.
In a specific embodiment 3, as shown in fig. 5 and fig. 6, taking two adjacent light panels AP as an example, if the two light panels adopt identical pulse positions and frequencies to perform dimming independently, as shown in fig. 5, the pulse positions and frequencies of the light panel AP1 and the light panel AP2 are identical, then the two light panels AP generate relatively strong mutual interference during data transmission, and the communication efficiency of the whole network is reduced.
Therefore, the central controller can uniformly and coordinately control the pulse positions of the two lamp panels to be staggered, as shown in fig. 6, in one time period, when the AP1 is in high brightness for communication, the AP2 is in an idle state, and when the AP1 is switched to the idle state, the AP2 starts to perform data communication. Therefore, the purpose of avoiding interference between the AP1 and the AP2 can be achieved through pulse position design of the multiple lamp panels, and networking performance is improved.
Scheme b, adjusting pulse amplitude cooperative dimming:
The second control instruction is further used for controlling the third light emitting device and the fourth light emitting device to be different in pulse amplitude in the same time period, and the second control instruction further comprises a first pulse amplitude control instruction for indicating the pulse amplitude of the third light emitting device and a second pulse amplitude control instruction for indicating the pulse amplitude of the fourth light emitting device, wherein the first pulse amplitude control instruction and the second pulse amplitude control instruction are semi-static high-level signaling or dynamic control signaling.
In the embodiment, when networking, the intermittent design is performed by considering the pulse positions and the pulse amplitudes among a plurality of lamp panels, each lamp panel performs data transmission during high pulse, interference is reduced, the pulse positions and the pulse amplitudes among the lamp panels are uniformly and coordinately controlled by a central controller, and each lamp panel is notified through special signaling.
For the visible light terminal, the pulse position (namely the transmission data time slot) of the service lamp panel can be notified by a high-layer signaling such as RRC (radio resource control) in a semi-static mode or by a control signaling such as DCI (downlink control information), and when the pulse amplitude can be adjusted, the pulse position staggered design is combined, so that the visible light terminal is suitable for a scene with higher brightness requirement, the duty ratio of a single lamp panel is reduced, and more lamp panels are staggered.
In a specific embodiment 4, taking two adjacent light panels AP as an example, the scheme a uses a scene with a low requirement for illumination brightness, and at least two light panels can be staggered in one period only when the duty cycle of each light panel is not high (at least not more than 50%). When the illumination brightness requirement is higher, the duty ratio of each lamp panel is higher, then the two lamp panels cannot be completely staggered, and interference still exists, as shown in fig. 7, the duty ratio of the lamp panel AP1 to the lamp panel AP2 is greater than 50%, the average light intensity of the lamp panel AP1 to the lamp panel AP2 is 60%, the two lamp panels cannot utilize the scheme a to realize control dimming by adjusting the pulse position, and the condition that the simultaneous brightness of the lamp panel AP1 to the lamp panel AP2 is 100% exists, namely, the intersection of shadow parts in fig. 7 is provided with interference.
Therefore, the central controller can uniformly and cooperatively control the pulse positions and the pulse amplitudes of the two lamp panels at the same time, and the duty ratio of the single lamp panel is reduced, so that the data transmission time of the two lamp panels is staggered.
As shown in fig. 8, the luminance is 100% in the high-luminance state, 40% in the low-luminance state, and the average light intensity of the lamp panel AP1 and the lamp panel AP2 is 60%, and when the lamp panel AP1 is in the high-luminance state for communication, the lamp panel AP2 is in the low-luminance state for no communication. At this time, the light intensity of the lamp panel AP2 does not bear communication information, so that the light intensity can be treated as noise relative to the data of the lamp panel AP1, and thus demodulation interference between the lamp panel AP1 and the lamp panel AP2 can be avoided, and networking performance is improved.
Scheme c, cooperative dimming between two adjacent multi-color light emitting device lamp panels:
When the third light-emitting device or the fourth light-emitting device is a multicolor light-emitting device, the second control instruction further comprises pulse width information for indicating different colors in the same period of the multicolor light-emitting device.
In the embodiment, for the multicolor light-emitting device, the pulse width of different colors can be respectively adjusted in the same period so as to control the brightness and the color of the lamp, and the purpose of avoiding interference can be achieved by staggering the light wave pulse positions of different wavelengths among a plurality of lamp panels.
The pulse positions of different wavelengths of the service lamp panel can be semi-statically notified by a high-level signaling, such as RRC, or dynamically notified by a control signaling, such as DCI, for the visible light terminal.
In fig. 9, in a specific embodiment 5, taking two adjacent RBG-LED light panels AP as an example, the light panels AP1 alternately emit light in red, blue and green sequences in a time period, the light panels AP2 alternately emit light in green, red and blue sequences, in fig. 9, red light is illustrated by diagonal hatching, blue light is illustrated by circular hatching, and green light is illustrated by square hatching. At the same time, the pulse width of each color is regulated, so that the lamp panel AP1 and the lamp panel AP2 are controlled to carry out data communication by using different carrier frequencies, interference can not be generated, and the communication efficiency of networking is improved.
The scheme of the invention can meet the lighting requirement, reduce interference and improve the transmission efficiency during networking.
As shown in fig. 10, an embodiment of the present invention further provides a control apparatus 100 for a light emitting device, which is applied to a controller, including:
The generating module 101 is configured to generate a control instruction for controlling the light emission of at least two light emitting devices according to a lamp panel where the at least two light emitting devices are located;
the control module 102 is configured to control the at least two light emitting devices to emit light according to the control instruction, and the interference between the at least two light emitting devices is lower than a preset value.
Optionally, the generating module 101 is specifically configured to determine a first frequency range of the first light emitting device and a second frequency range of the second light emitting device when the first light emitting device and the second light emitting device are in the same lamp panel;
and generating a first control instruction for controlling the first light emitting device and the second light emitting device to emit light according to the first frequency range and the second frequency range.
Optionally, the generating module 101 is specifically configured to determine a first frequency range of the first light emitting device and a second frequency range of the second light emitting device when the first light emitting device and the second light emitting device are in the same lamp panel;
and generating a first control instruction for controlling the first light emitting device and the second light emitting device to emit light according to the first frequency range and the second frequency range.
Optionally, generating a first control instruction for controlling the first light emitting device and the second light emitting device to emit light according to the first frequency range and the second frequency range includes:
And when the second light emitting device is in a transmission state, the first light emitting device emits light at a first frequency, the second light emitting device emits light at a second frequency, and the first light emitting device and the second light emitting device emit light at a switching mode to maintain average light intensity, wherein the first light emitting device emits light at a brightness higher than the required light intensity, and the second light emitting device emits light at a lower brightness meeting the communication requirement for communication transmission.
Optionally, generating a first control instruction for controlling the first light emitting device and the second light emitting device to emit light according to the first frequency range and the second frequency range includes:
And if the first frequency range and the second frequency range are different frequency ranges, generating a first control instruction for controlling the first light emitting device and the second light emitting device to emit light, wherein the first control instruction is used for controlling the second light emitting device to be in an idle state, the first light emitting device maintains illumination light intensity, and when the second type of the second light emitting device is in a transmission state, the first light emitting device and the second light emitting device emit light with different light intensities to maintain average light intensity, wherein the first light emitting device emits light with brightness higher than the required light intensity, and the second light emitting device performs communication transmission with lower brightness meeting communication requirements.
Optionally, the generating module 101 is specifically configured to generate a second control instruction for controlling the third light emitting device located in the first light panel and the fourth light emitting device located in the second light panel to emit light if the at least two light emitting devices are located in different light panels, where the second control instruction is used for controlling the third light emitting device and the fourth light emitting device to emit light at different pulse positions in the same time period.
Optionally, the second control instruction includes a first pulse position control instruction indicating the pulse position of the third light emitting device and a second pulse position control instruction indicating the pulse position of the fourth light emitting device, where the first pulse position control instruction and the second pulse position control instruction are semi-static high-level signaling or dynamic control signaling.
Optionally, the second control instruction is further configured to control the third light emitting device and the fourth light emitting device to have different pulse amplitudes in the same time period.
Optionally, the second control instruction further includes a first pulse amplitude control instruction indicating the pulse amplitude of the third light emitting device and a second pulse amplitude control instruction indicating the pulse amplitude of the fourth light emitting device, where the first pulse amplitude control instruction and the second pulse amplitude control instruction are semi-static high-layer signaling or dynamic control signaling.
Optionally, when the third light emitting device or the fourth light emitting device is a multicolor light emitting device, the second control instruction further includes pulse width information indicating different colors in the same period of the multicolor light emitting device.
It should be noted that, the device is a device corresponding to the above method, and all implementation manners in the above method embodiments are applicable to the embodiment of the device, so that the same technical effects can be achieved.
The embodiment of the invention also provides a controller, comprising:
the processor is used for generating a control instruction for controlling the light emission of the at least two light emitting devices according to the lamp panel where the at least two light emitting devices are positioned;
and the controller is used for controlling the at least two light emitting devices to emit light according to the control instruction, and the interference between the at least two light emitting devices is lower than a preset value.
Optionally, the processor is specifically configured to generate a control instruction for the first light emitting device and the second light emitting device according to a lamp panel where the first light emitting device and the second light emitting device are located in the at least two light emitting devices, where the communication transmission capability of the second light emitting device is greater than that of the first light emitting device.
Optionally, the processor is specifically configured to determine a first frequency range of the first light emitting device and a second frequency range of the second light emitting device when the first light emitting device and the second light emitting device are in the same lamp panel;
and generating a first control instruction for controlling the first light emitting device and the second light emitting device to emit light according to the first frequency range and the second frequency range.
Optionally, generating a first control instruction for controlling the first light emitting device and the second light emitting device to emit light according to the first frequency range and the second frequency range includes:
And when the second light emitting device is in a transmission state, the first light emitting device emits light at a first frequency, the second light emitting device emits light at a second frequency, and the first light emitting device and the second light emitting device emit light at a switching mode to maintain average light intensity, wherein the first light emitting device emits light at a brightness higher than the required light intensity, and the second light emitting device emits light at a lower brightness meeting the communication requirement for communication transmission.
Optionally, generating a first control instruction for controlling the first light emitting device and the second light emitting device to emit light according to the first frequency range and the second frequency range includes:
And if the first frequency range and the second frequency range are different frequency ranges, generating a first control instruction for controlling the first light emitting device and the second light emitting device to emit light, wherein the first control instruction is used for controlling the second light emitting device to be in an idle state, the first light emitting device maintains illumination light intensity, and when the second optical device is in a transmission state, the first light emitting device and the second light emitting device simultaneously emit light with different light intensities to maintain average light intensity, wherein the first light emitting device emits light with brightness higher than required light intensity, and the second light emitting device performs communication transmission with lower brightness meeting communication requirements.
And if the at least two light emitting devices are in different lamp panels, generating a second control instruction for controlling the third light emitting device in the first lamp panel and the fourth light emitting device in the second lamp panel to emit light, wherein the second control instruction is used for controlling the third light emitting device and the fourth light emitting device to emit light at different pulse positions in the same time period.
Optionally, the second control instruction includes a first pulse position control instruction indicating the pulse position of the third light emitting device and a second pulse position control instruction indicating the pulse position of the fourth light emitting device, where the first pulse position control instruction and the second pulse position control instruction are semi-static high-level signaling or dynamic control signaling.
Optionally, the second control instruction is further configured to control the third light emitting device and the fourth light emitting device to have different pulse amplitudes in the same time period.
Optionally, the second control instruction further includes a first pulse amplitude control instruction indicating the pulse amplitude of the third light emitting device and a second pulse amplitude control instruction indicating the pulse amplitude of the fourth light emitting device, where the first pulse amplitude control instruction and the second pulse amplitude control instruction are semi-static high-layer signaling or dynamic control signaling.
Optionally, when the third light emitting device or the fourth light emitting device is a multicolor light emitting device, the second control instruction further includes pulse width information indicating different colors of light within the same period of the multicolor light emitting device.
It should be noted that, the controller is a controller corresponding to the above method, and all implementation manners in the above method embodiments are applicable to the embodiment of the controller, so that the same technical effects can be achieved.
The invention also provides a computer readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the method described above.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. The storage medium includes various media capable of storing program codes such as a U disk, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk.
Furthermore, it should be noted that in the apparatus and method of the present invention, it is apparent that the components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered as equivalent aspects of the present invention. Also, the steps of performing the series of processes described above may naturally be performed in chronological order in the order of description, but are not necessarily performed in chronological order, and some steps may be performed in parallel or independently of each other. It will be appreciated by those of ordinary skill in the art that all or any of the steps or components of the methods and apparatus of the present invention may be implemented in hardware, firmware, software, or a combination thereof in any computing device (including processors, storage media, etc.) or network of computing devices, as would be apparent to one of ordinary skill in the art after reading this description of the invention.
The object of the invention can thus also be achieved by running a program or a set of programs on any computing device. The computing device may be a well-known general purpose device. The object of the invention can thus also be achieved by merely providing a program product containing program code for implementing said method or apparatus. That is, such a program product also constitutes the present invention, and a storage medium storing such a program product also constitutes the present invention. It is apparent that the storage medium may be any known storage medium or any storage medium developed in the future. It should also be noted that in the apparatus and method of the present invention, it is apparent that the components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered as equivalent aspects of the present invention. The steps of executing the series of processes may naturally be executed in chronological order in the order described, but are not necessarily executed in chronological order. Some steps may be performed in parallel or independently of each other.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.