Color light lamp illumination control method and terminal equipment

文档序号:766004 发布日期:2021-04-06 浏览:27次 中文

阅读说明:本技术 彩光灯照明控制方法及终端设备 (Color light lamp illumination control method and terminal equipment ) 是由 叶池 马凡 林友钦 张润福 于 2020-12-09 设计创作,主要内容包括:本发明适用于照明设备控制技术领域,提供了一种彩光灯照明控制方法及终端设备,该方法包括:彩光灯包括RGB彩光灯和增加的冷色白光灯和暖色白光灯,通过接收颜色控制指令,对所述颜色控制指令解析,得到颜色控制模式和颜色参数;当所述颜色控制模式为色温模式时,根据所述颜色参数中的色温值计算所述冷色白光灯和所述暖色白光灯的色温混色比值;将所述色温混色比值输出到光源驱动设备中控制光源照明,从而可以满足用户的照明需求,解决现有技术中三基色彩光灯照明效果比较差的问题。(The invention is suitable for the technical field of lighting equipment control, and provides a color light lamp lighting control method and terminal equipment, wherein the method comprises the following steps: the color light lamps comprise RGB color light lamps and additional cold color white light lamps and warm color white light lamps, and the color control commands are received and analyzed to obtain color control modes and color parameters; when the color control mode is a color temperature mode, calculating the color temperature and color mixing ratio of the cold white light lamp and the warm white light lamp according to the color temperature value in the color parameter; the color temperature and color mixing ratio is output to the light source driving equipment to control the light source to illuminate, so that the illumination requirement of a user can be met, and the problem that the illumination effect of the three-primary-color light lamp in the prior art is poor is solved.)

1. A color light lamp illumination control method is characterized in that a color light lamp comprises an RGB color light lamp and a cold color white light lamp and a warm color white light lamp which are added, and the color light lamp illumination control method comprises the following steps:

receiving a color control instruction, and analyzing the color control instruction to obtain a color control mode and color parameters;

when the color control mode is a color temperature mode, calculating the color temperature and color mixing ratio of the cold white light lamp and the warm white light lamp according to the color temperature value in the color parameter;

and outputting the color temperature and color mixing ratio to light source driving equipment to control light source illumination.

2. The method for controlling illumination of a color light lamp according to claim 1, further comprising, after said obtaining the color control pattern and the color parameters:

when the color control mode is a color mode, calculating a color mixing ratio of three primary color light sources of the RGB color light lamp according to color parameter values in the color parameters;

and outputting the color mixing ratio of the three primary color light sources to a light source driving device to control the light source to illuminate.

3. The method of controlling illumination of a color light lamp according to claim 2, wherein after outputting the color temperature and color mixture ratio to a light source driving device for controlling illumination of the light source, or outputting the three primary color light source mixture ratio to a light source driving device for controlling illumination of the light source, further comprising:

when a new color control instruction different from the current lighting mode is received, analyzing the new color control instruction to obtain a target lighting mode, a target color parameter and a command execution time;

calculating the luminous flux of the current illumination mode and the luminous flux of a target illumination mode according to the target color parameters;

calculating a luminous flux change rate according to the command execution time, the luminous flux of the current illumination mode and the luminous flux of the target illumination mode;

according to the luminous flux change rate, adjusting the color mixing ratio between the current illumination mode and the target illumination mode to enable the luminous flux to be in linear smooth transition to the target illumination mode, and obtaining a target color mixing ratio;

and when the starting time of the command execution time is reached, outputting the target color mixing ratio to a light source driving device to control light source illumination.

4. The method for controlling illumination of a color light lamp according to any one of claims 1-3, wherein said calculating the ratio of color temperature and color mixture of the cold color white light lamp and the warm color white light lamp according to the color temperature values in the color parameters comprises:

calculating a standard color temperature parameter according to the color temperature value in the color parameter;

and calculating the color temperature and color mixing ratio of the cold white light lamp and the warm white light lamp according to the standard color temperature parameter.

5. The illumination control method of a color light lamp as claimed in claim 2 or 3, wherein said calculating the color mixture ratio of the three primary color light sources of the RGB color light lamp according to the color parameter values in the color parameters comprises:

converting color parameter values in the color parameters into corresponding tristimulus values;

converting the tristimulus values into color coordinate parameters;

updating the color coordinate parameters according to the color coordinate parameters and the current environment temperature of the RGB color light lamp;

and calculating the color mixing ratio of the three primary color light sources of the RGB color light lamp according to the updated color coordinate parameters.

6. The method for controlling illumination of a color light lamp according to claim 2, wherein outputting the color temperature and color mixture ratio to a light source driving device for controlling illumination of the light source comprises:

outputting the color temperature and color mixing ratio to a light source driving device in a PWM or I2C mode to control light source illumination;

the outputting the three-primary-color light source color mixing ratio to the light source driving device to control the light source illumination comprises:

the three primary color light source color mixing ratio is output to the light source driving device in a PWM or I2C mode to control the light source illumination.

7. The method for controlling illumination of a color light lamp according to claim 3, wherein outputting the target color mixture ratio to a light source driving device for controlling illumination of a light source comprises:

outputting the target color mixture ratio to a light source driving device in a PWM or I2C mode to control light source illumination.

8. A color light lamp lighting control device is characterized in that the color light lamp comprises an RGB color light lamp and an additional cold color white light lamp and a warm color white light lamp; the color light lamp illumination control device comprises:

the analysis module is used for receiving a color control instruction and analyzing the color control instruction to obtain a color control mode and color parameters;

the calculation module is used for calculating the color temperature and color mixing ratio of the cold white light lamp and the warm white light lamp according to the color temperature value in the color parameter when the color control mode is the color temperature mode;

and the output module is used for outputting the color temperature and color mixing ratio to light source driving equipment to control light source illumination.

9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.

Technical Field

The invention belongs to the technical field of lighting equipment control, and particularly relates to a color light lamp lighting control method and terminal equipment.

Background

The existing color light lamp generally adopts red, green and blue three-primary-color light sources for color mixing, is used as atmosphere decoration, and can form a colorful lighting effect. However, the light flux of the three color light sources is relatively small, and the mixed color illumination effect is poor, so that the mixed color illumination can only be used as atmosphere decoration and is poor in illumination brightness.

Disclosure of Invention

In view of this, embodiments of the present invention provide a color light lamp illumination control method and a terminal device, which aim to solve the problem in the prior art that the illumination effect of a three-primary-color light lamp is poor.

In order to achieve the above object, a first aspect of an embodiment of the present invention provides a color light lamp illumination control method, where a color light lamp includes an RGB color light lamp and a cold-color white light lamp and a warm-color white light lamp that are added, and the color light lamp illumination control method includes:

receiving a color control instruction, and analyzing the color control instruction to obtain a color control mode and color parameters;

when the color control mode is a color temperature mode, calculating the color temperature and color mixing ratio of the cold white light lamp and the warm white light lamp according to the color temperature value in the color parameter;

and outputting the color temperature and color mixing ratio to light source driving equipment to control light source illumination.

As another embodiment of the present application, after obtaining the color control mode and the color parameter, the method further includes:

when the color control mode is a color mode, calculating a color mixing ratio of three primary color light sources of the RGB color light lamp according to color parameter values in the color parameters;

and outputting the color mixing ratio of the three primary color light sources to a light source driving device to control the light source to illuminate.

As another embodiment of the present application, after outputting the color temperature and color mixing ratio to a light source driving device to control light source illumination, or outputting the three-primary color light source mixing ratio to a light source driving device to control light source illumination, the method further includes:

when a new color control instruction different from the current lighting mode is received, analyzing the new color control instruction to obtain a target lighting mode, a target color parameter and a command execution time;

calculating the luminous flux of the current illumination mode and the luminous flux of a target illumination mode according to the target color parameters;

calculating a luminous flux change rate according to the command execution time, the luminous flux of the current illumination mode and the luminous flux of the target illumination mode;

according to the luminous flux change rate, adjusting the color mixing ratio between the current illumination mode and the target illumination mode to enable the luminous flux to be in linear smooth transition to the target illumination mode, and obtaining a target color mixing ratio;

and when the starting time of the command execution time is reached, outputting the target color mixing ratio to a light source driving device to control light source illumination.

As another embodiment of the present application, the calculating a color temperature and color mixture ratio of the cold white light lamp and the warm white light lamp according to the color temperature value in the color parameter includes:

calculating a standard color temperature parameter according to the color temperature value in the color parameter;

and calculating the color temperature and color mixing ratio of the cold white light lamp and the warm white light lamp according to the standard color temperature parameter.

As another embodiment of the present application, the calculating a color mixture ratio of three primary color light sources of the RGB color light lamps according to color parameter values in the color parameters includes:

converting color parameter values in the color parameters into corresponding tristimulus values;

converting the tristimulus values into color coordinate parameters;

updating the color coordinate parameters according to the color coordinate parameters and the current environment temperature of the RGB color light lamp;

and calculating the color mixing ratio of the three primary color light sources of the RGB color light lamp according to the updated color coordinate parameters.

As another embodiment of the present application, the outputting the color temperature and color mixing ratio to a light source driving apparatus to control light source illumination includes:

outputting the color temperature and color mixing ratio to a light source driving device in a PWM or I2C mode to control light source illumination;

the outputting the three-primary-color light source color mixing ratio to the light source driving device to control the light source illumination comprises:

the three primary color light source color mixing ratio is output to the light source driving device in a PWM or I2C mode to control the light source illumination.

As another embodiment of the present application, the outputting the target color mixture ratio to a light source driving device to control light source illumination includes:

outputting the target color mixture ratio to a light source driving device in a PWM or I2C mode to control light source illumination.

A second aspect of the embodiments of the present invention provides a color light lamp illumination control device, where the color light lamp includes an RGB color light lamp and a cold-color white light lamp and a warm-color white light lamp that are added; the color light lamp illumination control device comprises:

the analysis module is used for receiving a color control instruction and analyzing the color control instruction to obtain a color control mode and color parameters;

the calculation module is used for calculating the color temperature and color mixing ratio of the cold white light lamp and the warm white light lamp according to the color temperature value in the color parameter when the color control mode is the color temperature mode;

and the output module is used for outputting the color temperature and color mixing ratio to light source driving equipment to control light source illumination.

A third aspect of an embodiment of the present invention provides a terminal device, including: a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the color light lamp illumination control method according to any of the above embodiments when executing the computer program.

A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium, including: the computer-readable storage medium stores a computer program, which when executed by a processor implements the steps of the color-light lamp illumination control method according to any of the above embodiments.

Compared with the prior art, the embodiment of the invention has the following beneficial effects: compared with the prior art, the RGB color light lamp is additionally provided with the cold color white light lamp and the warm color white light lamp, and the color control instruction is analyzed by receiving the color control instruction to obtain the color control mode and the color parameters; when the color control mode is a color temperature mode, calculating the color temperature and color mixing ratio of the cold white light lamp and the warm white light lamp according to the color temperature value in the color parameter; the color temperature and color mixing ratio is output to the light source driving equipment to control the light source to illuminate, so that the illumination requirement of a user can be met, and the problem that the illumination effect of the three-primary-color light lamp in the prior art is poor is solved.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.

Fig. 1 is a schematic flow chart illustrating an implementation of a method for controlling illumination of a color light lamp according to an embodiment of the present invention;

fig. 2 is a schematic flow chart illustrating an implementation of a method for controlling illumination of a color-light lamp according to another embodiment of the present invention;

fig. 3 is a schematic diagram of a method for mode conversion of a color light lamp according to an embodiment of the present invention;

fig. 4 is an exemplary diagram of a color-light lamp illumination control device provided by an embodiment of the invention;

fig. 5 is a schematic diagram of a terminal device according to an embodiment of the present invention.

Detailed Description

In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

In order to explain the technical means of the present invention, the following description will be given by way of specific examples.

Fig. 1 is a schematic view of an implementation process of a color light lamp illumination control method according to an embodiment of the present invention, where the color light lamp includes an RGB color light lamp, and a cold-color white light lamp and a warm-color white light lamp that are added, and the RGB color light lamp is a color light lamp composed of red, green, and blue three primary color light sources. The cold white light lamp is also high colour temperature white light source, and the warm white light lamp is low colour temperature white light source, and cold white light lamp and warm white light lamp are white light lamp, and luminous flux is higher, can be used for the illumination.

The method for controlling the illumination of the color light lamp comprises the following steps:

step 101, receiving a color control instruction, and analyzing the color control instruction to obtain a color control mode and a color parameter.

