Method, device and medium for optical information transmission based on multi-color light source

By segmenting data into segments and selecting appropriate LED light sources for optical information transmission, the problem of data loss caused by bandwidth overload in multi-color optical information transmission is solved, thereby improving the system's stability and transmission efficiency.

CN119544074BActive Publication Date: 2025-11-04XUYU OPTOELECTRONICSSHENZHEN CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411659595.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-06
Publication Date
2025-11-04
Estimated Expiration
2044-09-06

AI Technical Summary

Technical Problem

Existing multicolor optical information transmission schemes are prone to bandwidth overload during data transmission, leading to data loss.

Method used

By acquiring the basic parameters of the data to be transmitted, the data is segmented into data segments based on the bandwidth capacity and luminous characteristics of the LED light source. A suitable target LED light source is selected for optical information transmission, and the light source control signal is optimized using a preset modulation algorithm and ambient light parameters.

Benefits of technology

It improves the flexibility and bandwidth of optical information transmission systems, reduces data transmission conflicts and collisions, ensures the reliability and stability of data transmission, and optimizes signal quality and power efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119544074B_ABST
    Figure CN119544074B_ABST
Patent Text Reader

Abstract

The present application relates to the field of optical carrier information technology, provide a kind of based on multicolor light source's optical carrier information transmission method, equipment and medium, to solve the problem of data loss in prior art multicolor light source data transmission is easy to cause.The method comprises: obtaining the basic parameters of the data to be transmitted;According to the basic parameters, determine the first transmission requirement information of the data to be transmitted;According to the bandwidth capacity of each LED light source, determine the second preset quantity;According to the data type and the second preset quantity, the data to be transmitted is divided into data segments;According to the light emitting characteristic parameters of the LED light source and the first transmission requirement information, determine the second preset quantity of target LED light source;According to each LED light source and corresponding preset modulation algorithm, the corresponding target LED light source corresponding data segment is processed, and the corresponding light source control signal is obtained;According to the light source control signal, control corresponding target LED light source carries out optical carrier information transmission.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention patent application with the application number 202411250653.5, the title of which is "Optical carrier information transmission method and light source equipment based on full-spectrum LED", and the filing date of which is September 6, 2024. TECHNICAL FIELD

[0002] The present application relates to the field of optical carrier information, and in particular to an optical carrier information transmission method, device and medium based on a multi-color light source. BACKGROUND

