CN114051304B - Lighting on-off state control method, device, equipment, medium and program product - Google Patents

Lighting on-off state control method, device, equipment, medium and program product Download PDF

Info

Publication number
CN114051304B
CN114051304B CN202111547801.6A CN202111547801A CN114051304B CN 114051304 B CN114051304 B CN 114051304B CN 202111547801 A CN202111547801 A CN 202111547801A CN 114051304 B CN114051304 B CN 114051304B
Authority
CN
China
Prior art keywords
editing
control
user
period
lamp
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.)
Active
Application number
CN202111547801.6A
Other languages
Chinese (zh)
Other versions
CN114051304A (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.)
Zhejiang Geely Holding Group Co Ltd
Geely Automobile Research Institute Ningbo Co Ltd
Original Assignee
Zhejiang Geely Holding Group Co Ltd
Geely Automobile Research Institute Ningbo 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 Zhejiang Geely Holding Group Co Ltd, Geely Automobile Research Institute Ningbo Co Ltd filed Critical Zhejiang Geely Holding Group Co Ltd
Priority to CN202111547801.6A priority Critical patent/CN114051304B/en
Publication of CN114051304A publication Critical patent/CN114051304A/en
Application granted granted Critical
Publication of CN114051304B publication Critical patent/CN114051304B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • 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

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application provides a lamp on-off state control method, a device, equipment, a medium and a program product. The technical problem that the on-off state of the lamp cannot be simply and rapidly controlled to transmit specific information with time variability in the prior art is solved. The technical effect that a user can quickly edit the lighting effect in a segmented manner on the total display period is achieved.

Description