Optionally, the color control instruction input by the user is received, and the color control instruction frame is analyzed according to the color control instruction frame format to obtain the color control mode and the color parameter.

Optionally, the color control mode may include a color temperature mode and a color mode, and the color parameters may include color temperature values and color parameters.

And 102, when the color control mode is a color temperature mode, calculating the color temperature and color mixing ratio of the cold white light lamp and the warm white light lamp according to the color temperature value in the color parameter.

Optionally, this step may include: calculating a standard color temperature parameter according to the color temperature value in the color parameter; and calculating the color temperature and color mixing ratio of the cold white light lamp and the warm white light lamp according to the standard color temperature parameter.

Alternatively, the Color temperature value is converted into a standard Color temperature parameter according to Color temperature in kelvins of 1000000/colortemperature meters.

And 103, outputting the color temperature and color mixing ratio to light source driving equipment to control light source illumination.

Optionally, this step may include: and outputting the color temperature and color mixing ratio to light source driving equipment in a PWM or I2C mode, controlling light source illumination by the light source driving equipment according to the color temperature and color mixing ratio, and providing an illumination lamp for a user through adding a cold color white light lamp and a warm color white light lamp.

In another embodiment, as shown in fig. 2, after step 101, the method further includes:

and 104, when the color control mode is a color mode, calculating the color mixing ratio of the three primary color light sources of the RGB color light lamp according to the color parameter values in the color parameters.

Optionally, this step may include:

and converting the color parameter values in the color parameters into corresponding tristimulus values, namely calculating XYZ (namely the tristimulus values) corresponding to the color parameters by using a CIE 1931 XYZ color matching function when the current color mode is the color mode.

Converting the tristimulus values into color coordinate parameters; updating the color coordinate parameters according to the color coordinate parameters and the current environment temperature of the RGB color light lamp; and calculating the color mixing ratio of the three primary color light sources of the RGB color light lamp according to the updated color coordinate parameters.

Optionally, when the tristimulus values are converted into color coordinate parameters, the color coordinate parameters can be obtained according toAnd calculating, wherein X, Y, Z is the coordinate value of the tristimulus value, and x, y and z are the coordinate values of the color coordinate parameter.

Since the color coordinate parameters of the three-primary-color light source have temperature characteristics, that is, the color coordinate parameters change along with the change of temperature, the color coordinate parameters obtained by updating according to the current environment temperature are needed to determine the color gamut of the three-primary-color light source in the CIE xyY color space at the current temperature, that is, the color coordinate parameters are updated, so as to obtain the updated color coordinate parameters.

And step 105, outputting the color mixing ratio of the three primary color light sources to a light source driving device to control the light source to illuminate.

Optionally, this step may include: the three primary color light source color mixing ratio is output to the light source driving device in a PWM or I2C mode to control the light source illumination.

In another embodiment, in order to smooth the transition color change when the different modes are switched, the present embodiment further provides a method for switching the modes of the color light lamp. As shown in fig. 3, after outputting the color temperature and color mixture ratio to the light source driving device to control the light source illumination, or outputting the three-primary color light source mixture ratio to the light source driving device to control the light source illumination, that is, after step 103 or step 105, the method further includes:

step 301, when a new color control command different from the current lighting mode is received, analyzing the new color control command to obtain a target lighting mode, a target color parameter and a command execution time.

When the user wants to switch the lighting modes, a new color control command is re-issued, where the new color control command includes a target lighting mode, and the target lighting mode is a mode different from the current lighting mode, for example, if the current lighting mode is a color temperature mode, the target lighting mode is a color mode, and if the current lighting mode is a color mode, the target lighting mode is a color temperature mode.

Step 302, calculating the luminous flux of the current illumination mode and calculating the luminous flux of the target illumination mode according to the target color parameters.

Luminous flux (luminous flux) refers to the radiation power perceived by the human eye, which is equal to the product of the radiation energy in a certain wavelength band per unit time and the relative visibility of that wavelength band. Because the relative visual rate of human eyes to different wavelengths of light is different, the luminous fluxes of different wavelengths of light are not equal when the radiation power of different wavelengths of light is equal.

In this embodiment, the luminous flux of the current lighting mode and the luminous flux of the target lighting mode are respectively calculated, and the obtained luminous fluxes are processed, so that when the modes are smoothly switched, the human eye adaptability is higher, and the body feeling is better.

