CN114585131A - Lamp effect control method and device, computer equipment and storage medium - Google Patents
Lamp effect control method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN114585131A CN114585131A CN202210167683.4A CN202210167683A CN114585131A CN 114585131 A CN114585131 A CN 114585131A CN 202210167683 A CN202210167683 A CN 202210167683A CN 114585131 A CN114585131 A CN 114585131A
- Authority
- CN
- China
- Prior art keywords
- light
- emitting
- effect
- target
- equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000000694 effects Effects 0.000 title claims abstract description 212
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000001795 light effect Effects 0.000 claims abstract description 256
- 238000013507 mapping Methods 0.000 claims abstract description 108
- 230000001360 synchronised effect Effects 0.000 claims abstract description 23
- 238000004891 communication Methods 0.000 claims abstract description 19
- 238000005192 partition Methods 0.000 claims description 182
- 230000004044 response Effects 0.000 claims description 12
- 238000012790 confirmation Methods 0.000 claims description 7
- 230000002093 peripheral effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 16
- 238000004590 computer program Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 9
- 230000003993 interaction Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 238000005070 sampling Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 238000007726 management method Methods 0.000 description 4
- 241001465382 Physalis alkekengi Species 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000013135 deep learning Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/155—Coordinated control of two or more light sources
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The application discloses a lamp effect control method, which is applied to terminal equipment, wherein the terminal equipment is respectively in communication connection with a light-emitting main device and a plurality of light-emitting sub-devices, and the method comprises the following steps: when a plurality of light emitting sub-devices are detected, determining a target light emitting sub-device; controlling the light-emitting main equipment to be in communication connection with the target sub-equipment; performing lamp effect correlation operation on the light-emitting main equipment and the target light-emitting photon equipment to obtain a lamp effect mapping relation; and generating a lamp effect synchronization instruction according to the lamp effect mapping relation, and sending the lamp effect synchronization instruction to the light-emitting main equipment so as to instruct the light-emitting main equipment to perform synchronous lamp effect on the target light-emitting sub-equipment. The method can effectively associate the light-emitting main equipment with the target light-emitting sub-equipment, so that synchronous light effect display of the light-emitting main equipment and the peripheral target light-emitting sub-equipment is realized, and the immersive light experience of a user is improved.
Description
Technical Field
The present application relates to the field of lighting technologies, and in particular, to a method and an apparatus for controlling light efficiency, a computer device, and a storage medium.
Background
Light illumination can also use the intelligent atmosphere lamp of different grade types to build the light atmosphere that is fit for different life scenes except can satisfying the daily lighting needs of family. For example, a user may increase the viewing experience by laying out TV light fixtures around a television. Because the intelligent atmosphere lamp can only present the lamp effect alone, can't interact with other lighting apparatus, so can't satisfy the demand that the user created immersive light experience to multi-device response light effect simultaneously.
Disclosure of Invention
The embodiment of the application provides a light effect control method and device, computer equipment and a storage medium. The lamp effect synchronization of multiple devices is achieved, and light experience is improved.
In a first aspect, an embodiment of the present application provides a lamp efficiency control method, including: when a plurality of light emitting sub-devices are detected, determining a target light emitting sub-device; controlling the light-emitting main equipment to be in communication connection with the target sub-equipment; performing lamp effect association operation on the light-emitting main equipment and the target light-emitting sub-equipment to obtain a lamp effect mapping relation, wherein the lamp effect mapping relation is used for representing the mapping relation of the lamp effect subareas between a first lamp effect subarea of the light-emitting main equipment and a second lamp effect subarea of the target light-emitting sub-equipment; and generating a lamp effect synchronization instruction according to the lamp effect mapping relation, and sending the lamp effect synchronization instruction to the light-emitting main equipment so as to instruct the light-emitting main equipment to perform synchronous lamp effect on the target light-emitting sub-equipment.
In a second aspect, an embodiment of the present application further provides a lamp efficiency control device, where the device includes: a determination module for determining a target light emitting sub-device when a plurality of light emitting sub-devices are detected; the connection module is used for controlling the light-emitting main equipment to be in communication connection with the target sub-equipment; the association module is used for carrying out lamp effect association operation on the light-emitting main equipment and the target light-emitting sub-equipment to obtain a lamp effect mapping relation, and the lamp effect mapping relation is used for representing the mapping relation of the lamp effect subareas between a first lamp effect subarea of the light-emitting main equipment and a second lamp effect subarea of the target light-emitting sub-equipment; and the synchronization module is used for generating a lamp effect synchronization instruction according to the lamp effect mapping relation and sending the lamp effect synchronization instruction to the light-emitting main equipment so as to instruct the light-emitting main equipment to perform synchronous lamp effect on the target light-emitting sub-equipment.
In a third aspect, an embodiment of the present application further provides a computer device, which includes a processor and a memory, where the memory stores computer program instructions, and the computer program instructions, when called by the processor, execute the light effect control method.
In a fourth aspect, the present application further provides a computer-readable storage medium storing program codes, where the program codes are executed by a processor to perform the above-mentioned lamp effect control method.
In a fifth aspect, the present application further provides a computer program product or a computer program, where the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a storage medium. A processor of the computer device reads the computer instructions from the storage medium, and the processor executes the computer instructions to make the computer execute the steps of the lamp effect control method.
The light effect control method provided by the application can determine the target light-emitting sub-device when a plurality of light-emitting sub-devices are detected, and control the light-emitting main device to be in communication connection with the target sub-device, so that light effect association operation is performed on the light-emitting main device and the target light-emitting sub-device, and a light effect mapping relation is obtained and used for representing the mapping relation of the light effect partitions between the first light effect partition of the light-emitting main device and the second light effect partition of the target light-emitting sub-device. Therefore, the light-emitting main equipment and the target light-emitting sub-equipment are associated through the light effect mapping relation, so that the light effect presented by the light-emitting main equipment is synchronously given to the associated target light-emitting sub-equipment, the interaction among a plurality of equipment is realized, and the user experience on the light effect is enhanced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a schematic diagram of a lamp effect control system architecture provided in an embodiment of the present application.
Fig. 2 shows a schematic flow chart of a lamp effect control method according to an embodiment of the present application.
Fig. 3 shows an application scenario diagram of a light-emitting master device according to an embodiment of the present application.
Fig. 4 shows a lamp effect partition diagram of a light-emitting main device provided by an embodiment of the present application.
Fig. 5 shows a schematic diagram of a lamp effect partition of a light emitting sub-device provided by an embodiment of the present application.
Fig. 6 shows a lamp effect partition setting schematic diagram of a target light-emitting sub-device provided by an embodiment of the present application.
Fig. 7 is a schematic diagram illustrating a selection interface of a target light emitting sub-device according to an embodiment of the present application.
Fig. 8 shows an operation interface schematic diagram associated with a lamp effect partition according to an embodiment of the present application.
Fig. 9 shows an application scenario diagram of a lamp effect control system according to an embodiment of the present application.
Fig. 10 is a schematic flowchart illustrating another lamp efficiency control method according to an embodiment of the present application.
Fig. 11 shows a block diagram of a lamp effect control device according to an embodiment of the present application.
Fig. 12 is a block diagram of a computer device according to an embodiment of the present disclosure.
Fig. 13 is a block diagram of a computer-readable storage medium according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
In order to make those skilled in the art better understand the technical solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The use of intelligent homes brings many conveniences to the working and living of users. The intelligent atmosphere lamp is gradually favored by many users as an intelligent lamp capable of dynamically presenting different lamp effects according to image color changes. For example, when a user watches a movie using a television, a viewing TV fixture may be used to generate and exhibit lighting effects that are tailored to the movie picture content based on the movie picture to create an immersive viewing experience.
Usually, lamps and lanterns of other multiple different grade types also can exist in the practical scene of intelligence atmosphere lamp, because atmosphere lamps and lanterns can only work alone, can't interact with other lamps and lanterns in the same space, have caused the waste of equipment resource to a certain extent. For example, a common smart ambience lamp can only realize the display of the lamp effect by means of the interaction design of a corresponding Application program (Application), but cannot perform synchronous interaction on the lamp effect with other smart ambience lamps.
In order to solve the above problem, the inventor provides a light effect control method provided in this embodiment, where the method may determine a target light-emitting sub-device when multiple light-emitting sub-devices are detected, and control the light-emitting main device to perform communication connection with the target sub-device, so as to perform light effect association operation on the light-emitting main device and the target light-emitting sub-device, obtain a light effect mapping relationship, generate a light effect synchronization instruction according to the light effect mapping relationship, and send the light effect synchronization instruction to the light-emitting main device, so as to instruct the light-emitting main device to perform synchronization light effect on the target light-emitting sub-device. Thereby, a synchronous interaction between a plurality of light emitting devices is achieved.
The following is a description of an environmental architecture diagram of the lamp effect control method according to the present application.
As shown in fig. 1, in some embodiments, the light effect control method provided in the embodiments of the present application may be applied to the light effect control system 300 shown in fig. 1, where the light effect control system 300 includes a terminal device 301, a light-emitting main device 303, a light-emitting sub-device 305, and an electronic device 307. The terminal device 301 may be a mobile terminal and a PC terminal, such as a mobile phone and a tablet, having a display screen and a computing function. The electronic device 307 may be a device having means for displaying image video information, such as a television, a display, etc. The light-emitting main device 303 is an intelligent lamp directly connected to the electronic device 307, and the light-emitting main device 303 may display a lamp effect according to image and video information displayed on a display screen of the electronic device 307.
The light emitting sub-device 305 is an intelligent luminaire that can achieve light effects synchronized with the light emitting main device 303. It should be noted that, in an actual application scenario, there may be a plurality of light-emitting sub-devices 305, and the terminal device 301 may select a specific light-emitting sub-device 305 as a target light-emitting sub-device to be associated with the light-emitting master device 303.
For example, the light-emitting master device 303 may be associated with a first target light-emitting sub-device, a second target light-emitting sub-device, …, and an nth target light-emitting sub-device, and further, when the light-emitting master device 303 performs a light effect exhibition according to the electronic device 307, the first target light-emitting sub-device, the second target light-emitting sub-device, …, and the nth target light-emitting sub-device may exhibit the light effect in synchronization with the light-emitting master device 303.
In the present embodiment, the light effect control device will be described in terms of a light effect control device, which may be specifically integrated in a computer device having a storage unit and a microprocessor installed therein and having an arithmetic capability, and the computer device may be a terminal device or a PC-side device. Embodiments in the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 shows a lamp efficiency control method according to an embodiment of the present disclosure, which may include the following steps S110 to S140.
Step S110: when multiple light emitting sub-devices are detected, a target light emitting sub-device is determined.
In view of the upper limit of the number of the light-emitting main devices supporting simultaneous connection of the light-emitting sub-devices, and the need to use a specific type of light-emitting sub-device in different application scenarios, in the embodiment of the present application, a specific type of light-emitting sub-device, that is, a target light-emitting sub-device, may be determined from the detected multiple light-emitting sub-devices to be associated with the light-emitting main device.
In some embodiments, when multiple light emitting sub-devices are detected, the step of determining a target light emitting sub-device may comprise:
(1) when a plurality of light emitting sub-devices are detected, the configuration parameters of each light emitting sub-device are displayed so that a user can confirm the target light emitting sub-device according to the configuration parameters.
(2) In response to a confirmation operation by a user, a target light-emitting sub-device is determined from the plurality of light-emitting sub-devices.
The configuration parameters may include device types (e.g., RGB, rgbi, etc.), device morphologies (e.g., floor lamp, desk lamp, etc.) of the light emitting sub-devices. The confirmation operation refers to an input operation for selecting the target light-emitting sub-device by the user through the terminal device, for example, a touch operation for selecting the target light-emitting sub-device by the user on a touch screen of the terminal device.
As an implementation manner, when the terminal device detects multiple light-emitting sub-devices in a surrounding space, each light-emitting sub-device and configuration parameters of each light-emitting device may be displayed through a Graphical User Interface (GUI), so that a User may select a target light-emitting sub-device according to the displayed configuration parameters of each light-emitting device. Further, the terminal device may select a light emitting sub-device selected by the user as a target light emitting sub-device from the plurality of light emitting sub-devices in response to a confirmation operation by the user.
Alternatively, the terminal device may determine the maximum number of connected light-emitting sub-devices according to configuration parameters of the light-emitting master device. For example, for some light-emitting main devices with LED constant current drivers, currently, the number of light-emitting sub-devices that such a light-emitting main device maximally supports connection is 5, so that the terminal device may calculate the number of devices selected by the user when the user selects a target light-emitting sub-device, and when the number of devices selected by the user is greater than 5, may prompt the user that the number of connectable devices reaches the upper limit value through a pop-up window of the display interface.
Step S120: and controlling the light-emitting main device to be in communication connection with the target sub-device.
As an embodiment, the terminal device may generate a connection instruction based on the device information after acquiring the device information of the target sub-device, and send the connection instruction to the light-emitting main device, and when the light-emitting main device receives the connection instruction, the target light-emitting sub-device may be connected according to the device information.
As another embodiment, the terminal device may directly send the device information of the target light-emitting sub-device to the light-emitting main device, and after receiving the connection request of the target light-emitting sub-device, the light-emitting main device may connect the corresponding target light-emitting sub-device according to the received device information.
Step S130: and performing lamp effect correlation operation on the light-emitting main equipment and the target light-emitting sub-equipment to obtain a lamp effect mapping relation.
In some embodiments, the performing a lamp effect association operation on the light-emitting master device and the target light-emitting sub-device to obtain the lamp effect mapping relationship may include:
(1) and determining a second lamp effect partition corresponding to the target light-emitting sub-device.
(2) And performing light effect association operation on the light-emitting main equipment and the target light-emitting sub-equipment according to the second light effect partition to obtain a light effect mapping relation.
In order to realize synchronous lamp effect among a plurality of intelligent lamps, the embodiment of the application provides that the target light-emitting sub-device is associated with the light-emitting main device, and the light-emitting main device can also perform lamp effect synchronous control on the target light-emitting sub-device while the light-emitting main device performs lamp effect display. The light effect mapping relation is used for representing the mapping relation of the light effect partitions between a first light effect partition of the light-emitting main device and a second light effect partition of the target light-emitting sub-device, and the light-emitting main device can associate the target light-emitting sub-device corresponding to the second light effect partition which has the mapping relation with the first light effect partition according to the light effect mapping relation, so that synchronous light effects are displayed.
Exemplarily, referring to fig. 3, fig. 4 and fig. 5, fig. 3 shows an application scenario diagram of a light-emitting master device, fig. 4 shows a light effect partition diagram of a light-emitting master device, and fig. 5 shows a light effect partition diagram of a light-emitting sub-device. The light-emitting main equipment can be a TV lamp strip, a specific number of lamp blocks are arranged in the TV lamp strip, and each lamp block is used for displaying a corresponding light effect according to a color value of a corresponding color taking area on a display screen of the television.
For example, the display screen of the television in fig. 3 determines 10 color sampling regions, each color sampling region corresponds to one light block in the TV strip, the color sampling region a1 corresponds to the light block D1, and the color sampling region a2 corresponds to the light block D2, so that the color of the color sampling region can be used to control the color change of the light block corresponding to the color sampling region, so that the color of each light block in the TV strip is consistent with the color of the associated color sampling region.
The terminal equipment is provided with corresponding light effect partitions for each lamp block in the TV light band, and the light effect partitions are used for representing virtual coverage of the light band display light effect. For example, fig. 4 shows the light effect sub-areas corresponding to 10 light blocks in the TV light strip, and the light block D1 corresponds to the light effect sub-area y1The lamp block D2 corresponds to the lamp effect partition y2. In the present example, the light effect partition corresponding to the TV strip, that is, the light effect partition corresponding to the lighting master device is referred to as a first light effect partition. The terminal equipment is also provided with a corresponding light effect partition for each light-emitting sub-equipment, and the light effect partition is used for representing a virtual coverage range of the light-emitting sub-equipment for displaying the light effect.
For example, fig. 5 shows the light effect sub-area x corresponding to each of 20 light emitting sub-devicesi(i is the order of the light emitting sub-devicesNumber 0<i<21) I.e. the second lamp effect sub-area. Referring to fig. 6, fig. 6 is a schematic view illustrating a lamp effect partition arrangement of a target light emitting sub-device. For example, RGBIC type target emitting photonic device RIC1A plurality of second lamp effect partitions may be provided: x is the number of4、x19、x14、x16、x1And x3. RGB-type target light-emitting photonic device R1Only one second lamp effect sub-area can be provided: x is the number of4。
By establishing a mapping relationship of the light effect partitions between the first light effect partition of the light-emitting main device and the second light effect partition of the target light-emitting sub-device, that is, a light effect mapping relationship, different target light-emitting sub-devices can exhibit the same light effect as each light effect partition of the light-emitting main device based on the light effect mapping relationship.
In one embodiment, the terminal device may determine, in response to a selection operation by a user, the light effect partition selected by the user as the second light effect partition corresponding to the target light-emitting sub-device. Specifically, the terminal device may show a GUI for determining the second light effect partition corresponding to the target light-emitting sub-device to the user, and then the user determines the second light effect partition corresponding to the target sub-device in the GUI according to the manually observed actual physical position of the target light-emitting sub-device, and then, when the terminal device detects a selection operation of the user, may determine the light effect partition selected by the user as the second light effect partition corresponding to the target light-emitting sub-device.
As another embodiment, the step of determining the second lamp effect partition corresponding to the target light-emitting sub-device may include:
and (1.1) the target light-emitting photon equipment is turned off.
And (1.2) when the physical space where the target light-emitting photon equipment is located is shot, the target light-emitting photon equipment is turned on, and the physical position of the target light-emitting photon equipment is obtained.
And (1.3) determining a second lamp effect partition corresponding to the target light-emitting sub-device according to the physical position.
In order to enhance the convenience of the user in using the atmosphere lamp, the terminal device can automatically determine the second lamp effect partition corresponding to the target light-emitting sub-device by shooting an actual space video image.
Specifically, the terminal device can send a light turning-off instruction to all target light-emitting electronic devices selected by a user to turn off the light, and further, the terminal device can utilize the camera to shoot a physical space where the target light-emitting electronic devices are located, and turn on the light of the target light-emitting electronic devices in sequence in the shooting process, so that the physical position where the target light-emitting electronic devices are located is obtained according to the detected light after the light is turned on every time, and the second light effect partition corresponding to the physical position is determined. The method for recognizing the physical position of the target light emitting sub-device by the terminal device may use a computer vision technology, for example, target segmentation and target detection in image recognition, and specifically, Deep Learning (Deep Learning)/Machine Learning (Machine Learning) algorithms such as fast-rcnn (regions with conditional Neural Network resources), yolo (you Only Look one), and the like, which is not limited herein.
As an embodiment, the step of performing a lamp effect association operation on the light-emitting main device and the target light-emitting sub-device according to the second lamp effect partition to obtain a lamp effect mapping relationship may include:
and (2.1) acquiring a preset mapping relation.
And (2.2) carrying out lamp effect association operation on the light-emitting main equipment and the target light-emitting sub-equipment according to the preset mapping relation and the second lamp effect subarea to obtain a lamp effect mapping relation.
The preset mapping relationship is used for representing a preset mapping relationship between the first lamp effect sub-area and the second lamp effect sub-area, and the preset mapping relationship can be as shown in the following table 1:
TABLE 1
For example, in conjunction with fig. 4 and 5 above, it can be appreciated that when the second lamp effect region x of the light emitting sub-device is1And x11First lamp effect zone y with light-emitting main equipment1Having a mapping relationship, i.e.In the scene of lamp effect display, the terminal device can be a second lamp effect zone x1And x11The corresponding two target lighting sub-devices and the first lighting effect partition y of the TV strip (lighting main device)1The lamp effect association operation is carried out, so that the lamp effects exhibited by the two target light-emitting sub-devices can be associated with the first lamp effect partition y of the TV strip (light-emitting main device)1The lamp effects displayed by the corresponding lamp blocks are synchronous and the same.
As another embodiment, the step of performing the lamp effect association operation on the light-emitting main device and the target light-emitting sub-device according to the second lamp effect partition to obtain the lamp effect mapping relationship may further include:
and (2.1) acquiring configuration parameters of the target light-emitting photon equipment.
And (2.2) carrying out lamp effect association operation on the light-emitting main equipment and the target light-emitting sub-equipment according to the configuration parameters and the second lamp effect subarea to obtain a lamp effect mapping relation.
The configuration parameters may include the device type, device morphology, and number of supported partitions of the targeted light emitting sub-device, among others. Considering that the number of light effect partitions of the associated light-emitting main device supported by different types of light-emitting sub-devices is different, the terminal device needs to automatically perform light effect association operation according to the configuration parameters of the target light-emitting sub-device. For example, the device types of the target light emitting sub-device may include RGB and rgbi, the RGB type may support only one first light effect partition, and the rgbi type may support generally 6 first light effect partitions, which is determined by the number of actual partition support segments.
Alternatively, when the target light-emitting sub-device is a device type supporting a single light effect partition of the light-emitting master device, the terminal device may determine the light effect partition of the light-emitting master device closest to the second light effect partition. Specifically, the terminal device may determine whether there are a plurality of light effect sections of the nearest light-emitting master device.
And if the light effect subareas of the plurality of light-emitting main devices exist, determining a first light effect subarea in the light effect subareas of the plurality of light-emitting main devices according to the device form, and further performing light effect association operation on the first light effect subarea of the light-emitting main device and a second light effect subarea of the target light-emitting sub-device to obtain a light effect mapping relation. And if the light effect partition of the light-emitting main equipment with the closest distance exists, performing light effect association operation on the light effect partition of the light-emitting main equipment with the closest distance and a second light effect partition of the target light-emitting sub-equipment to obtain a light effect mapping relation.
For example, when the terminal device detects that there are a plurality of light effect partitions of the light-emitting main device closest to the second light effect partition of the target light-emitting device, and acquires that the device form of the target light-emitting device is a vertical lamp, the light effect partition in the lower spatial position in the light effect partitions of the plurality of light-emitting main devices and the second light effect partition of the target light-emitting sub-device are selected to perform light effect association operation, so as to obtain a light effect mapping relationship.
Alternatively, when the target light-emitting sub-device is a device type supporting a plurality of light-effect partitions of the light-emitting main device, the terminal device may determine the light-effect partitions of the plurality of light-emitting main devices closest to the second light-effect partition, and determine whether the number of the light-effect partitions of the plurality of light-emitting main devices is the same as the number of the supporting partitions of the target light-emitting sub-device.
And if the number of the light effect partitions of the plurality of light-emitting main devices is the same as that of the support partitions of the target light-emitting sub-device, sequentially performing light effect association operation on the light effect partitions of the plurality of light-emitting main devices and a second light effect partition of the target light-emitting sub-device to obtain a light effect mapping relation.
And if the number of the light effect partitions of the plurality of light-emitting main devices is different from the number of the supporting partitions of the target light-emitting sub-device, preferentially performing light effect association operation on a second light effect partition of the target light-emitting sub-device and the light effect partition of the light-emitting main device in the middle space position to obtain a light effect mapping relation.
Step S140: and generating a lamp effect synchronization instruction according to the lamp effect mapping relation, and sending the lamp effect synchronization instruction to the light-emitting main equipment so as to instruct the light-emitting main equipment to perform synchronous lamp effect on the target light-emitting sub-equipment.
As an implementation manner, after performing a lamp effect association operation on a first lamp effect partition of a lighting main device and a second lamp effect partition of a target lighting sub-device to obtain a lamp effect mapping relationship, a lamp effect synchronization instruction may be generated based on the lamp effect mapping relationship by a terminal device, further, the terminal device sends the synchronization instruction to the lighting main device, and after receiving the synchronization instruction, when performing a lamp effect display, the lighting main device may synchronize lamp effect color information corresponding to the first lamp effect partition to the target lighting sub-device corresponding to the second lamp effect partition, and then the target lighting sub-device synchronously displays the lamp effects of the same color.
In this embodiment of the application, when a plurality of light-emitting sub-devices are detected, a target light-emitting sub-device is determined, and the light-emitting main device is controlled to be in communication connection with the target sub-device, so that light effect correlation operation is performed on the light-emitting main device and the target light-emitting sub-device, and a light effect mapping relation is obtained, where the light effect mapping relation is used to represent a mapping relation of light effect partitions between a first light effect partition of the light-emitting main device and a second light effect partition of the target light-emitting sub-device, and further, a light effect synchronization instruction is generated according to the light effect mapping relation, and the light effect synchronization instruction is sent to the light-emitting main device, so as to instruct the light-emitting main device to perform synchronous light effect on the target light-emitting sub-device. Therefore, the light-emitting main equipment and the target light-emitting sub-equipment are associated through the light effect mapping relation, so that the light effect presented by the light-emitting main equipment is synchronously given to the associated target light-emitting sub-equipment, the interaction among a plurality of equipment is realized, and the user experience on the light effect is enhanced.
The method described in connection with the above embodiments will be described in further detail below by way of example.
In this embodiment, an example in which the lamp effect control system is specifically integrated in the terminal device will be described.
Please refer to fig. 7, fig. 8, fig. 9, and fig. 10. Fig. 7 is a schematic view of a selection interface of a target light emitting sub-device according to an embodiment of the present application. Fig. 8 is a schematic view of an operation interface associated with a lamp effect partition according to an embodiment of the present disclosure. Fig. 9 is a schematic view of an application scenario of a lamp effect control system according to an embodiment of the present application. Fig. 10 is a schematic flowchart of another lamp effect control method according to an embodiment of the present application.
Step S210: and when the terminal equipment detects the plurality of light-emitting sub-equipment, displaying the configuration parameters of each light-emitting sub-equipment so that a user can confirm the target light-emitting sub-equipment according to the configuration parameters.
Step S210: the terminal device determines a target light-emitting sub-device from the plurality of light-emitting sub-devices in response to a confirmation operation by the user.
As an embodiment, when the terminal device detects a plurality of light emitting sub-devices in the surrounding space, each light emitting sub-device and the configuration parameters of each light emitting sub-device may be displayed through a graphical user interface, so that a user may select a target light emitting sub-device according to the displayed configuration parameters of each light emitting sub-device. Further, the terminal device may take the light emitting sub-device selected by the user as the target light emitting sub-device from among the plurality of light emitting sub-devices in response to the confirmation operation by the user.
Illustratively, the terminal equipment is installed with a light effect control system, namely a light effect control APP. As shown in fig. 7, after the light effect control APP adds the light-emitting main device (TV strip), the light-emitting sub-devices in the surrounding space may be detected, and all the detected light-emitting sub-devices are displayed in the form of icons through the pop-up interface, so that the user may determine the target light-emitting sub-device to be selected by touching the icon according to the prompt of the pop-up interface.
Alternatively, the terminal device may select the RGB type target light emitting sub-device or the rgbi type target light emitting sub-device according to a user operation, and the terminal device may distinguish the types of the light emitting sub-devices by icon shades of different colors on the display interface shown in fig. 7, for example, the RGB type is a blue icon shade, and the rgbi type is a red icon shade. Further, the terminal device may take the light-emitting sub-device selected by the user as the target light-emitting sub-device in response to an operation of touching the icon by the user.
Step S230: and the terminal equipment controls the light-emitting main equipment to be in communication connection with the target sub-equipment.
In some embodiments, the terminal device may generate a connection instruction based on the device information after acquiring the device information of the target sub-device, and send the connection instruction to the light-emitting main device, and when the light-emitting main device receives the connection instruction, the target light-emitting sub-device may be connected according to the device information.
In other embodiments, the terminal device may directly send the device information of the target light-emitting sub-device to the light-emitting main device, and after receiving the connection request of the target light-emitting sub-device, the light-emitting main device may connect the corresponding target light-emitting sub-device according to the received device information.
For example, the terminal device may be communicatively connected with the light-emitting master device and the target light-emitting sub-device respectively in a bluetooth communication protocol. The terminal equipment sends the equipment information of the target light-emitting sub-equipment to the light-emitting main equipment through the Bluetooth, the light-emitting main equipment can search the target light-emitting sub-equipment based on the equipment information, and then when the target light-emitting sub-equipment corresponding to the equipment information is searched, the target light-emitting sub-equipment is connected in a matching mode with the target light-emitting sub-equipment.
Step S240: and the terminal equipment performs lamp effect association operation on the light-emitting main equipment and the target light-emitting sub-equipment to obtain a lamp effect mapping relation.
In some embodiments, the terminal device performs a lamp effect association operation on the light-emitting main device and the target light-emitting sub-device, and the step of obtaining the lamp effect mapping relationship may include:
(1) and the terminal equipment determines a second light effect partition corresponding to the target light-emitting sub-equipment.
(2) And the terminal equipment performs lamp effect association operation on the light-emitting main equipment and the target light-emitting sub-equipment according to the second lamp effect partition to obtain a lamp effect mapping relation.
For example, please refer to fig. 8, fig. 8 is a schematic view of an operation interface associated with a lamp effect partition of a lamp effect control system according to an embodiment of the present application.
In one embodiment, the terminal device may determine, in response to a selection operation by a user, the light effect partition selected by the user as the second light effect partition corresponding to the target light-emitting sub-device. Specifically, the terminal device may show a determination interface for determining the second light effect partition corresponding to the target light emitting sub-device to a user, where the user first observes the physical position of each target light emitting sub-device in the actual space at the determination interface, and then selects the corresponding second light effect partition for each target light emitting sub-device in the determination interface according to the physical position.
As another embodiment, the step of the terminal device determining the second lamp effect partition corresponding to the target light-emitting sub-device may include:
(1.1) the terminal equipment turns off the light of the target light emitting photon equipment;
(1.2) when the terminal equipment shoots a physical space where the target light-emitting sub-equipment is located, the terminal equipment turns on the target light-emitting sub-equipment to obtain the physical position of the target light-emitting sub-equipment;
and (1.3) the terminal equipment determines a second light effect partition corresponding to the target light-emitting sub-equipment according to the physical position.
In order to enhance the convenience of the user in using the atmosphere lamp, the terminal device can automatically determine the second lamp effect partition corresponding to the target light-emitting sub-device by shooting an actual space video image. Referring to fig. 9, fig. 9 is a schematic view illustrating an application scenario of a lamp effect control system according to an embodiment of the present application.
The user can make a video recording of a real space through a camera of the terminal device, when the terminal device is shooting, the terminal device can control each target light-emitting sub-device to turn off the light, further, each target light-emitting sub-device is sequentially started according to the sequence, when a certain target light-emitting sub-device is on, the physical position of the target light-emitting sub-device is calculated through a target detection algorithm, and a second light effect partition corresponding to the physical position is calculated.
As an embodiment, the terminal device performs a light effect association operation on the light-emitting main device and the target light-emitting sub-device according to the second light effect partition, and the step of obtaining the light effect mapping relationship may include:
and (2.1) the terminal equipment acquires a preset mapping relation.
And (2.2) the terminal equipment performs lamp effect association operation on the light-emitting main equipment and the target light-emitting sub-equipment according to the preset mapping relation and the second lamp effect partition to obtain the lamp effect mapping relation.
Illustratively, the terminal device is determining the pair of floor lampsThe second lamp effect region is x6The second lamp effect may then be partitioned into x6Matching calculation is carried out with a preset mapping relation, and then a second lamp effect partition is obtained as x6The first light effect partition of the associated TV light strip is y6And the terminal equipment divides the second lamp effect into x6The corresponding floor lamp and the first lamp effect zone of the TV lamp strip are y6The light blocks are associated.
As another embodiment, the terminal device performs a lamp effect association operation on the light-emitting main device and the target light-emitting sub-device according to the second lamp effect partition, and the step of obtaining the lamp effect mapping relationship may further include:
and (2.1) the terminal equipment acquires the configuration parameters of the target light-emitting sub-equipment.
And (2.2) the terminal equipment performs lamp effect association operation on the light-emitting main equipment and the target light-emitting sub-equipment according to the configuration parameters and the second lamp effect subarea to obtain a lamp effect mapping relation.
Considering that the number of light effect partitions of the associated light-emitting main device supported by different types of light-emitting sub-devices is different, the terminal device needs to automatically perform light effect association operation according to the configuration parameters of the target light-emitting sub-device. For example, the device types of the target light emitting sub-device may include RGB and rgbi, the RGB type may support only one first light effect partition, and the rgbi type may support generally 6 first light effect partitions, which is determined by the number of actual partition support segments.
For example, for a target light emitting sub-device with a RGB device type, the terminal device may calculate a light effect partition (a first light effect partition) of the TV strip closest to a second light effect partition of the target light emitting sub-device based on the second light effect partition. And if a plurality of light effect partitions of the TV lamp belt closest to each other are calculated, selecting only one first light effect partition to perform light effect correlation operation according to the equipment form of the target light emitting sub-equipment.
For example, the second lamp effect zone x corresponding to the floor lamp6Light effect zone y with two nearest TV strips5、y6. Considering the selection of the first lamp effect partition according to the device shape of the target light-emitting photon deviceOptionally, the terminal device selects the lighting effect zone y of the TV light strip as the device shape of the floor lamp is closer to the first lighting effect zone in the bottom area of the space6And performing lamp effect correlation operation.
For example, for a target light-emitting sub-device with a device type of rgbi, the terminal device may calculate, based on a second light-effect partition of the target light-emitting sub-device, a light-effect partition (a first light-effect partition) of the TV light strip closest to the second light-effect partition. If the light effect partitions of the multiple nearest TV strips are calculated, the terminal device may determine whether the number of the light effect partitions of the multiple nearest TV strips is the same as the number of the support partitions of the target light-emitting sub-device. And if the light effect sub-areas are the same, performing light effect association operation on the light effect sub-areas of the plurality of light-emitting main devices and the second light effect sub-area of the target light-emitting sub-device in sequence to obtain a light effect mapping relation. And if not, preferentially performing light effect correlation operation on the second light effect subarea of the target light-emitting sub-device and the light effect subareas of the light-emitting main devices in the middle space positions to obtain a light effect mapping relation.
Step S250: and the terminal equipment generates a lamp effect synchronous instruction according to the lamp effect mapping relation and sends the lamp effect synchronous instruction to the light-emitting main equipment so as to instruct the light-emitting main equipment to carry out synchronous lamp effect on the target light-emitting sub-equipment.
As an implementation manner, after performing a lamp effect association operation on a first lamp effect partition of a lighting main device and a second lamp effect partition of a target lighting sub-device to obtain a lamp effect mapping relationship, a lamp effect synchronization instruction may be generated based on the lamp effect mapping relationship by a terminal device, further, the terminal device sends the synchronization instruction to the lighting main device, and after receiving the synchronization instruction, when performing a lamp effect display, the lighting main device may synchronize lamp effect color information corresponding to the first lamp effect partition to the target lighting sub-device corresponding to the second lamp effect partition, and then the target lighting sub-device synchronously displays the lamp effects of the same color.
For example, in an application scenario in which a user watches a movie, the TV light band may acquire image information of each color-taking region around the liquid crystal display of the television according to the camera, and obtain a color value of each color-taking region on the liquid crystal display through image color analysis, and further transmit the color value of each color-taking region to the corresponding light block, so that each light block exhibits a lighting effect corresponding to the color-taking region. When the TV lamp strip is successfully connected with a plurality of other lamps (target light emitting sub-devices) distributed at different spatial positions, the TV lamp strip synchronizes the color value obtained by each lamp block to the corresponding target light emitting sub-device according to the received synchronization instruction (including the lamp effect mapping relationship) sent by the lamp effect control APP in the terminal device, and then each target light emitting sub-device receives the color value of the corresponding lamp block to perform synchronous light effect display.
In this embodiment of the application, when a plurality of light-emitting sub-devices are detected, a target light-emitting sub-device is determined, and the light-emitting main device and the target sub-device are controlled to perform communication connection, so that light effect association operation is performed on the light-emitting main device and the target light-emitting sub-device, and a light effect mapping relation is obtained, where the light effect mapping relation is used to represent a mapping relation of light effect partitions between a first light effect partition of the light-emitting main device and a second light effect partition of the target light-emitting sub-device, and further, a light effect synchronization instruction is generated according to the light effect mapping relation, and the light effect synchronization instruction is sent to the light-emitting main device, so that the light-emitting main device is instructed to perform synchronization light effect on the target light-emitting sub-device. Therefore, the light-emitting main equipment and the target light-emitting sub-equipment are associated through the light effect mapping relation, so that the light effect presented by the light-emitting main equipment is synchronously given to the associated target light-emitting sub-equipment, the interaction among a plurality of equipment is realized, and the user experience on the light effect is enhanced.
Referring to fig. 11, a block diagram of a lamp effect control device 400 according to an embodiment of the present disclosure is shown. The lamp effect control apparatus 400 includes: a determining module 410 for determining a target light emitting sub-device when a plurality of light emitting sub-devices are detected; the connection module 420 is used for controlling the light-emitting main device to be in communication connection with the target sub-device; the association module 430 is configured to perform a lamp effect association operation on the light-emitting main device and the target light-emitting sub-device to obtain a lamp effect mapping relationship, where the lamp effect mapping relationship is used to represent a mapping relationship between a first lamp effect partition of the light-emitting main device and a second lamp effect partition of the target light-emitting sub-device; and the synchronization module 440 is configured to generate a lamp effect synchronization instruction according to the lamp effect mapping relationship, and send the lamp effect synchronization instruction to the light-emitting master device, so as to instruct the light-emitting master device to perform synchronous lamp effect on the target light-emitting sub-device.
In some embodiments, the association module 430 may include: a partition determining unit and a lamp effect associating unit. The partition determining unit is used for determining a second light effect partition corresponding to the target light-emitting sub-equipment, and the second light effect partition is used for representing the light effect partition of the target light-emitting sub-equipment which performs synchronous light effect with the light-emitting main equipment; and the lamp effect association unit is used for performing lamp effect association operation on the light-emitting main equipment and the target light-emitting sub-equipment according to the second lamp effect partition to obtain a lamp effect mapping relation.
In some embodiments, the partition determining unit may be specifically configured to determine, in response to a selection operation by a user, the light effect partition selected by the user as the second light effect partition corresponding to the target light-emitting sub-device;
the lamp effect association unit may be specifically configured to: acquiring a preset mapping relation, wherein the preset mapping relation is used for representing the preset mapping relation between a first light effect partition and a second light effect partition; and performing light effect association operation on the light-emitting main equipment and the target light-emitting sub-equipment according to the preset mapping relation and the second light effect partition to obtain a light effect mapping relation.
In some embodiments, the partition determining unit may be specifically configured to turn off the target light emitting sub-device; when a physical space where the target light-emitting sub-device is located is shot, the physical position of the target light-emitting sub-device is obtained by turning on the target light-emitting sub-device; determining a second light effect partition corresponding to the target light-emitting sub-device according to the physical position;
the lamp effect associating unit may include: an acquisition subunit and an association subunit. The acquisition subunit is used for acquiring configuration parameters of the target light-emitting sub-device, and the configuration parameter packet at least comprises the device type, the device form and the number of the support partitions of the target light-emitting sub-device; and the association subunit is used for performing light effect association operation on the light-emitting main equipment and the target light-emitting sub-equipment according to the configuration parameters and the second light effect subarea to obtain a light effect mapping relation.
In some embodiments, the association subunit may be specifically configured to: when the target light-emitting sub-device is a device type supporting a single light effect partition of the light-emitting master device, determining a light effect partition of the light-emitting master device closest to the second light effect partition, including: if the light effect subareas of the plurality of light-emitting main equipment exist, determining a first light effect subarea in the light effect subareas of the plurality of light-emitting main equipment according to the equipment form; and carrying out lamp effect association operation on the first lamp effect subarea of the light-emitting main equipment and the second lamp effect subarea of the target light-emitting sub-equipment to obtain a lamp effect mapping relation.
In some embodiments, the association subunit may be further specifically configured to: when the target light-emitting sub-device is a device type supporting a plurality of light effect partitions of the light-emitting main device, determining the light effect partitions of the plurality of light-emitting main devices closest to the second light effect partition; judging whether the number of the lamp effect partitions of the plurality of light-emitting main devices is the same as the number of the supporting partitions of the target light-emitting sub-device; and if the number of the light effect subareas of the plurality of light-emitting main equipment is the same as that of the supporting subareas of the target light-emitting sub-equipment, sequentially carrying out light effect association operation on the light effect subareas of the plurality of light-emitting main equipment and a second light effect subarea of the target light-emitting sub-equipment to obtain a light effect mapping relation.
In some embodiments, the determining module 410 may be specifically configured to display the configuration parameters of each light-emitting sub-device when multiple light-emitting sub-devices are detected, so that a user can confirm the target light-emitting sub-device according to the configuration parameters; in response to a confirmation operation by a user, a target light-emitting sub-device is determined from the plurality of light-emitting sub-devices.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
According to the scheme, when a plurality of light-emitting sub-devices are detected, the target light-emitting sub-devices are determined, the light-emitting main device is controlled to be in communication connection with the target sub-devices, and then light effect association operation is conducted on the light-emitting main device and the target light-emitting sub-devices to obtain the light effect mapping relation, the light effect mapping relation is used for representing the mapping relation of the light effect sub-regions between the first light effect sub-regions of the light-emitting main device and the second light effect sub-regions of the target light-emitting sub-devices, further, light effect synchronization instructions are generated according to the light effect mapping relation, and the light effect synchronization instructions are sent to the light-emitting main device, so that the light-emitting main device is instructed to conduct synchronous light effect on the target light-emitting sub-devices. Therefore, the light-emitting main equipment and the target light-emitting sub-equipment are associated through the light effect mapping relation, so that the light effect presented by the light-emitting main equipment is synchronously given to the associated target light-emitting sub-equipment, the interaction among a plurality of equipment is realized, and the user experience on the light effect is enhanced.
As shown in fig. 12, the embodiment of the present application further provides a computer device 500, where the computer device 500 includes a processor 510, a memory 520, a power source 530 and an input unit 540, the memory 520 stores computer program instructions, and the computer program instructions, when called by the processor 510, can implement various method steps provided by the above-mentioned embodiments. Those skilled in the art will appreciate that the configurations of the computer devices illustrated in the figures are not intended to be limiting of computer devices and may include more or less components than those illustrated, or some of the components may be combined, or a different arrangement of components. Wherein:
processor 510 may include one or more processing cores. The processor 510 interfaces with various components within the overall battery management system using various interfaces and circuitry to monitor the overall computer device by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 520, invoking data stored in the memory 520, performing various functions of the battery management system and processing data, and performing various functions of the computer device and processing data. Alternatively, the processor 510 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 510 may integrate one or a combination of a Central Processing Unit (CPU) 510, a Graphics Processing Unit (GPU) 510, a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 510, but may be implemented by a communication chip.
The Memory 520 may include a Random Access Memory (RAM) 520 and may also include a Read-Only Memory (Read-Only Memory) 520. The memory 520 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 520 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The data storage area may also store data created by the computer device during use (e.g., phone book, audio-video data, chat log data), etc. Accordingly, the memory 520 may also include a memory controller to provide the processor 510 with access to the memory 520.
The power supply 530 may be logically coupled to the processor 510 via a power management system, such that the power management system may manage charging, discharging, and power consumption. The power supply 530 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
An input unit 540, the input unit 540 being operable to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the computer device 500 may further include a display unit and the like, which will not be described in detail herein. Specifically, in this embodiment, the processor 510 in the computer device loads the executable file corresponding to the process of one or more application programs into the memory 520 according to the following instructions, and the processor 510 runs the application programs stored in the memory 520, thereby implementing the various method steps provided by the foregoing embodiments.
As shown in fig. 13, an embodiment of the present application further provides a computer-readable storage medium 600, in which a computer program instruction 610 is stored in the computer-readable storage medium 600, and the computer program instruction 610 can be called by a processor to execute the method described in the above embodiment.
The computer-readable storage medium may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, the Computer-Readable Storage Medium includes a Non-volatile Computer-Readable Storage Medium (Non-Transitory Computer-Readable Storage Medium). The computer readable storage medium 600 has a storage space for program code for performing any of the method steps of the above-described method. The program code can be read from or written to one or more computer program products. The program code may be compressed, for example, in a suitable form.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method provided in the various alternative implementations provided by the embodiments described above.
Although the present application has been described with reference to the preferred embodiments, it is to be understood that the present application is not limited to the disclosed embodiments, but rather, the present application is intended to cover various modifications, equivalents and alternatives falling within the spirit and scope of the present application.
Claims (10)
1. A light effect control method is applied to a terminal device which is respectively in communication connection with a light-emitting main device and a plurality of light-emitting sub-devices, and comprises the following steps:
when a plurality of the light-emitting sub-devices are detected, determining a target light-emitting sub-device;
controlling the light-emitting main equipment to be in communication connection with the target sub-equipment;
performing lamp effect association operation on the light-emitting main equipment and the target light-emitting sub-equipment to obtain a lamp effect mapping relation, wherein the lamp effect mapping relation is used for representing the mapping relation of the lamp effect subareas between a first lamp effect subarea of the light-emitting main equipment and a second lamp effect subarea of the target light-emitting sub-equipment;
and generating a lamp effect synchronization instruction according to the lamp effect mapping relation, and sending the lamp effect synchronization instruction to the light-emitting main equipment so as to instruct the light-emitting main equipment to perform synchronous lamp effect on the target light-emitting sub-equipment.
2. The method according to claim 1, wherein the performing a lamp effect association operation on the light-emitting master device and the target light-emitting sub-device to obtain a lamp effect mapping relationship comprises:
determining a second light effect partition corresponding to the target light-emitting sub-device, wherein the second light effect partition is used for representing a light effect partition of the target light-emitting sub-device which performs synchronous light effect with the light-emitting main device;
and performing light effect association operation on the light-emitting main equipment and the target light-emitting sub-equipment according to the second light effect partition to obtain a light effect mapping relation.
3. The method of claim 2, wherein the determining the second lamp effect partition corresponding to the target light emitting sub-device comprises:
in response to the selection operation of a user, determining the lamp effect partition selected by the user as a second lamp effect partition corresponding to the target light-emitting sub-device;
the performing, according to the second light effect partition, a light effect association operation on the light-emitting main device and the target light-emitting sub-device to obtain a light effect mapping relationship includes:
acquiring a preset mapping relation, wherein the preset mapping relation is used for representing the preset mapping relation between a first light effect partition and a second light effect partition;
and performing light effect association operation on the light-emitting main equipment and the target light-emitting sub-equipment according to the preset mapping relation and the second light effect partition to obtain a light effect mapping relation.
4. The method of claim 2, wherein the determining the second lamp effect partition corresponding to the target light emitting sub-device comprises:
the target light-emitting photon equipment is turned off;
when the physical space where the target light-emitting sub-equipment is located is shot, the physical position of the target light-emitting sub-equipment is obtained by turning on the target light-emitting sub-equipment;
determining a second light effect partition corresponding to the target light emitting sub-device according to the physical position;
and performing lamp effect association operation on the light-emitting main equipment and the target light-emitting sub-equipment according to the second lamp effect partition to obtain a lamp effect mapping relation, including:
acquiring configuration parameters of the target light-emitting sub-device, wherein the configuration parameter packet at least comprises the device type, the device shape and the number of the support partitions of the target light-emitting sub-device;
and performing light effect association operation on the light-emitting main equipment and the target light-emitting sub-equipment according to the configuration parameters and the second light effect partition to obtain a light effect mapping relation.
5. The method according to claim 4, wherein performing a lamp effect association operation on the light-emitting master device and the target light-emitting sub-device according to the configuration parameters and the second lamp effect partition to obtain a lamp effect mapping relationship comprises:
when the target light-emitting sub-device is a device type supporting a single light effect partition of a light-emitting master device, determining a light effect partition of the light-emitting master device closest to the second light effect partition, including: if a plurality of light effect partitions of the light-emitting main equipment exist, determining a first light effect partition in the light effect partitions of the light-emitting main equipment according to the equipment form;
and performing light effect association operation on the first light effect subarea of the light-emitting main equipment and the second light effect subarea of the target light-emitting sub-equipment to obtain a light effect mapping relation.
6. The method of claim 5, further comprising:
when the target light-emitting sub-device is a device type supporting a plurality of light effect partitions of a light-emitting main device, determining the light effect partitions of the plurality of light-emitting main devices closest to the second light effect partition;
judging whether the number of the lamp effect partitions of the plurality of light-emitting main devices is the same as the number of the supporting partitions of the target light-emitting sub-device;
and if the number of the light effect partitions of the plurality of light-emitting main devices is the same as that of the support partitions of the target light-emitting sub-device, performing light effect association operation on the light effect partitions of the plurality of light-emitting main devices and the second light effect partition of the target light-emitting sub-device in sequence to obtain a light effect mapping relation.
7. The method of claim 1, wherein determining a target light-emitting sub-device when a plurality of the light-emitting sub-devices are detected comprises:
when a plurality of light-emitting sub-devices are detected, displaying the configuration parameters of each light-emitting sub-device so that a user can confirm a target light-emitting sub-device according to the configuration parameters;
in response to a confirmation operation by a user, a target light-emitting sub-device is determined from the plurality of light-emitting sub-devices.
8. A lamp effect control device is applied to a terminal device which is respectively in communication connection with a light-emitting main device and a plurality of light-emitting sub-devices, and the device comprises:
a determination module for determining a target light-emitting sub-device when a plurality of said light-emitting sub-devices are detected;
the connection module is used for controlling the light-emitting main equipment to be in communication connection with the target sub-equipment;
the association module is used for carrying out lamp effect association operation on the light-emitting main equipment and the target light-emitting sub-equipment to obtain a lamp effect mapping relation, and the lamp effect mapping relation is used for representing the mapping relation of the lamp effect partitions between a first lamp effect partition of the light-emitting main equipment and a second lamp effect partition of the target light-emitting sub-equipment;
and the synchronization module is used for generating a lamp effect synchronization instruction according to the lamp effect mapping relation and sending the lamp effect synchronization instruction to the light-emitting main equipment so as to instruct the light-emitting main equipment to perform synchronous lamp effect on the target light-emitting sub-equipment.
9. A computer device, comprising:
a memory;
one or more processors coupled with the memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the method of any of claims 1-7.
10. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210167683.4A CN114585131B (en) | 2022-02-23 | 2022-02-23 | Lamp efficiency control method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210167683.4A CN114585131B (en) | 2022-02-23 | 2022-02-23 | Lamp efficiency control method, device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114585131A true CN114585131A (en) | 2022-06-03 |
CN114585131B CN114585131B (en) | 2023-11-17 |
Family
ID=81774873
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210167683.4A Active CN114585131B (en) | 2022-02-23 | 2022-02-23 | Lamp efficiency control method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114585131B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115534834A (en) * | 2022-09-13 | 2022-12-30 | 武汉海微科技有限公司 | Vehicle-mounted atmosphere lamp combined display control method, device, equipment and storage medium |
CN117156645A (en) * | 2023-10-27 | 2023-12-01 | 深圳市千岩科技有限公司 | Spliced lamp, controller thereof and lamp effect playing method and device |
CN117412451A (en) * | 2023-12-13 | 2024-01-16 | 深圳市千岩科技有限公司 | Atmosphere lamp equipment, mapping color matching method thereof, corresponding device and medium |
CN117440583A (en) * | 2023-12-18 | 2024-01-23 | 深圳市千岩科技有限公司 | Indoor lighting lamp, lamp efficiency configuration method, device and equipment |
WO2024016620A1 (en) * | 2022-07-20 | 2024-01-25 | 杭州涂鸦信息技术有限公司 | Lighting control method and apparatus based on environment color extraction, device, and storage medium |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140152181A1 (en) * | 2012-11-30 | 2014-06-05 | Scott Burkhart | Music Synchronized Light Modulator |
US9198262B1 (en) * | 2014-05-22 | 2015-11-24 | LIFI Labs, Inc. | Directional lighting system and method |
CN106658134A (en) * | 2016-10-28 | 2017-05-10 | 青岛海信电器股份有限公司 | Time synchronization method for ambient light television and ambient light television |
CN107426869A (en) * | 2017-07-27 | 2017-12-01 | 广州中大中鸣科技有限公司 | A kind of LED lamplight off line plays synchronization system and method |
CN108347807A (en) * | 2017-12-07 | 2018-07-31 | 中山市新邦照明电器有限公司 | Illumination control method and lamps and lanterns |
CN109309990A (en) * | 2018-10-15 | 2019-02-05 | 东莞市建鑫电子科技有限公司 | A kind of light synchronization system |
CN109511207A (en) * | 2019-01-09 | 2019-03-22 | 苏州蓝石新动力有限公司 | A kind of light synchronous method and system |
CN110177414A (en) * | 2019-04-29 | 2019-08-27 | 努比亚技术有限公司 | A kind of lamp light control method, wearable device and computer readable storage medium |
JP2020004194A (en) * | 2018-06-29 | 2020-01-09 | ホーチキ株式会社 | Disaster prevention system |
CN110677945A (en) * | 2019-09-24 | 2020-01-10 | 深圳市千百辉照明工程有限公司 | Synchronous terminal, LED light synchronous control method and system |
US20200170090A1 (en) * | 2018-11-28 | 2020-05-28 | Self Electronics Co., Ltd. | Method for Lamp Position Mapping |
CN111815975A (en) * | 2020-09-10 | 2020-10-23 | 深圳市城市交通规划设计研究中心股份有限公司 | Multifunctional signal lamp group binding and controlling method and device |
CN112996196A (en) * | 2021-02-04 | 2021-06-18 | 沃特威(广州)电子科技有限公司 | Intelligent environment light control method, system, computer equipment and storage medium |
CN113597061A (en) * | 2021-07-16 | 2021-11-02 | 深圳市传视界电子科技有限公司 | Method, apparatus and computer readable storage medium for controlling a magic color light strip |
CN214708128U (en) * | 2021-03-19 | 2021-11-12 | 广州腾龙健康实业股份有限公司 | Swimming pool lamp system based on wireless synchronization |
CN113692091A (en) * | 2021-08-11 | 2021-11-23 | 深圳市智岩科技有限公司 | Device control method, device, terminal device and storage medium |
CN113825281A (en) * | 2021-09-13 | 2021-12-21 | 萤火虫(深圳)灯光科技有限公司 | Light control method, light controller, equipment and storage medium |
-
2022
- 2022-02-23 CN CN202210167683.4A patent/CN114585131B/en active Active
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140152181A1 (en) * | 2012-11-30 | 2014-06-05 | Scott Burkhart | Music Synchronized Light Modulator |
US9198262B1 (en) * | 2014-05-22 | 2015-11-24 | LIFI Labs, Inc. | Directional lighting system and method |
CN106658134A (en) * | 2016-10-28 | 2017-05-10 | 青岛海信电器股份有限公司 | Time synchronization method for ambient light television and ambient light television |
CN107426869A (en) * | 2017-07-27 | 2017-12-01 | 广州中大中鸣科技有限公司 | A kind of LED lamplight off line plays synchronization system and method |
CN108347807A (en) * | 2017-12-07 | 2018-07-31 | 中山市新邦照明电器有限公司 | Illumination control method and lamps and lanterns |
JP2020004194A (en) * | 2018-06-29 | 2020-01-09 | ホーチキ株式会社 | Disaster prevention system |
CN109309990A (en) * | 2018-10-15 | 2019-02-05 | 东莞市建鑫电子科技有限公司 | A kind of light synchronization system |
US20200170090A1 (en) * | 2018-11-28 | 2020-05-28 | Self Electronics Co., Ltd. | Method for Lamp Position Mapping |
CN109511207A (en) * | 2019-01-09 | 2019-03-22 | 苏州蓝石新动力有限公司 | A kind of light synchronous method and system |
CN110177414A (en) * | 2019-04-29 | 2019-08-27 | 努比亚技术有限公司 | A kind of lamp light control method, wearable device and computer readable storage medium |
CN110677945A (en) * | 2019-09-24 | 2020-01-10 | 深圳市千百辉照明工程有限公司 | Synchronous terminal, LED light synchronous control method and system |
CN111815975A (en) * | 2020-09-10 | 2020-10-23 | 深圳市城市交通规划设计研究中心股份有限公司 | Multifunctional signal lamp group binding and controlling method and device |
CN112996196A (en) * | 2021-02-04 | 2021-06-18 | 沃特威(广州)电子科技有限公司 | Intelligent environment light control method, system, computer equipment and storage medium |
CN214708128U (en) * | 2021-03-19 | 2021-11-12 | 广州腾龙健康实业股份有限公司 | Swimming pool lamp system based on wireless synchronization |
CN113597061A (en) * | 2021-07-16 | 2021-11-02 | 深圳市传视界电子科技有限公司 | Method, apparatus and computer readable storage medium for controlling a magic color light strip |
CN113692091A (en) * | 2021-08-11 | 2021-11-23 | 深圳市智岩科技有限公司 | Device control method, device, terminal device and storage medium |
CN113825281A (en) * | 2021-09-13 | 2021-12-21 | 萤火虫(深圳)灯光科技有限公司 | Light control method, light controller, equipment and storage medium |
Non-Patent Citations (2)
Title |
---|
姜琳颖;靳松;张永庆;徐怀宇;: "基于无线技术数字家庭灯光系统的设计与实现", 小型微型计算机系统, no. 02, pages 191 - 194 * |
张玉杰;张海涛;刘丽;: "城市景观照明控制系统的设计与实现", 物联网技术, no. 01, pages 74 - 77 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024016620A1 (en) * | 2022-07-20 | 2024-01-25 | 杭州涂鸦信息技术有限公司 | Lighting control method and apparatus based on environment color extraction, device, and storage medium |
CN115534834A (en) * | 2022-09-13 | 2022-12-30 | 武汉海微科技有限公司 | Vehicle-mounted atmosphere lamp combined display control method, device, equipment and storage medium |
CN117156645A (en) * | 2023-10-27 | 2023-12-01 | 深圳市千岩科技有限公司 | Spliced lamp, controller thereof and lamp effect playing method and device |
CN117156645B (en) * | 2023-10-27 | 2024-01-30 | 深圳市千岩科技有限公司 | Spliced lamp, controller thereof and lamp effect playing method and device |
CN117412451A (en) * | 2023-12-13 | 2024-01-16 | 深圳市千岩科技有限公司 | Atmosphere lamp equipment, mapping color matching method thereof, corresponding device and medium |
CN117412451B (en) * | 2023-12-13 | 2024-03-15 | 深圳市千岩科技有限公司 | Atmosphere lamp equipment, mapping color matching method thereof, corresponding device and medium |
CN117440583A (en) * | 2023-12-18 | 2024-01-23 | 深圳市千岩科技有限公司 | Indoor lighting lamp, lamp efficiency configuration method, device and equipment |
CN117440583B (en) * | 2023-12-18 | 2024-03-15 | 深圳市千岩科技有限公司 | Indoor lighting lamp, lamp efficiency configuration method, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114585131B (en) | 2023-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114585131B (en) | Lamp efficiency control method, device, computer equipment and storage medium | |
US9986622B2 (en) | Lighting system, lighting apparastus, and lighting control method | |
US9119240B2 (en) | Lighting control system | |
CN105739315B (en) | Control method and device for indoor user electrical equipment | |
EP2779651A1 (en) | Configuring a system comprising a primary image display device and one or more remotely lamps controlled in accordance with the content of the image displayed | |
JP6250696B2 (en) | Image capture device in network environment | |
EP2954755B1 (en) | A lighting system having a controller that contributes to a selected light scene, and a method for controlling such a system | |
EP3513630B1 (en) | Illumination control | |
JP2016167385A (en) | Portable terminal and equipment control system | |
CN113170301B (en) | Temporarily adding light devices to entertainment groups | |
CN112566336A (en) | Display device and light effect control method | |
CN113677071A (en) | Lamp control method and device, electronic equipment and storage medium | |
CN118435566A (en) | Display equipment, intelligent home system and multi-screen control method for display equipment | |
WO2018182856A1 (en) | Image-based lighting controller | |
TW202029053A (en) | Group setting method for illumination fixture, and illumination system | |
JP2019121608A (en) | Terminal equipment and lighting fixture control system | |
EP4169356B1 (en) | Controlling a pixelated lighting device based on a relative location of a further light source | |
CN115250561A (en) | Intelligent lamp control method and device, intelligent lamp, equipment and medium | |
JP2001250696A (en) | Automatic illumination setting system | |
CN115989721A (en) | Controlling an array of light segments based on user interaction with a virtual representation in a color space | |
JP7513249B2 (en) | Mobile terminal, lighting control method, and lighting control system | |
EP4136939B1 (en) | Controlling a lighting device associated with a light segment of an array | |
JP7285481B2 (en) | Lighting system and control device | |
WO2023015599A1 (en) | Method for controlling light emitting devices and related device | |
JP2022501792A (en) | Creating a composite image by turning on the light sources in sequence |
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 |