Lighting on-off state control method, device, equipment, medium and program product
Technical Field
The present application relates to the field of automatic control technologies, and in particular, to a method, an apparatus, a device, a medium, and a program product for controlling a lighting state of a lamp.
Background
With the continuous development of technology, the light can be used not only for illumination, but also for information transmission, and certain specific information such as the whistle of a signal lamp, light show performance and the like is transmitted by utilizing the on-off state conversion of different lamps or lamp combinations.
The existing lighting state control generally adopts an embedded control system or a singlechip system to control, such as creating a ticker program by using a programming language. However, the control mode is too specialized, or along with the burst of commercialization or individuation demands, the on-off control of the lamps custom-developed by professionals cannot meet the individuation demands and time-varying demands of people.
That is, the prior art has the technical problem that the on-off state of the lamp cannot be simply and quickly controlled to transmit specific information with time variability.
Disclosure of Invention
The application provides a lamp on-off state control method, device, equipment, medium and program product, which are used for solving the technical problem that the on-off state of a lamp cannot be simply and rapidly controlled to transmit specific information with time variability in the prior art.
In a first aspect, the present application provides a method for controlling on/off states of a lamp, including:
acquiring any editing period intercepted by a user on a total display period and at least one basic light effect selected by the user, wherein the basic light effect is formed by alternately turning on and off at least one target light in a preset form in the basic period, and the basic period corresponds to the target light;
displaying the lamp effect editing controls corresponding to each target lamp in parallel in the editing area;
acquiring an editing instruction of a user on a lighting effect editing control, and modifying a basic lighting effect according to the editing instruction;
and responding to a confirmation instruction input by a user, generating a target light effect file, and controlling each target lamp to display target light effect according to the target light effect file.
In one possible design, the editing instructions include at least one of the following editing operations: copying and adding a plurality of light effect editing controls in an editing period; cutting the light effect editing control to change the light effect corresponding to the light effect editing control; newly adding one or more basic light effects; modifying control parameters of the base light effect, the control parameters including: lighting duration, extinguishing duration, and the alternating sequence of the on and off of the plurality of light fixtures.
In one possible design, obtaining any editing period intercepted by the user over the total presentation period includes:
responding to a time period selection instruction triggered by a user in a first display area in a preset mode, and displaying a time period selection control in the first display area, wherein the time period selection control comprises a starting time control and an ending time control;
responding to an operation instruction of a user to the starting time control and/or the ending time control, and determining an editing period according to the starting time corresponding to the starting time control and the ending time corresponding to the ending time control.
In one possible design, the first display area includes a waveform control corresponding to the target audio, where the waveform control is used to characterize a feature variation condition of the target audio, so as to facilitate a user to set an editing period, and the feature variation includes: frequency and/or volume.
In one possible design, obtaining at least one base light effect selected by a user includes:
responding to the selection operation of the user on the identification control corresponding to each basic light effect on the second display area, and starting to monitor the position of the identification control;
when the user finishes the selection operation, if the position is in the editing area, the data file of the basic lighting effect is screened out from the database according to the identification code corresponding to the identification control.
In one possible design, the light effect editing control corresponding to each target light fixture is displayed in parallel in the editing area, including:
if the editing time period is greater than or equal to the basic time period corresponding to the target lamp, displaying a lamp effect editing control in a first form;
if the editing time period is smaller than the basic time period corresponding to the target lamp, dividing the lamp effect editing control into a first part and a second part, wherein the time length corresponding to the first part is equal to the editing time period, the first part is displayed in a first form, the second part is displayed in a second form, and the second form is different from the first form.
In a second aspect, the present application provides a lighting device on/off state control device, including:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring any editing period intercepted by a user in a total display period and at least one basic light effect selected by the user, the basic light effect is formed by alternately lighting and extinguishing at least one target lamp in a preset form in the basic period, and the basic period corresponds to the target lamp;
the processing module is used for displaying the lamp effect editing controls corresponding to each target lamp in parallel in the editing area;
the acquisition module is also used for acquiring an editing instruction of a user on the lamp efficiency editing control;
the processing module is also used for modifying the basic lighting effect according to the editing instruction;
the acquisition module is also used for acquiring a confirmation instruction input by a user;
the processing module is also used for responding to the confirmation instruction input by the user, generating a target light effect file and controlling each target lamp to display the target light effect according to the target light effect file.
In one possible design, the editing instructions include at least one of the following editing operations: copying and adding a plurality of light effect editing controls in an editing period; cutting the light effect editing control to change the light effect corresponding to the light effect editing control; newly adding one or more basic light effects; modifying control parameters of the base light effect, the control parameters including: lighting duration, extinguishing duration, and the alternating sequence of the on and off of the plurality of light fixtures.
In one possible design, the acquiring module is configured to acquire a period selection instruction triggered by a user in a preset manner in the first display area;
the processing module is used for responding to the time interval selection instruction, displaying a time interval selection control in the first display area, wherein the time interval selection control comprises a starting time control and an ending time control;
the acquisition module is used for acquiring an operation instruction of a user on the starting time control and/or the ending time control;
the processing module is used for responding to the operation instruction and determining the editing period according to the starting time corresponding to the starting time control and the ending time corresponding to the ending time control.
In one possible design, the first display area includes a waveform control corresponding to the target audio, where the waveform control is used to characterize a feature variation condition of the target audio, so as to facilitate a user to set an editing period, and the feature variation includes: frequency and/or volume.
In one possible design, the obtaining module is configured to obtain a selection operation of the user on the second display area for the identifier control corresponding to each basic light effect;
the processing module is used for responding to the selection operation and starting to monitor the position of the identification control; when the user finishes the selection operation, if the position is in the editing area, the data file of the basic lighting effect is screened out from the database according to the identification code corresponding to the identification control.
In one possible design, the processing module is configured to:
if the editing time period is greater than or equal to the basic time period corresponding to the target lamp, displaying a lamp effect editing control in a first form;
if the editing time period is smaller than the basic time period corresponding to the target lamp, dividing the lamp effect editing control into a first part and a second part, wherein the time length corresponding to the first part is equal to the editing time period, the first part is displayed in a first form, the second part is displayed in a second form, and the second form is different from the first form.
In a third aspect, the present application provides an electronic device comprising:
a memory for storing program instructions;
and the processor is used for calling and executing the program instructions in the memory and executing any one of the possible lamp on-off state control methods provided in the first aspect.
In a fourth aspect, the present application provides a vehicle comprising: the electronic device provided in the third aspect.
In a fifth aspect, the present application provides a storage medium having stored therein a computer program for executing any one of the possible light on-off state control methods provided in the first aspect.
In a sixth aspect, the present application also provides a computer program product comprising a computer program which, when executed by a processor, implements any one of the possible light on/off state control system methods provided in the first aspect.
The application provides a lamp on-off state control method, a device, equipment, a medium and a program product. The technical problem that the on-off state of the lamp cannot be simply and rapidly controlled to transmit specific information with time variability in the prior art is solved. The technical effect that a user can quickly edit the lighting effect in a segmented manner on the total display period is achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic diagram of an application scenario for controlling on/off states of a lamp according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a method for controlling on/off states of a lamp according to an embodiment of the present application;
fig. 3 is a flow chart of another method for controlling on/off states of a lamp according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a lighting device on-off state control device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to the present application.
Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, including but not limited to combinations of embodiments, which are within the scope of the application, can be made by one of ordinary skill in the art without inventive effort based on the embodiments of the application.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented, for example, in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The light is used for illumination at the earliest time, but with the continuous development of technology, the light is used for transmitting information, such as the lamp language of an offshore navigation lighthouse, the lamp language communication among ships, the river-along light show, the urban skyscraper light show, the automobile light show and the like. The information transmission forms are transmitted by lighting and extinguishing according to a certain rule.
However, the light information transmission is generally controlled manually or by storing a fixed on-off mode through an embedded system or a singlechip. However, along with the explosion of personalized customization or time-varying demands, such as control of automobile lamplight shows, how to enable a common user to quickly design and control each lamplight of a lamplight group conveniently and rapidly is a technical problem to be solved.
Aiming at the technical problems that the on-off state of a lamp can not be simply and rapidly controlled to transmit specific information with time variability in the prior art, the application concept is as follows:
and providing a lighting and extinguishing editing area on a display interface of the user terminal, wherein a user can customize the length of each editing period on the total display period, customize various different light combination lighting effects for each editing period, preview the customized light effects in the preview area, and click to determine to generate a corresponding control file after the user is satisfied. In addition, in order to facilitate determining the starting and ending time of the editing period, a feature map of the audio file corresponding to the light effect, such as a volume or an audio presentation control, can be loaded, so that a user can grasp the rhythm of the audio to create a better light effect control mode.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an application scenario for controlling on/off states of a lamp according to an embodiment of the present application. As shown in fig. 1, the display interface 100 at the user side includes: a light efficacy preview area 110, an audio characteristics presentation area 120, a light efficacy editing area 130, and a plurality of base light efficacy identification controls 140.
The lamp preview area 110 includes multiple groups of target lamps, such as lamps 111, 112, and 113. The audio characteristic display area 120 is configured to display the characteristic of the audio corresponding to the light effect through the audio characteristic control 122, and the total duration of the audio is the total display period of the light effect display, and the user can input the start time and the end time of the editing period through the period selection control 121.
After clicking the basic light effect control 140, the user can display the light effects of the corresponding lamps in parallel on the light effect editing area 130, for example, the user can edit the light effect editing control 131, the light effect editing control 132, the light effect editing control 133 and the light effect editing control 134, such as adding, deleting, changing, copying and the like, so as to edit the lighting effect of the lamps, and finally the user can click the preview button 151 to preview in the preview area 110, can click the determination button 153 to directly generate a target light effect control file, or click the audio selection control 152 to switch the audio corresponding to the target light effect.
The following describes how to implement the lamp on-off state control method provided by the application.
Fig. 2 is a flow chart of a method for controlling on/off states of a lamp according to an embodiment of the present application. As shown in fig. 2, the specific steps of the method for controlling the on-off state of the lamp include:
s201, any editing period intercepted by a user on the total display period and at least one basic light effect selected by the user are obtained.
In this step, the basic lighting effect is formed by alternately turning on and off at least one target lamp in a preset form within a basic period, the basic period corresponding to the target lamp.
For example, as shown in fig. 1, after the user presses at any point on the audio characteristic display area 120 for a long time, an edit period selection instruction is triggered, the terminal displays a period selection control 121 on the display interface, and then the user adjusts the start time and the end time of the edit period to set the edit period. Alternatively, the user may make a long press at multiple locations to trigger the multiple time period selection control 121 to intercept multiple editing time periods. After the user clicks to select an editing period, the editing period is activated, and the user clicks the basic light effect control 140 again to select the basic light effect to be displayed in the editing period.
In one possible design, overlapping is allowed between the editing periods, and various light effects are combined and overlapped according to the requirement of the final displayed target light effect, so that unexpected target light effects which are difficult to obtain through imagination can be combined.
S202, displaying the lamp effect editing controls corresponding to each target lamp in parallel in the editing area.
In this step, the shape of the light effect editing control includes: bar, square corner rectangle, rounded rectangle, etc.
Specifically, as shown in fig. 1, after clicking at least one basic light effect control 140, the user adds at least one basic light effect for the editing period currently in an active state. The number of target luminaires applied in each base luminaire is greater than or equal to 1, such that the corresponding lamp efficacy luminaire edit control for each target luminaire is represented, such as the luminaire edit control 131.
It should be noted that, the display time of the light effect corresponding to the target light fixture may be longer than the editing period, for example, in fig. 1, the light effect editing control 131 is divided into two parts by a dotted line, and the left part represents the part falling in the editing period and is displayed in the first form. While the portion to the right of the dashed line is the portion outside the editing period, shown in the second form.
S203, acquiring an editing instruction of a user for the lamp effect editing control, and modifying the basic lamp effect according to the editing instruction.
In this step, the editing instruction includes at least one of the following editing operations: copying and adding a plurality of light effect editing controls in an editing period; cutting the light effect editing control to change the light effect corresponding to the light effect editing control; newly adding one or more basic light effects; modifying control parameters of the base light effect, the control parameters including: lighting duration, extinguishing duration, and the alternating sequence of the on and off of the plurality of light fixtures.
Specifically, as shown in fig. 1, the user performs any one of the light effect editing controls 131 to 134 in a preset manner, such as clicking or double clicking, and performs modification of the value of the control parameter in the popped light effect parameter modification interface, for example, for the light effect editing control 132 corresponding to the light fixture 112, the direction of the alternate on and off may be edited as follows: from left to right, from right to left, from middle to two sides, from two sides to middle, from left to middle, then from right to middle, and so on.
The user can also add more target lamps in the editing period, namely, the number of the lamp effect editing controls is increased, a plurality of basic lamp effects with shorter display time can be added, and the repeated basic lamp effects can be overlapped with each other in time so as to create the lamp effect with the intersected fluctuation.
In addition, the user may also change the corresponding audio for the target light effect, click on the audio selection control 152 shown in fig. 1, select the audio desired by the user in the database, and then display it through the audio properties control 122.
S204, responding to a confirmation instruction input by a user, generating a target light effect file, and controlling each target lamp to display target light effect according to the target light effect file.
In this step, after the user edits, a confirmation button, such as confirmation button 153 in fig. 1, is clicked, and a corresponding target light effect file is generated according to each light effect parameter in the light effect editing area 130, and is sent to the light fixture controller to display the target light effect. Optionally, the target lighting effect file can be stored in a cloud server or a local database, so that the target lighting effect file can be conveniently called again later.
Optionally, the user may also view the target light effect in the light effect preview area 110 by clicking the preview button 151 before the user confirms that the target light effect file is generated.
The embodiment provides a lamp on-off state control method, which comprises the steps of obtaining any editing period intercepted by a user in a total display period and at least one basic lamp effect selected by the user, displaying lamp effect editing controls corresponding to each target lamp in parallel in an editing area, obtaining an editing instruction of the user on the lamp effect editing controls, modifying the basic lamp effect according to the editing instruction, finally responding to a confirmation instruction input by the user, generating a target lamp effect file, and controlling each target lamp to display target lamp effect according to the target lamp effect file. The technical problem that the on-off state of the lamp cannot be simply and rapidly controlled to transmit specific information with time variability in the prior art is solved. The technical effect that a user can quickly edit the lighting effect in a segmented manner on the total display period is achieved.
For easy understanding, the following description will be given by taking an application scenario of a vehicle light show as an example.
Fig. 3 is a flow chart of another method for controlling on/off states of a lamp according to the embodiment of the present application. As shown in fig. 3, the lighting state control method is applied to a lighting scene, and specifically comprises the following steps:
s301, responding to a time period selection instruction triggered by a user in a preset mode in a first display area, and displaying a time period selection control in the first display area.
In this step, the period selection control includes a start time control and an end time control.
In this embodiment, the first display area includes a waveform control corresponding to the target audio, where the waveform control is used to characterize a feature variation condition of the target audio, so that a user sets an editing period, and the feature variation includes: frequency and/or volume.
Specifically, the user opens the light show design application through the mobile terminal (such as a mobile phone) or the vehicle-mounted terminal (such as a vehicle machine), enters the light show editing interface, as shown in fig. 1, clicks the audio selection control 152 to select an audio file corresponding to the light show, i.e. the target light effect, and then the mobile terminal or the vehicle-mounted terminal loads the audio file onto the audio characteristic control 122, i.e. the waveform control, of the audio characteristic display area 120 to display the volume or frequency change condition of the audio. The user presses any point on the audio feature control 122 long, or by sliding a distance from left to right or right to left on the audio feature control 122, activates the display of the period selection control 121.
S302, responding to an operation instruction of a user to the starting time control and/or the ending time control, and determining an editing period according to the starting time corresponding to the starting time control and the ending time corresponding to the ending time control.
In this step, the user selects the length and position of the required editing period by dragging the start time control and/or the end time control according to the characteristics in the waveform control.
S303, responding to the selection operation of the user on the identification control corresponding to each basic light effect on the second display area, and starting to monitor the position of the identification control.
In this step, a plurality of identification controls corresponding to the basic light effects are displayed on the second display area.
Specifically, as shown in fig. 1, after the user clicks the selected basic light effect identification control 140, the user holds the selected basic light effect identification control and drags the selected basic light effect identification control to the editing area 130.
And S304, when the user finishes the selection operation, if the position is in the editing area, screening out the data file of the basic lighting effect from the database according to the identification code corresponding to the identification control.
In this embodiment, as shown in fig. 1, if the user drags the basic light effect identification control 140 into the editing area 130, the user is considered to confirm that the basic light effect is added, and if the user releases his hand before dragging into the editing area 130, the user is considered not to want to add the basic light effect.
S305, displaying the lamp effect editing controls corresponding to each target lamp in parallel in the editing area.
In the step, if the editing time period is greater than or equal to the basic time period corresponding to the target lamp, displaying a lamp effect editing control in a first form;
if the editing time period is smaller than the basic time period corresponding to the target lamp, dividing the lamp effect editing control into a first part and a second part, wherein the time length corresponding to the first part is equal to the editing time period, the first part is displayed in a first form, the second part is displayed in a second form, and the second form is different from the first form.
Specifically, as shown in fig. 1, the light effect editing control 131 is in the first configuration to the left of the broken line, and in the second configuration to the right of the broken line.
S306, acquiring an editing instruction of a user for the lamp effect editing control, and modifying the basic lamp effect according to the editing instruction.
In this step, the editing instruction includes at least one of the following editing operations: copying and adding a plurality of light effect editing controls in an editing period; cutting the light effect editing control to change the light effect corresponding to the light effect editing control; newly adding one or more basic light effects; modifying control parameters of the base light effect, the control parameters including: lighting duration, extinguishing duration, and the alternating sequence of the on and off of the plurality of light fixtures.
Specifically, the user can change the light effect by dragging the position of the light effect editing control, and can click the light effect editing control by double-clicking, so that the terminal pops up a corresponding control parameter modification interface to directly modify the value of the control parameter, and can press the light effect editing control by two fingers, drag the light effect editing control leftwards and rightwards or upwards and downwards, and copy the light effect editing control.
S307, a target light effect file is generated in response to a confirmation instruction input by a user, and each target lamp is controlled to display target light effects according to the target light effect file.
The embodiment provides a lamp on-off state control method, which comprises the steps of obtaining any editing period intercepted by a user in a total display period and at least one basic lamp effect selected by the user, displaying lamp effect editing controls corresponding to each target lamp in parallel in an editing area, obtaining an editing instruction of the user on the lamp effect editing controls, modifying the basic lamp effect according to the editing instruction, finally responding to a confirmation instruction input by the user, generating a target lamp effect file, and controlling each target lamp to display target lamp effect according to the target lamp effect file. The technical problem that the on-off state of the lamp cannot be simply and rapidly controlled to transmit specific information with time variability in the prior art is solved. The technical effect that a user can quickly edit the lighting effect in a segmented manner on the total display period is achieved.
Fig. 4 is a schematic structural diagram of a lighting device on-off state control device according to an embodiment of the present application. The lamp on-off state control device 400 may be implemented by software, hardware or a combination of both.
As shown in fig. 4, the lamp on-off state control device 400 includes:
the obtaining module 401 is configured to obtain any editing period intercepted by a user over a total display period, and at least one basic light effect selected by the user, where the basic light effect is formed by alternately turning on and off at least one target light in a preset form in the basic period, and the basic period corresponds to the target light;
the processing module 402 is configured to display, in parallel, a light effect editing control corresponding to each target light fixture in an editing area;
the obtaining module 401 is further configured to obtain an editing instruction of the user for the light effect editing control;
the processing module 402 is further configured to modify the basic lighting effect according to the editing instruction;
the acquiring module 401 is further configured to acquire a confirmation instruction input by a user;
the processing module 402 is further configured to generate a target light effect file in response to a confirmation instruction input by the user, and control each target lamp to display the target light effect according to the target light effect file.
In one possible design, the editing instructions include at least one of the following editing operations: copying and adding a plurality of light effect editing controls in an editing period; cutting the light effect editing control to change the light effect corresponding to the light effect editing control; newly adding one or more basic light effects; modifying control parameters of the base light effect, the control parameters including: lighting duration, extinguishing duration, and the alternating sequence of the on and off of the plurality of light fixtures.
In one possible design, the obtaining module 401 is configured to obtain a period selection instruction triggered by a user in a preset manner in the first display area;
a processing module 402, configured to display a period selection control in the first display area in response to a period selection instruction, where the period selection control includes a start time control and an end time control;
the obtaining module 401 is configured to obtain an operation instruction of a user on a start time control and/or an end time control;
the processing module 402 is configured to determine, in response to the operation instruction, an editing period according to a start time corresponding to the start time control and an end time corresponding to the end time control.
In one possible design, the first display area includes a waveform control corresponding to the target audio, where the waveform control is used to characterize a feature variation condition of the target audio, so as to facilitate a user to set an editing period, and the feature variation includes: frequency and/or volume.
In one possible design, the obtaining module 401 is configured to obtain a selection operation of the identifier control corresponding to each basic light effect by the user on the second display area;
a processing module 402 for starting to monitor the position of the identification control in response to the selection operation; when the user finishes the selection operation, if the position is in the editing area, the data file of the basic lighting effect is screened out from the database according to the identification code corresponding to the identification control.
In one possible design, the processing module 402 is configured to:
if the editing time period is greater than or equal to the basic time period corresponding to the target lamp, displaying a lamp effect editing control in a first form;
if the editing time period is smaller than the basic time period corresponding to the target lamp, dividing the lamp effect editing control into a first part and a second part, wherein the time length corresponding to the first part is equal to the editing time period, the first part is displayed in a first form, the second part is displayed in a second form, and the second form is different from the first form.
It should be noted that, the apparatus provided in the embodiment shown in fig. 4 may perform the method provided in any of the above method embodiments, and the specific implementation principles, technical features, explanation of terms, and technical effects are similar, and are not repeated herein.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 5, the electronic device 500 may include: at least one processor 501 and a memory 502. Fig. 5 shows an electronic device, for example a processor.
A memory 502 for storing a program. In particular, the program may include program code including computer-operating instructions.
The memory 502 may comprise high-speed RAM memory or may further comprise non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor 501 is configured to execute computer-executable instructions stored in the memory 502 to implement the methods described in the method embodiments above.
The processor 501 may be a central processing unit (central processing unit, abbreviated as CPU), or an application specific integrated circuit (application specific integrated circuit, abbreviated as ASIC), or one or more integrated circuits configured to implement embodiments of the present application.
Alternatively, the memory 502 may be separate or integrated with the processor 501. When the memory 502 is a device separate from the processor 501, the electronic device 500 may further include:
a bus 503 for connecting the processor 501 and the memory 502. The bus may be an industry standard architecture (industry standard architecture, abbreviated ISA) bus, an external device interconnect (peripheral component, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. Buses may be divided into address buses, data buses, control buses, etc., but do not represent only one bus or one type of bus.
Alternatively, in a specific implementation, if the memory 502 and the processor 501 are integrated on a chip, the memory 502 and the processor 501 may complete communication through an internal interface.
The embodiment of the application also provides a vehicle, which comprises: any of the possible electronic devices of the embodiment shown in fig. 5.
Embodiments of the present application also provide a computer-readable storage medium, which may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, and specifically, the computer readable storage medium stores program instructions for the methods in the above method embodiments.
The embodiments of the present application also provide a computer program product comprising a computer program which, when executed by a processor, implements the method of the above-described method embodiments.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application 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 scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (9)

1. The method for controlling the on-off state of the lamp is characterized by comprising the following steps of:
acquiring any editing period intercepted by a user on a total display period and at least one basic light effect selected by the user, wherein the basic light effect is formed by alternately turning on and off at least one target lamp in a preset form in the basic period, and the basic period corresponds to the target lamp;
displaying the lamp effect editing controls corresponding to each target lamp in parallel in an editing area;
acquiring an editing instruction of the user on the lighting effect editing control, and modifying the basic lighting effect according to the editing instruction;
responding to the confirmation instruction input by the user, generating a target light effect file, and controlling each target lamp to display target light effect according to the target light effect file;
the step of obtaining any editing period intercepted by the user on the total display period comprises the following steps:
responding to a time period selection instruction triggered by the user in a first display area in a preset mode, and displaying a time period selection control in the first display area, wherein the time period selection control comprises a starting time control and an ending time control;
and responding to the operation instruction of the user on the starting time control and/or the ending time control, and determining the editing time period according to the starting time corresponding to the starting time control and the ending time corresponding to the ending time control.
2. The lighting-on/off state control method according to claim 1, wherein the editing instruction includes at least one of the following editing operations: copying and adding a plurality of light effect editing controls in the editing period; cutting the light effect editing control to change the light effect corresponding to the light effect editing control; adding one or more basic light effects; modifying control parameters of the base light effect, the control parameters comprising: lighting duration, extinguishing duration, and lighting-off alternating sequence of a plurality of the lamps.
3. The method of claim 1, wherein the first display area includes a waveform control corresponding to a target audio, the waveform control being used to characterize a characteristic change condition of the target audio, so that the user sets the editing period, the characteristic change including: frequency and/or volume.
4. The method for controlling the on/off state of a lamp according to claim 1, wherein said obtaining at least one basic light effect selected by a user comprises:
responding to the selection operation of the user on the second display area on the identification control corresponding to each basic light effect, and starting to monitor the position of the identification control;
and when the user finishes the selection operation, if the position is in the editing area, screening the data file of the basic lighting effect from a database according to the identification code corresponding to the identification control.
5. The method for controlling on-off states of lamps according to claim 1, wherein displaying the light effect editing controls corresponding to each target lamp in parallel in the editing area comprises:
if the editing time period is greater than or equal to the basic time period corresponding to the target lamp, displaying the lamp efficiency editing control in a first form;
if the editing time period is smaller than the basic time period corresponding to the target lamp, dividing the light effect editing control into a first part and a second part, wherein the time length corresponding to the first part is equal to the editing time period, the first part is displayed in the first form, the second part is displayed in the second form, and the second form is different from the first form.
6. The utility model provides a lamps and lanterns state control device that goes on and off which characterized in that includes:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring any editing period intercepted by a user on a total display period and at least one basic light effect selected by the user, the basic light effect is formed by alternately turning on and off at least one target light in a preset form in the basic period, and the basic period corresponds to the target light;
the processing module is used for displaying the lamp effect editing controls corresponding to each target lamp in parallel in the editing area;
the acquisition module is also used for acquiring an editing instruction of the user on the lamp effect editing control;
the processing module is also used for modifying the basic lighting effect according to the editing instruction;
the acquisition module is also used for acquiring the confirmation instruction input by the user;
the processing module is also used for responding to the confirmation instruction input by the user, generating a target light effect file and controlling each target lamp to display target light effect according to the target light effect file;
the acquisition module is specifically used for acquiring a time period selection instruction triggered by the user in a first display area in a preset mode;
the processing module is specifically configured to respond to the period selection instruction, and display a period selection control in the first display area, where the period selection control includes a start time control and an end time control;
the acquisition module is specifically used for acquiring an operation instruction of the user on the starting time control and/or the ending time control;
the processing module is specifically configured to determine the editing period according to the start time corresponding to the start time control and the end time corresponding to the end time control in response to the operation instruction.
7. An electronic device, comprising: a processor and a memory;
the memory is used for storing a computer program of the processor;
the processor is configured to execute the lamp on-off state control method of any one of claims 1 to 5 via execution of the computer program.
8. A vehicle comprising the electronic device of claim 7.
9. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the lamp on-off state control method according to any one of claims 1 to 5.
CN202111547801.6A 2021-12-16 2021-12-16 Lighting on-off state control method, device, equipment, medium and program product Active CN114051304B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111547801.6A CN114051304B (en) 2021-12-16 2021-12-16 Lighting on-off state control method, device, equipment, medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111547801.6A CN114051304B (en) 2021-12-16 2021-12-16 Lighting on-off state control method, device, equipment, medium and program product

Publications (2)

Publication Number Publication Date
CN114051304A CN114051304A (en) 2022-02-15
CN114051304B true CN114051304B (en) 2023-09-26

Family

ID=80213248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111547801.6A Active CN114051304B (en) 2021-12-16 2021-12-16 Lighting on-off state control method, device, equipment, medium and program product

Country Status (1)

Country Link
CN (1) CN114051304B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116628913B (en) * 2023-07-24 2024-01-26 深圳市千岩科技有限公司 Method, device, equipment and medium for configuring physical space layout of lamp
CN116685029B (en) * 2023-08-03 2023-09-26 深圳市千岩科技有限公司 Spliced lamp, controller thereof, configuration method and device
CN117042265B (en) * 2023-10-10 2024-02-23 深圳市千岩科技有限公司 Calibration method, device, electronic equipment and computer readable storage medium
CN117042247B (en) * 2023-10-10 2024-02-23 深圳市千岩科技有限公司 Segmentation method, segmentation device, luminaire and computer-readable storage medium
CN117440583B (en) * 2023-12-18 2024-03-15 深圳市千岩科技有限公司 Indoor lighting lamp, lamp efficiency configuration method, device and equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017000787A1 (en) * 2015-06-30 2017-01-05 芋头科技(杭州)有限公司 System for editing led lighting
CN111182703A (en) * 2020-01-21 2020-05-19 浙江创意声光电科技有限公司 Intelligent lighting terminal one-key general control system and control method
CN112312630A (en) * 2020-10-30 2021-02-02 广州小鹏汽车科技有限公司 Data processing method and device
CN112306482A (en) * 2020-10-30 2021-02-02 广州小鹏汽车科技有限公司 Data processing method and device
CN112306483A (en) * 2020-10-30 2021-02-02 广州小鹏汽车科技有限公司 Data processing method and device
CN113183871A (en) * 2021-05-12 2021-07-30 中国第一汽车股份有限公司 Method and device for controlling greeting lamp, electronic equipment and storage medium
CN113377366A (en) * 2021-07-09 2021-09-10 北京字跳网络技术有限公司 Control editing method, device, equipment, readable storage medium and product

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8139919B2 (en) * 2007-03-29 2012-03-20 Microsoft Corporation Light table editor for video snippets
US20160370981A1 (en) * 2015-06-19 2016-12-22 Uniform Industrial Corp. Editing device and method for edit and preview of light control pattern
CN112230909B (en) * 2019-07-15 2023-05-23 腾讯科技(深圳)有限公司 Method, device, equipment and storage medium for binding data of applet

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017000787A1 (en) * 2015-06-30 2017-01-05 芋头科技(杭州)有限公司 System for editing led lighting
CN111182703A (en) * 2020-01-21 2020-05-19 浙江创意声光电科技有限公司 Intelligent lighting terminal one-key general control system and control method
CN112312630A (en) * 2020-10-30 2021-02-02 广州小鹏汽车科技有限公司 Data processing method and device
CN112306482A (en) * 2020-10-30 2021-02-02 广州小鹏汽车科技有限公司 Data processing method and device
CN112306483A (en) * 2020-10-30 2021-02-02 广州小鹏汽车科技有限公司 Data processing method and device
CN113183871A (en) * 2021-05-12 2021-07-30 中国第一汽车股份有限公司 Method and device for controlling greeting lamp, electronic equipment and storage medium
CN113377366A (en) * 2021-07-09 2021-09-10 北京字跳网络技术有限公司 Control editing method, device, equipment, readable storage medium and product

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DMX灯光秀软件;CQILED成祈;https://www.cqiled.com;第1-9页 *

Also Published As

Publication number Publication date
CN114051304A (en) 2022-02-15

Similar Documents

Publication Publication Date Title
CN114051304B (en) Lighting on-off state control method, device, equipment, medium and program product
CN109672922B (en) Game video editing method and device
CN109428968B (en) Method and device for controlling terminal and storage medium
CN107340945A (en) A kind of sound method of adjustment and device, computer installation and readable storage medium storing program for executing
CN104808768A (en) Prompting method and prompting device for file transfer progress and mobile terminal
JP6223566B2 (en) Method and apparatus for processing mobile terminal applications
CN111176646A (en) Generation method and device of emergency plan web page
CN111625335A (en) Theme switching method, system and equipment and computer readable storage medium
CN114245528B (en) Vehicle lamplight show control method, device, equipment, medium and program product
CN109544665A (en) Generation method, device and the storage medium of animation poster
CN115543756B (en) Lamp effect display method, device and storage medium
CN110442385A (en) Light editor, driving and control method, system, equipment and storage medium
CN104793937B (en) A kind of startup control method and device
CN110347454A (en) Application program theme setting method, terminal equipment control method and device, terminal device and computer readable storage medium
CN117962741A (en) Vehicle atmosphere lamp control method, control device, electronic equipment and storage medium
CN108156485A (en) Method, apparatus, storage medium and the terminal device of streaming media transcoding
WO2022117027A1 (en) Configuration method for sub-devices of smart home control panel, computer device and computer-readable storage medium
CN105279035B (en) Calendared tasks querying method and device
CN109561196A (en) A kind of method of shuangping san, mobile terminal and storage medium
CN106445286A (en) Focus determination method and device for terminal screen based on split screens and terminal equipment
CN111448847B (en) Illumination control system for controlling a plurality of light sources based on source image and method thereof
JP2008181277A (en) Stock information display method and stock information display system
CN113144606A (en) Skill triggering method of virtual object and related equipment
CN110248286A (en) Sound-box device lamp light control method and relevant apparatus
CN110895576A (en) Display method and device for terminal screen protection

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
GR01 Patent grant