Step 303, calculating a luminous flux change rate according to the command execution time, the luminous flux of the current illumination mode and the luminous flux of the target illumination mode.

Optionally, the received new color control instruction further includes a command execution time, so that the luminous flux can be subdivided and divided based on the human visual characteristics according to the command execution time, the luminous flux of the current lighting mode, and the luminous flux of the target lighting mode, so as to obtain a luminous flux change rate.

And 304, adjusting the color mixing ratio between the current illumination mode and the target illumination mode according to the light flux change rate to enable the light flux to be in linear smooth transition to the target illumination mode, so as to obtain the target color mixing ratio.

And readjusting the change curve of the light source drive output proportion among different modes according to the calculated light flux change rate.

And step 304, outputting the target color mixture ratio to a light source driving device to control light source illumination when the starting time of the command execution time is reached.

Optionally, this step may include: the target color mixture ratio is output to the light source driving apparatus in PWM or I2C manner at preset time intervals according to the target color mixture ratio so that the light source driving can smoothly transit into the target illumination mode.

According to the color light lamp illumination control method, the cold color white light lamp and the warm color white light lamp are added on the RGB color light lamp, and the color control instruction is analyzed by receiving the color control instruction to obtain the color control mode and the color parameters; when the color control mode is a color temperature mode, calculating the color temperature and color mixing ratio of the cold white light lamp and the warm white light lamp according to the color temperature value in the color parameter; the color temperature and color mixing ratio is output to the light source driving equipment to control the light source to illuminate, so that the illumination requirement of a user can be met, and the problem that the illumination effect of the three-primary-color light lamp in the prior art is poor is solved. When the color control mode is a color mode, calculating the color mixing ratio of the three primary color light sources of the RGB color light lamp according to the color parameter values in the color parameters; and outputting the color mixing ratio of the three primary color light sources to a light source driving device to control light source illumination, so that color lamp illumination can be adopted to adjust the atmosphere. And when receiving a Japanese lighting mode different from the current lighting mode, the Japanese lighting mode can be converted into the target lighting mode in a smooth conversion mode, so that the user experience is improved.

It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.

Fig. 4 is a diagram illustrating an example of a color light lamp illumination control apparatus according to an embodiment of the present invention, where the color light lamp includes an RGB color light lamp and a cold-color white light lamp and a warm-color white light lamp. As shown in fig. 4, the apparatus may include: a parsing module 401, a calculation module 402 and an output module 403.

The analysis module 401 is configured to receive a color control instruction, and analyze the color control instruction to obtain a color control mode and a color parameter;

a calculating module 402, configured to calculate a color temperature and color mixture ratio of the cold white light lamp and the warm white light lamp according to a color temperature value in the color parameter when the color control mode is a color temperature mode;

and an output module 403, configured to output the color temperature and color mixture ratio to a light source driving device to control the light source illumination.

Optionally, the calculating module 402 is further configured to:

when the color control mode is a color mode, calculating a color mixing ratio of three primary color light sources of the RGB color light lamp according to color parameter values in the color parameters;

the output module 403 is further configured to output the color mixture ratio of the three primary color light sources to a light source driving device to control the light source to illuminate.

Optionally, the calculating module 402 is further configured to, when a new color control instruction different from the current lighting mode is received, analyze the new color control instruction to obtain a target lighting mode, a target color parameter, and a command execution time; calculating the luminous flux of the current illumination mode and the luminous flux of a target illumination mode according to the target color parameters; calculating a luminous flux change rate according to the command execution time, the luminous flux of the current illumination mode and the luminous flux of the target illumination mode; according to the luminous flux change rate, adjusting the color mixing ratio between the current illumination mode and the target illumination mode to enable the luminous flux to be in linear smooth transition to the target illumination mode, and obtaining a target color mixing ratio;

the output module 403 is further configured to output the target color mixture ratio to a light source driving device to control light source illumination when the starting time of the command execution time is reached.

Optionally, when the calculating module 402 calculates the color temperature and color mixture ratio of the cold white light lamp and the warm white light lamp according to the color temperature value in the color parameter, it is configured to:

calculating a standard color temperature parameter according to the color temperature value in the color parameter;