[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, optical carrier information technology 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. Optical carrier information technology not only has important significance in improving communication efficiency and quality, but also has significant advantages in reducing energy consumption and reducing electromagnetic interference.

[0004] The multi-color optical carrier information transmission scheme is an innovative application of optical carrier information technology, which transmits different data segments simultaneously through multiple wavelength light sources to achieve high-speed and high-capacity information transmission. In this scheme, each LED light source is responsible for the transmission of optical signals in a specific wavelength range, and multiple LED light sources work together to achieve bandwidth stacking and data transmission rate improvement.

[0005] Although the existing multi-color optical carrier information transmission scheme has made significant progress in improving transmission rate and capacity, there are still some problems to be solved. One of the main problems is that when all multi-color light sources are used for data transmission at the same time, bandwidth overload is easy to occur, because the type and size of the transmitted data are not effectively divided, resulting in data loss. SUMMARY

[0006] Therefore, the embodiments of the present application provide an optical carrier information transmission method, device and medium based on a multi-color light source to solve the problem that the existing technology causes data loss when multi-color light sources are used for data transmission at the same time.

[0007] In a first aspect, an embodiment of the present application provides a full-spectrum based optical information transmission method, applied to a transmitting end, the transmitting end comprising a full-spectrum semiconductor light emitting device, the full-spectrum semiconductor light emitting device comprising a first preset number of LED light sources with different light emitting wavelengths, the light emitting wavelength of each LED light source belonging to a different wavelength interval, the method comprising:

[0008] obtaining basic parameters of the data to be transmitted, wherein the basic parameters comprise data type and data size;

[0009] determining first transmission requirement information of the data to be transmitted according to the basic parameters, wherein the first transmission requirement information comprises bandwidth requirement parameters and rate requirement parameters;

[0010] determining the second preset number according to the bandwidth capacity of each LED light source;

[0011] performing data division on the data to be transmitted according to the data type and the second preset number to obtain data segments;

[0012] determining a second preset number of target LED light sources according to the light emitting characteristic parameters of the LED light sources and the first transmission requirement information;

[0013] processing the data segments corresponding to the target LED light sources according to each LED light source and a corresponding preset modulation algorithm to obtain corresponding light source control signals;

[0014] controlling the target LED light sources to perform optical information transmission according to the light source control signals.

[0015] Preferably, the determination of the second preset number according to the bandwidth capacity of each LED light source comprises:

[0016] obtaining the minimum bandwidth capacity and the maximum bandwidth capacity of each LED according to each preset modulation algorithm;

[0017] obtaining a mean bandwidth capacity by averaging the minimum bandwidth capacity and the maximum bandwidth capacity;

[0018] determining the second preset number of LEDs by matching the mean bandwidth capacity and the bandwidth requirement parameters.

[0019] Preferably, the obtaining of the mean bandwidth capacity by averaging the minimum bandwidth capacity and the maximum bandwidth capacity comprises:

[0020] obtaining a capacity sum by summing the minimum bandwidth capacity and the maximum bandwidth capacity;

[0021] According to the capacity and the value, an average acquisition mean bandwidth capacity is obtained.

[0022] Preferably, the data division according to the data type and the second preset number obtains data segments, including:

[0023] According to the data type, a corresponding data division strategy is obtained.

[0024] According to the data division strategy, the data segments are obtained by dividing the data to be transmitted.

[0025] Preferably, the data division according to the data division strategy obtains data segments by dividing the data to be transmitted, including:

[0026] If the data type is video, the data segments are obtained by dividing the data to be transmitted according to the number of data frames.

[0027] If the data type is audio, the data segments are obtained by dividing the data to be transmitted according to the data time slice.

[0028] If the data type is text, the data segments are obtained by dividing the data to be transmitted according to the number of data characters.

[0029] Preferably, the second preset number of target LED light sources is determined according to the light-emitting characteristic parameters of the LED light source and the first transmission requirement information, including:

[0030] According to the first transmission requirement information, the second transmission requirement information of each data segment is determined, and the first transmission requirement information includes bandwidth requirement parameters and rate requirement parameters.

[0031] According to the second transmission requirement information, the LED light source is screened to obtain a candidate LED light source, wherein the number of the candidate LED light source is greater than or equal to the second preset number and less than or equal to the first preset number.

[0032] When the number of the candidate LED light source is greater than the second preset number, the second preset number of candidate LED light sources is determined as target LED light sources according to the light-emitting characteristic parameters of the candidate LED light source.

[0033] When the number of the candidate LED light source is equal to the second preset number, the candidate LED light source is taken as the target LED light source.

[0034] Preferably, the corresponding light source control signal is obtained by processing the corresponding data segment according to each LED light source and the corresponding preset modulation algorithm.

[0035] obtaining frequency response characteristics of each of the target LED light sources, wherein the frequency response characteristics include an operating frequency range, a bandwidth capacity, a modulation efficiency, and a maximum transmission rate;

[0036] obtaining second transmission requirement information of each of the data segments, wherein the second transmission requirement information includes a data segment bandwidth requirement, a data segment rate requirement, and a priority;

[0037] calculating a difference between the bandwidth capacity of each of the target LED light sources and the data segment bandwidth requirement of each of the data segments, denoted as a first difference;

[0038] calculating a difference between the maximum transmission rate of each of the target LED light sources and the data segment rate requirement of each of the data segments, denoted as a second difference;

[0039] establishing 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 plurality of target LED light sources satisfying 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;

[0040] sorting each of the initial matching lists in ascending order according to a weighted calculation result of the first difference and the second difference;

[0041] when there are repeated target LED light sources in each of the initial matching lists, removing the repeated target LED light sources according to the priority;

[0042] establishing a mapping relationship between the data segments and the first target LED light source in the corresponding initial matching list;

[0043] determining a target modulation algorithm according to the second transmission requirement information of the data segments, the frequency response characteristics of the target LED light sources corresponding to the data segments, 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;

[0044] encoding and modulating the corresponding data segments according to the target modulation algorithm to obtain corresponding light source control signals.

[0045] Preferably, controlling the corresponding target LED light source to transmit the optical carrier information includes:

[0046] obtaining an ambient light parameter, wherein the ambient light parameter includes an ambient light intensity and an ambient light spectrum distribution;

[0047] When the first preset number is equal to the second preset number, each of the light source control signals is adjusted according to the ambient light intensity, the ambient light spectrum distribution and a preset filtering algorithm to obtain a first target control signal;

[0048] According to the first target control signal, the corresponding target LED light source is controlled to transmit the optical carrier information.

[0049] When the first preset number is greater than the second preset number, each of the light source control signals is adjusted according to the ambient light illumination parameter, a preset filtering algorithm and a preset light intensity to obtain a first target control signal.

[0050] According to the first target control signal, a first actual light emitting intensity of each of the target LED light sources is obtained.

[0051] According to the first actual light emitting intensity, the preset light emitting intensity and the ambient light intensity, a supplementary light emitting intensity is obtained.

[0052] According to the supplementary light emitting intensity, a total target light emitting intensity of the LED light sources other than the target LED light sources is obtained.

[0053] According to the total target light emitting intensity and the ambient light spectrum distribution, a target light emitting intensity of each of the LED light sources other than the target LED light sources is obtained.

[0054] According to the target light emitting intensity, a second target control signal of all unused LED light sources is obtained.

[0055] According to the first target control signal and the second target control signal, the corresponding LED light source is controlled to transmit the optical carrier information.

[0056] In a second aspect, an embodiment of the present application provides a storage medium having computer program instructions stored thereon, and the computer program instructions are executed by a processor to implement the method of the first aspect in the above-mentioned embodiment.

[0057] In summary, the beneficial effects of the present application are as follows:

[0058] The embodiment of the present application provides a kind of light carrying information transmission method based on multi-color light source, by using different wavelength LED light source, cover multiple wavelength intervals, can increase the flexibility and bandwidth of light carrying information transmission system.Each wavelength interval light source can work independently, to realize multi-channel parallel transmission, improve overall transmission capacity and efficiency;According to the type of data and data size segmentation of transmission demand information, ensure that the amount of data segment carried by each LED light source is optimally distributed within its capacity range. This segmentation and scheduling can effectively reduce the conflict and collision during data transmission, improve the stability and reliability of the system, reduce the loss of data transmission. According to the light emitting characteristics of LED light source and transmission demand information, select the most suitable target LED light source, can optimize the signal quality and power efficiency of light carrying information transmission. Selecting the appropriate light source can minimize signal attenuation and distortion during transmission, ensuring the reliability and stability of data transmission. According to the target LED light source and transmission demand 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 light carrying information transmission system can still maintain efficient operation in a variety of complex scenarios. Through light source control signal, the target LED light source can be accurately controlled, and the efficient transmission of light carrying information can be realized. BRIEF DESCRIPTION OF DRAWINGS

[0059] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the embodiments of the present application will be briefly introduced below. For those skilled in the art, without creative labor, other drawings can also be obtained according to these drawings, and these are within the protection scope of the present application.

[0060] Figure 1 It is a flowchart of the light carrying information transmission method based on full spectrum of the embodiment of the present application.

[0061] Figure 2 It is a flowchart of the light carrying information transmission method based on full spectrum of the embodiment of the present application.

[0062] Figure 3 It is a flowchart of the light carrying information transmission method based on full spectrum of the embodiment of the present application.

[0063] Figure 4 It is a structural schematic diagram of the light source equipment of the embodiment of the present application. DETAILED DESCRIPTION

[0064] The features and exemplary embodiments of the various aspects of the present application will be described in detail below with reference to the drawings. The following detailed description is merely intended to teach a person skilled in the art how to make and use the best mode of the present application and is not intended to limit the scope of the application. The following examples are merely illustrative of the present application and are not intended to limit the scope of the present application. The present application can be implemented in other ways without departing from the spirit and essential characteristics of the present application. The embodiments described below are merely to provide a better understanding of the present application.

[0065] It should be noted that the relative terms such as first and second, and the like are used herein only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between such entities or operations. Moreover, the terms "comprises", "comprising", or any other variations thereof are intended to cover a non-exclusive inclusion, so that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without more limitations, the elements defined by the statement "comprise" do not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the elements.

[0066] It should be noted that all actions of obtaining signals, information or data in the present application are carried out in compliance with the corresponding data protection regulations and policies of the place, and with the authorization given by the owner of the corresponding device.

[0067] Embodiment 1

[0068] The embodiment of the present application provides a full-spectrum-based optical information transmission method, applied to a transmitting end, the transmitting end comprising a full-spectrum semiconductor light-emitting device, the full-spectrum semiconductor light-emitting device comprising a first preset number of monochromatic light sources with different light-emitting wavelengths, and the adjustment range of the light-emitting wavelength of each monochromatic light source belongs to different wavelength intervals.

[0069] In particular, the full-spectrum light emitting device refers to a light emitting device that can emit light covering the entire visible light spectrum, and even including ultraviolet and infrared light. It is usually composed of multiple monochromatic light sources, each emitting light of a specific wavelength. By combining monochromatic light sources of different wavelengths, the emission end can generate a light signal covering the entire spectrum. This can achieve higher optical communication efficiency, as different wavelengths of light can transmit more data in the same channel. The device contains a first predetermined number of monochromatic light sources, meaning the number of monochromatic light sources designed in the device is fixed and known. These monochromatic light sources are made of semiconductor materials such as LEDs (Light Emitting Diodes) or LDs (Laser Diodes), each with a specific light emitting wavelength. The light emitting wavelength of the monochromatic light source 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;

[0070] The first predetermined number of monochromatic light sources refers to the number of monochromatic light sources integrated in the light emitting device. These monochromatic light sources can be different channels of LED chips or different LED elements in LED modules, each emitting light with fixed wavelength characteristics;

[0071] The wavelength of light emitted by each monochromatic light source is in a different wavelength interval on the spectrum. For example, it can include monochromatic light sources covering different wavelength ranges such as red, green and blue. This intervalized wavelength distribution can optimize the diversity and flexibility of the optical information transmission system;

[0072] The combination of these features enables the optical information transmission system to utilize light sources of different wavelengths to transmit data, with each wavelength interval of monochromatic light sources being able to 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 optical requirements in different application scenarios, such as the need for high color reproduction performance or higher transmission rates, etc.

[0073] In a specific embodiment, the first preset number is 4, respectively denoted as a first monochromatic light source, a second monochromatic light source, a third monochromatic light source and a fourth monochromatic light source; the first monochromatic light source has a wavelength within 480-520 nm, the second monochromatic light source has a wavelength within 530-540 nm, the third monochromatic light source has a wavelength within 640-660 nm, and the fourth monochromatic light source has a wavelength within 680-700 nm; the first monochromatic light source, the second monochromatic light source, the third monochromatic light source and the fourth monochromatic light source are all excited by blue light chips, the blue light chips at least include first blue light chips and second blue light chips, the peak wavelengths of the first blue light chips and the second blue light chips are in the same wavelength range but different, and the use of the blue light chips with different peak wavelengths can cover a wider range of blue light; the main wavelength of the blue light chip is between 447-457 nm after the combination of the first blue light chips and the second blue light chips.

[0074] In this embodiment, each monochromatic light source covers a different wavelength range, which can achieve extensive spectral coverage. This design enables the optical information transmission system to transmit data through different wavelengths of light, improving the system's bandwidth and transmission capacity. Different wavelength light sources can better reproduce the spectral components of natural light, improving color reproduction. This is particularly important in applications 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, with each monochromatic light source operating independently without mutual interference. This design can improve data transmission rate and efficiency, meeting large bandwidth requirements. By combining first blue light chips and second blue light chips, a wider range of blue light (447-457 nm) can be covered. The use of blue light chips with different peak wavelengths can provide more stable and uniform blue light excitation sources, 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 human eye perception. The main wavelength of the blue light chip is between 447-457 nm, which is in a wavelength range that is less perceptible to the human eye, helping to reduce visual fatigue and discomfort.

[0075] See Figure 1 , the method comprises:

[0076] S1, according to the first transmission requirement information of the to-be-transmitted data, the to-be-transmitted data is segmented to obtain a second preset number of data segments, wherein the second preset number is less than or equal to the first preset number;

[0077] Specifically, the first transmission requirement information refers to the specific requirements of the to-be-transmitted data on transmission rate, bandwidth, delay, priority, etc. Data segmentation splits the original data according to certain rules to form multiple small data segments. In this step, the to-be-transmitted data is segmented according to the first transmission requirement information, so as to facilitate subsequent optimized transmission according to the characteristics of different light sources. According to these requirement parameters, a data segmentation strategy is formulated to segment the to-be-transmitted data into several data segments.

[0078] Data segmentation allows each data segment to be independently optimized according to specific requirements, 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 overall system performance can be improved.

[0079] The number of monochromatic light sources of the semiconductor light-emitting device is limited (first preset number), so the number of segmented data segments (second preset number) cannot exceed this limit. Otherwise, it may not be possible to allocate a monochromatic light source for each data segment. By ensuring that the second preset number is less than or equal to the first preset number, the monochromatic light source resources can be reasonably allocated and utilized, improving the efficiency and stability of optical information transmission.

[0080] If all monochromatic light sources are used, it may increase the interference perceived by the human eye. By controlling the second preset number, some monochromatic light sources can be selectively used to reduce interference and improve concealment. Ensuring that the second preset number does not exceed the first preset number allows flexible scheduling and switching of light sources when needed to respond to changes in data segment requirements and environmental changes.

[0081] Preferably, referring to Figure 2 , the data segmentation of the to-be-transmitted data according to the transmission requirement information of the to-be-transmitted data to obtain a second preset number of data segments comprises:

[0082] S11, obtaining the basic parameters of the to-be-transmitted data, wherein the basic parameters include data type and data size;

[0083] Specifically, the basic parameters are the basic information of the to-be-transmitted data, 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 measured in bytes (B) or bits (b). Obtaining the basic parameters is to understand the nature and size of the to-be-transmitted data, and to prepare for subsequent transmission requirement analysis and data segmentation. The data type is identified through the data header information or predefined rules. For example, reading the MIME type of a file or identifying the data type through a data identifier. Understanding the data type and size allows different segmentation and transmission strategies to be adopted for different types of data, improving transmission efficiency. Accurate measurement of data size helps accurate calculation of subsequent transmission requirements and resource allocation.

[0084] S12, determining first transmission requirement information of the data to be transmitted according to the basic parameters, wherein the first transmission requirement information comprises a bandwidth requirement parameter and a rate requirement parameter;

[0085] Specifically, the first transmission requirement information is transmission requirement information determined according to the data basic parameters, and comprises a bandwidth requirement parameter and a rate requirement parameter. The bandwidth requirement parameter is the frequency bandwidth required for transmitting the data. The rate requirement parameter is the rate required for transmitting the data. According to the data type, the bandwidth requirement and the rate requirement are determined. For example, video data usually requires high bandwidth and high transmission rate, while text data requires relatively low bandwidth and rate. According to the data size and the expected transmission time, the required transmission rate is calculated.

[0086] Standard parameters of the bandwidth requirement and the rate requirement can be set for each data type. For example, video data requires 10 Mbps bandwidth and 30 Mbps transmission rate, and audio data requires 1 Mbps bandwidth and 2 Mbps transmission rate.

[0087] Defining the transmission requirement of each data helps to reasonably allocate transmission resources and ensure transmission quality and efficiency. By pre-setting the transmission parameter standard, the transmission requirement calculation process is simplified, and the adaptability and stability of the system are improved.

[0088] S13, determining the second preset number according to the bandwidth capacity of each monochromatic light source;

[0089] Specifically, the bandwidth capacity is the frequency bandwidth that can be supported by the monochromatic light source. The bandwidth capacity of each monochromatic light source is determined by its hardware characteristics and modulation technology. In an optical information transmission system, the bandwidth capacity of a monochromatic light source is an important indicator for evaluating the data transmission rate that can be supported by the monochromatic light source under a certain modulation technology. The bandwidth capacity of a monochromatic light source can be obtained by different preset modulation algorithms to obtain the minimum and maximum bandwidth capacities of each monochromatic light source under different preset modulation algorithms. In an 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 requirement in all cases. By using the minimum bandwidth capacity, system design and calculation can be simplified, as it avoids the need for complex bandwidth calculation under different modulation technologies. This avoids the risk of insufficient system performance due to not considering certain conditions, and improves the reliability and stability of the system.

[0090] In another embodiment, the bandwidth capacity is the average of the minimum bandwidth capacity and the maximum bandwidth capacity; using the average bandwidth capacity can more accurately reflect the average performance of the single-color light source under different modulation techniques. 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. Using the performance of the light source under average conditions, the resources of the system can be more effectively planned and utilized, improving the overall efficiency of the system. The performance and cost are appropriately balanced, so as not to over-design the system, while meeting the bandwidth demand in actual application scenarios.

[0091] The choice of using the minimum bandwidth capacity or the average bandwidth capacity depends on the specific system requirements and design goals. In actual applications, the two methods can be flexibly selected according to specific circumstances to balance the stability of the system, the accuracy of performance prediction, and the optimal utilization of resources.

[0092] After obtaining the bandwidth capacity of the light source, the total bandwidth demand of the system is compared and matched with the bandwidth capacity of each single-color light source. A sufficient number of single-color light sources are selected so that their total bandwidth capacity can meet or exceed the total bandwidth demand of the system.

[0093] The number of single-color light sources determined by step S23 can effectively utilize spectral resources and ensure that the bandwidth demand for data transmission is met at the physical level. This design can optimize the performance of the system while minimizing energy consumption and waste of spectral resources.

[0094] S14, data division is performed on the to-be-transmitted data according to the data type and the second preset number, to obtain data segments.

[0095] Finally, the to-be-transmitted data is divided into multiple parts, each part is called a data segment, and 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. Through data division, data management and transmission process are simplified, and transmission flexibility and efficiency are improved.

[0096] S2, determining a second preset number of target single-color light sources according to the light-emitting characteristic parameters of the single-color light source and the first transmission demand information;

[0097] Specifically, the light-emitting characteristic parameters include the wavelength, light intensity, frequency response characteristic, bandwidth, modulation efficiency, etc. of the light source. The target single-color light source is a light source used for transmitting a specific data segment, and its characteristics match the demand of the data segment. By matching the characteristics of the single-color light source with the transmission demand of the data segment, the most suitable light source is selected to optimize data transmission. Matching characteristics and demand ensures that each data segment can be transmitted by the most suitable light source, improving transmission efficiency and stability.

[0098] Preferably, determining the second preset number of target monochromatic light sources according to the light emission characteristic parameters of the monochromatic light sources and the first transmission demand information comprises:

[0099] S21, determining second transmission demand information of each data segment according to the first transmission demand information;

[0100] Specifically, based on the characteristics and transmission demand of the data to be transmitted, the specific transmission requirements of each data segment are determined. These requirements will be used for subsequent steps, especially for screening when selecting appropriate monochromatic light sources. According to the data type and transmission demand information (such as bandwidth demand and rate demand), the specific transmission requirements of each data segment are calculated. This ensures that the system has accurate data transmission demand information when selecting target monochromatic light sources. By accurately obtaining and defining the second transmission demand information, it can avoid selecting unsuitable monochromatic light sources, thereby improving the transmission efficiency and reliability of the system. This precise demand definition helps to optimize the design and implementation process of the optical information transmission system.

[0101] S22, screening the monochromatic light sources according to the second transmission demand information to obtain candidate monochromatic light sources, wherein the number of the candidate monochromatic light sources is greater than or equal to the second preset number and less than or equal to the first preset number;

[0102] Specifically, the candidate monochromatic light sources are selected from the first preset number of monochromatic light sources under the premise of meeting the second transmission demand information. By screening the candidate monochromatic light sources, it is ensured that these light sources can theoretically support the transmission demand required by the system. According to the second transmission demand information, the bandwidth capacity and other characteristics of each monochromatic light source are evaluated, and the candidate monochromatic light sources that meet the demand are selected. This step will ensure that the target monochromatic light sources selected later can effectively perform the optical information transmission task in actual application.

[0103] By accurately screening the candidate monochromatic light sources, it can be ensured that the selected target monochromatic light sources have the required transmission capacity, while minimizing the waste of system resources. This screening process helps to optimize system performance and resource utilization, thereby improving the overall efficiency of optical information transmission.

[0104] S23, when the number of candidate monochromatic light sources is greater than the second preset number, determining the second preset number of candidate monochromatic light sources as target monochromatic light sources according to the light emission characteristic parameters of the candidate monochromatic light sources;

[0105] When the number of alternative monochromatic light sources is greater than the second preset number, the most suitable monochromatic light source needs to be selected according to more detailed light emission characteristic parameters and technical capabilities to ensure the optimization of system performance. For alternative monochromatic light sources exceeding the preset number, the most suitable target monochromatic light source is determined by comparing their light emission characteristic parameters (such as spectral distribution, light emission intensity, modulation support capability, etc.).

[0106] In an embodiment, when the number of alternative monochromatic light sources is greater than the second preset number, the second preset number of alternative monochromatic light sources are determined as target monochromatic light sources according to the light emission characteristic parameters of the alternative monochromatic light sources, comprising:

[0107] S231, acquiring the light emission characteristic parameters of each of the alternative monochromatic light sources, wherein the light emission characteristic parameters include light emission wavelength, spectral width and light intensity;

[0108] Specifically, the light emission characteristic parameters of each alternative monochromatic light source are collected and recorded. These parameters will be used for evaluation and sorting in subsequent steps to select the most suitable target monochromatic light source. The light emission wavelength, spectral width and light intensity of each alternative monochromatic light source are measured or obtained using equipment. This may involve using a spectrometer, luminometer or other optical measurement equipment to obtain accurate data. Light emission wavelength refers to the wavelength of light emitted by a monochromatic light source, usually measured in nanometers (nm). Spectral width refers to the distribution range of the light emission wavelength of a monochromatic light source. A narrower spectral width indicates that the wavelength is concentrated in a smaller range. Light intensity refers to the power of light emitted by a monochromatic light source per unit area per unit time.

[0109] S232, acquiring the visual acuity function value of each of the alternative monochromatic light sources according to the light emission wavelength and the visual acuity function;

[0110] Specifically, the visual acuity function refers to the degree of perception of different wavelengths of light by the human eye. 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 with a wavelength of 555 nm, and its visual acuity function value is higher.

[0111] According to the light emission wavelength of the alternative monochromatic light sources, their visual acuity function values in the human eye are calculated. This is an important basis for evaluating the degree of interference of monochromatic light sources on the human eye.

[0112] Using the known visual acuity function of the human eye (such as the CIE standard visual acuity function), combined with the light emission wavelength of the alternative monochromatic light sources, the visual acuity function value of each alternative monochromatic light source is calculated. This can be achieved through mathematical models or specific software.

[0113] S233, determine a human eye interference index of each of the candidate monochromatic light sources according to the visual acuity function value, the light-emitting wavelength, the spectral 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 spectral width and the light intensity.

[0114] Specifically, the human eye interference index is used to quantify the degree of interference of the monochromatic light source on the human eye vision. A higher interference index indicates that the light source more significantly interferes with the human eye.

[0115] The visual acuity function value describes the sensitivity of the human eye to light of different wavelengths. A monochromatic light source with a high visual acuity function value means that the human eye is more sensitive to it. Therefore, in order to reduce the interference perceived by the human eye, monochromatic light sources with lower visual acuity function values are preferred. The spectral width describes the distribution of the light emitted by the monochromatic light source in the wavelength range. The narrower the spectral width, the more concentrated the light-emitting wavelength of the light source in a smaller range, and the less interference to the human eye. The light intensity describes the intensity of the light emitted by the monochromatic light source. Lower light intensity can reduce direct interference to the human eye.

[0116] Taking these factors into account, setting the human eye interference index positively correlated with the visual acuity function value is to prefer monochromatic light sources with lower human eye perception, and negatively correlated with the spectral width and the light intensity is to reduce the interference effect of the light source on the human eye as much as possible. This setting can effectively optimize the performance of the optical information transmission system and improve user experience.

[0117] S234, sort the candidate monochromatic light sources according to the order of the human eye interference index from large to small, and select the first second preset number of candidate monochromatic light sources as the target monochromatic light sources.

[0118] Specifically, when determining the target monochromatic light source, the light source with less human eye interference is preferred to reduce the perceived interference to the human eye in the optical information transmission process. According to the human eye interference index, the candidate monochromatic light sources are arranged in the order of interference degree from high to low. According to the calculated human eye interference index, the candidate monochromatic light sources are sorted in the order of index value from large to small. The first second preset number of monochromatic light sources are selected as the target monochromatic light sources. This process can be realized by programming algorithm or manual sorting method.

[0119] S24, when the number of the candidate monochromatic light sources is equal to the second preset number, the candidate monochromatic light sources are taken as the target monochromatic light sources.

[0120] When the number of candidate monochromatic light sources is exactly equal to the second preset number, the system directly takes these monochromatic light sources as the target without further screening or selection.

[0121] S3, processing the data segments corresponding to the respective target monochromatic light sources according to the target monochromatic light sources and the corresponding preset modulation algorithms, to obtain corresponding light source control signals;

[0122] Specifically, the preset modulation algorithm is an algorithm for modulating signals, such as pulse position modulation (PPM), orthogonal frequency division multiplexing (OFDM), etc., and the light source control signal is a signal for controlling the light-emitting characteristics of the light source, used to realize the optical information transmission of the data segments.

[0123] This step modulates and processes the data segments to convert them into a signal form suitable for light source transmission, generates light source control signals, and first selects the most suitable preset modulation algorithm according to the frequency response characteristics of the target monochromatic light source and the transmission requirements. The data segments are processed according to the modulation algorithm to generate corresponding modulation signals. The modulation signals are converted into light source control signals to control the light-emitting characteristics (such as frequency, intensity, waveform, etc.) of the light source to realize the optical information transmission of the data.

[0124] 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-emitting characteristics of the light source, ensuring that the data segments maintain high quality and low interference during optical information transmission.

[0125] Preferably, the processing of the data segments corresponding to the respective target monochromatic light sources according to the target monochromatic light sources and the corresponding preset modulation algorithms to obtain corresponding light source control signals comprises:

[0126] S31, according to the frequency response characteristics of the target monochromatic light source and the second transmission requirement information, establishing a mapping relationship between the target monochromatic light source and each of the data segments;

[0127] Specifically, each monochromatic light source has its specific frequency response characteristics, i.e. the frequency range and efficiency it can respond to and transmit. The second transmission requirement information is determined according to the nature of the data to be transmitted and the target requirements, including bandwidth requirements, transmission rate, etc. These requirement information determines how many monochromatic light sources are needed to transmit data. According to the frequency response characteristics of the target monochromatic light source and the second transmission requirement information, determine which monochromatic light source each data segment is assigned to. Correctly establishing the mapping relationship between the target monochromatic light source and the data segments can maximize the efficiency and reliability of optical information transmission. By fully utilizing the frequency response characteristics of the monochromatic light source and the appropriate modulation algorithm, the data transmission process can be optimized to ensure the accuracy and real-time performance of data transmission.

[0128] Preferably, the mapping relationship between the target monochromatic light source and each of the data segments is established according to the frequency response characteristics of the target monochromatic light source and the second transmission requirement information, comprising

[0129] S311, obtaining the frequency response characteristics of each target monochromatic light source, wherein the frequency response characteristics include: operating frequency range, bandwidth capacity, modulation efficiency and maximum transmission rate;

[0130] The purpose of this step is to collect and understand the data of each target monochromatic light source on the frequency response characteristics, which will be used in subsequent steps, especially in selecting appropriate modulation algorithm and determining data segment allocation. The frequency response characteristics of each target monochromatic light source can be obtained by experimental measurement or manufacturer's specification table. Operating frequency range, light source bandwidth, modulation efficiency and maximum transmission rate usually vary according to the physical structure and material properties of the light source. Determining the frequency response characteristics of each monochromatic light source helps to select the most suitable light source for specific data transmission requirements. For example, high bandwidth and modulation efficiency can support higher data rate, while wider operating frequency range can adapt to different application scenarios, improving the flexibility and reliability of the system.

[0131] S312, obtaining the second transmission requirement information of each data segment, wherein the second transmission requirement information includes: data segment bandwidth requirement, data segment rate requirement and priority;

[0132] The purpose of this step is to determine the transmission requirements of each data segment, including bandwidth and rate, and their priority order. These information will guide the selection of appropriate light source and modulation algorithm to achieve the best data transmission effect. By obtaining the specific transmission requirements of each data segment, the system can match appropriate monochromatic light source and modulation algorithm according to these requirements, so as to realize the effective use of resources and the optimization of data transmission. Priority information can ensure that high priority data segments get enough bandwidth and rate support in the transmission process, thereby improving the overall performance and response ability of the system.

[0133] S313, calculating the difference between the bandwidth capacity of each target monochromatic light source and the data segment bandwidth requirement of each data segment, denoted as the first difference;

[0134] Specifically, evaluate whether the bandwidth capacity of each target monochromatic light source is sufficient to meet the bandwidth requirement of the data segment. The first difference calculated reflects the potential matching degree of each monochromatic light source in terms of bandwidth. For each target monochromatic light source, first determine its bandwidth capacity, then compare it with the bandwidth requirement of each data segment. The first difference is the result of bandwidth capacity minus data segment bandwidth requirement. By calculating the first difference, we can quickly screen out which monochromatic light source can potentially meet the bandwidth requirement of the data segment, which helps to accurately match the light source and the data segment, and improves the transmission efficiency and performance of the system.

[0135] S314、Calculate the difference between the maximum transmission rate of each target monochromatic light source and the data segment rate requirement of each data segment, denoted as the second difference value;

[0136] The purpose of this step is to evaluate the matching ability of each target monochromatic light source in terms of rate. The calculation result of the second difference value reflects the potential matching degree of each monochromatic light source in terms of rate requirement. For each target monochromatic light source, its maximum transmission rate is determined and compared with the rate requirement of each data segment. The calculation of the second difference value is the result of the maximum transmission rate minus the data segment rate requirement. By calculating the second difference value, it can be quickly determined which monochromatic light sources can meet the data segment's demand in terms of rate. This helps to avoid selecting light sources with insufficient rate, improving the stability and reliability of data transmission.

[0137] S315、According to the first difference value and the second difference value, establish an initial matching list for each data segment, wherein the initial matching list includes a plurality of target monochromatic light sources that meet the preset transmission condition, and the preset transmission condition includes that the first difference value is greater than or equal to a first difference value threshold and the second difference value is greater than or equal to a second difference value threshold;

[0138] Specifically, according to the calculated first difference value and second difference value, those target monochromatic light sources with bandwidth capacity and maximum transmission rate meeting the data segment's demand are screened out. The initial matching list includes a plurality of target monochromatic light sources that meet the preset transmission condition, and the preset transmission condition includes that the first difference value is greater than or equal to a first difference value threshold and the second difference value is greater than or equal to a second difference value threshold.

[0139] The threshold of the first difference value is set to ensure that the selected monochromatic light source has sufficient bandwidth to support the transmission requirements of the data segment. Generally, if the first difference value 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 requirement of the data segment, thereby ensuring that there will be no bandwidth shortage. The threshold of the second difference value is set to ensure that the transmission rate of the selected monochromatic light source is sufficient to meet the rate requirement of the data segment. This difference value must be greater than or equal to a certain threshold to ensure that the light source will not produce a bottleneck due to insufficient rate in actual transmission.

[0140] Each data segment has its own initial matching list, which is based on technical calculation results. Establishing the initial matching list helps the system quickly screen out the best choice from a large number of possible monochromatic light sources, saving computing resources and time cost, while ensuring the transmission quality and efficiency of the data segment.

[0141] S316、According to the weighted calculation result of the first difference value and the second difference value, sort each initial matching list in ascending order;

[0142] Specifically, for each initial matching list of data segments, a weighted score (usually a linear combination of the first difference and the second difference) is calculated, and then the target monochromatic light sources are sorted in ascending order according to the scores. Sorting the initial matching list can help the system prioritize those monochromatic light sources that are most suitable in terms of bandwidth and speed, thereby optimizing the selection of data transmission and resource utilization.

[0143] S317、When there are repeated target monochromatic light sources in each of the initial matching lists, the repeated target monochromatic light sources are removed according to the priority order;

[0144] Specifically, when the same monochromatic light source is found in the initial matching lists of multiple data segments, the repeated light source is removed according to the priority order of the data segment it is in, and the highest-scoring light source in each data segment is retained. Removing the repeated target monochromatic light sources can ensure that the light source selected by the system is the optimal choice, avoiding waste and conflict of resources, while improving the stability and reliability of data transmission.

[0145] S318、Establish a mapping relationship between the data segment and the first target monochromatic light source in the corresponding initial matching list.

[0146] For each data segment, the first monochromatic light source in its sorted initial matching list is selected as the final choice, and the selection is mapped to the data segment. Establishing a mapping relationship between the data segment and the first light source in the initial matching list can speed up the system's response and processing of the data segment, ensuring that each data segment receives the best transmission support and optimizing the performance and efficiency of the system.

[0147] S32、According to the second transmission requirement information of the data segment, the frequency response characteristics of the target monochromatic light source corresponding to the data segment, and the preset modulation algorithm, wherein the preset modulation algorithm includes: PPM modulation algorithm, PAM modulation algorithm, QAM modulation algorithm and OFDM modulation algorithm;

[0148] 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 the combination of amplitude and phase, and the OFDM modulation algorithm divides the data segment into multiple subcarriers for parallel transmission, improving the spectral utilization rate.

[0149] According to the second transmission requirement information (such as transmission rate, signal-to-noise ratio requirement) of each data segment, in combination with the frequency response characteristics of the target monochromatic light source, a suitable preset modulation algorithm is selected. According to the frequency response characteristics of the target monochromatic light source, the modulation technology suitable for it is analyzed, and the best modulation mode 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 algorithm can be selected.

[0150] Preferably, the second transmission requirement information of the data segment, the frequency response characteristics of the target monochromatic light source corresponding to the data segment, and the preset modulation algorithm comprise:

[0151] S321, according to the frequency response characteristics of the target monochromatic light source corresponding to the data segment, a plurality of preset modulation algorithms satisfying the corresponding second transmission requirement information are allocated to each data segment, denoted as first intermediate modulation algorithm;

[0152] The purpose of this step is to select a suitable modulation algorithm according to the transmission requirement of each data segment and the frequency response characteristics of the target monochromatic light source, which is used to convert the data segment into a corresponding optical signal. For each data segment, its transmission requirement is analyzed, and then according to the frequency response characteristics of the target monochromatic light source, a preset modulation algorithm is selected which can most effectively utilize the characteristics of the light source and meet the requirements of the data segment.

[0153] S322, obtaining the estimated optical pulse frequency of the data segment after being modulated by the corresponding first intermediate modulation algorithm;

[0154] Specifically, the estimated optical pulse frequency is the frequency of the optical signal generated after the modulation algorithm processing, that is, the basic frequency characteristic of the optical signal after the data segment is converted. For each data segment, the selected first intermediate modulation algorithm is applied to calculate the estimated optical pulse frequency. For example, but not limited to, 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. The acquisition of the estimated optical pulse frequency helps the system designer to understand the optical signal characteristics of each data segment after modulation, and further optimizes the optical transmission efficiency and performance of the system.

[0155] S323, according to the light-emitting wavelength of each target monochromatic light source, obtaining the corresponding critical flicker frequency;

[0156] Specifically, the critical flicker fusion frequency (CFF) of different wavelengths of light to the human eye is different. The CFF refers to the frequency at which the human eye cannot distinguish the flicker of a light source and considers it to be continuous. The visual sensitivity of short-wavelength light is higher, and the human eye is more likely to perceive the flicker of blue light. Therefore, a higher frequency is required to achieve imperceptibility. The visual sensitivity of long-wavelength light is lower, and therefore the flicker frequency of red and infrared light can be lower, but still achieve imperceptibility. When selecting the modulation algorithm and light source, the effect of the wavelength of the light source on the CFF should be considered to ensure the realization of imperceptible communication effect.

[0157] S324, according to the critical flicker fusion frequency and the estimated light pulse frequency, screening the first intermediate modulation algorithm of each data segment to obtain a plurality of second intermediate modulation algorithms;

[0158] Specifically, the estimated light pulse frequency is compared with the critical flicker fusion frequency of the target monochromatic light source. If the estimated frequency is greater than the critical flicker fusion frequency, the current first intermediate modulation algorithm is considered acceptable and is recorded as a second intermediate modulation algorithm. By screening the second intermediate modulation algorithm, the system can optimize the selection of the most suitable modulation algorithm according to the light-emitting characteristics of the light source and the expected light pulse frequency.

[0159] In an optical information transmission system, users generally hope to obtain efficient data transmission under the condition of moderate brightness of the light source. Selecting a modulation algorithm with an estimated frequency greater than the critical flicker fusion frequency can effectively reduce or eliminate the perception of flicker by the human eye, improving user experience. In practical applications, selecting a modulation algorithm that can ensure the stability of the light source and does not cause eye discomfort is particularly important in the fields of optical communication and display technology. Such selection not only meets the technical performance requirements, but also improves the universality and acceptability of technical applications.

[0160] S325, determining the target modulation algorithm of each data segment according to the second intermediate modulation algorithm.

[0161] 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 emission wavelength and light pulse frequency. Each second intermediate modulation algorithm has its specific modulation method and frequency characteristics, suitable for different light sources and transmission conditions. According to actual requirements and system design goals, the optimal second intermediate modulation algorithm is selected as the target modulation algorithm for each data segment. When determining the target modulation algorithm, the modulation efficiency, noise immunity, frequency utilization rate and other indicators need to be considered comprehensively to ensure the expected data transmission quality in optical information transmission.

[0162] S33, encode and modulate the corresponding data segment according to the target modulation algorithm to obtain a corresponding light source control signal.

[0163] The digital data segment to be transmitted is converted into a signal format that meets the requirements of the selected modulation algorithm. For example, for QAM modulation, the data segment is divided into symbols, each symbol representing a combination of multiple bits. The encoded data is mapped to a signal form that the light source can handle, and the light source control signal after modulation processing can directly drive the monochromatic light source 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 segment.

[0164] S4, according to the light source control signal, control the corresponding target monochromatic light source to transmit optical information.

[0165] Specifically, the light source control signal is input to the corresponding light source drive circuit. The drive circuit adjusts the light emission characteristics of the light source according to the control signal to emit optical information. Ensure that the emission characteristics (such as frequency, intensity, etc.) of the light source meet the preset transmission requirements to ensure the transmission quality of the data segment. Through the process of data segmentation, light source matching, modulation processing and control emission, efficient full-spectrum light source optical information transmission can be achieved. Each step is explained and optimized in detail for specific technical features, making the entire system significantly improve in data transmission efficiency, stability and concealment.

[0166] Preferably, the light source control signal is used to control the corresponding target monochromatic light source to transmit optical information, comprising:

[0167] S41, obtain environmental light parameters, wherein the environmental light parameters include environmental light intensity and environmental light spectrum distribution;

[0168] Specifically, the environmental light intensity represents the intensity level of light in a particular environment, and the environmental light spectrum distribution describes the distribution of different wavelengths of light in the environment, covering a wavelength range from ultraviolet to infrared. This step obtains the optical characteristic data in the environment, which is crucial for adjusting the light source control signal to adapt to the current environmental conditions. Environmental light parameters affect the selection and setting of light sources in the optical information transmission system.

[0169] According to the specific application scenario, use sensors or measuring devices to obtain the data of environmental light intensity and spectrum distribution. The environmental light intensity can be measured by a light sensor to represent the intensity level of the light in numerical form. The environmental light spectrum distribution can be obtained by spectral analysis instruments or spectral measurement devices to obtain the distribution of different wavelengths of light in the environment.

[0170] S42, when the first preset number is equal to the second preset number, adjusting each light source control signal according to the ambient light intensity and spectrum distribution and a preset filtering algorithm to obtain a first target control signal;

[0171] The preset filtering algorithm is an algorithm for adjusting the light source control signal to meet specific transmission requirements, usually involving signal filtering and adjustment parameters. When the first preset number is equal to the second preset number, it means that the existing number of light sources is equal to the expected matching number, and no additional light source adjustment is needed. At this time, according to the ambient light parameters (intensity and spectrum distribution) and the preset filtering algorithm, the control signal of the light source is adjusted, so that the generated communication light pulse is as matched as possible with the spectrum and intensity of the ambient light, thereby improving the efficiency and reliability of the communication system.

[0172] The adjustment can include:

[0173] Brightness adjustment: according to the ambient light intensity, adjust the brightness of the light source to keep relative balance with the ambient light, avoid spectral overlap causing signal interference.

[0174] Frequency adjustment: according to the preset light source frequency range and the ambient light spectrum distribution, adjust the working frequency of the light source to avoid spectral overlap and interference.

[0175] Waveform adjustment: according to the specific shape of the ambient light spectrum, adjust the waveform characteristics of the light source, such as pulse width, pulse interval, etc., so that the generated communication light pulse is as matched as possible with the ambient light spectrum.

[0176] S43, according to the first target control signal, control the corresponding target monochromatic light source to transmit the light-carried information;

[0177] The first target control signal is the adjusted signal generated according to the foregoing steps, which contains the related parameters of the light-carried information to be transmitted, such as frequency, intensity, waveform, etc. Apply the first target control signal to the target monochromatic light source, change the characteristics of the light source (such as light intensity, frequency, phase, etc.), and carry the required information on the light carrier. According to the characteristics of the modulation signal, generate light pulses that can contain the data to be transmitted in the light carrier signal.

[0178] S44, when the first preset number is greater than the second preset number, adjusting each light source control signal according to the ambient light parameters, a preset filtering algorithm and a preset light intensity to obtain a first target control signal;

[0179] Specifically, this step is similar to step S42, which will not be described in detail here.

[0180] S45, obtaining a second target control signal of the unused monochromatic light source according to the first target control signal, the ambient light parameter and the preset light intensity;

[0181] When the first preset number is greater than the second preset number, there can be multiple unused monochromatic light sources available. According to the first target control signal, the ambient light parameter and the preset light intensity, the control signal of the unused monochromatic light source is calculated and obtained. These control signals are designed to supplement or enhance the performance of the current transmission system.

[0182] Preferably, the second target control signal of the unused monochromatic light source is obtained according to the first target control signal and the ambient light parameter, and the second target control signal of the unused monochromatic light source is obtained according to the first target control signal and the ambient light parameter.

[0183] S451, obtaining a first actual light intensity of each target monochromatic light source according to the first target control signal;

[0184] According to the first target control signal, the system obtains the current first actual light intensity of each target monochromatic light source. This includes the current brightness, frequency, phase and other parameters of the light source, which are adjusted by the control signal to adapt to the communication demand and environmental conditions.

[0185] S452, obtaining a supplementary light intensity according to the first actual light intensity, the preset light intensity and the ambient light intensity;

[0186] Specifically, the system pre-sets the light intensity level that each light source should reach 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. According to the difference between the first actual light intensity and the preset light intensity, and the influence of the ambient light intensity, the system calculates the light intensity that needs to be supplemented. This process ensures that each light source can meet the communication required light intensity while making full use of the environmental conditions.

[0187] S453, obtaining a total target light intensity of the monochromatic light source other than the target monochromatic light source according to the supplementary light intensity;

[0188] According to the requirement of the supplementary light intensity, the system evaluates other available monochromatic light sources other than the target monochromatic light source. The system may consider the unused light sources and their light emitting characteristics and availability.

[0189] S454, obtaining a target light intensity of each monochromatic light source other than the target monochromatic light source according to the total target light intensity and the ambient light spectrum distribution;

[0190] Based on the environmental spectral distribution and the characteristics of each unused monochromatic light source, the system determines the specific luminous intensity that each monochromatic light source needs to achieve. These target luminous intensities are designed to match the spectral characteristics of the current environment, thereby maximizing the effectiveness of information transmission.

[0191] Through the above steps, the system can dynamically adjust the control signal of unused monochromatic light sources according to actual environmental conditions to optimize the transmission effect of optical information. This real-time adjustment and optimization ensures that the optical communication system maintains efficient and stable operation in different environments.

[0192] S455. Based on the target luminous intensity, obtain the second target control signal for all unused monochromatic light sources;

[0193] Finally, based on the target luminous intensity, the second target control signals for all unused monochromatic light sources are obtained. This allows for dynamic adjustment of the control signals for the unused monochromatic light sources according to actual environmental conditions, optimizing the transmission effect of optical information. This real-time adjustment and optimization ensures that the optical communication system maintains efficient and stable operation in various environments.

[0194] S46. Based on the first target control signal and the second target control signal, control the corresponding monochromatic light source to transmit optical information.

[0195] 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 light source already determined for data transmission, while the second target control signal is supplementary control to utilize unused monochromatic light sources. Guided by the first and second target control signals, the system adjusts the luminous intensity, frequency, or waveform of the corresponding monochromatic light source to ensure that the transmission of optical information can proceed under the expected spectral and intensity conditions.

[0196] In practical applications, the system may continuously monitor ambient lighting parameters and the effectiveness of optical information transmission. Based on this information, the first and second target control signals can be dynamically adjusted to adapt to environmental changes or optimize transmission performance.

[0197] Preferably, see Figure 3 After controlling the corresponding target monochromatic light source to transmit optical information according to the light source control signal, the method further includes:

[0198] S5. Real-time monitoring of information transmission quality to obtain communication quality monitoring results for each target monochromatic light source, wherein the communication quality monitoring results include signal strength, bit error rate, and transmission delay;

[0199] Specifically, the signal characteristics of each target monochromatic light source are monitored in real time using sensors or detectors, including the intensity of the light signal emitted, the error code condition, and the time delay of information arrival. Signal intensity refers to the intensity or power of the light signal. The stronger the signal intensity, the better the stability and anti-interference ability of information transmission. Error rate refers to the proportion of the number of bits received incorrectly in the total number of bits received during transmission. The lower the error rate, the higher the accuracy of information transmission. Transmission delay refers to the time required for information to be transmitted from the sending end to the receiving end. The smaller the delay, the better the timeliness of communication.

[0200] By monitoring the transmission quality in real time, potential problems that may occur during information transmission of the light source, such as a decrease in signal intensity, an increase in error rate, or an increase in transmission delay, can be detected in a timely manner, so that adjustments or switching can be made before the problem worsens, thereby maintaining the communication performance and stability of the system.

[0201] S6, when the signal intensity of a target monochromatic light source is less than a preset signal intensity threshold, and / or the error rate is greater than a preset error rate threshold, and / or the data transmission delay is greater than a preset delay threshold, the target monochromatic light source is selected as a to-be-switched light source;

[0202] Specifically, the preset signal intensity threshold refers to the lowest acceptable limit set by the system for signal intensity during operation. When the signal intensity is lower than this threshold, the system considers that the transmission performance of the current light source is insufficient and needs to take measures. The preset error rate threshold refers to the highest acceptable limit set by the system for error rate. Exceeding this limit means that the error rate of the data is too high and the reliability of 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 unsatisfactory timeliness of communication.

[0203] The real-time monitored signal intensity, error rate, and transmission delay are continuously compared with the preset thresholds. When any of the indicators does not meet the preset requirements, the system marks the light source as a "to-be-switched light source" and begins to prepare to find other light sources to take over the current transmission task.

[0204] This step effectively ensures that the system can respond in a timely manner when the transmission quality decreases, avoiding data loss or communication interruption caused by long-term low-quality transmission. By marking the to-be-switched light source in advance, the system can switch before the problem worsens, thereby maintaining the stability of the overall communication performance.

[0205] S7, according to the data segment corresponding to the to-be-switched light source, at least one monochromatic light source is determined as a target switched light source;

[0206] Specifically, first, the data segment responsible for the to-be-switched light source is analyzed to determine its specific transmission requirements, including bandwidth requirements, rate requirements, and priority, etc. According to these requirements, the system will screen the light sources that can meet these requirements from the unused light sources as the target switching light sources. If all the light sources are already in use, the system will further analyze the load of the light sources in use and select the light source with lighter load and suitable data segment characteristics as the target switching light source.

[0207] S8, according to the preset light source switching rule, control the target switching light source to transmit the data segment corresponding to the to-be-switched light source.

[0208] Specifically, the preset light source switching rule is a series of rules or strategies that the system follows when switching light sources. These rules may include considerations of data segment splitting ratio, switching time, switching priority, light source utilization efficiency, etc.

[0209] Preferably, according to the data segment corresponding to the to-be-switched light source, determining at least one single-color light source as a target switching light source, comprises:

[0210] S71, obtaining second transmission requirement information of the data segment corresponding to the to-be-switched light source, wherein the second transmission requirement information includes data segment bandwidth requirement, data segment rate requirement and priority;

[0211] Specifically, the second transmission requirement information refers to the data segment transmission conditions required to be met by the to-be-switched light source. It includes bandwidth requirement (bandwidth required for transmission of data volume), rate requirement (data volume transmitted per unit time) and priority. Obtaining accurate transmission requirement information ensures that the target light source selected when switching light sources can meet the transmission requirements of the current data segment, to ensure the continuity and quality of data transmission.

[0212] S72, buffering the data segment corresponding to the to-be-switched light source to obtain a buffered data segment;

[0213] Specifically, the data segment of the to-be-switched light source is temporarily stored in the buffer to prevent the data segment from being interrupted during the switching process. The buffering mechanism can ensure that the data segment will not be lost or delayed due to the switching process when switching light sources, greatly improving the reliability of the system.

[0214] S73, when the second preset number is less than the first preset number, obtaining the single-color light source other than the target single-color light source as a first alternative switching light source;

[0215] Specifically, when the second preset quantity is less than the first preset quantity, it means that the current system still has light source resources that are not used for optical information transmission. The system selects candidate light sources from the unused light sources that can be used for replacement to increase the selection flexibility of light source switching. The system marks the current unused light sources (i.e., non-target monochromatic light sources) as "first alternative switching light sources". 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.

[0216] S74, acquiring a wavelength similarity between a light-emitting wavelength of each of the first alternative switching light sources and a light-emitting wavelength of the to-be-switched light source;

[0217] Specifically, the wavelength similarity refers to the similarity between the light-emitting wavelengths of the alternative light source and the to-be-switched light source. The higher the wavelength similarity, the closer the spectral characteristics of the two light sources, and the more consistent the performance of the light source after switching. According to the similarity, the system can preferentially consider 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 perform consistently in terms of color, brightness, and the like, which is beneficial to maintaining the consistency of transmission quality and visual effects.

[0218] S75, selecting, as a target switching light source, the first alternative switching light source that meets a preset switching condition according to the wavelength similarity, the second transmission demand information, and a frequency response characteristic of each of the first alternative switching light sources;

[0219] Specifically, first, sorting is performed according to the wavelength similarity, and then, according to the second transmission demand information, further filtering is performed on the light sources that meet the bandwidth and rate requirements. Finally, in combination with the frequency response characteristics of each alternative light source, a light source that can meet the preset condition to the maximum extent is selected as the target switching light source. Through multi-dimensional comprehensive screening, the system can find the optimal light source replacement scheme to ensure that the data transmission performance after switching is guaranteed and performance degradation caused by switching is avoided.

[0220] In an embodiment, the preset switching condition includes that the wavelength similarity must reach or exceed a certain threshold, and / or the 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 light source is at least 10% higher than the rate requirement, that is, a certain margin is left to cope with possible bandwidth fluctuations. In this way, transmission quality degradation caused by insufficient bandwidth after switching can be avoided. Similarly, the maximum transmission rate of the target switching light source is at least 10% higher than the rate requirement, which is similar to the matching condition of the bandwidth capacity, leaving a certain buffer space to ensure transmission stability.

[0221] S76, when the second preset number is equal to the first preset number, obtaining a bandwidth margin of the target monochromatic light source other than the to-be-switched light source according to the communication quality monitoring result;

[0222] The bandwidth margin refers to a part of bandwidth of the light source that has not been occupied when transmitting data. The greater the bandwidth margin, the more transmission capacity of the light source that has not been used. In the case that the light source resources are full, by evaluating the bandwidth margins of the light sources, a light source that can carry more data segments is found to perform light source switching. According to the real-time communication quality monitoring result, the actual bandwidth usage of each target monochromatic light source is calculated to determine the bandwidth margin thereof.

[0223] S77, obtaining a plurality of first alternative switching light source combinations satisfying the second transmission demand information of the data segment corresponding to the to-be-switched light source according to the bandwidth margin, wherein the first alternative switching light source combination includes at least one target monochromatic light source other than the to-be-switched light source, and at least one target monochromatic light source is different between any two first alternative switching color light source combinations;

[0224] Specifically, the first alternative switching light source combination refers to a combination of one or more target monochromatic light sources, which is used to jointly carry the transmission task of the data segment. In the case that the light source resources are limited, the transmission demand of the data segment is met by combining different light sources to improve the resource utilization of the system. The system combines a plurality of light sources according to the bandwidth margin of each target light source to form a light source combination that can jointly meet the transmission demand of the data segment. The light sources in these light source combinations are different at least in one light source between different combinations to ensure diversity and provide more flexible selection space. Each combination meets the second transmission demand. By light source combination, the system can fully utilize the existing resources to avoid the case that a single light source cannot meet the data segment demand, and improve the overall transmission capacity and flexibility of the system.

[0225] S78, screening a plurality of second alternative switching light source combinations according to the frequency response characteristics of the target monochromatic light source in each first alternative switching light source combination and the data segment rate demand of the data segment corresponding to the to-be-switched light source;

[0226] By considering the frequency response characteristics of the light source combination and the data segment rate demand, the light source combination that is most suitable for the current data segment transmission is screened out 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 alternative switching light source combination, the overall frequency response of the combination is calculated and compared with the data segment rate demand of the to-be-switched light source. The light source combination that can meet the rate demand and has better frequency response characteristics is screened out to form the second alternative switching light source combination.

[0227] S79、according to the redundancy degree of each second candidate switch light source combination, the redundancy light source quantity and the redundancy bandwidth capacity are weighted and calculated, wherein the weight of the redundancy light source quantity is greater than the weight of the redundancy bandwidth capacity;

[0228] Specifically, the redundancy degree refers to the degree of redundant configuration of the system in terms of light sources and bandwidth. The system calculates the redundancy light source quantity (i.e., the light source not fully utilized) and the redundancy bandwidth capacity (i.e., the bandwidth not occupied) in each second candidate switch light source combination, and performs weighted calculation. Since the importance of the redundancy light source quantity to the stability of the system is higher than that of the redundancy bandwidth capacity, the system gives greater weight to the redundancy light source quantity when calculating the redundancy degree.

[0229] S710、according to the second candidate switch light source combination with the smallest redundancy degree, the target switch light source is determined.

[0230] Specifically, a smaller redundancy degree means that the utilization efficiency of resources is higher, and this combination is optimized in terms of resource allocation, as it reduces unnecessary use of light sources and bandwidth. After selecting the combination with the smallest redundancy degree, the monochromatic light sources in the combination are determined as the target switch light source. At this time, the system allocates these light sources to the data segments corresponding to the to-be-switched light source for transmission.

[0231] Preferably, the target switch light source is controlled to transmit the data segments corresponding to the to-be-switched light source according to the preset light source switching rule, comprising:

[0232] S81, according to the preset data splitting ratio, the data segments corresponding to the to-be-switched light source are split to obtain first data segments and second data segments;

[0233] Specifically, the preset data splitting ratio refers to the ratio of data segments allocated to different light sources for transmission as pre-set by the system. For example, 70% of the data segments are transmitted by the to-be-switched light source, and 30% are transmitted by the target switch light source. In the switching process, the data segments are split into two parts and allocated to the original light source and the new switch light source for transmission, respectively, to ensure continuous transmission of the data segments and test the transmission effect of the switch light source. By allocating a part of the data segments to the target switch light source, the system can test the performance of the light source in order to decide whether to switch completely.

[0234] S82, according to the preset encoding and modulation algorithm, the to-be-switched light source is controlled to transmit the first data segments and the target switch light source is controlled to transmit the second data segments;

[0235] Specifically, the first data segment is modulated according to a preset coding and modulation algorithm corresponding to the to-be-switched light source, so that the first data segment is transmitted and the second data segment is coded and modulated according to the preset coding and modulation algorithm corresponding to the target switched light source and transmitted, ensuring that the transmission of the two data segments on different light sources can be performed according to the coding and modulation mode set by the system, so as to ensure the accuracy and effectiveness of data transmission.

[0236] S83, according to a preset time interval, acquiring the transmission quality of the second data segment on the target switched light source;

[0237] Specifically, the fixed time interval set by the system is used to periodically check the data segment transmission quality, regularly monitor the transmission effect of the target switched light source, ensure that it can undertake the transmission task of the data segment, and provide data basis for subsequent decision whether to further switch. The transmission quality refers to the signal strength, error rate, transmission delay and other performance indicators of the second data segment when transmitting on the target switched light source.

[0238] S84, if the transmission quality meets the preset quality condition, the preset data splitting ratio is increased according to a preset ratio increment, and the data segment corresponding to the to-be-switched light source is split according to the preset data splitting ratio to obtain the first data segment and the second data segment, until the data segment corresponding to the to-be-switched light source is completely transmitted through the target switched light source;

[0239] Specifically, first, check whether the transmission quality of the target switched light source meets the preset condition. If the transmission quality meets the requirements, that is, the signal strength, error rate, transmission delay and other performance indicators all reach the corresponding threshold, the system gradually increases the data segment allocation ratio of the target switched light source according to the preset ratio increment. This process will be repeated until the data segment on the to-be-switched light source is completely transferred to the target switched light source.

[0240] By gradually increasing the data segment allocation ratio, the system can ensure that the switching process is smooth and avoid data transmission interruption. This incremental switching method can maximize the use of the transmission capacity of the target switched light source under the premise of ensuring quality.

[0241] S85, when the data segment corresponding to the to-be-switched light source is completely transmitted through the target switched light source, acquiring the second actual luminous intensity of each target monochromatic light source and the target switched monochromatic light source;

[0242] Specifically, when the data segment corresponding to the to-be-switched light source is completely transmitted by the target switching light source, that is, after the switching is completed, the actual luminous intensity of the current target switching light source and related light sources is acquired by a sensor or other detection means, and is recorded as a second actual luminous intensity. Real-time acquisition of the actual luminous intensity helps to monitor the running state of the light source, timely adjust the light source parameters, and ensure the best lighting effect and transmission quality.

[0243] S86, acquiring a third light source control signal according to the second actual luminous intensity, a preset luminous intensity, and an ambient light intensity;

[0244] Specifically, by comprehensively evaluating various light intensity parameters, an optimized control signal is generated to adjust the luminous state of the to-be-switched light source, so as to ensure the best lighting. This step can refer to S4351-S4355, and will not be described in detail here.

[0245] S87, controlling the to-be-switched light source to perform lighting according to the third light source control signal.

[0246] Finally, the actual luminous state of the light source is adjusted by the generated control signal, so that the light source can normally operate during and after the switching, and the communication and lighting effect are not affected. This dynamic adjustment mode can enhance the stability and adaptability of the system, and ensure that the best working state can be maintained under different environments and loads.

[0247] Embodiment 2

[0248] In addition, in combination with Figure 1 The full-spectrum-based optical information transmission method of the embodiment of the application described above can be implemented by a light source device. Figure 4 A hardware structure schematic diagram of the light source device provided by the embodiment of the application is shown.

[0249] The light source device can include a processor and a memory storing computer program instructions.

[0250] Specifically, the processor can include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or can be configured as one or more integrated circuits that implement the embodiment of the application.

[0251] The memory can include mass storage for data or instructions. By way of example, and not limitation, the memory can include a hard disk drive (HDD), floppy disk drive, flash memory, compact disk (CD) drive, digital versatile disk (DVD) drive, or combinations of two or more of these. The memory can be removable and / or non-removable (or fixed) as appropriate. The memory can be internal or external as appropriate. In certain embodiments, the memory is non-volatile solid-state memory. In certain embodiments, the memory includes read-only memory (ROM). Where appropriate, this ROM can be mask programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), electrically alterable ROM (EAROM), or flash memory, or combinations of two or more of these.

