Luminaire device control method, apparatus, system, device, and medium
By cyclically controlling the indicator lights in the indicator light circuit, the display parameters of the lighting fixtures are determined based on the switching actions, which solves the problem of low control efficiency of lighting equipment and achieves an intuitive control effect for lighting equipment.
Patent Information
- Application Number
- CN202410649640.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2044-05-23
AI Technical Summary
In the existing technology, the control efficiency of lighting equipment is low, and users need to operate the mechanical switch multiple times to switch to the desired display parameters.
By controlling the preset indicator circuit, the indicator lights are cyclically controlled according to multiple preset indicator parameters. The current indicator parameter is determined in response to the switch action, and the lighting display parameters are determined according to the parameter, thereby controlling the lighting equipment.
It improves the control efficiency of lighting equipment, allowing users to intuitively understand the control effect through the indicator parameters of the indicator light circuit, and ensuring that the display of the lighting equipment after the switch action meets the user's needs.
Smart Images

Figure CN118400849B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of intelligent control, and in particular, to a lamp device control method, device, system, equipment and medium. BACKGROUND
[0002] In daily production and life, lamps are no longer simple lighting devices, but are increasingly widely used as atmosphere devices. The number of lamp devices in the same scene is also increasing, and the display parameters of the lamp devices are increasingly diversified.
[0003] In the related art, the diversified display parameters in the lamp device can be switched and controlled by the on-off of the mechanical switch. Each time the mechanical switch is detected to act, the switch action is sent to the lamp device once, and the lamp device switches and displays the display parameters according to the switch action received this time.
[0004] However, in the above-mentioned method of controlling the display parameters of the lamp device, the user needs to operate the mechanical switch to see the display parameters switched to by the current lamp device. When the display parameters switched to by the lamp are not required by the user, the user needs to operate the mechanical switch again until the required display parameters are switched to. Thus, the control efficiency of the lamp device is low. SUMMARY
[0005] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a lamp device control method, device, system, equipment and medium, which solves the technical problem of low control efficiency of the lamp device in the prior art.
[0006] The present disclosure provides a lamp device control method, which comprises: controlling a preset indicator light circuit, and cyclically controlling an indicator light in the indicator light circuit according to a plurality of preset indicator parameters; in response to obtaining a switch action, determining a current indicator parameter of the indicator light circuit; determining a lamp display parameter according to the current indicator parameter; and controlling a lamp device according to the lamp display parameter.
[0007] The present disclosure also provides a lamp device control system, which comprises: a switch control device, a lamp device, a micro control unit module, a switch detection circuit and an indicator light circuit. One end of the switch detection circuit is connected with the switch control device, the other end of the switch control device is connected with the micro control unit module, the indicator light circuit comprises an indicator light, and the indicator light circuit is connected with the micro control unit module. The micro control unit module is used to control the lamp device by executing the control method of the lamp device as described above.
[0008] The embodiment of the present disclosure further provides a lamp device control device, the device comprises: an indicator light control module, which is used for controlling a preset indicator light circuit and cyclically controlling indicator lights in the indicator light circuit according to a plurality of preset indicator parameters; a first determination module, which is used for determining a current indicator parameter of the preset indicator light circuit in response to obtaining a switching action; a second determination module, which is used for determining a lamp display parameter according to the current indicator parameter; and a display module, which is used for controlling a lamp device according to the lamp display parameter.
[0009] The embodiment of the present disclosure further provides an electronic device, which comprises: a processor; a memory for storing executable instructions of the processor; and the processor is used for reading the executable instructions from the memory and executing the instructions to implement the lamp device control method provided by the embodiment of the present disclosure.
[0010] The embodiment of the present disclosure further provides a computer readable storage medium, which stores a computer program, and the computer program is used for executing the lamp device control method provided by the embodiment of the present disclosure.
[0011] The technical scheme provided by the embodiment of the present disclosure has the following advantages compared with the prior art.
[0012] The lamp device control scheme provided by the embodiment of the present disclosure controls a preset indicator light circuit, cyclically controls indicator lights in the indicator light circuit according to a plurality of preset indicator parameters, determines a current indicator parameter of the indicator light circuit in response to obtaining a switching action, and then determines a lamp display parameter according to the current indicator parameter, and controls a lamp device according to the lamp display parameter. In the technical scheme, the indicator parameter of the indicator light circuit directly indicates the control effect of the lamp device, which ensures that the control effect of the lamp device after the switching action according to the indicator parameter meets the user demand, and improves the control efficiency of the lamp device. BRIEF DESCRIPTION OF DRAWINGS
[0013] The above and other features, advantages, and aspects of the embodiments of the present disclosure will become more apparent by describing in detail the following specific embodiments with reference to the attached drawings. Throughout the drawings, the same or similar reference numerals refer to the same or similar elements. It should be understood that the drawings are schematic, and the original and elements are not necessarily drawn according to the scale.
[0014] Figure 1 An architecture schematic diagram of a lamp control system provided by the embodiment of the present disclosure;
[0015] Figure 2 A schematic diagram of a switching detection circuit provided by the embodiment of the present disclosure;
[0016] Figure 3 A schematic diagram of an indicator light circuit provided by the embodiment of the present disclosure;
[0017] Figure 4 A flowchart of a lamp device control method provided by an embodiment of the present disclosure is shown in FIG. 1.
[0018] Figure 5 A structural diagram of a lamp device control apparatus provided by an embodiment of the present disclosure is shown in FIG. 2.
[0019] Figure 6 A structural diagram of an electronic device provided by an embodiment of the present disclosure is shown in FIG. 3. DETAILED DESCRIPTION
[0020] Embodiments of the present disclosure will be described in more detail by referring to the drawings. Although certain embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein, but rather the embodiments are provided so that the present disclosure can be more thoroughly and completely understood. It is understood that the drawings and embodiments of the present disclosure are for exemplary purposes only and are not intended to limit the scope of the present disclosure.
[0021] It should be understood that each step recited in the method embodiments of the present disclosure can be executed in different orders and / or in parallel. In addition, the method embodiments can include additional steps and / or omit the execution of the steps shown. The scope of the present disclosure is not limited in this respect.
[0022] The term "comprising" and variations thereof as used in the present disclosure are open-ended, that is, "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Related definitions are given throughout the description.
[0023] It should be noted that the concepts of "first", "second", etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not intended to limit the order or interdependence of the functions performed by these devices, modules or units.
[0024] It should be noted that the adjectives "one", "more" mentioned in the present disclosure are illustrative and not limiting, and those skilled in the art should understand that "one or more" should be understood unless otherwise explicitly stated in the context.
[0025] The names of the messages or information exchanged between the devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of the messages or information.
[0026] To solve the above problems, the present embodiment provides a lamp device control method, wherein the lamp device of the present embodiment can be any lamp device located in the same string loop, which can include multiple lamps or one lamp, including but not limited to LED lamps belonging to the same loop, and the like, wherein, as shown in Figure 1 some possible embodiments, the lamp control system executing the lamp control method of the present embodiment can include a switch control device, a lamp device, a micro control unit module, a switch detection circuit, and an indicator light circuit.
[0027] Wherein one end of the switch detection circuit is connected with the switch control device, the other end of the switch control device is connected with the micro control unit module, the indicator light circuit includes an indicator light, and the indicator light circuit is connected with the micro control unit module, wherein the micro control unit module is used to control the lamp device by executing the control method of the lamp device. Wherein, in some possible embodiments, the system further includes a lamp driver, such as an LED constant current driver when the lamp device is an LED lamp, etc. The lamp driver is used to drive the lamp device, and the micro control unit module controls the lamp device through the lamp driver. Wherein, when the switch is on or off, the working voltage of the micro control module is not less than the working voltage range corresponding to the normal working mode of the micro control unit, so as to ensure that the micro control module is not reset.
[0028] Wherein, in some possible embodiments, as shown in Figure 2 the switch detection circuit can include an AC detection circuit, etc., and the switch detection circuit is used to detect the on-off of the switch control device, so as to realize the detection of the switch action.
[0029] In the present embodiment, the firewire and zero line of the control circuit where the AC detection circuit is located are connected with the input power supply of the switch control device, when the current switch action is detected, the triode of the AC circuit will be on or off, at this time, the micro control unit module connected with the AC detection circuit will detect this on-off signal through the "S1" position in the figure, so as to obtain the current switch action.
[0030] In addition, the above-mentioned indicator light circuit can include one or more indicator lights, wherein, when including multiple indicator lights, as shown in Figure 3 the multiple indicator lights can be multiple LED indicator lights, and the user can intuitively observe the display of the multiple LED indicator lights.
[0031] The method will be introduced in combination with specific embodiments.
[0032] Figure 4A flowchart of a lamp device control method is provided for the embodiments of the present disclosure. The method can be executed by a lamp device control apparatus, which can be implemented by software and / or hardware and can be integrated in an electronic device. As shown in Figure 4 The method includes the following steps.
[0033] In step 401, a preset indicator light circuit is controlled, and an indicator light in the indicator light circuit is controlled in cycles according to a plurality of preset indicator parameters.
[0034] In an embodiment of the present disclosure, a preset indicator light circuit is controlled, and an indicator light in the indicator light circuit is controlled in cycles according to a plurality of preset indicator parameters. Each preset indicator parameter in the plurality of preset indicator parameters corresponds to a display duration, which can be calibrated according to the scene requirements, for example, 1 second.
[0035] In some possible embodiments, the plurality of preset indicator parameters can be sorted in advance to generate a sorting result, and the indicator light is controlled in cycles according to the sorting result. For example, the plurality of preset indicator parameters include preset indicator parameters a, b, c, and d, and the corresponding indicator light is controlled in cycles according to a-b-c-d-a-b-c-d-a-….
[0036] In different application scenarios, the above-mentioned preset indicator parameters are different, and examples are as follows.
[0037] In some possible examples, the preset indicator parameter includes the number of indicator light points. For example, if there are 10 indicator lights, the plurality of preset indicator parameters include 0-10 indicator light points, and the indicator light can be turned on in cycles according to the process of turning on 0, 1, 2, …, and 10 indicator lights.
[0038] In some possible examples, the preset indicator parameter includes an indicator light display parameter, which includes at least one of a display brightness and a display color. For example, when the indicator light display parameter includes the display brightness, a plurality of indicator light display brightnesses can be set in advance, and the display of the indicator light is controlled according to the plurality of indicator light display brightnesses.
[0039] In step 402, in response to obtaining a switching action, a current indicator parameter of the indicator light circuit is determined.
[0040] In an embodiment of the present disclosure, in response to obtaining a switching action, for example, based on the AC detection circuit detecting that the circuit has on-off, the switching action is obtained, and in response to obtaining the switching action, the current indicator parameter of the indicator light circuit is determined.
[0041] It is understandable that, since the preset indicator light circuit can intuitively show the display of the indicator light when displaying according to the preset indicator parameter, when the lamp display parameter corresponding to the current indicator parameter is the display effect that the user wants to control the lamp device to achieve, the user can perform the corresponding switching action.
[0042] In step 403, the lamp display parameter is determined according to the current indicator parameter.
[0043] In step 404, the lamp device is controlled according to the lamp display parameter.
[0044] In an embodiment of the present disclosure, the lamp display parameter is determined according to the current indicator parameter, and then the lamp device is controlled according to the lamp display parameter. Thus, in this embodiment, no additional communication module is needed to control the lamp device, and the user can intuitively know the control effect of the lamp device through the simple indicator light circuit, thereby improving the control efficiency of the lamp device.
[0045] It should be noted that, as mentioned in the above embodiments, in different application scenarios, the above lamp display parameter is different, and thus the way of determining the lamp display parameter according to the current indicator parameter is different, which will be described in detail below in combination with specific embodiments as follows:
[0046] In an embodiment of the present disclosure, the preset indicator light circuit includes a plurality of indicator lights, and in this embodiment, a plurality of preset indicator parameters correspond to the number of indicator lights that are turned on, wherein determining the current indicator parameter of the preset indicator light circuit includes determining the number of indicator lights that are currently turned on, and determining the number of indicator lights as the current indicator parameter.
[0047] Further, when determining the lamp display parameter corresponding to the current indicator parameter, the number ratio of the number of indicator lights to the total number of indicator lights can be calculated, and the lamp display parameter is determined according to the number ratio.
[0048] For example, when the lamp display parameter includes the lamp display brightness, the number ratio can be determined as the lamp display brightness, for example, the total number of indicator lights is 10, and the current number of indicator lights that are turned on is 4, then 40% brightness is output to the LED constant current driver to drive the lamp device, the current number of indicator lights that are turned on is 8, then 80% brightness is output to the LED constant current driver to drive the lamp device, and all the indicator lights are turned off, then the preset minimum brightness is output to the LED constant current driver to drive the lamp device, and so on.
[0049] For example, the lamp display parameter includes the lamp display color, and the corresponding relationship between the number of indicator lights and the lamp display color is preset, and the lamp display color corresponding to the current number of indicator lights that are turned on is determined based on the corresponding relationship.
[0050] In one embodiment of the present disclosure, the preset indicator light circuit can directly determine the indicator light display parameter of the currently lit indicator light, wherein the indicator light display parameter includes at least one of the indicator light display brightness, the indicator light display color, etc., and in this embodiment, the indicator light display color is determined as the current indicator parameter.
[0051] Further, when determining the lamp display parameter according to the current indicator parameter, the indicator light display parameter is directly determined as the lamp display parameter.
[0052] For example, when the indicator light display color is red, the lamp device is directly controlled to display red, and when the indicator light display parameter is 80% brightness, the lamp device is directly controlled to display 80% brightness. In this embodiment, the display effect of the lamp device is directly reflected through the indicator light display parameter of the indicator light, further improving the intuitiveness of the user to know the control effect of the lamp device.
[0053] Of course, in actual execution, in order to avoid the user not having enough time to perform the on-off action when the preset indicator parameter is realized, for example, when the current indicator parameter is to light 10 indicator lights, the display length of the 10 indicator lights is 1 second, and the user does not have enough time to perform the on-off action within 1 second, resulting in that when the user performs the on-off action, the number of lit indicator lights has already cycled to 0, at this time, the lamp display parameter of the lamp device is displayed according to the preset minimum brightness, instead of 100% brightness corresponding to 10 lit indicator lights.
[0054] In one embodiment of the present disclosure, a return switch of the preset indicator light circuit can be provided, and after detecting that the user closes the corresponding return switch, the indicator light circuit can be controlled to return to the indicator parameter corresponding to the last cycle, so that the user can ensure that the display effect of the lamp device meets the expectation by performing the on-off action again. The return switch is connected with the micro control unit module, and the return switch can be a preset on-off detection circuit connected with the power supply. When the return switch is triggered, the preset on-off detection circuit can detect an on-off signal, so that the micro control unit module can detect the on-off signal and control the preset indicator light circuit to return to the last indicator parameter for display.
[0055] In summary, the lamp device control method of the embodiment of the present disclosure controls the preset indicator light circuit, controls the indicator light in the indicator light circuit according to a plurality of preset indicator parameters, determines the current indicator parameter of the indicator light circuit in response to obtaining the on-off action, further determines the lamp display parameter according to the current indicator parameter, and controls the lamp device according to the lamp display parameter. In this technical solution, the control effect of the lamp device is directly indicated by the indicator parameter of the indicator light circuit, which ensures that the control effect of the lamp device after the on-off action according to the indicator parameter meets the user's demand, and improves the control efficiency of the lamp device.
[0056] To achieve the above-mentioned embodiments, the present disclosure also proposes a lamp device control apparatus.
[0057] Figure 5 A structural schematic diagram of a lamp device control apparatus provided by an embodiment of the present disclosure is shown in the figure. The apparatus can be realized by software and / or hardware, and can be integrated in an electronic device for lamp device control. The electronic device can integrate the micro control unit module mentioned in the above-mentioned embodiments. As shown in the figure, the apparatus includes an indicator control module 510, a first determination module 520, a second determination module 530, and a display module 540, wherein, Figure 5
[0058] The indicator control module 510 is configured to control a preset indicator light circuit, and to cyclically control an indicator light in the indicator light circuit according to a plurality of preset indicator parameters.
[0059] The first determination module 520 is configured to determine a current indicator parameter of the preset indicator light circuit in response to obtaining a switching action.
[0060] The second determination module 530 is configured to determine a lamp display parameter according to the current indicator parameter.
[0061] The display module 540 is configured to control a lamp device according to the lamp display parameter.
[0062] In an embodiment of the present disclosure, the preset indicator light circuit includes a plurality of indicator lights, and the first determination module 520 is specifically configured to:
[0063] determine a number of currently lit indicator lights in the preset indicator light circuit;
[0064] determine the number of indicator lights as the current indicator parameter.
[0065] In an embodiment of the present disclosure, the second determination module 530 is specifically configured to:
[0066] calculate a quantity ratio of the number of indicator lights to a total number of the plurality of indicator lights;
[0067] determine a lamp display parameter according to the quantity ratio.
[0068] In an embodiment of the present disclosure, the first determination module 520 is specifically configured to:
[0069] determine an indicator light display parameter of a currently lit indicator light in the preset indicator light circuit;
[0070] determine the indicator light display parameter as the current indicator parameter.
[0071] In an embodiment of the present disclosure, the second determining module 530 is specifically configured to:
[0072] The indicator light display parameter is determined as the lamp display parameter.
[0073] The lamp device control apparatus provided by the embodiments of the present disclosure can execute the lamp device control method provided by any of the embodiments of the present disclosure, and has the corresponding function modules and beneficial effects of the execution method.
[0074] In order to implement the above-mentioned embodiments, the present disclosure further proposes a computer program product, comprising computer programs / instructions, which are executed by a processor to implement the lamp device control method in the above-mentioned embodiments.
[0075] Figure 6 A structural schematic diagram of an electronic device provided by an embodiment of the present disclosure.
[0076] The following will be specifically described with reference to Figure 6 which shows a structural schematic diagram of an electronic device 600 suitable for implementing the electronic device in the embodiments of the present disclosure. The electronic device 600 in the embodiments of the present disclosure can include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. Figure 6 The electronic device shown is only an example, and should not bring any limitation to the functions and use range of the embodiments of the present disclosure.
[0077] As shown in Figure 6 , the electronic device 600 can include a processor (such as a central processor, a graphics processor, etc.) 601, which can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 602 or programs loaded from a storage 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processor 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0078] In general, the following devices can be connected to the I / O interface 605: input devices 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, and the like; output devices 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, and the like; storage devices 608 including, for example, a magnetic tape, a hard disk, and the like; and communication devices 609. The communication devices 609 can allow the electronic device 600 to communicate wirelessly or wired with other devices to exchange data. Although Figure 6 The electronic device 600 is shown with various devices, but it is understood that all of the shown devices are not required to be implemented or present. More or less devices can alternatively be implemented or present.
[0079] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for executing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network through the communication devices 609, or installed from the storage devices 608, or installed from the ROM 602. When the computer program is executed by the processor 601, the above-mentioned functions defined in the luminaire device control method of embodiments of the present disclosure are performed.
[0080] It should be noted that the computer-readable medium described above can be a computer-readable signal medium or a computer-readable storage medium or any combination thereof. The computer-readable storage medium, for example, can be, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any suitable combination of the foregoing. More specific examples of the computer-readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program used by or in connection with an instruction execution system, apparatus or device. In the disclosure, the computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, in which the computer-readable program code is contained. Such a propagated data signal can take any of a variety of forms, including, but not limited to, an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. The computer-readable signal medium can also be any computer-readable medium that is not a storage medium and that can communicate, propagate or transport a program for use by or in connection with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including, but not limited to, wire, cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
[0081] In some embodiments, the client, server, or both can communicate using any current known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet, and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any current known or future developed networks.
[0082] The computer-readable medium described above can be included in the electronic device; or exist separately from the electronic device, and not be assembled into the electronic device.
[0083] The computer-readable medium described above carries one or more programs, when the one or more programs are executed by the electronic device, cause the electronic device to:
[0084] The control preset indicator light circuit controls the indicator light in the indicator light circuit according to a plurality of preset indicator parameters, determines the current indicator parameter of the indicator light circuit in response to obtaining the switch action, and then determines the lamp display parameter according to the current indicator parameter, and controls the lamp device according to the lamp display parameter. In the technical solution, the control effect of the lamp device is intuitively indicated based on the indicator parameter of the indicator light circuit, the control effect of the lamp device after the switch action according to the indicator parameter is ensured to meet the user demand, and the control efficiency of the lamp device is improved.
[0085] Electronic devices can be written in one or more programming languages or combinations thereof including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0086] The flow and block diagrams in the drawings show architectural, functional, and operational architectures of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flow and block diagrams can represent a module, a segment, or a portion of code that comprises one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks may be executed in the reverse order, depending on the functionality involved. It will also be noted that each block of the block diagrams and / or flowchart illustrations, and combinations thereof, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0087] The units described in the embodiments of the present disclosure can be implemented in a software manner or in a hardware manner. In some cases, the names of the units do not constitute a limitation on the units themselves.
[0088] The functionality described above in this document can be performed, at least in part, by one or more hardware logic components. For example, and without limitation, non- transitory machine-readable media can include RAM, ROM, programmable ROM (EPROM, EEPROM or flash memory), or any other storage device(s) through which program instructions can be stored and executed by a processing unit. The above described functions can be implemented as software modules or software functions using object-oriented design methodology, or using any other suitable programming technique.
[0089] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more of: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0090] The foregoing description merely exemplifies the preferred embodiments of the disclosure and the principles of the technology involved. It is believed that those skilled in the art can accomplish the disclosure with the enclosed claims without any creative work. The scope of the disclosure should not be limited by the technical features of the specific embodiments described above, but should include all the technical solutions falling within the concept of the disclosure.
[0091] In addition, while operations are depicted in a particular order, this should not be understood as requiring these operations to be performed in the particular order shown or in sequential order, as some operations can be performed in parallel or concurrently. Also, described certain features can also be implemented as software modules or function calls including the order in which certain operations are performed. Yet still, the various features and steps can be combined in any suitable manner without departing from the scope of the present disclosure.
[0092] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
Claims
1. A luminaire device control method, characterized by, The method comprises the following steps: controlling a preset indicator light circuit to cyclically control indicator lights in the indicator light circuit according to a plurality of preset indicator parameters; in response to obtaining a switch action, determining, when the preset indicator light circuit contains a plurality of indicator lights, a number of currently lit indicator lights in the preset indicator light circuit as a current indicator parameter, or determining an indicator light display parameter of the currently lit indicator lights in the preset indicator light circuit as the current indicator parameter; determining a lamp display parameter according to the current indicator parameter, wherein, when the current indicator parameter is the number of the currently lit indicator lights, determining a quantity ratio of the number of the indicator lights to a total number of the plurality of indicator lights as the lamp display parameter; controlling a lamp device according to the lamp display parameter.
2. The method of claim 1, wherein, When the current indicator parameter is the indicator light display parameter of the currently lit indicator lights, the determining of the lamp display parameter according to the current indicator parameter comprises: determining the indicator light display parameter as the lamp display parameter.
3. A luminaire control system characterized by, The method comprises: a switch control device, a lamp device, a micro control unit module, a switch detection circuit and an indicator light circuit, wherein, one end of the switch detection circuit is connected with the switch control device, and the other end of the switch control device is connected with the micro control unit module, the indicator light circuit contains indicator lights, and the indicator light circuit is connected with the micro control unit module, wherein, the micro control unit module is configured to control the lamp device by executing the lamp device control method according to any one of claims 1-2.
4. The system of claim 3, wherein, The method further comprises: a lamp driver configured to drive the lamp device, and the micro control unit module is configured to control the lamp device through the lamp driver.
5. A luminaire device control apparatus, characterized by, The method comprises the following steps: an indicator light control module configured to control a preset indicator light circuit to cyclically control indicator lights in the indicator light circuit according to a plurality of preset indicator parameters; a first determination module configured to, in response to obtaining a switch action, determine, when the preset indicator light circuit contains a plurality of indicator lights, a number of currently lit indicator lights in the preset indicator light circuit as a current indicator parameter, or determine an indicator light display parameter of the currently lit indicator lights in the preset indicator light circuit as the current indicator parameter; a second determination module configured to determine a lamp display parameter according to the current indicator parameter, wherein, when the current indicator parameter is the number of the currently lit indicator lights, the second determination module is configured to determine a quantity ratio of the number of the indicator lights to a total number of the plurality of indicator lights as the lamp display parameter; a display module configured to control a lamp device according to the lamp display parameter.
6. An electronic device, comprising: The electronic device comprises: a processor; a memory configured to store executable instructions of the processor; the processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the lamp device control method according to any one of claims 1-2.
7. A computer readable storage medium characterized in that, The computer readable storage medium stores a computer program configured to execute the lamp device control method according to any one of claims 1-2.
Citation Information
Patent Citations
Display control method and device, electronic equipment and storage medium
CN111459259A
Display equipment and lamp effect control method
CN112566336A