and calculating the color temperature and color mixing ratio of the cold white light lamp and the warm white light lamp according to the standard color temperature parameter.

Optionally, when the calculating module 402 calculates the color mixture ratio of the three primary color light sources of the RGB color light lamp according to the color parameter values in the color parameters, the calculating module is configured to:

converting color parameter values in the color parameters into corresponding tristimulus values;

converting the tristimulus values into color coordinate parameters;

updating the color coordinate parameters according to the color coordinate parameters and the current environment temperature of the RGB color light lamp;

and calculating the color mixing ratio of the three primary color light sources of the RGB color light lamp according to the updated color coordinate parameters.

Optionally, the output module 403 outputs the color temperature and color mixture ratio to a light source driving device to control illumination of a light source, and is configured to:

outputting the color temperature and color mixing ratio to a light source driving device in a PWM or I2C mode to control light source illumination;

optionally, the output module 403 outputs the color mixture ratio of the three primary color light sources to a light source driving device to control the light source to illuminate, and is configured to:

the three primary color light source color mixing ratio is output to the light source driving device in a PWM or I2C mode to control the light source illumination.

Optionally, when the output module 403 outputs the target color mixture ratio to a light source driving device to control light source illumination, the output module is configured to:

outputting the target color mixture ratio to a light source driving device in a PWM or I2C mode to control light source illumination.

According to the color light lamp illumination control device, the RGB color light lamp is additionally provided with the cold color white light lamp and the warm color white light lamp, the color control instruction is received through the analysis module, and the color control instruction is analyzed to obtain the color control mode and the color parameters; when the color control mode is a color temperature mode, the calculation module calculates the color temperature and color mixing ratio of the cold white light lamp and the warm white light lamp according to the color temperature value in the color parameter; the output module outputs the color temperature and color mixing ratio to the light source driving equipment to control the light source to illuminate, so that the illumination requirement of a user can be met, and the problem that the illumination effect of the three-primary-color light lamp in the prior art is poor is solved. When the color control mode is a color mode, the calculation module calculates the color mixing ratio of the three primary color light sources of the RGB color light lamp according to the color parameter values in the color parameters; the output module outputs the color mixing ratio of the three primary color light sources to the light source driving equipment to control the light source illumination, so that the atmosphere can be adjusted by adopting color lamp illumination. And when a target illumination mode different from the current illumination mode is received, the target illumination mode can be converted through a smooth conversion mode, and the user experience is improved.

Fig. 5 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 5, the terminal device 500 of this embodiment includes: a processor 501, a memory 502 and a computer program 503, such as a color light lamp illumination control program, stored in said memory 502 and executable on said processor 501. The processor 501 executes the computer program 503 to implement the steps in the above-mentioned embodiment of the color light lamp illumination control method, such as the steps 101 to 103 shown in fig. 1, or the steps shown in fig. 2 or fig. 3, and the processor 501 executes the computer program 503 to implement the functions of the modules in the above-mentioned embodiments of the apparatuses, such as the modules 401 to 403 shown in fig. 4.

Illustratively, the computer program 503 may be partitioned into one or more program modules that are stored in the memory 502 and executed by the processor 501 to implement the present invention. The one or more program modules may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 503 in the color-light-lamp illumination control apparatus or the terminal device 500. For example, the computer program 503 may be divided into an analysis module 401, a calculation module 402, and an output module 403, and specific functions of the modules are shown in fig. 4, which is not described herein again.

The terminal device 500 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 501, a memory 502. Those skilled in the art will appreciate that fig. 5 is merely an example of a terminal device 500 and is not intended to limit the terminal device 500 and may include more or fewer components than those shown, or some components may be combined, or different components, for example, the terminal device may also include input output devices, network access devices, buses, etc.

The Processor 501 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

The memory 502 may be an internal storage unit of the terminal device 500, such as a hard disk or a memory of the terminal device 500. The memory 502 may also be an external storage device of the terminal device 500, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 500. Further, the memory 502 may also include both an internal storage unit and an external storage device of the terminal device 500. The memory 502 is used for storing the computer programs and other programs and data required by the terminal device 500. The memory 502 may also be used to temporarily store data that has been output or is to be output.

It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.

In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.

Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.

In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.

The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.

The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种照明集中控制器、照明控制方法及一种路灯

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!