[0252] The processor implements the above-mentioned any one of the full-spectrum-based optical information transmission methods in the embodiments by reading and executing the computer program instructions stored in the memory.

[0253] In one example, the light source device can further include a communication interface and a bus. Wherein, as shown in Figure 4 The processor 401, the memory 402, and the communication interface 403 are connected through the bus 410 and complete the communication between each other.

[0254] The communication interface is mainly used to realize the communication between the modules, devices, units and / or equipment in the embodiments of the application.

[0255] The bus includes hardware, software, or both, that couples components of the light source device to each other. By way of example, and not limitation, the bus can include an accelerated graphics port (AGP) or other graphics bus, a peripheral component interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a serial advanced technology attachment (SATA) bus, a video electronics standards board (VLB) bus, or another suitable bus or combination of two or more of these. Where appropriate, the bus can include one or more buses. Although the present embodiments describe and show a particular bus, the present application contemplates any suitable bus or interconnect.

[0256] Furthermore, in conjunction with the full-spectrum optical information transmission method in the above embodiments, this invention can be implemented using a computer-readable storage medium. This computer-readable storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the full-spectrum optical information transmission methods described in the above embodiments.

[0257] It should be clarified that the present invention is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are 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. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of the present invention.

[0258] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this invention are programs or code segments used to perform the required tasks. The programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals 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, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0259] It should also be noted that the exemplary embodiments mentioned in this invention describe methods or systems based on a series of steps or apparatus. However, this invention is not limited to the order of the steps described above; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0260] The above description is merely a specific embodiment of the present invention. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the protection scope of the present invention.

