CN113260120A - Vehicle-mounted sound box light control method and system, storage medium and computer equipment - Google Patents

Vehicle-mounted sound box light control method and system, storage medium and computer equipment Download PDF

Info

Publication number
CN113260120A
CN113260120A CN202110610912.0A CN202110610912A CN113260120A CN 113260120 A CN113260120 A CN 113260120A CN 202110610912 A CN202110610912 A CN 202110610912A CN 113260120 A CN113260120 A CN 113260120A
Authority
CN
China
Prior art keywords
light
duty ratio
vehicle
control value
sound box
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110610912.0A
Other languages
Chinese (zh)
Other versions
CN113260120B (en
Inventor
沈辉
彭琼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou Shenke Xinfei Technology Co ltd
Original Assignee
Huizhou Shenke Xinfei Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou Shenke Xinfei Technology Co ltd filed Critical Huizhou Shenke Xinfei Technology Co ltd
Priority to CN202110610912.0A priority Critical patent/CN113260120B/en
Publication of CN113260120A publication Critical patent/CN113260120A/en
Application granted granted Critical
Publication of CN113260120B publication Critical patent/CN113260120B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention provides a method and a system for controlling light of a vehicle-mounted sound box, a storage medium and computer equipment, wherein the control method is used for controlling lamp decorations on the vehicle-mounted sound box and comprises the following steps: receiving a signal control value sent by a controller in real time, and generating a pulse signal corresponding to the signal control value according to the signal control value and a preset relationship between the control value and a pulse; obtaining a duty ratio corresponding to the pulse signal of the current signal period according to the period of the pulse signal of the current signal period and the pulse width time of the high level; comparing the duty ratio with a plurality of preset duty ratio thresholds to obtain a duty ratio threshold which is the same as the duty ratio; and obtaining a light emitting mode corresponding to the duty ratio threshold according to the duty ratio threshold and the relation between the preset threshold and the light emitting mode, and driving the light state of the lamp decoration on the vehicle-mounted sound box according to the light emitting mode. The invention can drive the lamp decoration on the vehicle-mounted sound box to match with the loudspeaker of the vehicle-mounted sound box, so that the user can enjoy music and obtain the light effect experience.

Description

Vehicle-mounted sound box light control method and system, storage medium and computer equipment
Technical Field
The invention relates to the technical field of control of vehicle interior accessories, in particular to a method and a system for controlling light of a vehicle-mounted sound box, a storage medium and computer equipment.
Background
The existing vehicle-mounted sound box can only play music, so that the user can only enjoy the music in the sense of hearing, and the user cannot obtain the experience in the light effect.
Disclosure of Invention
The invention aims to overcome the defects in the prior art, and provides a vehicle-mounted sound box light control method, a vehicle-mounted sound box light control system, a storage medium and computer equipment, which can drive a lamp decoration on a vehicle-mounted sound box to match with a loudspeaker of the vehicle-mounted sound box, so that a user can enjoy music and obtain light effect experience.
One embodiment of the invention provides a vehicle-mounted sound box light control method, which is used for controlling lamp decorations on a vehicle-mounted sound box and comprises the following steps:
receiving a signal control value sent by a controller in real time, and generating a pulse signal corresponding to the signal control value according to the signal control value and a preset relationship between the control value and a pulse;
obtaining a duty ratio corresponding to the pulse signal of the current signal period according to the period of the pulse signal of the current signal period and the pulse width time of the high level;
comparing the duty ratio with a plurality of preset duty ratio thresholds to obtain a duty ratio threshold which is the same as the duty ratio;
and obtaining a light emitting mode corresponding to the duty ratio threshold according to the duty ratio threshold and the relation between a preset threshold and the light emitting mode, and driving the light state of the lamp decoration on the vehicle-mounted sound box according to the light emitting mode.
Compared with the prior art, the vehicle-mounted sound box light control method obtains the corresponding pulse signal according to the signal control value sent by the controller, and obtains the corresponding light emitting mode according to the duty ratio of the pulse signal in the current signal period, so that the light state of the lamp decoration on the vehicle-mounted sound box is driven, and a user can enjoy music and obtain light effect experience.
Further, the generating a pulse signal corresponding to the signal control value according to the signal control value and a preset relationship between the control value and the pulse includes the following steps:
acquiring the number of the types of the pulse signals, and sequencing the different types of the pulse signals to obtain the corresponding relation between the pulse signals and the serial numbers;
comparing the signal control value with the number of the types of the pulse signals, if the signal control value is smaller than the pulse signals, determining the signal control value as the serial number, and acquiring the pulse signals corresponding to the serial number;
and if the signal control value is larger than the pulse signal, determining a remainder obtained by dividing the signal control value by the pulse signal as the serial number, and acquiring the pulse signal corresponding to the serial number. It is advantageous for the user to cycle between each of said pulse signals.
Further, the relation between the threshold and the light emitting mode is in a one-dimensional table form; the one-dimensional table includes a first column for holding the duty threshold and a second column for holding execution code of a light emission pattern;
the method for obtaining the light emitting mode corresponding to the duty ratio threshold value according to the duty ratio threshold value and the relation between the preset threshold value and the light emitting mode comprises the following steps:
searching out an abscissa corresponding to the duty ratio threshold in the first column;
and searching the second column according to the abscissa to obtain an execution code of the light-emitting mode corresponding to the abscissa in the second column, and executing the execution code of the light-emitting mode. The execution code of the corresponding light emitting mode can be quickly found.
Further, the method also comprises the following steps:
acquiring real-time;
comparing the real-time with a preset light-on prohibition time period;
and if the real-time is within the light-on prohibition time period, the power supply of the lamp decoration on the vehicle-mounted sound box is cut off. The lighting on the vehicle-mounted sound box can be prevented from influencing driving of a user at night.
Further, the acquiring the real-time comprises the following steps:
acquiring longitude and latitude coordinates of the vehicle-mounted sound box, and acquiring a time zone corresponding to the position of the vehicle-mounted sound box according to the longitude and latitude coordinates; and acquiring the real-time of a time zone corresponding to the position of the vehicle-mounted sound box. The accuracy of the acquired real-time is improved.
The invention also provides a light control system of the vehicle-mounted sound box, which is used for controlling the lamp decoration on the vehicle-mounted sound box and comprises the following components: the device comprises a pulse signal generating module, a duty ratio acquiring module, a duty ratio comparing module and a light emitting mode driving module;
the pulse signal generating module is used for receiving a signal control value sent by the controller in real time and generating a pulse signal corresponding to the signal control value according to the signal control value and the relation between a preset control value and a pulse;
the duty ratio acquisition module is used for acquiring a duty ratio corresponding to the pulse signal in the current signal period according to the period of the pulse signal in the current signal period and the pulse width time of the high level;
the duty ratio comparison module is used for comparing the duty ratio with a plurality of preset duty ratio thresholds to obtain the duty ratio threshold which is the same as the duty ratio;
the light-emitting mode driving module is used for obtaining a light-emitting mode corresponding to the duty ratio threshold according to the duty ratio threshold and the relation between a preset threshold and the light-emitting mode, and driving the light state of the lamp decoration on the vehicle-mounted sound box according to the light-emitting mode.
Compared with the prior art, the vehicle-mounted sound box light control system obtains the corresponding pulse signal according to the signal control value sent by the controller, and obtains the corresponding light emitting mode according to the duty ratio of the pulse signal in the current signal period, so that the light state of the lamp decoration on the vehicle-mounted sound box is driven, and a user can enjoy music and obtain light effect experience.
Further, the pulse signal generating module is configured to perform the following steps:
acquiring the number of the types of the pulse signals, and sequencing the different types of the pulse signals to obtain the corresponding relation between the pulse signals and the serial numbers;
comparing the signal control value with the number of the types of the pulse signals, if the signal control value is smaller than the pulse signals, determining the signal control value as the serial number, and acquiring the pulse signals corresponding to the serial number;
and if the signal control value is larger than the pulse signal, determining a remainder obtained by dividing the signal control value by the pulse signal as the serial number, and acquiring the pulse signal corresponding to the serial number. It is advantageous for the user to cycle between each of said pulse signals.
Further, the relation between the threshold and the light emitting mode is in a one-dimensional table form; the one-dimensional table includes a first column for holding the duty threshold and a second column for holding execution code of a light emission pattern;
the light emitting mode driving module is used for executing the following steps:
searching out an abscissa corresponding to the duty ratio threshold in the first column;
and searching the second column according to the abscissa to obtain an execution code of the light-emitting mode corresponding to the abscissa in the second column, and executing the execution code of the light-emitting mode. The execution code of the corresponding light emitting mode can be quickly found.
The invention also provides a storage medium, wherein the storage medium stores a computer program which can be read by a computer, and the computer program realizes the steps of the vehicle-mounted sound box light control method when being executed by a processor.
The invention also provides computer equipment which comprises a storage, a processor and a computer program which is stored in the storage and can be executed by the processor, wherein the processor executes the computer program to realize the steps of the vehicle-mounted sound box light control method.
In order that the invention may be more clearly understood, specific embodiments thereof will be described hereinafter with reference to the accompanying drawings.
Drawings
Fig. 1 is a flowchart of a vehicle-mounted sound box light control method according to an embodiment of the present invention.
Fig. 2 is a flowchart of step S1 of the method for controlling the light of the sound box mounted on the vehicle according to an embodiment of the present invention.
Fig. 3 is a flowchart of step S4 of the method for controlling the light of the sound box mounted on the vehicle according to an embodiment of the present invention.
Fig. 4 is a block diagram of a vehicle-mounted speaker lighting control system according to an embodiment of the present invention.
1. A pulse signal generation module; 2. a duty ratio acquisition module; 3. a duty ratio comparison module; 4. and a light emitting mode driving module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Please refer to fig. 1, which is a flowchart of a vehicle-mounted sound box light control method according to an embodiment of the present invention, the vehicle-mounted sound box light control method is used for controlling lighting on a vehicle-mounted sound box, and includes the following steps:
s1: receiving a signal control value sent by a controller in real time, and generating a pulse signal corresponding to the signal control value according to the signal control value and a preset relationship between the control value and a pulse;
s2: obtaining a duty ratio corresponding to the pulse signal of the current signal period according to the period of the pulse signal of the current signal period and the pulse width time of the high level;
the duty ratio is a ratio of the energization time to the cycle time in a signal period of one pulse signal.
S3: comparing the duty ratio with a plurality of preset duty ratio thresholds to obtain a duty ratio threshold which is the same as the duty ratio;
s4: and obtaining a light emitting mode corresponding to the duty ratio threshold according to the duty ratio threshold and the relation between a preset threshold and the light emitting mode, and driving the light state of the lamp decoration on the vehicle-mounted sound box according to the light emitting mode.
The light state comprises a bubble light state, a running circle light state, a chasing light state, an energy light state, a double-color light state, a seven-color light state, a breathing light state, a flash light state and a closing state; the state of the bubble lamp is in bubble motion, and different motion speeds and color changes are presented according to the volume of music; the running ring lamp state shows that a single lamp bead runs (moves in a clockwise or counterclockwise way) in a circle rotating way; the chasing lamp state shows that the light shows the effect motion of sweeping from left to right; the state of the energy lamp is changed along with the high and low music, and the light is fluctuated in a lifting mode; the state of the double-color lamp shows that the positions of the double lamp beads are distributed diagonally and move in a circle mode; the state of the seven-color lamp shows that each lamp bead shows different colors and is normally bright; the state of the breathing lamp shows that the lamp light is slowly changed from on to off; the state of the flash lamp is changed rapidly from on to off; wherein the light change time interval of the breathing light state is greater than the light change time interval of the flash light state; an off state, which appears as all lights being extinguished.
Preferably, the lamp decoration on the on-vehicle audio amplifier is the PCBA lamp plate, the PCBA lamp plate refers to the lamp plate of production with PCBA processing technology, and PCBA is english Printed Circuit Board Assembly's abbreviation, that is to say that PCB blank Board is through SMT upper part, or through the whole process of DIP plug-in components.
Compared with the prior art, the vehicle-mounted sound box light control method obtains the corresponding pulse signal according to the signal control value sent by the controller, and obtains the corresponding light emitting mode according to the duty ratio of the pulse signal in the current signal period, so that the light state of the lamp decoration on the vehicle-mounted sound box is driven, and a user can enjoy music and obtain light effect experience.
Referring to fig. 2, in a possible embodiment, the generating the pulse signal corresponding to the signal control value according to the signal control value and a preset relationship between the control value and the pulse includes the following steps:
s11: acquiring the number of the types of the pulse signals, and sequencing the different types of the pulse signals to obtain the corresponding relation between the pulse signals and the serial numbers;
s12: comparing the signal control value with the number of the types of the pulse signals, if the signal control value is smaller than the pulse signals, determining the signal control value as the serial number, and acquiring the pulse signals corresponding to the serial number;
s13: and if the signal control value is larger than the pulse signal, determining a remainder obtained by dividing the signal control value by the pulse signal as the serial number, and acquiring the pulse signal corresponding to the serial number.
The signal control value may refer to the number of times of triggering by the user, or may refer to a signal directly input to the controller by the user.
In this embodiment, the types of the pulse signals are divided according to the duty ratios corresponding to the pulse signals, and the types of the pulse signals correspond to the number of the light states, preferably, when the duty ratios are 0, the corresponding light states are in the off state, which is beneficial for a user to cyclically switch among the pulse signals.
In one possible embodiment, the relationship between the threshold and the light emitting mode is in the form of a one-dimensional table; the one-dimensional table includes a first column for holding the duty threshold and a second column for holding execution code of a light emission pattern;
referring to fig. 3, obtaining the light emitting mode corresponding to the duty threshold according to the duty threshold and the relationship between the preset threshold and the light emitting mode includes the following steps:
s41: searching out an abscissa corresponding to the duty ratio threshold in the first column;
s42: and searching the second column according to the abscissa to obtain an execution code of the light-emitting mode corresponding to the abscissa in the second column, and executing the execution code of the light-emitting mode. The execution code of the corresponding light-emitting mode can be quickly found out, and then the lamp decoration on the vehicle-mounted sound box is driven to present the corresponding light state according to the execution code of the light-emitting mode.
In one possible embodiment, the method further comprises the following steps:
acquiring real-time;
comparing the real-time with a preset light-on prohibition time period;
and if the real-time is within the light-on prohibition time period, the power supply of the lamp decoration on the vehicle-mounted sound box is cut off.
In this embodiment, the preset light-on prohibition time period is the night time of the location of the car-mounted sound box, for example, the location of the car-mounted sound box is in a chinese area, and the preset light-on prohibition time period may be the current day 18 of the beijing time: 00-day 7: 00. in order to prevent the influence of the light of the lamp decoration on the vehicle-mounted sound box on the driving safety of the user when the vehicle is driven at night, when the real-time is in the period of forbidding to turn on the lamp, the power supply of the lamp decoration on the vehicle-mounted sound box is disconnected, so that the lamp decoration on the vehicle-mounted sound box can not be lighted to emit light, and the influence of the lamp decoration on the vehicle-mounted sound box on the driving of the user at night can be prevented.
Preferably, the acquiring the real-time comprises the following steps:
acquiring longitude and latitude coordinates of the vehicle-mounted sound box, and acquiring a time zone corresponding to the position of the vehicle-mounted sound box according to the longitude and latitude coordinates; and acquiring the real-time of a time zone corresponding to the position of the vehicle-mounted sound box. The accuracy of the acquired real-time is improved.
Referring to fig. 4, the present invention further provides a lighting control system for a car-mounted speaker, for controlling lighting on the car-mounted speaker, including: the device comprises a pulse signal generating module 1, a duty ratio obtaining module 2, a duty ratio comparing module 3 and a light emitting mode driving module 4;
the pulse signal generating module 1 is used for receiving a signal control value sent by a controller in real time and generating a pulse signal corresponding to the signal control value according to the signal control value and a preset relationship between the control value and a pulse;
the duty ratio obtaining module 2 is configured to obtain a duty ratio corresponding to the pulse signal in the current signal period according to the period of the pulse signal in the current signal period and the pulse width time of the high level;
the duty ratio comparison module 3 is used for comparing the duty ratio with a plurality of preset duty ratio thresholds to obtain a duty ratio threshold which is the same as the duty ratio;
the light-emitting mode driving module 4 is configured to obtain a light-emitting mode corresponding to the duty ratio threshold according to the duty ratio threshold and a relationship between a preset threshold and the light-emitting mode, and drive a light state of a lamp decoration on the vehicle-mounted sound box according to the light-emitting mode.
Compared with the prior art, the vehicle-mounted sound box light control system obtains the corresponding pulse signal according to the signal control value sent by the controller, and obtains the corresponding light emitting mode according to the duty ratio of the pulse signal in the current signal period, so that the light state of the lamp decoration on the vehicle-mounted sound box is driven, and a user can enjoy music and obtain light effect experience.
In a possible embodiment, the pulse signal generating module 1 is configured to perform the following steps:
acquiring the number of the types of the pulse signals, and sequencing the different types of the pulse signals to obtain the corresponding relation between the pulse signals and the serial numbers;
comparing the signal control value with the number of the types of the pulse signals, if the signal control value is smaller than the pulse signals, determining the signal control value as the serial number, and acquiring the pulse signals corresponding to the serial number;
and if the signal control value is larger than the pulse signal, determining a remainder obtained by dividing the signal control value by the pulse signal as the serial number, and acquiring the pulse signal corresponding to the serial number. It is advantageous for the user to cycle between each of said pulse signals.
In one possible embodiment, the relationship between the threshold and the light emitting mode is in the form of a one-dimensional table; the one-dimensional table includes a first column for holding the duty threshold and a second column for holding execution code of a light emission pattern;
the light emitting mode driving module 4 is configured to perform the following steps:
searching out an abscissa corresponding to the duty ratio threshold in the first column;
and searching the second column according to the abscissa to obtain an execution code of the light-emitting mode corresponding to the abscissa in the second column, and executing the execution code of the light-emitting mode. The execution code of the corresponding light emitting mode can be quickly found.
The invention also provides a storage medium, wherein the storage medium stores a computer program which can be read by a computer, and the computer program realizes the steps of the vehicle-mounted sound box light control method when being executed by a processor.
The invention also provides computer equipment which comprises a storage, a processor and a computer program which is stored in the storage and can be executed by the processor, wherein the processor executes the computer program to realize the steps of the vehicle-mounted sound box light control method.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (10)

1. A light control method for a vehicle-mounted sound box is characterized by being used for controlling lamp decorations on the vehicle-mounted sound box and comprising the following steps:
receiving a signal control value sent by a controller in real time, and generating a pulse signal corresponding to the signal control value according to the signal control value and a preset relationship between the control value and a pulse;
obtaining a duty ratio corresponding to the pulse signal of the current signal period according to the period of the pulse signal of the current signal period and the pulse width time of the high level;
comparing the duty ratio with a plurality of preset duty ratio thresholds to obtain a duty ratio threshold which is the same as the duty ratio;
and obtaining a light emitting mode corresponding to the duty ratio threshold according to the duty ratio threshold and the relation between a preset threshold and the light emitting mode, and driving the light state of the lamp decoration on the vehicle-mounted sound box according to the light emitting mode.
2. The vehicle-mounted sound box light control method according to claim 1, characterized in that: the method for generating the pulse signal corresponding to the signal control value according to the signal control value and the relation between the preset control value and the pulse comprises the following steps:
acquiring the number of the types of the pulse signals, and sequencing the different types of the pulse signals to obtain the corresponding relation between the pulse signals and the serial numbers;
comparing the signal control value with the number of the types of the pulse signals, if the signal control value is smaller than the pulse signals, determining the signal control value as the serial number, and acquiring the pulse signals corresponding to the serial number;
and if the signal control value is larger than the pulse signal, determining a remainder obtained by dividing the signal control value by the pulse signal as the serial number, and acquiring the pulse signal corresponding to the serial number.
3. The vehicle-mounted sound box light control method according to claim 1, characterized in that: the relation between the threshold and the light-emitting mode is in a one-dimensional table form; the one-dimensional table includes a first column for holding the duty threshold and a second column for holding execution code of a light emission pattern;
the method for obtaining the light emitting mode corresponding to the duty ratio threshold value according to the duty ratio threshold value and the relation between the preset threshold value and the light emitting mode comprises the following steps:
searching out an abscissa corresponding to the duty ratio threshold in the first column;
and searching the second column according to the abscissa to obtain an execution code of the light-emitting mode corresponding to the abscissa in the second column, and executing the execution code of the light-emitting mode.
4. The vehicle-mounted sound box light control method according to claim 1, further comprising the following steps:
acquiring real-time;
comparing the real-time with a preset light-on prohibition time period;
and if the real-time is within the light-on prohibition time period, the power supply of the lamp decoration on the vehicle-mounted sound box is cut off.
5. The vehicle-mounted sound box light control method according to claim 1, wherein the step of acquiring real-time comprises the steps of:
acquiring longitude and latitude coordinates of the vehicle-mounted sound box, and acquiring a time zone corresponding to the position of the vehicle-mounted sound box according to the longitude and latitude coordinates; and acquiring the real-time of a time zone corresponding to the position of the vehicle-mounted sound box.
6. The utility model provides a vehicle audio amplifier light control system which characterized in that for the lamp decoration on the control vehicle audio amplifier, include: the device comprises a pulse signal generating module, a duty ratio acquiring module, a duty ratio comparing module and a light emitting mode driving module;
the pulse signal generating module is used for receiving a signal control value sent by the controller in real time and generating a pulse signal corresponding to the signal control value according to the signal control value and the relation between a preset control value and a pulse;
the duty ratio acquisition module is used for acquiring a duty ratio corresponding to the pulse signal in the current signal period according to the period of the pulse signal in the current signal period and the pulse width time of the high level;
the duty ratio comparison module is used for comparing the duty ratio with a plurality of preset duty ratio thresholds to obtain the duty ratio threshold which is the same as the duty ratio;
the light-emitting mode driving module is used for obtaining a light-emitting mode corresponding to the duty ratio threshold according to the duty ratio threshold and the relation between a preset threshold and the light-emitting mode, and driving the light state of the lamp decoration on the vehicle-mounted sound box according to the light-emitting mode.
7. The vehicle-mounted sound box light control system according to claim 1, characterized in that: the pulse signal generation module is used for executing the following steps:
acquiring the number of the types of the pulse signals, and sequencing the different types of the pulse signals to obtain the corresponding relation between the pulse signals and the serial numbers;
comparing the signal control value with the number of the types of the pulse signals, if the signal control value is smaller than the pulse signals, determining the signal control value as the serial number, and acquiring the pulse signals corresponding to the serial number;
and if the signal control value is larger than the pulse signal, determining a remainder obtained by dividing the signal control value by the pulse signal as the serial number, and acquiring the pulse signal corresponding to the serial number.
8. The vehicle-mounted sound box light control system according to claim 1, characterized in that: the relation between the threshold and the light-emitting mode is in a one-dimensional table form; the one-dimensional table includes a first column for holding the duty threshold and a second column for holding execution code of a light emission pattern;
the light emitting mode driving module is used for executing the following steps:
searching out an abscissa corresponding to the duty ratio threshold in the first column;
and searching the second column according to the abscissa to obtain an execution code of the light-emitting mode corresponding to the abscissa in the second column, and executing the execution code of the light-emitting mode.
9. A storage medium storing a computer program readable by a computer, the storage medium characterized by: the computer program when executed by a processor implementing the steps of the method according to any one of claims 1 to 5.
10. A computer device, characterized by: comprising a memory, a processor and a computer program stored in said memory and executable by said processor, said processor implementing the steps of the method according to any of the claims 1-5 when executing said computer program.
CN202110610912.0A 2021-06-01 2021-06-01 Vehicle-mounted loudspeaker box light control method, system, storage medium and computer equipment Active CN113260120B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110610912.0A CN113260120B (en) 2021-06-01 2021-06-01 Vehicle-mounted loudspeaker box light control method, system, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110610912.0A CN113260120B (en) 2021-06-01 2021-06-01 Vehicle-mounted loudspeaker box light control method, system, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN113260120A true CN113260120A (en) 2021-08-13
CN113260120B CN113260120B (en) 2024-04-09

Family

ID=77185865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110610912.0A Active CN113260120B (en) 2021-06-01 2021-06-01 Vehicle-mounted loudspeaker box light control method, system, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN113260120B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114340082A (en) * 2021-12-20 2022-04-12 华人运通(江苏)技术有限公司 Door trim lighting system, control method, storage medium and vehicle

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708804A (en) * 2011-10-21 2012-10-03 京东方科技集团股份有限公司 Backlight dimming method and backlight driving circuit
US20130093334A1 (en) * 2011-10-17 2013-04-18 Lextar Electronics Corporation Lamps and illuminating system
DE102014111085A1 (en) * 2013-08-20 2015-02-26 Panasonic Corporation Illumination assembly and lighting device using the same
CN104602589A (en) * 2012-09-04 2015-05-06 奥林巴斯医疗株式会社 Light source system
CN105530721A (en) * 2015-12-30 2016-04-27 北京经纬恒润科技有限公司 Light-emitting control method, apparatus and system for LED (light emitting diode) lamp
CN109475023A (en) * 2017-09-08 2019-03-15 深圳市海洋王照明工程有限公司 Light Control Unit
CN112180766A (en) * 2020-09-07 2021-01-05 杭州涂鸦信息技术有限公司 Electric quantity data control method, system and equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130093334A1 (en) * 2011-10-17 2013-04-18 Lextar Electronics Corporation Lamps and illuminating system
CN102708804A (en) * 2011-10-21 2012-10-03 京东方科技集团股份有限公司 Backlight dimming method and backlight driving circuit
CN104602589A (en) * 2012-09-04 2015-05-06 奥林巴斯医疗株式会社 Light source system
DE102014111085A1 (en) * 2013-08-20 2015-02-26 Panasonic Corporation Illumination assembly and lighting device using the same
CN105530721A (en) * 2015-12-30 2016-04-27 北京经纬恒润科技有限公司 Light-emitting control method, apparatus and system for LED (light emitting diode) lamp
CN109475023A (en) * 2017-09-08 2019-03-15 深圳市海洋王照明工程有限公司 Light Control Unit
CN112180766A (en) * 2020-09-07 2021-01-05 杭州涂鸦信息技术有限公司 Electric quantity data control method, system and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谭福奎;王靖;姚萍;: "脉冲驱动对大功率白光LED发光效率影响的实验研究", 兴义民族师范学院学报, no. 02 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114340082A (en) * 2021-12-20 2022-04-12 华人运通(江苏)技术有限公司 Door trim lighting system, control method, storage medium and vehicle

Also Published As

Publication number Publication date
CN113260120B (en) 2024-04-09

Similar Documents

Publication Publication Date Title
CN111954347A (en) Control method and device of atmosphere lamp, vehicle and storage medium
CN113260120B (en) Vehicle-mounted loudspeaker box light control method, system, storage medium and computer equipment
JP2019206225A (en) Warning lamp control system
CN204334869U (en) The color luminescence sounding of waterproof LED seven
JP2023112017A (en) Lighting device
CN109743812B (en) Vehicle light-emitting control method and device, electronic equipment and automobile
CN107218951A (en) Navigation instruction reminding method, suggestion device, vehicle and navigator
US4953220A (en) Mobile speaker system having an illumination effect
KR20210010708A (en) Overspeed warning display device of vehicle with overspeed warning display on steering wheel cover
CN111010782B (en) Stage lighting reverse control method based on sensing communication
CN111556602B (en) Flying firefly lamp and control method
CN114001297A (en) Vehicle atmosphere lamp structure, control method, and computer storage medium
CN108694932B (en) Interesting band music box capable of synchronously acting with music and implementation method
CN111169374B (en) Vehicle acousto-optic control method and device
JP4235395B2 (en) Display device and control method thereof
CN111915908B (en) Tunnel signal lamp control system and centralized controller
CN103338428A (en) Ceiling type acousto-optic combination audio
WO2018170676A1 (en) Tail light device and control method therefor
CN202427172U (en) Interactive intelligent luminous and sounding toy ball
KR200363455Y1 (en) The device of tuning on electricity illumination using a model car
US20240017664A1 (en) Method for operating a lighting device of a motor vehicle, lighting device and motor vehicle
CN211716323U (en) Automobile atmosphere lamp
KR100950323B1 (en) Exterior lamp driver of car
JP2010099113A (en) Lighting control device and moving model having the same
JP2006003750A (en) Led lighting fixture

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant