Optical carrier information transmission method and device based on four-color LED
By using full spectrum LEDs and blue-ray chip-excited monochrome LEDs in the optical load information transmission system, combined with data segmentation and modulation algorithms, the problem of efficient data transmission in the existing technology affecting human eye perception is solved, and efficient, stable and reliable optical load information transmission is achieved.
Patent Information
- Application Number
- CN202411659639.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2044-09-06
AI Technical Summary
The prior art is difficult to achieve efficient data transmission without affecting human eye perception.
The optically loaded information transmission method based on full spectrum LED is adopted. Through the full spectrum semiconductor light emitting device, four monochrome LEDs with different light emission wavelengths are included. Each monochrome LED is excited by a blue light chip, and the data is divided and modulated according to the required information of the data to be transmitted, and the most suitable monochrome LED is selected for optically loaded information transmission.
It realizes efficient data transmission without affecting human eye perception, improves the flexibility and bandwidth of the optical information transmission system, reduces conflicts and collisions during data transmission, and improves the stability and reliability of the system.
Smart Images

Figure CN119921867A_ABST
Abstract
Description
[0001] This invention is a divisional application of the invention patent application filed on September 6, 2024, with the invention name “Light-carrying information transmission method and device based on full-spectrum LED” and application number 202411250653.5. Technical Field
[0002] The present invention relates to the field of light-carrying information, and in particular to a light-carrying information transmission method and device based on four-color LEDs. Background Art
[0003] Optical Carrier Information Technology (OCIT) is a technology that uses optical signals as information transmission carriers. Compared with traditional electromagnetic wave signal transmission technology, OCIT has higher bandwidth, faster transmission speed and lower signal attenuation. It is widely used in optical fiber communication, visible light communication (VLC) and other fields, greatly promoting the development of modern communication technology. OCIT is not only of great significance in improving communication efficiency and quality, but also shows significant advantages in reducing energy consumption and electromagnetic interference.
[0004] The multi-color light-carrying information transmission scheme is an innovative application of light-carrying information technology. It transmits different data fragments simultaneously through light sources of multiple wavelengths to achieve high-speed and high-capacity information transmission. In this scheme, each single-color LED is responsible for the transmission of optical signals in a specific wavelength range, and multiple single-color LEDs work together to achieve bandwidth superposition and increase data transmission rate.
[0005] Although the existing multi-color light-carrying information transmission scheme has made significant progress in improving the transmission rate and capacity, there are still some problems that need to be solved. One of the main problems is how to achieve efficient data transmission without affecting the perception of the human eye. Summary of the invention
[0006] In view of this, the embodiments of the present invention provide a method and device for transmitting light-borne information based on full-spectrum LEDs, so as to solve the problem in the prior art that efficient data transmission cannot be achieved without affecting human eye perception.
[0007] In a first aspect, an embodiment of the present invention provides a method for transmitting information carried by light based on four-color LEDs, which is applied to a transmitting end, wherein the transmitting end includes a full-spectrum semiconductor light-emitting device, wherein the full-spectrum semiconductor light-emitting device includes a first preset number of monochromatic LEDs with different light-emitting wavelengths, wherein the adjustment range of the light-emitting wavelength of each monochromatic LED belongs to a different wavelength interval, and the first preset number is 4; each monochromatic LED is excited by a blue light chip, wherein the blue light chip includes at least a first blue light chip and a second blue light chip, wherein the peak wavelength of the first blue light chip is different from the peak wavelength of the second blue light chip, and the peak wavelength of the first blue light chip and the peak wavelength of the second blue light chip are both located in the same wavelength interval, and the method includes:
[0008] Segment the data to be transmitted according to the first transmission requirement information of the data to be transmitted to obtain a second preset number of data segments, wherein the second preset number is less than or equal to the first preset number;
[0009] Determine a second preset number of target monochromatic LEDs according to the luminous characteristic parameters of the monochromatic LED and the first transmission requirement information, wherein the first transmission requirement information includes a bandwidth requirement parameter and a rate requirement parameter, and the luminous characteristic parameters include: luminous wavelength, spectral width and light intensity;
[0010] According to each of the target monochromatic LEDs and the corresponding preset modulation algorithm, the data fragment corresponding to the corresponding target monochromatic LED is processed to obtain a corresponding light source control signal;
[0011] According to the light source control signal, the corresponding target monochromatic LED is controlled to transmit the light-carrying information.
[0012] Preferably, determining a second preset number of target monochromatic LEDs according to the light emitting characteristic parameters of the monochromatic LED and the first transmission requirement information comprises:
[0013] Determining second transmission requirement information of each of the data fragments according to the first transmission requirement information;
[0014] Screening the single-color LEDs according to the second transmission requirement information to obtain candidate single-color LEDs, wherein the number of the candidate single-color LEDs is greater than or equal to the second preset number and less than or equal to the first preset number;
[0015] When the number of the candidate single-color LEDs is greater than the second preset number, obtaining the light emitting characteristic parameters of each of the candidate single-color LEDs;
[0016] According to the light emission wavelength and the visual acuity function, obtaining the visual acuity function value of each of the candidate single-color LEDs;
[0017] Determine the human eye interference index of each of the candidate monochromatic LEDs according to the visual acuity function value, the luminous wavelength, the spectrum width and the light intensity, wherein the human eye interference index is positively correlated with the visual acuity function value and the light intensity, and the human eye interference index is negatively correlated with the spectrum width and the light intensity;
[0018] Sort the candidate single-color LEDs according to the human eye interference index from large to small, and select the first second preset number of candidate single-color LEDs as the target single-color LEDs;
[0019] When the number of the candidate single-color LEDs is equal to the second preset number, the candidate single-color LEDs are used as target single-color LEDs.
[0020] Preferably, the step of processing the data fragment corresponding to the corresponding target monochromatic LED according to each target monochromatic LED and the corresponding preset modulation algorithm to obtain the corresponding light source control signal comprises:
[0021] Establishing a mapping relationship between the target monochromatic LED and each of the data segments according to the frequency response characteristics of the target monochromatic LED and the second transmission requirement information;
[0022] Determine a target modulation algorithm according to the second transmission requirement information of the data segment, the frequency response characteristics of the target monochromatic LED corresponding to the data segment, and a preset modulation algorithm, wherein the preset modulation algorithm includes: a PPM modulation algorithm, a PAM modulation algorithm, a QAM modulation algorithm, and an OFDM modulation algorithm;
[0023] The corresponding data segments are coded and modulated according to the target modulation algorithm to obtain corresponding light source control signals.
[0024] Preferably, establishing a mapping relationship between the target monochromatic LED and each of the data segments according to the frequency response characteristics of the target monochromatic LED and the second transmission requirement information comprises:
[0025] Obtaining the frequency response characteristics of each of the target monochromatic LEDs, wherein the frequency response characteristics include: operating frequency range, bandwidth capacity, modulation efficiency, and maximum transmission rate;
[0026] Acquire second transmission requirement information of each of the data segments, wherein the second transmission requirement information includes: data segment bandwidth requirement, data segment rate requirement and priority;
[0027] Calculate the difference between the bandwidth capacity of each of the target single-color LEDs and the data segment bandwidth requirement of each of the data segments, and record it as a first difference;
[0028] Calculate the difference between the maximum transmission rate of each of the target single-color LEDs and the data segment rate requirement of each of the data segments, and record it as a second difference;
[0029] According to the first difference and the second difference, an initial matching list is established for each of the data segments, wherein the initial matching list includes a number of target single-color LEDs that meet a preset transmission condition, and the preset transmission condition includes that the first difference is greater than or equal to a first difference threshold and the second difference is greater than or equal to a second difference threshold;
[0030] According to the weighted calculation result of the first difference and the second difference, sort each initial matching list in ascending order;
[0031] When there are duplicate target single-color LEDs in each of the initial matching lists, removing the duplicate target single-color LEDs according to the priority;
[0032] A mapping relationship between the data segment and the first target single-color LED in the corresponding initial matching list is established.
[0033] Preferably, the second transmission requirement information according to the data segment, the frequency response characteristics of the target monochromatic LED corresponding to the data segment, and the preset modulation algorithm include:
[0034] According to the frequency response characteristics of the target monochromatic LED corresponding to the data segment, a plurality of preset modulation algorithms satisfying the corresponding second transmission requirement information are allocated to each of the data segments, which are recorded as first intermediate modulation algorithms;
[0035] Acquire an estimated optical pulse frequency of the data segment after being modulated by the corresponding first intermediate modulation algorithm;
[0036] According to the light emission wavelength of each of the target monochromatic LEDs, a corresponding critical flicker frequency is obtained;
[0037] Screening the first intermediate modulation algorithm of each data segment according to the critical flicker frequency and the estimated light pulse frequency to obtain a plurality of second intermediate modulation algorithms;
[0038] A target modulation algorithm for each of the data segments is determined according to the second intermediate modulation algorithm.
[0039] Preferably, the first preset number is 4, and the monochromatic LEDs are respectively recorded as a first monochromatic LED, a second monochromatic LED, a third monochromatic LED and a fourth monochromatic LED; the light emission wavelength of the first monochromatic LED is within 480 to 520 nm, the light emission wavelength of the second monochromatic LED is within 530 to 540 nm, the light emission wavelength of the third monochromatic LED is within 640 to 660 nm, and the light emission wavelength of the fourth monochromatic LED is within 680 to 700 nm. The first monochromatic LED, the second monochromatic LED, the third monochromatic LED and the fourth monochromatic LED are all excited by a blue light chip, and the main wavelength of the blue light chip is between 447 and 457 nm.
[0040] Preferably, after controlling the corresponding target monochromatic LED to transmit light-carrying information according to the light source control signal, the method further comprises:
[0041] Performing real-time monitoring on the information transmission quality to obtain the communication quality monitoring results of each of the target single-color LEDs, wherein the communication quality monitoring results include signal strength, bit error rate and transmission delay;
[0042] When the signal strength of a target single-color LED is less than a preset signal strength threshold, and / or the bit error rate is greater than a preset bit error rate threshold, and / or the transmission delay is greater than a preset delay threshold, the target single-color LED is used as the LED to be switched;
[0043] Determine at least one single-color LED as a target switching LED according to the data segment corresponding to the LED to be switched;
[0044] According to the preset light source switching rule, the target switching LED is controlled to transmit the data segment corresponding to the LED to be switched.
[0045] Preferably, determining at least one single-color LED as a target switching LED according to the data segment corresponding to the LED to be switched includes:
[0046] Acquire second transmission requirement information of the data segment corresponding to the LED to be switched, wherein the second transmission requirement information includes: data segment bandwidth requirement, data segment rate requirement and priority;
[0047] Cache the data fragments corresponding to the LED to be switched to obtain cached data fragments;
[0048] When the second preset number is less than the first preset number, obtaining the single-color LEDs other than the target single-color LED and recording them as first switching LED candidate switching LEDs;
[0049] Obtaining wavelength similarity between the light emission wavelength of each of the first switching LED candidate switching LEDs and the light emission wavelength of the LED to be switched;
[0050] According to the wavelength similarity, the second transmission requirement information and the frequency response characteristics of each of the first switching LED candidate switching LEDs, selecting the first switching LED candidate switching LED that meets the preset switching condition as the target switching LED;
[0051] When the second preset number is equal to the first preset number, obtaining the bandwidth margin of the target single-color LED other than the LED to be switched according to the communication quality monitoring result;
[0052] According to the bandwidth margin, a plurality of first switching LED candidate switching LED combinations that meet the second transmission requirement information of the data segment corresponding to the LED to be switched are obtained, wherein the first switching LED candidate switching LED combinations include at least one target monochromatic LED other than the LED to be switched, and at least one of the target monochromatic LEDs is different between two first candidate switching color light source combinations;
[0053] Screening is performed according to the frequency response characteristics of the target single-color LEDs in each of the first switching LED candidate switching LED combinations and the data segment rate requirements of the data segments corresponding to the LEDs to be switched to obtain a plurality of second switching LED candidate switching LED combinations;
[0054] Performing weighted calculation according to the number of redundant light sources and redundant bandwidth capacity of each of the second switching LED candidate switching LED combinations, to obtain the redundancy of each of the second switching LED candidate switching LED combinations, wherein the weight of the number of redundant light sources is greater than the weight of the redundant bandwidth capacity;
[0055] The target switching LED is determined by acquiring the candidate switching LED group according to the second switching LED with the smallest redundancy.
[0056] Preferably, controlling the target switching LED to transmit the data fragment corresponding to the LED to be switched according to the preset light source switching rule includes:
[0057] Splitting the data segment corresponding to the LED to be switched according to a preset data splitting ratio to obtain a first data segment and a second data segment;
[0058] According to the preset modulation algorithm, controlling the LED to be switched to transmit the first data segment and controlling the target switching LED to transmit the second data segment;
[0059] According to a preset time interval, obtaining the transmission quality of the second data segment on the target switching LED;
[0060] If the transmission quality meets the preset quality condition, the preset data splitting ratio is increased according to the preset ratio increment, and the data segment corresponding to the LED to be switched is split according to the preset data splitting ratio to obtain a first data segment and a second data segment, until the data segment corresponding to the LED to be switched is completely transmitted through the target switching LED;
[0061] When the data segment corresponding to the LED to be switched is completely transmitted through the target switching LED, obtaining the second actual luminous intensity of each of the current target single-color LEDs and the target switching single-color LED;
[0062] Acquire a third light source control signal according to the second actual luminous intensity, the preset luminous intensity and the ambient light intensity;
[0063] According to the third light source control signal, the LED to be switched is controlled to illuminate.
[0064] In a second aspect, an embodiment of the present invention provides a light source device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, wherein the above method is implemented when the computer program instructions are executed by the processor.
[0065] In summary, the beneficial effects of the present invention are as follows:
[0066] An optical information transmission method based on full-spectrum LEDs provided by an embodiment of the present invention is applied to a transmitting end, wherein the transmitting end includes a full-spectrum semiconductor light-emitting device, wherein the full-spectrum semiconductor light-emitting device includes a first preset number of monochromatic LEDs with different light-emitting wavelengths, wherein the adjustment range of the light-emitting wavelength of each monochromatic LED belongs to a different wavelength interval, and the first preset number is 4; each monochromatic LED is excited by a blue light chip, wherein the blue light chip includes at least a first blue light chip and a second blue light chip, wherein the peak wavelength of the first blue light chip is different from the peak wavelength of the second blue light chip, and the peak wavelength of the first blue light chip and the peak wavelength of the second blue light chip are both located in the same wavelength interval, and the method includes: according to a first The transmission requirement information divides the data to be transmitted to obtain a second preset number of data segments, wherein the second preset number is less than or equal to the first preset number; according to the luminous characteristic parameters of the monochromatic LED and the first transmission requirement information, the second preset number of target monochromatic LEDs is determined, wherein the first transmission requirement information includes bandwidth requirement parameters and rate requirement parameters, and the luminous characteristic parameters include: luminous wavelength, spectrum width and light intensity; according to each of the target monochromatic LEDs and the corresponding preset modulation algorithm, the corresponding target monochromatic LED is processed corresponding to the data segment to obtain a corresponding light source control signal; according to the light source control signal, the corresponding target monochromatic LED is controlled to transmit the optical information. On the one hand, by using monochromatic LEDs with different wavelengths to cover multiple wavelength intervals, the flexibility and bandwidth of the optical information transmission system can be increased; the light source in each wavelength interval can work independently, thereby realizing multi-channel parallel transmission and improving the overall transmission capacity and efficiency; the data is divided according to the transmission requirement information to ensure that the amount of data segments carried by each monochromatic LED is optimally allocated within its capacity. This division and scheduling can effectively reduce conflicts and collisions during data transmission and improve the stability and reliability of the system. According to the luminous characteristics of the monochromatic LED and the transmission requirement information, the most suitable target monochromatic LED can be selected to optimize the signal quality and power efficiency of the optical information transmission. Selecting the appropriate light source can minimize the signal attenuation and distortion during the transmission process, ensuring the reliability and stability of data transmission. According to the target monochromatic LED and the transmission requirement information, the preset modulation algorithm can effectively improve the rate and accuracy of data transmission. Different modulation algorithms can adapt to different transmission environments and conditions, so that the optical information transmission system can still maintain efficient operation in a variety of complex scenarios.By precisely controlling the target monochromatic LED through the light source control signal, efficient transmission of light-carrying information can be achieved; on the other hand, by combining the first blue light chip and the second blue light chip, a wider blue light area can be covered; the combination of blue light chips with different peak wavelengths can provide a more stable and uniform blue light excitation light source, thereby improving the overall performance of the system; by controlling the emission of light sources of different wavelengths, efficient data transmission can be achieved without affecting the perception of the human eye; the main wavelength of the blue light chip is in the wavelength range where the human eye has weaker perception, which helps to reduce visual fatigue and discomfort. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings required for use in the embodiment of the present invention will be briefly introduced below. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work, and these are all within the protection scope of the present invention.
[0068] Figure 1 It is a flow chart of a method for transmitting information via light based on full-spectrum LEDs according to an embodiment of the present invention.
[0069] Figure 2 It is a flow chart of a method for transmitting information via light based on full-spectrum LEDs according to an embodiment of the present invention.
[0070] Figure 3 It is a flow chart of a method for transmitting information via light based on full-spectrum LEDs according to an embodiment of the present invention.
[0071] Figure 4 It is a structural schematic diagram of a light source device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0072] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention.
[0073] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0074] It should be noted that all actions of acquiring signals, information or data in the present invention are performed in compliance with the corresponding data protection laws and policies of the location and with the authorization given by the owner of the corresponding device.
[0075] Implementation Method 1
[0076] The embodiment of the present invention provides a method for transmitting information carried by light based on a full-spectrum LED, which is applied to a transmitting end, wherein the transmitting end includes a full-spectrum semiconductor light-emitting device, wherein the full-spectrum semiconductor light-emitting device includes a first preset number of monochromatic LEDs with different light-emitting wavelengths, and the adjustment range of the light-emitting wavelength of each monochromatic LED belongs to a different wavelength interval;
[0077] Specifically, a full-spectrum light-emitting device refers to a light-emitting device that can emit a spectrum covering the entire visible light and even including ultraviolet and infrared rays. It is usually composed of multiple monochromatic LEDs, each of which emits light of a specific wavelength. By combining monochromatic LEDs of different wavelengths, the transmitting end can generate an optical signal covering the entire spectrum. This can achieve higher optical communication efficiency because light of different wavelengths can transmit more data in the same channel. The device includes a first preset number of monochromatic LEDs, which means that the number of monochromatic LEDs designed in the device is fixed and known. These monochromatic LEDs are based on semiconductor materials, such as LEDs (light emitting diodes), and each monochromatic LED has a specific light-emitting wavelength. The light-emitting wavelength of a monochromatic LED can be adjusted within a certain range. For example, some semiconductor light sources can fine-tune the light-emitting wavelength by adjusting the current, voltage or temperature;
[0078] The first preset number of monochromatic LEDs refers to the number of monochromatic LEDs integrated in the light emitting device. These monochromatic LEDs may be different channels of an LED chip or different LED elements in an LED module, and the light emitted by each monochromatic LED has a fixed wavelength characteristic;
[0079] The wavelength of light emitted by each monochromatic LED is in a different wavelength range on the spectrum. For example, it may include monochromatic LEDs covering different wavelength ranges such as red, green, and blue. This interval wavelength distribution can optimize the diversity and flexibility of the optical information transmission system;
[0080] The combination of these features enables the optical information transmission system to use light sources of different wavelengths to transmit data, and the monochromatic LEDs in each wavelength range can operate independently, thereby achieving multi-channel parallel transmission. This design not only increases the transmission capacity and bandwidth of the system, but also can adapt to the optical requirements of different application scenarios, such as the need for high color reproduction performance or higher transmission rate.
[0081] In a specific embodiment, the first preset number is 4, which are respectively recorded as a first monochromatic LED, a second monochromatic LED, a third monochromatic LED and a fourth monochromatic LED; the emission wavelength of the first monochromatic LED is within 480-520nm, the emission wavelength of the second monochromatic LED is within 530-540nm, the emission wavelength of the monochromatic LED of the third monochromatic LED is within 640-660nm, and the emission wavelength of the fourth monochromatic LED is within 680-700nm. The first monochromatic LED, the second monochromatic LED, the third monochromatic LED and the fourth monochromatic LED are all excited by a blue light chip, and the blue light chip at least includes a first blue light chip and a second blue light chip, and although the peak wavelengths thereof are in the same wavelength range, the peak wavelengths thereof are different. Using blue light chips with different peak wavelengths can cover a wider blue light area. After the first blue light chip and the second blue light chip are combined, the main wavelength of the blue light chip is between 447-457nm.
[0082] In this embodiment, each monochromatic LED covers a different wavelength range, which can achieve a wide spectrum coverage. This design enables the optical information transmission system to transmit data through light of different wavelengths, improving the bandwidth and transmission capacity of the system. Light sources of different wavelengths can better reproduce the spectral components of natural light and improve the color reproduction effect. This is particularly important in application scenarios that require high color fidelity (such as display technology and lighting). By using light sources of different wavelengths, the system can achieve multi-channel parallel transmission, and each monochromatic LED operates independently without interfering with each other. This design can improve data transmission rate and efficiency and meet large bandwidth requirements. By combining the first blue light chip and the second blue light chip, a wider blue light area (447~457nm) can be covered. The combination of blue light chips with different peak wavelengths can provide a more stable and uniform blue light excitation light source and improve the overall performance of the system. By controlling the emission of light sources of different wavelengths, efficient data transmission can be achieved without affecting the perception of the human eye. The main wavelength of the blue light chip is between 447 and 457nm, which is in the wavelength range where the human eye has weaker perception, which helps to reduce visual fatigue and discomfort.
[0083] See also Figure 1 , the method comprising:
[0084] S1. Segment the data to be transmitted according to first transmission requirement information of the data to be transmitted to obtain a second preset number of data segments, wherein the second preset number is less than or equal to the first preset number;
[0085] Specifically, the first transmission requirement information refers to the specific requirements of the data to be transmitted on the transmission rate, bandwidth, delay, priority, etc., and data segmentation splits the original data according to certain rules to form multiple small data fragments; this step divides the data to be transmitted according to the first transmission requirement information, so as to facilitate the subsequent optimized transmission according to the characteristics of different light sources, and formulates a data segmentation strategy based on these requirement parameters to divide the data to be transmitted into several data fragments.
[0086] Data segmentation allows each data segment to be independently optimized according to specific needs, improving transmission efficiency and data transmission reliability. By segmenting data segments, the characteristics of different light sources can be better utilized, resource waste can be avoided, and the overall performance of the system can be improved.
[0087] The number of monochromatic LEDs in the semiconductor light-emitting device is limited (first preset number), so the number of data segments after segmentation (second preset number) cannot exceed this limit. Otherwise, it will be impossible to allocate a monochromatic LED to each data segment. By ensuring that the second preset number is less than or equal to the first preset number, the monochromatic LED resources can be reasonably allocated and utilized, and the efficiency and stability of optical information transmission can be improved.
[0088] If all single-color LEDs are used, it may increase the interference perceived by the human eye. By controlling the second preset number, some single-color LEDs can be used selectively to reduce interference and improve concealment. Ensuring that the second preset number does not exceed the first preset number enables flexible scheduling and switching of LEDs when needed to cope with changes in demand for different data fragments and environmental changes.
[0089] Preferably, see Figure 2 , the data segmentation according to the transmission requirement information of the data to be transmitted to obtain a second preset number of data segments includes:
[0090] S11, obtaining basic parameters of the data to be transmitted, wherein the basic parameters include data type and data size;
[0091] Specifically, basic parameters are basic information about the data to be transmitted, including data type and data size. Data type refers to the type of data, such as video, audio, text, etc. Data size is the total amount of data, usually in bytes (B) or bits (b). The purpose of obtaining basic parameters is to understand the nature and scale of the data to be transmitted, in preparation for subsequent transmission demand analysis and data segmentation. Identify data types through data header information or predefined rules. For example, read the MIME type of a file, or identify data types through data identifiers. Understanding the data type and size allows different segmentation and transmission strategies to be adopted for different types of data to improve transmission efficiency. Accurately measuring data size helps in the accurate calculation of subsequent transmission requirements and resource allocation.
[0092] S12. Determine first transmission requirement information of the data to be transmitted according to the basic parameters, wherein the first transmission requirement information includes a bandwidth requirement parameter and a rate requirement parameter;
[0093] Specifically, the first transmission requirement information is the transmission requirement information determined according to the basic parameters of the data, including a bandwidth requirement parameter and a rate requirement parameter. The bandwidth requirement parameter is the bandwidth required for transmitting the data. The rate requirement parameter is the rate required for transmitting the data. According to the data type, its bandwidth requirement and rate requirement are determined. For example, video data usually requires high bandwidth and high transmission rate, while text data requirements are relatively low. According to the data size and the expected transmission time, the required transmission rate is calculated.
[0094] Standard parameters of bandwidth requirements and rate requirements can be set for each data type. For example, video data requires 10Mbps bandwidth and 30Mbps transmission rate, and audio data requires 1Mbps bandwidth and 2Mbps transmission rate.
[0095] Clarifying the transmission requirements of each type of data helps to reasonably allocate transmission resources and ensure transmission quality and efficiency. By presetting transmission parameter standards, the transmission requirement calculation process is simplified and the adaptability and stability of the system are improved.
[0096] S13, determining the second preset number according to the bandwidth capacity of each of the single-color LEDs;
[0097] Specifically, bandwidth capacity is the bandwidth that a monochromatic LED can support. The bandwidth capacity of each monochromatic LED is determined by its hardware characteristics and modulation technology. In an optical information transmission system, the bandwidth capacity of a monochromatic LED is an important indicator for evaluating the data transmission rate that it can support under a specific modulation technology. The bandwidth capacity of a monochromatic LED can be obtained through different preset modulation algorithms. The minimum and maximum bandwidth capacity of each monochromatic LED under different preset modulation algorithms. In one embodiment, the bandwidth capacity is the minimum bandwidth capacity. Selecting the minimum bandwidth capacity means that the system design can still work under the most unfavorable conditions. This method takes into account the worst performance of the light source under different conditions, so it can ensure that the system can meet the bandwidth requirements in all cases. By using the minimum bandwidth capacity, system design and calculation can be simplified because it avoids the need for complex bandwidth calculations under different modulation technologies. The risk of insufficient system performance due to failure to take certain conditions into account is avoided, and the reliability and stability of the system are improved.
[0098] In another embodiment, the bandwidth capacity is the average of the minimum bandwidth capacity and the maximum bandwidth capacity; the average bandwidth capacity can more accurately reflect the average performance of the monochromatic LED under different modulation technologies. This method takes into account the typical performance of the light source and can more accurately predict the performance of the system in actual applications. By using the performance of the light source under average conditions, the resources of the system can be more effectively planned and utilized, and the overall efficiency of the system can be improved. It properly balances performance and cost, avoids over-designing the system, and can meet the bandwidth requirements in actual application scenarios.
[0099] The choice of using the minimum bandwidth capacity or the average bandwidth capacity depends on the specific system requirements and design goals. In practical applications, these two methods may be flexibly selected according to specific circumstances to balance the stability of the system, the accuracy of performance prediction, and the optimal use of resources.
[0100] After obtaining the bandwidth capacity of the light source, compare and match the total bandwidth requirement of the system with the bandwidth capacity of each single-color LED. Select a sufficient number of single-color LEDs so that the sum of their bandwidth capacities can meet or exceed the total bandwidth requirement of the system.
[0101] The number of monochromatic LEDs determined in step S23 can effectively utilize spectrum resources and ensure that the bandwidth requirements of data transmission are met at the physical level. Such a design can optimize system performance while minimizing energy consumption and waste of spectrum resources.
[0102] S14. Divide the data to be transmitted according to the data type and the second preset number to obtain data segments.
[0103] Finally, the data to be transmitted is divided into multiple parts, each of which is called a data segment. Different data types use different division strategies. For example, video data can be divided by frame, audio data can be divided by time slice, and text data can be divided by paragraph or character number. Data division simplifies the data management and transmission process, and improves the flexibility and efficiency of transmission.
[0104] S2. Determine a second preset number of target monochromatic LEDs according to the luminous characteristic parameters of the monochromatic LED and the first transmission requirement information;
[0105] Specifically, the light-emitting characteristic parameters include the wavelength, light intensity, frequency response characteristics, bandwidth, modulation efficiency, etc. of the light source. The target monochromatic LED is a light source used to transmit a specific data segment, and its characteristics match the requirements of the data segment. By matching the characteristics of the monochromatic LED with the transmission requirements of the data segment, the most suitable light source is selected to optimize data transmission. Matching characteristics and requirements ensures that each data segment can be transmitted through the most suitable light source, improving transmission efficiency and stability.
[0106] Preferably, determining a second preset number of target monochromatic LEDs according to the light emitting characteristic parameters of the monochromatic LED and the first transmission requirement information comprises:
[0107] S21. Determine second transmission requirement information of each of the data segments according to the first transmission requirement information;
[0108] Specifically, based on the characteristics of the data to be transmitted and the transmission requirements, the specific transmission requirements of each data fragment are determined. These requirements will be used in subsequent steps, especially for screening when selecting suitable single-color LEDs. According to the data type and transmission requirement information (such as bandwidth requirements and rate requirements), the specific transmission requirements of each data fragment are calculated. This ensures that the system has accurate data transmission requirement information when selecting the target single-color LED. By accurately obtaining and defining the second transmission requirement information, the selection of unsuitable single-color LEDs can be avoided, thereby improving the transmission efficiency and reliability of the system. This precise requirement definition helps to optimize the design and implementation process of the optical information transmission system.
[0109] S22, screening the single-color LEDs according to the second transmission requirement information to obtain candidate single-color LEDs, wherein the number of the candidate single-color LEDs is greater than or equal to the second preset number and less than or equal to the first preset number;
[0110] Specifically, the candidate monochromatic LED is a candidate light source selected from the first preset number of monochromatic LEDs on the premise of meeting the second transmission requirement information. By selecting the candidate monochromatic LEDs, it is ensured that these light sources can theoretically support the transmission requirements required by the system. According to the second transmission requirement information, the bandwidth capacity and other characteristics of each monochromatic LED are evaluated to select the candidate monochromatic LEDs that meet the requirements. This step will ensure that the target monochromatic LED selected subsequently can effectively perform the optical information transmission task in practical applications.
[0111] By accurately screening candidate single-color LEDs, it is possible to ensure that the selected target single-color LEDs have the required transmission capabilities while minimizing the waste of system resources. This screening process helps optimize system performance and resource utilization, thereby improving the overall efficiency of optical information transmission.
[0112] S23, when the number of the candidate single-color LEDs is greater than the second preset number, determining the second preset number of candidate single-color LEDs as target single-color LEDs according to the light-emitting characteristic parameters of the candidate single-color LEDs;
[0113] When the number of candidate single-color LEDs exceeds the second preset number, the most suitable single-color LED needs to be selected based on more detailed luminous characteristic parameters and technical capabilities to ensure optimal system performance. For candidate single-color LEDs exceeding the preset number, the most suitable target single-color LED is determined by comparing their luminous characteristic parameters (such as spectral distribution, luminous intensity, modulation support capability, etc.).
[0114] In one embodiment, when the number of the candidate single-color LEDs is greater than the second preset number, determining the second preset number of candidate single-color LEDs as target single-color LEDs according to the light-emitting characteristic parameters of the candidate single-color LEDs includes:
[0115] S231, obtaining the light emitting characteristic parameters of each candidate single-color LED, wherein the light emitting characteristic parameters include: light emitting wavelength, spectrum width and light intensity;
[0116] Specifically, collect and record the luminous characteristic parameters of each candidate monochromatic LED. These parameters will be used for evaluation and sorting in subsequent steps to select the most suitable target monochromatic LED, and measure each candidate monochromatic LED or use equipment to obtain its characteristic parameters such as luminous wavelength, spectral width and light intensity. This may involve the use of a spectrometer, photometer or other optical measurement equipment to obtain accurate data. Luminous wavelength: refers to the wavelength of light emitted by a monochromatic LED, usually in nanometers (nm). Spectral width refers to the distribution range of the luminous wavelength of a monochromatic LED. A narrower spectral width means that the wavelengths are concentrated in a smaller range. Light intensity refers to the power of light emitted by a monochromatic LED per unit area per unit time.
[0117] S232, obtaining a visual acuity function value of each of the candidate single-color LEDs according to the light emission wavelength and the visual acuity function;
[0118] Specifically, the visual acuity function refers to the human eye's perception of light of different wavelengths. The visual acuity function describes the relative sensitivity of the human eye at different wavelengths. For example, the human eye is most sensitive to light at a wavelength of 555nm, and its visual acuity function value is relatively high.
[0119] According to the emission wavelength of the candidate monochromatic LEDs, their visual acuity function values in the human eye are calculated, which is an important basis for evaluating the degree of interference of monochromatic LEDs to the human eye.
[0120] Using the known visual acuity function of the human eye (such as the CIE standard visual acuity function) and combining the emission wavelength of the candidate monochromatic LED, the visual acuity function value of each candidate monochromatic LED is calculated. This can be achieved through a mathematical model or specific software.
[0121] S233, determining the human eye interference index of each of the candidate monochromatic LEDs according to the visual acuity function value, the light emission wavelength, the spectrum width and the light intensity, wherein the human eye interference index is positively correlated with the visual acuity function value and the light intensity, and the human eye interference index is negatively correlated with the spectrum width and the light intensity;
[0122] Specifically, the human eye interference index is an indicator used to quantify the degree of interference caused by a monochromatic LED to human vision. A higher interference index means that the light source interferes more significantly with the human eye.
[0123] The visual acuity function value describes the sensitivity of the human eye to light of different wavelengths. A monochromatic LED with a high visual acuity function value means that the human eye is more sensitive to it. Therefore, in order to reduce the interference of human eye perception, monochromatic LEDs with lower visual acuity function values are preferred. The spectrum width describes the distribution of the light emitted by a monochromatic LED within the wavelength range. The narrower the spectrum width, the less interference the light source has with the human eye. Light intensity describes the intensity of the light emitted by a monochromatic LED. Lower light intensity may reduce direct interference with the human eye.
[0124] Taking all these factors into consideration, the human eye interference index is set to be positively correlated with the visual acuity function value in order to give priority to monochromatic LEDs with lower human eye perception, while the negative correlation with the spectrum width and light intensity is to minimize the interference effect of the light source on the human eye. This setting can effectively optimize the performance of the optical information transmission system and improve the user experience.
[0125] S234. Sort the candidate single-color LEDs in descending order according to the human eye interference index, and select the second preset number of candidate single-color LEDs as the target single-color LEDs.
[0126] Specifically, when determining the target monochromatic LED, light sources with less interference to the human eye are preferred to reduce the perceptual interference to the human eye during the transmission of light-carried information. The candidate monochromatic LEDs are arranged from high to low according to the interference degree according to the human eye interference index. According to the calculated human eye interference index, the candidate monochromatic LEDs are sorted from large to small according to the index value. The first two preset numbers of monochromatic LEDs ranked high are selected as the target monochromatic LEDs. This process can be achieved through a programming algorithm or a manual sorting method.
[0127] S24. When the number of the candidate single-color LEDs is equal to the second preset number, use the candidate single-color LEDs as target single-color LEDs.
[0128] When the number of candidate single-color LEDs is exactly equal to the second preset number, the system directly targets these single-color LEDs without further screening or selection.
[0129] S3, processing the data fragment corresponding to the corresponding target monochromatic LED according to each target monochromatic LED and the corresponding preset modulation algorithm to obtain a corresponding light source control signal;
[0130] Specifically, the preset modulation algorithm is an algorithm used to modulate the signal, such as pulse position modulation (PPM), orthogonal frequency division multiplexing (OFDM), etc. The light source control signal is a signal that controls the light-emitting characteristics of the light source and is used to realize optical information transmission of data fragments.
[0131] This step modulates the data fragments to convert them into a signal form suitable for light source transmission and generates a light source control signal. First, according to the frequency response characteristics and transmission requirements of the target monochromatic LED, the most suitable preset modulation algorithm is selected. The data fragments are processed according to the modulation algorithm to generate the corresponding modulation signal. The modulation signal is converted into a light source control signal to control the light emission characteristics of the light source (such as frequency, intensity, waveform, etc.) to realize the light-carrying information transmission of the data.
[0132] By selecting the appropriate modulation algorithm, the efficiency and reliability of data transmission can be improved. The light source control signal can accurately control the light emission characteristics of the light source to ensure that the data fragments maintain high quality and low interference during the transmission of optical information.
[0133] Preferably, the step of processing the data fragment corresponding to the corresponding target monochromatic LED according to each target monochromatic LED and the corresponding preset modulation algorithm to obtain the corresponding light source control signal comprises:
[0134] S31, establishing a mapping relationship between the target monochromatic LED and each of the data segments according to the frequency response characteristics of the target monochromatic LED and the second transmission requirement information;
[0135] Specifically, each monochromatic LED has its own specific frequency response characteristics, that is, the frequency range and efficiency it can respond to and transmit. The second transmission requirement information is information determined according to the nature of the data to be transmitted and the target requirements, including bandwidth requirements, transmission rate, etc. These requirements determine how many monochromatic LEDs are needed to transmit data. According to the frequency response characteristics of the target monochromatic LED and the second transmission requirement information, determine which monochromatic LEDs each data segment is assigned to. Correctly establishing the mapping relationship between the target monochromatic LED and the data segment can maximize the efficiency and reliability of light-carrying information transmission. By making full use of the frequency response characteristics of the monochromatic LED and the appropriate modulation algorithm, the data transmission process can be optimized to ensure the accuracy and real-time nature of data transmission.
[0136] Preferably, the mapping relationship between the target monochromatic LED and each of the data segments is established according to the frequency response characteristics of the target monochromatic LED and the second transmission requirement information, including:
[0137] S311, obtaining the frequency response characteristics of each of the target monochromatic LEDs, wherein the frequency response characteristics include: operating frequency range, bandwidth capacity, modulation efficiency and maximum transmission rate;
[0138] The purpose of this step is to collect and understand the data on the frequency response characteristics of each target monochromatic LED, which will be used in subsequent steps, especially when selecting the appropriate modulation algorithm and determining the data segment allocation. The frequency response characteristics of each target monochromatic LED can be obtained through experimental measurement or the specification sheet provided by the manufacturer. The operating frequency range, light source bandwidth, modulation efficiency, and maximum transmission rate usually vary depending on the physical structure and material properties of the light source. Determining the frequency response characteristics of each monochromatic LED helps to select the most suitable light source for specific data transmission needs. For example, high bandwidth and modulation efficiency can support higher data rates, while a wider operating frequency range can adapt to different application scenarios and improve the flexibility and reliability of the system.
[0139] S312, obtaining second transmission requirement information of each of the data segments, wherein the second transmission requirement information includes: data segment bandwidth requirement, data segment rate requirement and priority;
[0140] The purpose of this step is to determine the transmission requirements of each data fragment, including bandwidth and rate, as well as their priority order. This information will guide the selection of appropriate light sources and modulation algorithms to achieve the best data transmission effect. By obtaining the specific transmission requirements of each data fragment, the system can match the appropriate single-color LED and modulation algorithm according to these requirements, thereby achieving efficient use of resources and optimizing data transmission. Priority information can ensure that high-priority data fragments are supported by sufficient bandwidth and rate during transmission, thereby improving the overall performance and responsiveness of the system.
[0141] S313, calculating the difference between the bandwidth capacity of each of the target single-color LEDs and the data segment bandwidth requirement of each of the data segments, and recording it as a first difference;
[0142] Specifically, it is evaluated whether the bandwidth capacity of each target monochromatic LED is sufficient to meet the bandwidth requirements of the data segments. The calculated first difference reflects the potential matching degree of each monochromatic LED in terms of bandwidth. For each target monochromatic LED, its bandwidth capacity is first determined, and then compared with the bandwidth requirements of each data segment. The calculation of the first difference is the result of subtracting the bandwidth requirements of the data segment from the bandwidth capacity. By calculating the first difference, it is possible to quickly screen out which monochromatic LEDs can potentially meet the bandwidth requirements of the data segments, which helps to accurately match the light source and the data segments and improve the transmission efficiency and performance of the system.
[0143] S314, calculating the difference between the maximum transmission rate of each of the target single-color LEDs and the data segment rate requirement of each of the data segments, and recording it as a second difference;
[0144] The purpose of this step is to evaluate the matching ability of each target single-color LED in terms of rate. The calculation result of the second difference reflects the potential matching degree of each single-color LED in terms of rate requirement. For each target single-color LED, determine its maximum transmission rate and compare it with the rate requirement of each data fragment. The calculation of the second difference is the result of subtracting the data fragment rate requirement from the maximum transmission rate. By calculating the second difference, it is possible to quickly determine which single-color LEDs can meet the data fragment requirements in terms of rate. This helps to avoid selecting light sources with insufficient rate and improve the stability and reliability of data transmission.
[0145] S315. Establish an initial matching list for each of the data segments according to the first difference and the second difference, wherein the initial matching list includes a number of target single-color LEDs that meet a preset transmission condition, and the preset transmission condition includes that the first difference is greater than or equal to a first difference threshold and the second difference is greater than or equal to a second difference threshold;
[0146] Specifically, based on the calculated first difference and second difference, target monochrome LEDs whose bandwidth capacity and maximum transmission rate meet the data fragment requirements are screened out, and the initial matching list includes several target monochrome LEDs that meet preset transmission conditions, and the preset transmission conditions include that the first difference is greater than or equal to a first difference threshold and the second difference is greater than or equal to a second difference threshold.
[0147] The threshold of the first difference is set to ensure that the selected monochromatic LED has sufficient bandwidth to support the transmission requirements of the data fragment. Generally, if the first difference is greater than or equal to a certain threshold, it indicates that the bandwidth capacity of the light source is sufficient or even exceeds the bandwidth requirements of the data fragment, thereby ensuring that there will be no bandwidth shortage. The threshold of the second difference is set to ensure that the transmission rate of the selected monochromatic LED is sufficient to meet the rate requirements of the data fragment. This difference must be greater than or equal to a set threshold to ensure that the light source will not cause a bottleneck due to insufficient rate in actual transmission.
[0148] Each data fragment has its own initial matching list, which is based on the results of technical calculations. Establishing the initial matching list helps the system quickly filter out the best choice from a large number of possible single-color LEDs, saving computing resources and time costs while ensuring the transmission quality and efficiency of the data fragment.
[0149] S316, sorting each initial matching list in ascending order according to a weighted calculation result of the first difference and the second difference;
[0150] Specifically, for each data segment's initial matching list, a weighted score (usually a linear combination of the first difference and the second difference) is calculated, and then the target single-color LEDs are sorted from small to large according to these scores. Sorting the initial matching list can help the system prioritize those single-color LEDs that are most suitable in terms of bandwidth and rate, thereby optimizing the selection of data transmission and resource utilization.
[0151] S317, when there are duplicate target single-color LEDs in each of the initial matching lists, remove the duplicate target single-color LEDs according to the priority order;
[0152] Specifically, when the same monochromatic LED is found in the initial matching list of multiple data segments, the repeated light sources are removed according to the priority order of the data segments in which they are located, and the light source with the highest score in each data segment is retained. Removing the repeated target monochromatic LED can ensure that the light source finally selected by the system is the optimal choice, avoiding waste and conflict of resources, and improving the stability and reliability of data transmission.
[0153] S318: Establish a mapping relationship between the data segment and the first target single-color LED in the corresponding initial matching list.
[0154] For each data fragment, the first-ranked single-color LED is selected from the sorted initial matching list as the final choice, and a mapping relationship is established between the choice and the data fragment. Establishing a mapping relationship between the data fragment and the first light source in the initial matching list can speed up the system's response and processing of the data fragment, ensure that each data fragment can get the best transmission support, and optimize the system's performance and efficiency.
[0155] S32, according to the second transmission requirement information of the data segment, the frequency response characteristics of the target monochromatic LED corresponding to the data segment and a preset modulation algorithm, wherein the preset modulation algorithm includes: PPM modulation algorithm, PAM modulation algorithm, QAM modulation algorithm and OFDM modulation algorithm;
[0156] The PPM modulation algorithm transmits information through the time position of the pulse, the PAM modulation algorithm transmits information by changing the amplitude of the pulse, the QAM modulation algorithm transmits multi-bit data through a combination of amplitude and phase, and the OFDM modulation algorithm divides data fragments into multiple subcarriers for parallel transmission to improve spectrum utilization.
[0157] According to the second transmission requirement information of each data segment (such as transmission rate, signal-to-noise ratio requirements), combined with the frequency response characteristics of the target monochrome LED, select a suitable preset modulation algorithm. According to the frequency response characteristics of the target monochrome LED, the modulation technology adapted to it is analyzed, and the best modulation method is determined in combination with the transmission requirement information of each data segment. For example, for data segments that require high-speed transmission and high signal-to-noise ratio, QAM or OFDM modulation algorithms may be selected.
[0158] Preferably, the second transmission requirement information according to the data segment, the frequency response characteristics of the target monochromatic LED corresponding to the data segment, and the preset modulation algorithm include:
[0159] S321, according to the frequency response characteristics of the target monochromatic LED corresponding to the data segment, assigning to each of the data segments a number of preset modulation algorithms that meet the corresponding second transmission requirement information, recorded as first intermediate modulation algorithms;
[0160] The purpose of this step is to select a suitable modulation algorithm for converting the data fragment into a corresponding optical signal according to the transmission requirements of each data fragment and the frequency response characteristics of the target monochromatic LED. For each data fragment, its transmission requirements are analyzed, and then according to the frequency response characteristics of the target monochromatic LED, a preset modulation algorithm is selected that can most effectively utilize the light source characteristics and meet the data fragment requirements.
[0161] S322, obtaining an estimated optical pulse frequency of the data segment after being modulated by the corresponding first intermediate modulation algorithm;
[0162] Specifically, the estimated optical pulse frequency is the frequency of the optical signal generated after the modulation algorithm is processed, that is, the basic frequency characteristics of the data segment after it is converted into an optical signal. The selected first intermediate modulation algorithm is applied to each data segment to calculate the estimated optical pulse frequency. For example and not limitation, in the PPM modulation algorithm, the optical pulse frequency is equal to the data rate multiplied by the number of pulse positions, the optical pulse frequency of PAM is equal to the data rate, the optical pulse frequency of QAM is equal to the data rate multiplied by the number of symbols, and the optical pulse frequency of OFDM is equal to the data rate multiplied by the number of subcarriers. Obtaining the estimated optical pulse frequency helps system designers understand the characteristics of the optical signal after each data segment is modulated, thereby optimizing the optical transmission efficiency and performance of the system.
[0163] S323, obtaining a corresponding critical flicker frequency according to the light emission wavelength of each target monochromatic LED;
[0164] Specifically, the critical flicker frequency of light of different wavelengths to the human eye will be different. The critical flicker frequency (Critical Flicker Fusion, CFF) refers to the frequency at which the human eye cannot distinguish the flicker of the light source at a certain frequency and considers it to be a continuous light emission. The visual sensitivity of short-wavelength light is higher, and the human eye is more likely to detect the flicker of blue light, so a higher frequency is required to achieve imperceptibility. The eye has a lower visual sensitivity to long-wavelength light, so the flicker frequency of red light and infrared light can be lower, but still imperceptible. When selecting a modulation algorithm and light source, it is necessary to consider the impact of the light source wavelength on CFF to ensure an imperceptible communication effect.
[0165] S324, screening the first intermediate modulation algorithm of each of the data segments according to the critical flicker frequency and the estimated light pulse frequency to obtain a plurality of second intermediate modulation algorithms;
[0166] Specifically, the estimated light pulse frequency is compared with the critical flicker frequency of the target monochromatic LED. If the estimated frequency is greater than the critical flicker frequency, the current first intermediate modulation algorithm is considered acceptable and recorded as the second intermediate modulation algorithm; by screening the second intermediate modulation algorithm, the system can optimize and select the most suitable modulation algorithm according to the luminous characteristics of the light source and the expected light pulse frequency.
[0167] In optical information transmission systems, users usually hope to obtain efficient data transmission under moderate brightness of the light source. Selecting a modulation algorithm with an estimated frequency greater than the critical flicker frequency can effectively reduce or eliminate the human eye's flicker perception and improve user experience. In practical applications, it is particularly important for optical communications, display technology and other fields to select a modulation algorithm that can ensure the stability of the light source and does not cause eye discomfort. This choice can not only meet the technical performance requirements, but also improve the breadth and acceptability of technical applications.
[0168] S325. Determine a target modulation algorithm for each of the data segments according to the second intermediate modulation algorithm.
[0169] For each data segment, according to the list of second intermediate modulation algorithms screened out in step S424, consider its applicability under the conditions of light source wavelength and light pulse frequency. Each second intermediate modulation algorithm has its own specific modulation mode and frequency characteristics, suitable for different light sources and transmission conditions. According to actual needs and system design goals, select the optimal second intermediate modulation algorithm as the target modulation algorithm for each data segment. When determining the target modulation algorithm, it is necessary to comprehensively consider its modulation efficiency, anti-noise performance, frequency utilization and other indicators to ensure that the expected data transmission quality is achieved in optical information transmission.
[0170] S33. Encode and modulate the corresponding data segments according to the target modulation algorithm to obtain corresponding light source control signals.
[0171] Convert the digital data fragments to be transmitted into a signal format that meets the requirements of the selected modulation algorithm. For example, for QAM modulation, the data fragments are divided into symbols, each of which represents a combination of multiple bits. The encoded data is mapped to a signal form that the light source can process. The light source control signal after modulation can directly drive the monochrome LED for optical information transmission. The control signals generated by different modulation algorithms may differ in frequency, amplitude, and phase, depending on the selected modulation technology and the nature of the data fragment.
[0172] S4. According to the light source control signal, control the corresponding target monochromatic LED to transmit light-carrying information.
[0173] Specifically, the light source control signal is input into the corresponding light source driving circuit. The driving circuit adjusts the light emission characteristics of the light source according to the control signal to transmit the light-carrying information. Ensure that the emission characteristics of the light source (such as frequency, intensity, etc.) meet the preset transmission requirements, ensure the transmission quality of the data fragments, and achieve efficient full-spectrum light source light-carrying information transmission through the process of data segmentation, light source matching, modulation processing and control emission. Each step is explained and optimized in detail for specific technical features, so that the entire system has significantly improved the efficiency, stability and concealment of data transmission.
[0174] Preferably, controlling the corresponding target monochromatic LED to transmit light-carrying information according to the light source control signal includes:
[0175] S41, obtaining ambient lighting parameters, wherein the ambient lighting parameters include ambient light intensity and ambient spectral distribution;
[0176] Specifically, the ambient light intensity represents the intensity level of light in a specific environment, and the ambient spectral distribution describes the distribution of light of different wavelengths in the environment, covering the wavelength range from ultraviolet to infrared. This step obtains the optical characteristic data in the environment, which is essential for adjusting the light source control signal to adapt to the current environmental conditions. The ambient lighting parameters affect the selection and setting of the light source in the optical information transmission system.
[0177] Depending on the specific application scenario, use sensors or measuring equipment to obtain data on ambient light intensity and spectral distribution. Ambient light intensity can be measured by a light sensor, which expresses the light intensity level in numerical form. Ambient spectral distribution can be obtained by a spectral analyzer or spectral measuring equipment to obtain the distribution of light of different wavelengths in the environment.
[0178] S42, when the first preset number is equal to the second preset number, adjusting each of the light source control signals according to the ambient light intensity, the ambient spectral distribution and a preset filtering algorithm to obtain a first target control signal;
[0179] The preset filtering algorithm is an algorithm used to adjust the light source control signal to meet specific transmission requirements, which usually involves signal filtering and adjustment parameters. When the first preset number is equal to the second preset number, it means that the number of existing light sources is equal to the expected matching number, and no additional light source adjustment is required. At this time, according to the ambient light parameters (light intensity and spectral distribution) and the preset filtering algorithm, the control signal of the light source is adjusted so that the generated communication light pulse matches the spectrum and intensity of the ambient light as much as possible, thereby improving the efficiency and reliability of the communication system.
[0180] The adjustments may include:
[0181] Brightness adjustment: According to the ambient light intensity, adjust the brightness of the light source to keep it relatively balanced with the ambient light to avoid signal interference caused by spectrum overlap.
[0182] Frequency adjustment: According to the preset frequency range of the light source and the spectral distribution of the environment, the operating frequency of the light source is adjusted to avoid spectrum overlap and interference.
[0183] Waveform adjustment: According to the specific shape of the ambient spectrum, the waveform characteristics of the light source, such as pulse width, pulse interval, etc., are adjusted so that the generated communication optical pulses match the ambient spectrum as much as possible.
[0184] S43, according to the first target control signal, controlling the corresponding target single-color LED to transmit light-carrying information;
[0185] The first target control signal is an adjusted signal generated according to the above steps, which contains the relevant parameters of the optical carrier information to be transmitted, such as frequency, intensity, waveform, etc. The first target control signal is applied to the target monochromatic LED to carry the required information on the optical carrier by changing the characteristics of the light source (such as light intensity, frequency, phase, etc.). The optical pulse is generated according to the characteristics of the modulated signal so that it can contain the data to be transmitted in the optical carrier signal.
[0186] S44, when the first preset number is greater than the second preset number, adjusting each of the light source control signals according to the ambient lighting parameter, the preset filtering algorithm and the preset luminous intensity to obtain a first target control signal;
[0187] Specifically, this step is similar to step S42 and will not be described in detail here.
[0188] S45, acquiring a second target control signal for an unused single-color LED according to the first target control signal, the ambient light parameter and the preset luminous intensity;
[0189] When the first preset number is greater than the second preset number, there may be multiple single-color LEDs that are available but not yet used. According to the first target control signal, the ambient light parameter and the preset luminous intensity, the control signals of the unused single-color LEDs are calculated and obtained. These control signals are designed to supplement or enhance the performance of the current transmission system.
[0190] Preferably, the acquiring of the second target control signal of the unused single-color LED according to the first target control signal and the ambient light parameter comprises:
[0191] S451, acquiring a first actual luminous intensity of each of the target monochromatic LEDs according to the first target control signal;
[0192] According to the first target control signal, the system obtains the first actual luminous intensity of each target monochromatic LED, including the current brightness, frequency, phase and other parameters of the light source, which are adjusted by the control signal to adapt to communication requirements and environmental conditions.
[0193] S452: acquiring a supplementary luminous intensity according to the first actual luminous intensity, the preset luminous intensity, and the ambient light intensity;
[0194] Specifically, the system pre-sets the luminous intensity level that each light source should achieve in a specific communication environment. At the same time, the ambient light intensity provides a reference for the background light intensity in the current environment. Based on the difference between the first actual luminous intensity and the preset luminous intensity, as well as the influence of the ambient light intensity, the system calculates the luminous intensity that needs to be supplemented. This process ensures that each light source can meet the luminous intensity required for communication while making full use of environmental conditions.
[0195] S453, acquiring the total target luminous intensity of the monochromatic LEDs other than the target monochromatic LED according to the supplementary luminous intensity;
[0196] Based on the requirement for supplemental luminous intensity, the system evaluates other available single-color LEDs other than the target single-color LED. The system may consider unused light sources, as well as their luminous properties and availability.
[0197] S454, acquiring the target luminous intensity of each monochromatic LED other than the target monochromatic LED according to the total target luminous intensity and the ambient spectral distribution;
[0198] Based on the ambient spectral distribution and the characteristics of each unused single-color LED, the system determines the specific luminous intensity that each single-color LED needs to achieve. These target luminous intensities are designed to match the spectral characteristics in the current environment to maximize the effect of information transmission.
[0199] Through the above steps, the system can dynamically adjust the control signals of unused single-color LEDs according to the actual environmental conditions to optimize the transmission effect of optical information. This real-time adjustment and optimization can ensure that the optical communication system can maintain efficient and stable operation in different environments.
[0200] S455, acquiring second target control signals of all unused single-color LEDs according to the target luminous intensity;
[0201] Finally, according to the target luminous intensity, the second target control signal of all unused single-color LEDs is obtained, so as to dynamically adjust the control signal of the unused single-color LED according to the actual environmental conditions to optimize the transmission effect of the optical information. This real-time adjustment and optimization can ensure that the optical communication system can maintain efficient and stable operation in different environments.
[0202] S46. Control corresponding monochromatic LEDs to transmit light-carrying information according to the first target control signal and the second target control signal.
[0203] In steps S44 and S45, the system has determined a first target control signal and a second target control signal. The first target control signal is used for the monochromatic LED that has been determined to be used for data transmission, while the second target control signal is a supplementary control for utilizing the unused monochromatic LED. According to the guidance of the first target control signal and the second target control signal, the system adjusts the luminous intensity, frequency or waveform of the corresponding monochromatic LED to ensure that the transmission of the optically carried information can be carried out under the expected spectrum and intensity conditions.
[0204] In practical applications, the system may continuously monitor the ambient lighting parameters and the effect of light-carrying information transmission. Based on this information, the first and second target control signals can be dynamically adjusted to adapt to environmental changes or optimize the transmission effect.
[0205] Preferably, see Figure 3 After controlling the corresponding target monochromatic LED to transmit light-carrying information according to the light source control signal, the method further includes:
[0206] S5. Monitor the information transmission quality in real time to obtain the communication quality monitoring results of each target single-color LED, wherein the communication quality monitoring results include signal strength, bit error rate and transmission delay;
[0207] Specifically, sensors or detectors are used to monitor the signal characteristics of each target monochromatic LED in real time, including the intensity of the light signal it emits, the bit error situation, and the time delay of information arrival. Signal strength refers to the intensity or power of the light signal. The stronger the signal strength, the better the stability and anti-interference ability of information transmission. The bit error rate refers to the ratio of the number of erroneously received bits to the total number of received bits during the transmission process. The lower the bit error rate, the higher the accuracy of information transmission. Transmission delay refers to the time required for information to be transmitted from the sender to the receiver. The smaller the delay, the better the timeliness of communication.
[0208] By monitoring the transmission quality in real time, possible problems with the light source during information transmission, such as decreased signal strength, increased bit error rate, or increased transmission delay, can be discovered in a timely manner so that adjustments or switches can be made before the problem worsens, thereby maintaining the communication performance and stability of the system.
[0209] S6. When the signal strength of a target single-color LED is less than a preset signal strength threshold, and / or the bit error rate is greater than a preset bit error rate threshold, and / or the transmission delay is greater than a preset delay threshold, the target single-color LED is used as the LED to be switched;
[0210] Specifically, the preset signal strength threshold refers to the lowest acceptable limit set for signal strength during the operation of the system. When the signal strength is lower than this threshold, the system considers that the transmission performance of the current light source is insufficient and measures need to be taken. The preset bit error rate threshold refers to the highest acceptable limit set by the system for the bit error rate. Exceeding this limit means that the error rate of the data is too high and the reliability of the transmission is greatly reduced. The preset delay threshold is the highest acceptable time set by the system for transmission delay. Exceeding this delay may result in the timeliness of the communication not meeting the requirements.
[0211] The real-time monitored signal strength, bit error rate, and transmission delay are constantly compared with the preset thresholds. When any indicator does not meet the preset requirements, the system marks the light source as "LED to be switched" and begins to prepare to look for other light sources to take over the current transmission task.
[0212] This step effectively ensures that the system can respond in time when the transmission quality deteriorates, avoiding data loss or communication interruption caused by long-term low-quality transmission. By marking the LED to be switched in advance, the system can switch before the problem worsens, thereby maintaining the stability of overall communication performance.
[0213] S7, determining at least one single-color LED as a target switching LED according to the data segment corresponding to the LED to be switched;
[0214] Specifically, the data segments that the LED to be switched is responsible for are first analyzed to determine its specific transmission requirements, including bandwidth requirements, rate requirements, and priority. Based on these requirements, the system will select light sources that can meet these requirements from unused light sources as candidate target switching LEDs. If all light sources are currently in use, the system will further analyze the load of the light sources in use and select light sources with lighter loads and suitable data segment characteristics as target switching LEDs.
[0215] S8. According to a preset light source switching rule, control the target switching LED to transmit the data segment corresponding to the LED to be switched.
[0216] Specifically, the preset light source switching rules are a series of rules or strategies followed by the system when switching LEDs. These rules may include considerations such as data segment splitting ratio, switching time, switching priority, and light source utilization efficiency.
[0217] Preferably, determining at least one single-color LED as a target switching LED according to the data segment corresponding to the LED to be switched includes:
[0218] S71, obtaining second transmission requirement information of the data segment corresponding to the LED to be switched, wherein the second transmission requirement information includes: data segment bandwidth requirement, data segment rate requirement and priority;
[0219] Specifically, the second transmission requirement information refers to the data segment transmission conditions that the LED to be switched needs to meet, including bandwidth requirements (the bandwidth required to transmit the amount of data), rate requirements (the amount of data transmitted per unit time) and priority, to obtain accurate transmission requirement information and ensure that when switching the LED, the selected target light source can meet the transmission requirements of the current data segment, so as to ensure the continuity and quality of data transmission.
[0220] S72, caching the data fragments corresponding to the LED to be switched to obtain cached data fragments;
[0221] Specifically, the data fragments of the LED to be switched are temporarily stored in the buffer to prevent the data fragments from being interrupted during the switching process. The cache mechanism can ensure that when the LED is switched, the data fragments will not be lost or delayed due to the switching process, which greatly improves the reliability of the system.
[0222] S73, when the second preset number is less than the first preset number, obtaining the single-color LEDs other than the target single-color LED and recording them as first switching LED candidate switching LEDs;
[0223] Specifically, when the second preset number is less than the first preset number, it means that the current system still has light source resources that are not used for optical information transmission, and candidate light sources that can be used for replacement are screened out from the unused light sources to increase the selection of light source switching. The system marks the currently unused light source (i.e., non-target monochromatic LED) as "first switching LED candidate switching LED". By utilizing the unused light source resources in the system, the flexibility and success rate of light source switching are increased, and the risk of switching failure is reduced;
[0224] S74, obtaining the wavelength similarity between the light emitting wavelength of each of the first switching LED candidate switching LEDs and the light emitting wavelength of the LED to be switched;
[0225] Specifically, wavelength similarity refers to the similarity between the wavelength of the alternative light source and the light emission wavelength of the LED to be switched. The higher the wavelength similarity, the closer the spectral characteristics of the two light sources are, and the more consistent the performance of the light sources after switching. Based on the similarity, the system can give priority to light sources with closer wavelengths to ensure that the transmission characteristics after switching are as consistent as possible with the previous ones. Selecting light sources with similar wavelengths can ensure that the light sources after switching are consistent in color, brightness, etc., which is conducive to maintaining the consistency of transmission quality and visual effects.
[0226] S75, selecting the first switching LED candidate switching LED that meets the preset switching condition as the target switching LED according to the wavelength similarity, the second transmission requirement information and the frequency response characteristics of each of the first switching LED candidate switching LEDs;
[0227] Specifically, first sort according to wavelength similarity, then further screen the light sources that meet the bandwidth and rate requirements based on the second transmission demand information. Finally, combined with the frequency response characteristics of each candidate light source, select the light source that can best meet the preset conditions as the target switching LED. Through multi-dimensional comprehensive screening, the system can find the optimal light source alternative to ensure that the data transmission performance after switching is guaranteed and avoid performance degradation caused by switching.
[0228] In one embodiment, the preset switching conditions include: wavelength similarity must reach or exceed a certain threshold, and / or, bandwidth capacity must be greater than or equal to the bandwidth requirement of the data segment, and / or, the maximum transmission rate must be greater than or equal to the rate requirement of the data segment. In a preferred embodiment, the maximum transmission rate of the target switching LED must be at least 10% higher than the rate requirement, that is, a certain margin is left to cope with possible bandwidth fluctuations. This can avoid the degradation of transmission quality due to insufficient bandwidth after switching. Similarly, the maximum transmission rate of the target switching LED must be at least 10% higher than the rate requirement, similar to the matching condition of bandwidth capacity, leaving a certain buffer space to ensure transmission stability.
[0229] S76. When the second preset number is equal to the first preset number, obtaining the bandwidth margin of the target single-color LED other than the LED to be switched according to the communication quality monitoring result;
[0230] Bandwidth margin refers to the portion of bandwidth that has not been occupied when the light source is transmitting data. The larger the bandwidth margin, the more transmission capacity of the light source is not used. When the light source resources are full, by evaluating the bandwidth margin of each light source, find a light source that can carry more data fragments to switch the light source. Based on the real-time communication quality monitoring results, calculate the actual bandwidth usage of each target single-color LED and determine its bandwidth margin.
[0231] S77, according to the bandwidth margin, obtaining a plurality of first switching LED candidate switching LED combinations that meet the second transmission requirement information of the data segment corresponding to the LED to be switched, wherein the first switching LED candidate switching LED combinations include at least one target monochromatic LED other than the LED to be switched, and at least one of the target monochromatic LEDs is different between the first candidate switching color light source combinations;
[0232] Specifically, the first switching LED alternative switching LED combination refers to a combination composed of one or more target monochromatic LEDs, which are used to jointly carry out the transmission task of data fragments. In the case of limited light source resources, different light sources are combined to meet the transmission requirements of data fragments and improve the resource utilization of the system. According to the bandwidth margin of each target light source, the system combines multiple light sources to form a light source combination that can jointly meet the transmission requirements of data fragments. The light sources in these light source combinations have at least one different light source between different combinations to ensure diversity and provide a more flexible selection space. Each combination meets the second transmission requirement. Through the combination of light sources, the system can make full use of existing resources, avoid the situation where a single light source cannot meet the data fragment requirements, and improve the overall transmission capacity and flexibility of the system.
[0233] S78, screening according to the frequency response characteristics of the target single-color LEDs in each of the first switching LED candidate switching LED combinations and the data segment rate requirements of the data segments corresponding to the LEDs to be switched, to obtain a plurality of second candidate switching LED combinations;
[0234] By considering the frequency response characteristics of the light source combination and the data fragment rate requirements, the light source combination that is most suitable for the current data fragment transmission is selected to ensure that the transmission rate after switching can meet the requirements. According to the frequency response characteristics of the light sources in the first switching LED candidate switching LED combination, the overall frequency response of the combination is calculated and compared with the data fragment rate requirements of the LED to be switched. A light source combination that can meet the rate requirements and has better frequency response characteristics is selected to form the second switching LED candidate switching LED combination.
[0235] S79, performing weighted calculation according to the number of redundant light sources and redundant bandwidth capacity of each of the second switching LED candidate switching LED combinations to obtain the redundancy of each of the second switching LED candidate switching LED combinations, wherein the weight of the number of redundant light sources is greater than the weight of the redundant bandwidth capacity;
[0236] Specifically, redundancy refers to the degree of redundant configuration of the system in terms of light source and bandwidth. The system calculates the number of redundant light sources (i.e., light sources that are not fully utilized) and redundant bandwidth capacity (i.e., unoccupied bandwidth) in each second switching LED alternative switching LED combination, and performs weighted calculation. Since the number of redundant light sources is more important to system stability than the redundant bandwidth capacity, the system gives a greater weight to the number of redundant light sources when calculating redundancy.
[0237] S710 , obtaining and determining the target switching LED according to the second switching LED candidate switching LED group with the smallest redundancy.
[0238] Specifically, smaller redundancy means higher resource utilization efficiency, and this combination is the most optimized in resource allocation because it reduces unnecessary light sources and bandwidth usage. After selecting the combination with the smallest redundancy, the single-color LEDs in the combination will be determined as the target switching LEDs. At this time, the system allocates these light sources to the data fragments corresponding to the LEDs to be switched for transmission.
[0239] Preferably, controlling the target switching LED to transmit the data fragment corresponding to the LED to be switched according to the preset light source switching rule includes:
[0240] S81, splitting the data segments corresponding to the LED to be switched according to a preset data splitting ratio to obtain a first data segment and a second data segment;
[0241] Specifically, the preset data split ratio refers to the ratio of data segments to be allocated to different light sources for transmission, which is preset by the system. For example, 70% of the data segments are transmitted through the LED to be switched, and 30% are transmitted through the target switching LED. During the switching process, the data segments are split into two parts, which are respectively allocated to the original light source and the new switching LED for transmission to ensure the continuous transmission of the data segments and test the transmission effect of the switching LED. By allocating a part of the data segments to the target switching LED, the system can test the performance of the light source to decide whether to switch completely.
[0242] S82, according to the preset modulation algorithm, controlling the LED to be switched to transmit the first data segment and controlling the target switching LED to transmit the second data segment;
[0243] Specifically, the first data segment is modulated according to the preset modulation algorithm corresponding to the LED to be switched, so as to transmit the first data segment, and the second data segment is coded, modulated and transmitted through the preset coding and modulation algorithm corresponding to the target switching LED, so as to ensure that the transmission of the two data segments on different light sources can be carried out according to the coding and modulation method set by the system, so as to ensure the accuracy and effectiveness of data transmission;
[0244] S83, acquiring the transmission quality of the second data segment on the target switching LED according to a preset time interval;
[0245] Specifically, the fixed time interval set by the system is used to periodically check the transmission quality of data segments and regularly monitor the transmission effect of the target switching LED to ensure that it can undertake the transmission task of data segments and provide data basis for subsequent decisions on whether to switch further. Transmission quality refers to the performance indicators such as signal strength, bit error rate, and transmission delay of the second data segment when transmitting on the target switching LED.
[0246] S84, if the transmission quality meets the preset quality condition, increase the preset data splitting ratio according to the preset ratio increment, and return to split the data fragments corresponding to the LED to be switched according to the preset data splitting ratio to obtain a first data fragment and a second data fragment, until the data fragments corresponding to the LED to be switched are completely transmitted through the target switching LED;
[0247] Specifically, first check whether the transmission quality of the target switching LED meets the preset conditions. If the transmission quality meets the requirements, that is, the performance indicators such as signal strength, bit error rate, and transmission delay all reach the corresponding thresholds, the system gradually increases the data segment allocation ratio of the target switching LED according to the preset proportional increment. This process will be repeated until all the data segments on the LED to be switched are transferred to the target switching LED.
[0248] By gradually increasing the data segment allocation ratio, the system can ensure a smooth switching process and avoid data transmission interruptions. This incremental switching method can maximize the transmission capacity of the target switching LED while ensuring quality.
[0249] S85, when the data segment corresponding to the LED to be switched is completely transmitted through the target switching LED, obtaining the second actual luminous intensity of each of the current target single-color LEDs and the target switching single-color LED;
[0250] Specifically, when the data segment corresponding to the LED to be switched is completely transmitted through the target switching LED, that is, after the switching is completed, the actual luminous intensity of the current target switching LED and the related light source is obtained through a sensor or other detection means, which is recorded as the second actual luminous intensity. Real-time acquisition of the actual luminous intensity helps to monitor the operating status of the light source and adjust the light source parameters in time to ensure the best lighting effect and transmission quality.
[0251] S86, acquiring a third light source control signal according to the second actual luminous intensity, the preset luminous intensity and the ambient light intensity;
[0252] Specifically, by comprehensively evaluating various light intensity parameters, an optimized control signal is generated to adjust the light emitting state of the LED to be switched to ensure optimal lighting. This step can be referred to S4351-S4355 and will not be described in detail here.
[0253] S87. Control the LED to be switched to illuminate according to the third light source control signal.
[0254] Finally, the actual lighting state of the light source is adjusted through the generated control signal to ensure that the light source can operate normally during and after the switching process, and ensure that the communication and lighting effects are not affected. This dynamic adjustment method can enhance the stability and adaptability of the system and ensure that it can maintain the best working state under different environments and loads.
[0255] Implementation Method 2
[0256] In addition, combined Figure 1 The optical information transmission method based on full-spectrum LED of the described embodiment of the present invention can be implemented by a light source device. Figure 4 A schematic diagram of the hardware structure of a light source device provided in an embodiment of the present invention is shown.
[0257] The light source device may include a processor and a memory storing computer program instructions.
[0258] Specifically, the processor may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present invention.
[0259] The memory may include a large capacity memory for data or instructions. By way of example and not limitation, the memory may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, the memory may include a removable or non-removable (or fixed) medium. Where appropriate, the memory may be inside or outside a data processing device. In a particular embodiment, the memory is a non-volatile solid-state memory. In a particular embodiment, the memory includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.
[0260] The processor implements any one of the light-carrying information transmission methods based on full-spectrum LEDs in the above embodiments by reading and executing computer program instructions stored in the memory.
[0261] In one example, the light source device may further include a communication interface and a bus. Figure 4As shown, the processor 401, the memory 402, and the communication interface 403 are connected via a bus 410 and communicate with each other.
[0262] The communication interface is mainly used to implement communication between the modules, devices, units and / or equipment in the embodiments of the present invention.
[0263] The bus includes hardware, software or both, and the parts of the light source equipment are coupled to each other. For example, but not limitation, the bus may include accelerated graphics port (AGP) or other graphics buses, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In suitable cases, the bus may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.
[0264] In addition, in combination with the light-carrying information transmission method based on full-spectrum LED in the above embodiments, the embodiments of the present invention can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the light-carrying information transmission methods based on full-spectrum LED in the above embodiments is implemented.
[0265] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.
[0266] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0267] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.
[0268] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.
Claims
1. A method for transmitting information via light based on four-color LEDs, characterized in that: Applied to an emitting end, the emitting end includes a full-spectrum semiconductor light-emitting device, the full-spectrum semiconductor light-emitting device includes a first preset number of monochromatic LEDs with different luminous wavelengths, the adjustment range of the luminous wavelength of each monochromatic LED belongs to a different wavelength interval, and the first preset number is 4; each monochromatic LED is excited by a blue light chip, the blue light chip includes at least a first blue light chip and a second blue light chip, the peak wavelength of the first blue light chip is different from the peak wavelength of the second blue light chip, and the peak wavelength of the first blue light chip and the peak wavelength of the second blue light chip are both in the same wavelength interval, and the method includes: Segment the data to be transmitted according to the first transmission requirement information of the data to be transmitted to obtain a second preset number of data segments, wherein the second preset number is less than or equal to the first preset number; Determine a second preset number of target monochromatic LEDs according to the luminous characteristic parameters of the monochromatic LED and the first transmission requirement information, wherein the first transmission requirement information includes a bandwidth requirement parameter and a rate requirement parameter, and the luminous characteristic parameters include: luminous wavelength, spectral width and light intensity; According to each of the target monochromatic LEDs and the corresponding preset modulation algorithm, the data fragment corresponding to the corresponding target monochromatic LED is processed to obtain a corresponding light source control signal; According to the light source control signal, the corresponding target monochromatic LED is controlled to transmit the light-carrying information.
2. The method for transmitting information via light based on four-color LED according to claim 1, characterized in that: The step of determining a second preset number of target monochromatic LEDs according to the light emitting characteristic parameters of the monochromatic LED and the first transmission requirement information comprises: Determining second transmission requirement information of each of the data fragments according to the first transmission requirement information; Screening the single-color LEDs according to the second transmission requirement information to obtain candidate single-color LEDs, wherein the number of the candidate single-color LEDs is greater than or equal to the second preset number and less than or equal to the first preset number; When the number of the candidate single-color LEDs is greater than the second preset number, obtaining the light emitting characteristic parameters of each of the candidate single-color LEDs; According to the light emission wavelength and the visual acuity function, obtaining the visual acuity function value of each of the candidate single-color LEDs; Determine the human eye interference index of each of the candidate monochromatic LEDs according to the visual acuity function value, the luminous wavelength, the spectrum width and the light intensity, wherein the human eye interference index is positively correlated with the visual acuity function value and the light intensity, and the human eye interference index is negatively correlated with the spectrum width and the light intensity; Sort the candidate single-color LEDs according to the human eye interference index from large to small, and select the first second preset number of candidate single-color LEDs as the target single-color LEDs; When the number of the candidate single-color LEDs is equal to the second preset number, the candidate single-color LEDs are used as target single-color LEDs.
3. The method for transmitting information via light based on four-color LED according to claim 2, characterized in that: The processing of the data fragment corresponding to the corresponding target monochromatic LED according to each target monochromatic LED and the corresponding preset modulation algorithm to obtain the corresponding light source control signal comprises: Establishing a mapping relationship between the target monochromatic LED and each of the data segments according to the frequency response characteristics of the target monochromatic LED and the second transmission requirement information; Determine a target modulation algorithm according to the second transmission requirement information of the data segment, the frequency response characteristics of the target monochromatic LED corresponding to the data segment, and a preset modulation algorithm, wherein the preset modulation algorithm includes: a PPM modulation algorithm, a PAM modulation algorithm, a QAM modulation algorithm, and an OFDM modulation algorithm; The corresponding data segments are coded and modulated according to the target modulation algorithm to obtain corresponding light source control signals.
4. The method for transmitting information via light based on four-color LED according to claim 3, characterized in that: The establishing of a mapping relationship between the target monochromatic LED and each of the data segments according to the frequency response characteristics of the target monochromatic LED and the second transmission requirement information comprises: Obtaining the frequency response characteristics of each of the target monochromatic LEDs, wherein the frequency response characteristics include: operating frequency range, bandwidth capacity, modulation efficiency, and maximum transmission rate; Acquire second transmission requirement information of each of the data segments, wherein the second transmission requirement information includes: data segment bandwidth requirement, data segment rate requirement and priority; Calculate the difference between the bandwidth capacity of each of the target single-color LEDs and the data segment bandwidth requirement of each of the data segments, and record it as a first difference; Calculate the difference between the maximum transmission rate of each of the target single-color LEDs and the data segment rate requirement of each of the data segments, and record it as a second difference; According to the first difference and the second difference, an initial matching list is established for each of the data segments, wherein the initial matching list includes a number of target single-color LEDs that meet a preset transmission condition, and the preset transmission condition includes that the first difference is greater than or equal to a first difference threshold and the second difference is greater than or equal to a second difference threshold; According to the weighted calculation result of the first difference and the second difference, sort each initial matching list in ascending order; When there are duplicate target single-color LEDs in each of the initial matching lists, removing the duplicate target single-color LEDs according to the priority; A mapping relationship between the data segment and the first target single-color LED in the corresponding initial matching list is established.
5. The method for transmitting information via light based on four-color LEDs according to claim 3, characterized in that: The second transmission requirement information according to the data segment, the frequency response characteristics of the target monochromatic LED corresponding to the data segment, and the preset modulation algorithm include: According to the frequency response characteristics of the target monochromatic LED corresponding to the data segment, a plurality of preset modulation algorithms satisfying the corresponding second transmission requirement information are allocated to each of the data segments, which are recorded as first intermediate modulation algorithms; Acquire an estimated optical pulse frequency of the data segment after being modulated by the corresponding first intermediate modulation algorithm; According to the light emission wavelength of each of the target monochromatic LEDs, a corresponding critical flicker frequency is obtained; Screening the first intermediate modulation algorithm of each data segment according to the critical flicker frequency and the estimated light pulse frequency to obtain a plurality of second intermediate modulation algorithms; A target modulation algorithm for each of the data segments is determined according to the second intermediate modulation algorithm.
6. The method for transmitting information via light based on four-color LED according to claim 1, characterized in that: The first preset number is 4, and the monochromatic LEDs are respectively recorded as a first monochromatic LED, a second monochromatic LED, a third monochromatic LED and a fourth monochromatic LED; the light emission wavelength of the first monochromatic LED is within 480 to 520 nm, the light emission wavelength of the second monochromatic LED is within 530 to 540 nm, the light emission wavelength of the third monochromatic LED is within 640 to 660 nm, and the light emission wavelength of the fourth monochromatic LED is within 680 to 700 nm. The first monochromatic LED, the second monochromatic LED, the third monochromatic LED and the fourth monochromatic LED are all excited by a blue light chip, and the main wavelength of the blue light chip is between 447 and 457 nm.
7. The method for transmitting information via light based on four-color LEDs according to any one of claims 1 to 6, characterized in that: After controlling the corresponding target monochromatic LED to transmit light-carrying information according to the light source control signal, the method further includes: Performing real-time monitoring on the information transmission quality to obtain the communication quality monitoring results of each of the target single-color LEDs, wherein the communication quality monitoring results include signal strength, bit error rate and transmission delay; When the signal strength of a target single-color LED is less than a preset signal strength threshold, and / or the bit error rate is greater than a preset bit error rate threshold, and / or the transmission delay is greater than a preset delay threshold, the target single-color LED is used as the LED to be switched; Determine at least one single-color LED as a target switching LED according to the data segment corresponding to the LED to be switched; According to the preset light source switching rule, the target switching LED is controlled to transmit the data segment corresponding to the LED to be switched.
8. The method according to claim 7, characterized in that The step of determining at least one single-color LED as a target switching LED according to the data segment corresponding to the LED to be switched includes: Acquire second transmission requirement information of the data segment corresponding to the LED to be switched, wherein the second transmission requirement information includes: data segment bandwidth requirement, data segment rate requirement and priority; Cache the data fragments corresponding to the LED to be switched to obtain cached data fragments; When the second preset number is less than the first preset number, obtaining the single-color LEDs other than the target single-color LED and recording them as first switching LED candidate switching LEDs; Obtaining wavelength similarity between the light emission wavelength of each of the first switching LED candidate switching LEDs and the light emission wavelength of the LED to be switched; According to the wavelength similarity, the second transmission requirement information and the frequency response characteristics of each of the first switching LED candidate switching LEDs, selecting the first switching LED candidate switching LED that meets the preset switching condition as the target switching LED; When the second preset number is equal to the first preset number, obtaining the bandwidth margin of the target single-color LED other than the LED to be switched according to the communication quality monitoring result; According to the bandwidth margin, a plurality of first switching LED candidate switching LED combinations that meet the second transmission requirement information of the data segment corresponding to the LED to be switched are obtained, wherein the first switching LED candidate switching LED combinations include at least one target monochromatic LED other than the LED to be switched, and at least one of the target monochromatic LEDs is different between two first candidate switching color light source combinations; Screening is performed according to the frequency response characteristics of the target single-color LEDs in each of the first switching LED candidate switching LED combinations and the data segment rate requirements of the data segments corresponding to the LEDs to be switched to obtain a plurality of second switching LED candidate switching LED combinations; Performing weighted calculation according to the number of redundant light sources and redundant bandwidth capacity of each of the second switching LED candidate switching LED combinations, to obtain the redundancy of each of the second switching LED candidate switching LED combinations, wherein the weight of the number of redundant light sources is greater than the weight of the redundant bandwidth capacity; The target switching LED is determined by acquiring the candidate switching LED group according to the second switching LED with the smallest redundancy.
9. The method according to claim 8, characterized in that The step of controlling the target switching LED to transmit the data segment corresponding to the LED to be switched according to the preset light source switching rule includes: Splitting the data segment corresponding to the LED to be switched according to a preset data splitting ratio to obtain a first data segment and a second data segment; According to the preset modulation algorithm, controlling the LED to be switched to transmit the first data segment and controlling the target switching LED to transmit the second data segment; According to a preset time interval, obtaining the transmission quality of the second data segment on the target switching LED; If the transmission quality meets the preset quality condition, the preset data splitting ratio is increased according to the preset ratio increment, and the data segment corresponding to the LED to be switched is split according to the preset data splitting ratio to obtain a first data segment and a second data segment, until the data segment corresponding to the LED to be switched is completely transmitted through the target switching LED; When the data segment corresponding to the LED to be switched is completely transmitted through the target switching LED, obtaining the second actual luminous intensity of each of the current target single-color LEDs and the target switching single-color LED; Acquire a third light source control signal according to the second actual luminous intensity, the preset luminous intensity and the ambient light intensity; According to the third light source control signal, the LED to be switched is controlled to illuminate.
10. A light source device, characterized in that: include: At least one processor, at least one memory and computer program instructions stored in the memory, when the computer program instructions are executed by the processor, implement the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Dimming method of multispectral LED
CN112203383A
Passive optical network data transmission method, network slice bandwidth allocation method and device
CN112565939A
Route planning method and device, storage medium and electronic device
CN113988612A
Optical network receiving terminal
CN114826427A
Fiber grating array sensing demodulation method and system
CN115144002A