Claims

1. A method of optical information transmission based on a polychromatic light source, characterized in that, The method is applied to a transmitting end, and the transmitting end comprises a full-spectrum semiconductor light-emitting device, the full-spectrum semiconductor light-emitting device comprises a first preset number of LED light sources with different light-emitting wavelengths, the adjustment range of the light-emitting wavelength of each LED light source belongs to different wavelength intervals, and the method comprises the following steps: Obtain the basic parameters of the data to be transmitted, wherein the basic parameters include data type, data size; According to the basic parameters, determine the first transmission requirement information of the data to be transmitted, wherein the first transmission requirement information includes bandwidth requirement parameters and rate requirement parameters; According to the bandwidth capacity of each LED light source, determine a second preset number, wherein the second preset number is the number of divided data segments, and the second preset number is less than or equal to the first preset number; According to the data type and the second preset number, divide the data to be transmitted to obtain data segments; According to the light-emitting characteristic parameters of the LED light source and the first transmission requirement information, determine the target LED light source of the second preset number; According to each LED light source and the corresponding preset modulation algorithm, process the data segments corresponding to the corresponding target LED light source to obtain the corresponding light source control signal; According to the light source control signal, control the corresponding target LED light source to transmit the optical carrier information.

2. The method of claim 1, wherein the multi-color light source is a light emitting diode (LED) or a laser diode (LD). According to the bandwidth capacity of each LED, the second preset number is determined, which comprises the following steps: According to each preset modulation algorithm, obtain the minimum bandwidth capacity and the maximum bandwidth capacity of each LED; According to the minimum bandwidth capacity and the maximum bandwidth capacity, the mean value is obtained to obtain the mean bandwidth capacity; According to the mean bandwidth capacity and the bandwidth requirement parameter, the second preset LED number is determined by matching.

3. The method of claim 2, wherein the multi-color light source is a white light source. According to the minimum bandwidth capacity and the maximum bandwidth capacity, the mean value is obtained to obtain the mean bandwidth capacity, which comprises the following steps: The sum of the minimum bandwidth capacity and the maximum bandwidth capacity is obtained to obtain the capacity sum; According to the capacity sum, the mean value is obtained to obtain the mean bandwidth capacity.

4. The multi-color light source based optical information transmission method according to claim 1, characterized in that, According to the data type and the second preset number, the data to be transmitted is divided to obtain data segments, which comprises the following steps: According to the data type, obtain the corresponding data division strategy; According to the data division strategy, divide the data to be transmitted to obtain data segments.

5. The method of claim 4, wherein the multi-color light source is a white light source. According to the data division strategy, the data to be transmitted is divided to obtain data segments, which comprises the following steps: If the data type is video, the data to be transmitted is divided according to the number of data frames to obtain data segments; If the data type is audio, the data to be transmitted is divided according to the data time slice to obtain data segments; If the data type is text, the data to be transmitted is divided according to the number of data characters to obtain data segments.

6. The multi-color light source based optical information transmission method according to claim 1, wherein, According to the light-emitting characteristic parameters of the LED light source and the first transmission requirement information, the target LED light source of the second preset number is determined, which comprises the following steps: According to the first transmission requirement information, determine the second transmission requirement information of each data segment, wherein the first transmission requirement information includes bandwidth requirement parameters and rate requirement parameters; screening the LED light sources according to the second transmission demand information, to obtain candidate LED light sources, wherein the number of the candidate LED light sources 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 LED light sources is greater than the second preset number, determining second preset number of the candidate LED light sources as target LED light sources according to the light emitting characteristic parameters of the candidate LED light sources; when the number of the candidate LED light sources is equal to the second preset number, taking the candidate LED light sources as target LED light sources.

7. The multi-color light source based optical information transmission method according to claim 1, wherein, the processing of the corresponding data segments by the respective target LED light sources according to the respective LED light sources and the corresponding preset modulation algorithms, to obtain the corresponding light source control signals, comprises: obtaining the frequency response characteristics of each of the target LED light sources, wherein the frequency response characteristics comprise: operating frequency range, bandwidth capacity, modulation efficiency and maximum transmission rate; obtaining second transmission demand information of each of the data segments, wherein the second transmission demand information comprises: data segment bandwidth demand, data segment rate demand and priority; calculating the difference between the bandwidth capacity of each of the target LED light sources and the data segment bandwidth demand of each of the data segments, denoted as a first difference value; calculating the difference between the maximum transmission rate of each of the target LED light sources and the data segment rate demand of each of the data segments, denoted as a second difference value; establishing an initial matching list for each of the data segments according to the first difference value and the second difference value, wherein the initial matching list comprises a plurality of target LED light sources satisfying a preset transmission condition, and the preset transmission condition comprises that the first difference value is greater than or equal to a first difference value threshold and the second difference value is greater than or equal to a second difference value threshold; sorting each of the initial matching lists in ascending order according to the weighted calculation results of the first difference value and the second difference value; when there are repeated target LED light sources in each of the initial matching lists, removing the repeated target LED light sources according to the priority; establishing a mapping relationship between the data segments and the first target LED light source in the corresponding initial matching list; determining a target modulation algorithm according to the second transmission demand information of the data segments, the frequency response characteristics of the target LED light sources corresponding to the data segments and a preset modulation algorithm, wherein the preset modulation algorithm comprises: PPM modulation algorithm, PAM modulation algorithm, QAM modulation algorithm and OFDM modulation algorithm; encoding and modulating the corresponding data segments according to the target modulation algorithm, to obtain the corresponding light source control signals.

8. The method of claim 1, wherein, the control of the corresponding target LED light sources for the transmission of light-carried information according to the light source control signals comprises: obtaining an ambient light parameter, wherein the ambient light parameter comprises ambient light intensity and ambient light spectrum distribution; 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 light spectrum distribution and a preset filtering algorithm, to obtain a first target control signal; According to the first target control signal, control the corresponding target LED light source to transmit the optical carrier information; When the first preset number is greater than the second preset number, according to the ambient light parameter, a preset filtering algorithm and a preset light intensity, adjust each light source control signal to obtain a first target control signal; According to the first target control signal, obtain a first actual light intensity of each target LED light source; According to the first actual light intensity, a preset light intensity and the ambient light intensity, obtain a supplementary light intensity; According to the supplementary light intensity, obtain a total target light intensity of the LED light source other than the target LED light source; According to the total target light intensity and the ambient light spectrum distribution, obtain a target light intensity of each LED light source other than the target LED light source; According to the target light intensity, obtain a second target control signal of all unused LED light sources; According to the first target control signal and the second target control signal, control the corresponding LED light source to transmit the optical carrier information.

9. A light source device, characterized by comprising: Comprise: 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 as claimed in any one of claims 1-8.

10. A storage medium having stored thereon computer program instructions, characterized in that, When the computer program instructions are executed by the processor, implement the method as claimed in any one of claims 1-8.

Citation Information

Patent Citations

  • Data transmission method, device and system based on visible light communication

    CN110365410A

  • Optical signal control method, device and system for optical transmitting end

    CN112564801A