CN110134649B - Lamp house file matching method and device based on two-way communication - Google Patents

Lamp house file matching method and device based on two-way communication Download PDF

Info

Publication number
CN110134649B
CN110134649B CN201910434727.3A CN201910434727A CN110134649B CN 110134649 B CN110134649 B CN 110134649B CN 201910434727 A CN201910434727 A CN 201910434727A CN 110134649 B CN110134649 B CN 110134649B
Authority
CN
China
Prior art keywords
lamp
target
information
identification information
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910434727.3A
Other languages
Chinese (zh)
Other versions
CN110134649A (en
Inventor
陈天锣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Huayong Intelligent Technology Co ltd
Original Assignee
Guangzhou Huayong Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Huayong Intelligent Technology Co ltd filed Critical Guangzhou Huayong Intelligent Technology Co ltd
Priority to CN201910434727.3A priority Critical patent/CN110134649B/en
Publication of CN110134649A publication Critical patent/CN110134649A/en
Application granted granted Critical
Publication of CN110134649B publication Critical patent/CN110134649B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a lamp house file matching method and device based on two-way communication, the method comprises that a lamp control device scans an identification code of a target lamp based on a communication mode of two-way communication to obtain target lamp information of the target lamp, the target lamp information at least comprises target identification information of the target lamp, and the lamp control device is provided with a pre-established lamp house; and the lamp control equipment determines a lamp library file matched with the target identification information of the target lamp from the lamp library based on the target identification information of the target lamp as a target lamp library file of the target lamp. Therefore, the matching process of the lamp and the lamp library file can be simplified through the communication mode based on the two-way communication, so that the matching efficiency of the lamp and the lamp library file is improved, and the control efficiency of the lamp is further improved; and the possibility of matching errors caused by the fact that a worker manually executes the matching operation of the lamp library file and the lamp can be reduced.

Description

Lamp house file matching method and device based on two-way communication
Technical Field
The invention relates to the technical field of control of lamp equipment, in particular to a lamp house file matching method and device based on two-way communication.
Background
With the rapid development of internet technology, the development of the culture and entertainment industry (such as a concert) is promoted, so that the utilization rate of stage lamps is higher and the performance requirements are higher. In order to enhance the stage effect, stage lamps with different shapes and colors need to be additionally arranged, different types of lights are replaced at any time according to different stage backgrounds (such as music backgrounds), and the lights are controlled to emit through a lamp library file. Therefore, matching a lamp with a lamp library file corresponding to the lamp is a key link for sending out light meeting requirements.
At present, the method for matching a lamp with a lamp library file corresponding to the lamp mainly comprises the following steps: the method comprises the steps that a worker prepares (writes or searches in control equipment) lamp house files required by all lamps on site in advance, then manually connects the lamp house files with the control equipment according to specific information (such as lamp types, quantity and the like) of all lamps on site, modifies addresses of the lamps scanned by the control equipment according to the connection conditions of the control equipment and all lamps, and finally pairs the lamps with the modified addresses with the lamp positions connected in the control equipment one by one, so that the lamp house files corresponding to the lamps are matched for the lamps. Therefore, the matching process of matching the lamp with the lamp library file corresponding to the lamp is complex at present, and the matching efficiency of the lamp and the lamp library file is reduced. Therefore, how to simplify the matching process of the lamp and the lamp library file is important, so that the matching efficiency of the lamp and the lamp library file is improved.
Disclosure of Invention
The technical problem to be solved in the embodiments of the present invention is to provide a method and an apparatus for matching a lamp library file based on two-way communication, which can simplify a matching process between a lamp and the lamp library file through a communication manner based on two-way communication, and do not need to match the lamp library file with a lamp control device in advance, thereby improving matching efficiency between the lamp and the lamp library file.
In order to solve the above technical problem, a first aspect of an embodiment of the present invention discloses a method for matching a lamp house file based on bidirectional communication, where the method includes:
the method comprises the steps that a lamp control device scans an identification code of a target lamp based on a communication mode of two-way communication to obtain target lamp information of the target lamp, wherein the target lamp information at least comprises target identification information of the target lamp, the target lamp is a lamp which is in communication connection with the lamp control device at present, the communication mode based on the two-way communication is a communication mode in which the lamp control device and the target lamp can send information to an opposite side and receive information of the opposite side, the lamp control device is provided with a pre-established lamp bank which is used for storing a lamp bank file of the lamp, the lamp bank file of the lamp at least comprises basic information of the lamp, and the basic information of the lamp at least comprises the identification information of the lamp;
and the lamp control equipment determines a lamp bank file matched with the target identification information of the target lamp from the lamp bank as a target lamp bank file of the target lamp based on the target identification information of the target lamp.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, before the luminaire control device determines, from the lamp library based on the target identification information of the target luminaire, a lamp library file matching the target identification information of the target luminaire as the target lamp library file of the target luminaire, the method further includes:
the lamp control equipment determines lamp control data of each lamp in all lamps needing to be controlled by the lamp control equipment and basic information of each lamp, wherein all the lamps at least comprise the target lamp;
the lamp control equipment tests lamp control data corresponding to each lamp function based on the lamp function to be realized by each lamp to obtain the tested lamp control data of each lamp, wherein each lamp function has corresponding lamp control data;
the lamp control equipment generates a lamp library file of a lamp corresponding to the lamp control data of each tested lamp based on the lamp control data of each tested lamp and the basic information corresponding to the lamp control data of each tested lamp;
and the lamp control equipment generates a lamp bank based on all the lamp bank files and guides the lamp bank into the lamp control equipment.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the lamp control device scans an identification code of a target lamp based on a communication manner of bidirectional communication to obtain target lamp information of the target lamp, including;
the lamp control equipment scans the identification code of the target lamp based on a communication mode of bidirectional communication;
the lamp control equipment receives target lamp information sent by the target lamp, wherein the target lamp information is lamp information determined after the target lamp senses that the lamp control equipment scans the identification code.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the target lighting fixture information further includes a number of channels of the target lighting fixture and line information of the target lighting fixture, where the line information of the target lighting fixture is information of a line of the target lighting fixture, which is accessed to the lighting fixture control device;
and after the luminaire control device determines, from the lamp library, a lamp library file matched with the target identification information of the target luminaire as a target lamp library file of the target luminaire based on the target identification information of the target luminaire, the method further includes:
the lamp control equipment allocates a target address to the target lamp based on the number of channels of the target lamp;
and the lamp control equipment pairs the target lamp library file and a predetermined virtual lamp position corresponding to the target lamp based on the line information of the target lamp, the channel number of the target lamp and the target address to obtain a virtual lamp position control chart of the target lamp, wherein the virtual lamp position control chart is used for controlling the target lamp to work.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the determining, by the luminaire control device, a lamp library file matching target identification information of the target luminaire from the lamp library based on the target identification information of the target luminaire, as the target lamp library file of the target luminaire, includes:
the lamp control equipment determines matching identification information matched with the target identification information of the target lamp from the lamp bank based on the target identification information of the target lamp;
and the lamp control equipment inquires a matching lamp house file corresponding to the matching identification information and determines that the matching lamp house file is a target lamp house file of the target lamp.
The second aspect of the embodiment of the invention discloses a matching device of lamp house files based on two-way communication, which comprises: a scanning module and a determining module, wherein:
the scanning module is configured to scan an identification code of a target lamp based on a communication manner of bidirectional communication to obtain target lamp information of the target lamp, where the target lamp information at least includes target identification information of the target lamp, the target lamp is a lamp currently in communication connection with the lamp control device, the communication manner based on the bidirectional communication is a communication manner in which the lamp control device and the target lamp can send information to an opposite side and receive information of the opposite side, the lamp control device has a pre-established lamp bank, the lamp bank is used for storing a lamp bank file of the lamp, the lamp bank file of the lamp at least includes basic information of the lamp, and the basic information of the lamp at least includes identification information of the lamp;
the determining module is configured to determine, from the lamp library, a lamp library file matched with the target identification information of the target lamp based on the target identification information of the target lamp as a target lamp library file of the target lamp.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the apparatus further includes a testing module, a generating module, and a building module, where:
the determining module is further configured to determine, before determining, from the lamp library based on the target identification information of the target lamp, a lamp library file matched with the target identification information of the target lamp as a target lamp library file of the target lamp, lamp control data of each of the lamps and basic information of each of the lamps, which need to be controlled by the lamp control device, of all the lamps, including at least the target lamp;
the test module is used for testing lamp control data corresponding to each lamp function based on the lamp function to be realized by each lamp to obtain the tested lamp control data of each lamp, and each lamp function has corresponding lamp control data;
the generating module is used for generating a lamp library file of a lamp corresponding to the lamp control data of each tested lamp based on the lamp control data of each tested lamp and the basic information corresponding to the lamp control data of each tested lamp;
the establishing module is used for generating a lamp bank based on all the lamp bank files and guiding the lamp bank into the lamp control equipment.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the scanning module scans the identification code of the target lamp based on a communication manner of bidirectional communication, and a manner of obtaining the target lamp information of the target lamp is specifically:
scanning an identification code of a target lamp based on a communication mode of bidirectional communication;
receiving target lamp information sent by the target lamp, wherein the target lamp information is lamp information determined after the target lamp senses that the lamp control equipment scans the identification code.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the target lighting fixture information further includes a number of channels of the target lighting fixture and line information of the target lighting fixture, where the line information of the target lighting fixture is information of the target lighting fixture accessing to a line of the lighting fixture control device;
and, the apparatus further comprises an assignment module and a pairing module, wherein:
the allocation module is configured to allocate a target address to the target lamp based on the number of channels of the target lamp after the determination module determines, from the lamp library based on the target identification information of the target lamp, a lamp library file matched with the target identification information of the target lamp as a target lamp library file of the target lamp;
the pairing module is used for pairing the target lamp library file and a predetermined virtual lamp position corresponding to the target lamp based on the line information of the target lamp, the channel number of the target lamp and the target address to obtain a virtual lamp position control chart of the target lamp, and the virtual lamp position control chart is used for controlling the target lamp to work.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, a manner that the determining module determines, from the lamp library based on the target identification information of the target lamp, a lamp library file matched with the target identification information of the target lamp as the target lamp library file of the target lamp is specifically:
determining matching identification information matched with the target identification information of the target lamp from the lamp bank based on the target identification information of the target lamp;
and inquiring a matching lamp house file corresponding to the matching identification information, and determining the matching lamp house file as a target lamp house file of the target lamp.
The third aspect of the embodiment of the invention discloses another matching device for lamp house files based on two-way communication, which comprises:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the lamp house file matching method based on the two-way communication disclosed by the first aspect of the embodiment of the invention.
The fourth aspect of the present invention discloses a computer storage medium, where a computer instruction is stored, and when the computer instruction is called, the computer instruction is used to execute the method for matching lamp library files based on bidirectional communication disclosed in the first aspect of the present invention.
A fifth aspect of the embodiments of the present invention discloses a computer program product, which, when running on a computer, enables the computer to execute the method for matching a lamp house file based on bidirectional communication disclosed in the first aspect of the embodiments of the present invention.
Compared with the prior art, the invention has the following beneficial effects:
in the invention, a lamp control device scans an identification code of a target lamp based on a communication mode of two-way communication to obtain target lamp information of the target lamp, wherein the target lamp information at least comprises target identification information of the target lamp, the target lamp is a lamp which is in communication connection with the lamp control device currently, the communication mode based on two-way communication is a communication mode in which the lamp control device and the target lamp can send information to an opposite side and receive information of the opposite side, the lamp control device is provided with a pre-established lamp bank which is used for storing a lamp bank file of the lamp, the lamp bank file of the lamp at least comprises basic information of the lamp, and the basic information of the lamp at least comprises the identification information of the lamp; and the lamp control equipment determines a lamp bank file matched with the target identification information of the target lamp from the lamp bank as a target lamp bank file of the target lamp based on the target identification information of the target lamp. Therefore, the matching process of the lamp and the lamp house file can be simplified through the communication mode based on the two-way communication, and the lamp house file does not need to be matched with the lamp control equipment in advance, so that the matching efficiency of the lamp and the lamp house file is improved, and the control efficiency of the lamp is further improved; and the possibility of matching errors caused by the fact that the worker manually executes the matching operation of the lamp library file and the lamp can be reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a matching method for lamp house files based on bidirectional communication according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another matching method for lamp house files based on two-way communication according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another matching method for lamp house files based on two-way communication according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a matching device for lamp house files based on two-way communication according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another matching device for lamp house files based on two-way communication according to the embodiment of the present invention;
fig. 6 is a schematic structural diagram of another matching device for lamp house files based on two-way communication according to an embodiment of the present invention.
Detailed Description
For better understanding and implementation, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "comprises," "comprising," and any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or modules is not necessarily limited to those steps or modules explicitly listed, but may include other steps or modules not expressly listed or inherent to such process, method, article, or apparatus. In addition, the terms "first", "second", and the like in the description and the claims of the present invention are only used for distinguishing different objects, and it is possible for a person having ordinary skill in the art to understand the specific meanings of the above terms in the present invention according to specific situations.
The embodiment of the invention discloses a method and a device for matching a lamp house file based on two-way communication, which can simplify the matching process of a lamp and the lamp house file through a communication mode based on two-way communication, and do not need to match the lamp house file with lamp control equipment in advance, thereby improving the matching efficiency of the lamp and the lamp house file and further improving the control efficiency of the lamp; and the possibility of matching errors caused by the fact that a worker manually executes the matching operation of the lamp library file and the lamp can be reduced. The following are detailed descriptions.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a matching method for lamp house files based on bidirectional communication according to an embodiment of the present invention. The matching method for the lamp library file based on the bidirectional communication described in fig. 1 may be applied to a lamp control device having a lamp to control the lamp, such as a light color changer, a light modulator, a light modulating desk, a light modulating console, a light modulating silicon cabinet, a smart phone, a tablet computer, a palm computer, and a Mobile Internet Device (MID), and the embodiment of the present invention is not limited. As shown in fig. 1, the matching method of the lamp house file based on the two-way communication may include the following steps:
101. the lamp control equipment scans the identification code of the target lamp based on a communication mode of two-way communication to obtain target lamp information of the target lamp, wherein the target lamp information at least comprises target identification information of the target lamp, and the lamp control equipment is provided with a pre-established lamp bank.
In the embodiment of the invention, the communication mode based on the two-way communication is a communication mode in which the lamp control equipment and the target lamp can mutually send information to each other and receive information of each other. Further, the bidirectional communication may include bidirectional alternate communication or full duplex communication, and the embodiment of the present invention is not limited thereto.
In the embodiment of the invention, the target lamp is a lamp which is currently in communication connection with the lamp control equipment. Further, the target lamp may include at least one of a handkerchief lamp, a computer head shaking lamp, a follow spot lamp, a beam lamp, a bridge lamp, a ceiling lamp, a mobile light lamp, a foot lamp, a back light lamp and a pillar light lamp. Still further, the target lamp is classified into different types of lamps according to a classification rule, where the classification rule includes at least one of a use occasion of the lamp, a use of the lamp, a style of the lamp, an appearance of the lamp, a function of the lamp, and the like, and the embodiment of the present invention is not limited. The use occasion of the lamp includes at least one of a concert, a wedding, a bar, etc., and the embodiment of the invention is not limited.
In the embodiment of the present invention, further, the target lamp may be independent or may be a set. Wherein, under the condition that the target lamp is independent, each target lamp is provided with a unique identification code (for example, UID); under the condition that the target lamps are a set, each set of target lamps is provided with a unique main identification code, and further, each target lamp included in the target lamps is provided with a unique sub-identification code corresponding to the unique main identification code, so that the corresponding sub-identification code can be determined according to the main identification code, and the corresponding main identification code can also be determined according to the sub-identification code, and therefore the identification efficiency of the target lamps is improved, and the identification modes of the target lamps are enriched.
In this embodiment of the present invention, as an optional implementation manner, the generation mechanism of the identification code corresponding to the target lighting fixture may include:
the lamp control equipment encrypts the serial number of the target lamp to obtain an encrypted code;
and the lamp control equipment implants at least one random code of the three random codes in the encrypted codes to obtain the lamp identification code corresponding to the target lamp. The three random codes may include a position random code, a number random code and a character random code.
In the embodiment of the invention, the lamp control equipment is provided with a pre-established lamp bank, and the lamp bank is used for storing lamp bank files of the lamp, namely the lamp bank comprises a plurality of lamp bank files which are lamp information files. The light library file of the light fixture at least may include basic information of the light fixture, where the basic information of the light fixture at least may include identification information of the light fixture. Further, the basic information of the lamp may further include at least one of a manufacturer name, a model number, a code, a number of channels, line information, and a function of the lamp, which is not limited in the embodiment of the present invention.
In this embodiment of the present invention, the library file of the lamp may further include lamp control data of the lamp, where the lamp control data may include at least one of lamp lighting angle control data, lamp lighting duration control data, lamp lighting color control data, lamp rotation speed control parameters, lamp lighting speed control data, lamp lighting intensity control data, lamp lighting beam shape control data, and lamp lighting beam flashing frequency control data, and the embodiment of the present invention is not limited thereto.
In the embodiment of the present invention, the target lighting fixture information may include at least target identification information of the target lighting fixture. Further, the lighting device may further include at least one of a manufacturer name, a model, a channel number, a function, line information, and a code of the target lighting device, which is not limited in the embodiment of the present invention. Thus, the more information the target luminaire information includes, the more accurate the matched lamp library file is.
In the embodiment of the present invention, as an optional implementation manner, the lamp control device scans the identification code of the target lamp based on a communication manner of bidirectional communication to obtain target lamp information of the target lamp, which may include;
the lamp control equipment scans the identification code of the target lamp based on a communication mode of bidirectional communication;
and the lamp control equipment receives target lamp information sent by the target lamp, wherein the target lamp information is lamp information determined after the target lamp senses that the lamp control equipment scans the identification code.
102. And the lamp control equipment determines a lamp library file matched with the target identification information of the target lamp from the lamp library based on the target identification information of the target lamp as a target lamp library file of the target lamp.
In the embodiment of the present invention, the target lamp library file may include basic information of the target lamp and target lamp control data of the target lamp, and for describing the basic information of the target lamp and the target lamp control data of the target lamp, reference is made to the basic information of the lamp and the lamp control data of the lamp, which is not described herein again.
As an optional implementation manner, the determining, by the luminaire control device, a lamp library file matched with the target identification information of the target luminaire from the lamp library based on the target identification information of the target luminaire may be used as the target lamp library file of the target luminaire, and the determining may include:
the lamp control equipment determines matching identification information matched with the target identification information of the target lamp from the lamp bank based on the target identification information of the target lamp;
and the lamp control equipment inquires a matching lamp house file corresponding to the matching identification information and determines that the matching lamp house file is a target lamp house file of the target lamp.
As an optional embodiment, after determining, from the lamp library based on the target identification information of the target lamp, a lamp library file matched with the target identification information of the target lamp as a target lamp library file of the target lamp, the matching method of the lamp library file based on the bidirectional communication may further include the following steps:
the lamp control equipment judges whether the target lamp library file comprises target lamp control data of the target lamp;
when the target lamp library file is judged not to include the target lamp control data of the target lamp, the lamp control device determines the function to be realized by the target lamp, and sends a lamp control data compiling notification to a target lighting engineer, wherein the lamp control data compiling notification is used for notifying the target lighting engineer to compile lamp control data for the target lamp based on the function to be realized.
Therefore, in the optional embodiment, after the lamp library file corresponding to the lamp is matched, whether the lamp library file contains the lamp control data of the lamp is judged, and when the lamp control data of the lamp is judged not to be contained, a lamp control data compiling notification is sent to a lamplight engineer, so that the lamp control data can be compiled for the lamp, and the lamp can be controlled to work by using the lamp library file.
As another optional embodiment, the target lamp information of the target lamp may further include a date of initial commissioning of the target lamp, and before determining, from the lamp library, a lamp library file matched with the target identification information of the target lamp as the target lamp library file of the target lamp based on the target identification information of the target lamp, the matching method for the lamp library file based on the bidirectional communication may further include the following steps:
the lamp control equipment determines the service life of the target lamp based on the initial commissioning date of the target lamp, and judges whether the service life of the target lamp exceeds a preset service life or not, wherein the starting date of the service life of the target lamp is the initial commissioning date of the target lamp;
when the service time of the target lamp is judged not to exceed the preset service time, the lamp control equipment is triggered to execute the operation of determining a lamp bank file matched with the target identification information of the target lamp from the lamp bank based on the target identification information of the target lamp as a target lamp bank file of the target lamp;
and when the service time of the target lamp is judged to exceed the preset service time, the lamp control equipment calibrates the target lamp and triggers and executes the operation of determining the lamp library file matched with the target identification information of the target lamp from the lamp library based on the target identification information of the target lamp as the target lamp library file of the target lamp.
Therefore, the optional embodiment can ensure the accuracy of the performance of the lamp by determining the service life of the lamp, judging whether the service life of the lamp exceeds the preset service life, and calibrating the lamp when the service life of the lamp exceeds the preset service life.
It can be seen that, by implementing the matching method of the lamp house file based on the two-way communication described in fig. 1, the matching process of the lamp and the lamp house file can be simplified through the communication mode based on the two-way communication, and the lamp house file does not need to be matched with the lamp control equipment in advance, so that the matching efficiency of the lamp and the lamp house file is improved, and the control efficiency of the lamp is further improved; and the possibility of matching errors caused by the fact that the worker manually executes the matching operation of the lamp library file and the lamp can be reduced. In addition, lamp control data can be compiled for the lamp, so that the lamp can be controlled to work by using a lamp library file; the accuracy of the performance of the lamp can also be ensured, thereby improving the execution efficiency of the lamp.
Example two
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another method for matching a lamp house file based on two-way communication according to an embodiment of the present invention. The method for matching lamp library files based on bidirectional communication described in fig. 2 may be applied to a lamp control device having a lamp to be controlled, such as a light color changer, a light modulator, a light modulating desk, a light modulating console, a light modulating silicon cabinet, a smart phone, a tablet computer, a palm computer, and a Mobile Internet Device (MID), and the embodiment of the present invention is not limited thereto. As shown in fig. 2, the matching method of the lamp house file based on the two-way communication may include the following steps:
201. the lamp control equipment scans the identification code of the target lamp based on a communication mode of bidirectional communication to obtain target lamp information of the target lamp, wherein the target lamp information at least comprises target identification information of the target lamp, and the lamp control equipment is provided with a pre-established lamp bank.
202. The lamp control equipment determines lamp control data of each lamp in all lamps needing to be controlled by the lamp control equipment and basic information of each lamp, wherein all lamps at least comprise the target lamp.
203. The lamp control equipment tests lamp control data corresponding to each lamp function based on the lamp function to be realized by each lamp to obtain the tested lamp control data of each lamp, and each lamp function has corresponding lamp control data.
In the embodiment of the present invention, the lamp function to be implemented by the lamp corresponds to the lamp control data, and may include at least one of a lamp lighting angle, a lamp lighting duration, a lamp lighting color, a lamp rotation speed, a lamp lighting intensity, a lamp lighting beam shape, and a lamp lighting beam flicker frequency.
204. And the lamp control equipment generates a lamp library file of the lamp corresponding to the lamp control data of each tested lamp based on the lamp control data of each tested lamp and the basic information corresponding to the lamp control data of each tested lamp.
205. And the lamp control equipment establishes a lamp bank based on all the lamp bank files and guides the lamp bank into the lamp control equipment.
In the embodiment of the present invention, step 201 may also occur after step 205, and all that is within the scope of the present invention is included.
206. And the lamp control equipment determines a lamp bank file matched with the target identification information of the target lamp from the lamp bank as a target lamp bank file of the target lamp based on the target identification information of the target lamp.
In the embodiment of the present invention, the target lamp library file may include target lamp control data and target lamp information. For the description of the target lamp control data, reference is made to the detailed description of the lamp control parameters, which is not repeated herein in the embodiments of the present invention.
As an optional embodiment, the matching method for a lamp house file based on two-way communication may further include the following steps:
in the working process of a target lamp, the lamp control equipment judges whether the target lamp control data needs to be modified or not;
and when the target lamp control data needs to be modified, the lamp control equipment performs modification operation on the target lamp control data to obtain modified target lamp control data, and imports the modified target lamp control data into a target lamp library file.
Therefore, the optional embodiment judges whether the lamp control data needs to be modified or not in the working process of the lamp, and when the lamp control data needs to be modified, the optional embodiment performs modification operation on the lamp control data, can adaptively modify the lamp control data according to the actual situation on site, and accordingly meets the actual requirement of stage lighting.
In the embodiment of the present invention, please refer to the detailed description about steps 101 to 102 in the first embodiment for the description of steps 201 and 206, which is not described again in the embodiment of the present invention.
It can be seen that, by implementing the matching method of the lamp house file based on the two-way communication described in fig. 2, the matching process of the lamp and the lamp house file can be simplified through the communication mode based on the two-way communication, and the lamp house file does not need to be matched with the lamp control equipment in advance, so that the matching efficiency of the lamp and the lamp house file is improved, and the control efficiency of the lamp is further improved; and the possibility of matching errors caused by the fact that the worker manually executes the matching operation of the lamp library file and the lamp can be reduced. In addition, the lamp control data of each lamp in all lamps to be controlled by the lamp control equipment can be tested to obtain standard and complete lamp control data, so that the lamp library file can be conveniently and directly used subsequently, the control efficiency of the lamp is improved, and the possibility of error lamp library files caused by manual lamp library preparation is reduced; and the lamp control data can be adaptively modified according to the actual situation on site, so that the actual requirements of stage lighting are met.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating another two-way communication-based lamp house file matching method according to an embodiment of the present invention. The method for matching lamp library files based on bidirectional communication described in fig. 3 may be applied to a lamp control device having a lamp to be controlled, such as a light color changer, a light modulator, a light modulating desk, a light modulating console, a light modulating silicon cabinet, a smart phone, a tablet computer, a palm computer, and a Mobile Internet Device (MID), and the embodiment of the present invention is not limited thereto. As shown in fig. 3, the matching method of the lamp house file based on the two-way communication may include the following steps:
301. the lamp control equipment scans the identification code of the target lamp based on a communication mode of bidirectional communication to obtain target lamp information of the target lamp, wherein the target lamp information at least comprises target identification information of the target lamp, the channel number of the target lamp and line information of the target lamp, and the lamp control equipment is provided with a pre-established lamp bank.
302. The lamp control equipment determines lamp control data of each lamp in all lamps needing to be controlled by the lamp control equipment and basic information of each lamp, wherein all lamps at least comprise the target lamp.
303. The lamp control equipment tests lamp control data corresponding to each lamp function based on the lamp function to be realized by each lamp to obtain the tested lamp control data of each lamp, wherein each lamp function has corresponding lamp control data.
304. And the lamp control equipment generates a lamp library file of the lamp corresponding to the lamp control data of each tested lamp based on the lamp control data of each tested lamp and the basic information corresponding to the lamp control data of each tested lamp.
305. And the lamp control equipment establishes a lamp bank based on all the lamp bank files and guides the lamp bank into the lamp control equipment.
306. And the lamp control equipment determines a lamp library file matched with the target identification information of the target lamp from the lamp library based on the target identification information of the target lamp as a target lamp library file of the target lamp.
307. And the lamp control equipment allocates a target address to the target lamp based on the number of the channels of the target lamp.
As an optional embodiment, before allocating a target address to the target luminaire based on the number of channels of the target luminaire, the matching method for the bidirectional communication-based luminaire file may further include the following steps:
the lamp control equipment determines the number of the target lamps;
and when the number of the target lamps is larger than 1, the lamp control equipment determines the identification sequence of each target lamp in all the target lamps.
In this optional embodiment, as an optional implementation manner, assigning a target address to the target luminaire based on the number of channels of the target luminaire may include:
and the lamp control equipment allocates a target address to each target lamp according to the number of channels of each target lamp in all the target lamps and the identification sequence of each target lamp.
It can be seen that, in this alternative embodiment, by determining the number of the lamps first and assigning addresses to each lamp according to the identification sequence of each lamp and the number of channels of each lamp, the addresses of the lamps can be assigned tightly in a stripe manner, thereby improving the accuracy of the addresses of each lamp.
In the embodiment of the present invention, step 307 may also occur before step 302, and all that is within the scope of the present invention.
308. And the lamp control equipment pairs the target lamp library file and a predetermined virtual lamp position corresponding to the target lamp based on the line information of the target lamp, the channel number of the target lamp and the target address to obtain a virtual lamp position control map of the target lamp, wherein the virtual lamp position control map is used for controlling the target lamp to work.
In this embodiment of the present invention, please refer to detailed descriptions of step 101 to step 102 in the first embodiment for the description of step 301 and step 306, and refer to detailed descriptions of step 202 to step 205 in the second embodiment for the description of step 302 to step 305, which are not repeated in this embodiment of the present invention.
Therefore, by implementing the matching method of the lamp house file based on the two-way communication described in fig. 3, the matching process of the lamp and the lamp house file can be simplified through the communication mode based on the two-way communication, and the lamp house file does not need to be matched with the lamp control equipment in advance, so that the matching efficiency of the lamp and the lamp house file is improved, and the control efficiency of the lamp is further improved; and the possibility of matching errors caused by the fact that the worker manually executes the matching operation of the lamp library file and the lamp can be reduced. In addition, the lamp control data of each lamp in all lamps to be controlled by the lamp control equipment can be tested to obtain standard and complete lamp control data, so that the lamp library file can be conveniently and directly used subsequently, the control efficiency of the lamp is improved, and the possibility of error lamp library files caused by manual lamp library preparation is reduced; addresses can be automatically allocated to the lamps, so that the possibility of address allocation errors caused by manual address allocation of the lamps is reduced, and the allocation efficiency and accuracy are improved; the lamp library file of the lamp can be matched with the lamp to generate a virtual lamp position control diagram of the lamp, so that the distribution of the lamp can be visually and clearly known, and the control efficiency of the lamp is improved.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of a matching device for lamp house files based on bidirectional communication according to an embodiment of the present invention. As shown in fig. 4, the matching device for a lamp house file based on two-way communication may include a scanning module 401 and a determining module 402, wherein:
the scanning module 401 is configured to scan an identification code of a target lamp based on a communication manner of bidirectional communication to obtain target lamp information of the target lamp, where the target lamp information at least includes target identification information of the target lamp, the target lamp is a lamp currently establishing communication connection with the lamp control device, the communication manner based on the bidirectional communication is a communication manner in which the lamp control device and the target lamp can send information to an opposite side and receive information of the opposite side, the lamp control device has a pre-established lamp library, the lamp library is used for storing a lamp library file of the lamp, the lamp library file of the lamp at least includes basic information of the lamp, and the basic information of the lamp at least includes identification information of the lamp.
In the embodiment of the present invention, as an optional implementation manner, the manner in which the scanning module 401 scans the identification code of the target lamp based on the communication manner of the bidirectional communication to obtain the target lamp information of the target lamp is specifically:
scanning an identification code of a target lamp based on a communication mode of bidirectional communication;
and receiving target lamp information sent by the target lamp, wherein the target lamp information is lamp information determined after the target lamp senses that the lamp control equipment scans the identification code.
A determining module 402, configured to determine, from the lamp library, a lamp library file matched with the target identification information of the target lamp as a target lamp library file of the target lamp based on the target identification information of the target lamp.
In the embodiment of the present invention, as an optional implementation manner, the manner that the determining module 402 determines, based on the target identification information of the target lamp, a lamp library file matched with the target identification information of the target lamp from the lamp library as the target lamp library file of the target lamp is specifically:
determining matching identification information matched with the target identification information of the target lamp from the lamp bank based on the target identification information of the target lamp;
and inquiring a matching lamp house file corresponding to the matching identification information, and determining the matching lamp house file as a target lamp house file of the target lamp.
It can be seen that the matching device for implementing the lamp house file based on the two-way communication described in fig. 4 can simplify the matching process between the lamp and the lamp house file through the communication mode based on the two-way communication, and the lamp house file does not need to be matched and connected with the lamp control equipment in advance, so that the matching efficiency between the lamp and the lamp house file is improved, and the control efficiency of the lamp is further improved; and the possibility of matching errors caused by the fact that a worker manually executes the matching operation of the lamp library file and the lamp can be reduced.
As an optional embodiment, the matching apparatus for lamp library files based on two-way communication may further include a testing module 403, a generating module 404, and a creating module 405. At this time, the matching device for lamp house files based on two-way communication may be as shown in fig. 5, where fig. 5 is a schematic structural diagram of another matching device for lamp house files based on two-way communication disclosed in the embodiment of the present invention, where:
the determining module 402 is further configured to determine, before determining, based on the target identification information of the target luminaire, a luminaire control data of each luminaire in all luminaires that need to be controlled by the luminaire control device and basic information of each luminaire from the lamp library, where the lamp library file matched with the target identification information of the target luminaire is determined as the target lamp library file of the target luminaire, and all luminaires include at least the target luminaire.
The testing module 403 is configured to test the lamp control data corresponding to each lamp function based on the lamp function to be implemented by each lamp, to obtain the lamp control data of each tested lamp, where each lamp function has corresponding lamp control data.
A generating module 404, configured to generate a lamp library file of a lamp corresponding to the lamp control data of each tested lamp based on the lamp control data of each tested lamp and the basic information corresponding to the lamp control data of each tested lamp.
The establishing module 405 is configured to generate a lamp library based on all the above lamp library files, and import the lamp library into the lamp control device.
It can be seen that, by implementing the matching device for lamp library files based on bidirectional communication described in fig. 5, standard and complete lamp control data can be obtained by testing the lamp control data of each lamp in all lamps to be controlled by the lamp control device, so that the lamp library files can be conveniently and directly used subsequently, the control efficiency of the lamps is improved, and the possibility of generating wrong lamp library files due to manual lamp library preparation is reduced.
As another optional embodiment, the target lamp information may further include the number of channels of the target lamp and line information of the target lamp, where the line information of the target lamp is information of accessing the line of the lamp control device to the target lamp. And as shown in fig. 5, the matching device for a bidirectional communication-based light bank file may further include an allocation module 406 and a pairing module 407, where:
an allocating module 406, configured to, after the determining module 402 determines, based on the target identification information of the target luminaire, a luminaire file that matches the target identification information of the target luminaire from the luminaire as a target luminaire file of the target luminaire, allocate a target address to the target luminaire based on the number of channels of the target luminaire.
In this alternative embodiment, after the determining module 402 determines, based on the target identification information of the target lamp, a lamp library file matched with the target identification information of the target lamp from the lamp library to serve as the target lamp library file of the target lamp, the allocating module 406 may be triggered to execute the operation of allocating the target address to the target lamp based on the number of channels of the target lamp.
The pairing module 407 is configured to pair the target lamp library file and a predetermined virtual lamp position corresponding to the target lamp based on the line information of the target lamp, the number of channels of the target lamp, and the target address to obtain a virtual lamp position control map of the target lamp, where the virtual lamp position control map is used to control the target lamp to work.
It can be seen that the matching device implementing the lamp library file based on bidirectional communication described in fig. 5 can also automatically assign addresses to lamps, thereby reducing the possibility of address assignment errors caused by manually assigning addresses to lamps, and improving assignment efficiency and accuracy; the lamp library file of the lamp can be matched with the lamp to generate a virtual lamp position control diagram of the lamp, so that the distribution of the lamp can be visually and clearly known, and the control efficiency of the lamp is improved.
As another alternative embodiment, as shown in fig. 5, the apparatus for matching a lamp library file based on two-way communication may further include a determining module 408 and a modifying module 409, wherein:
the determining module 408 is configured to determine whether the target lamp control data needs to be modified in a working process of the target lamp;
in this alternative embodiment, after the determining module 402 determines, based on the target identification information of the target lamp, a lamp library file matched with the target identification information of the target lamp from the lamp library to serve as the target lamp library file of the target lamp, the determining module 408 may be triggered to perform the operation of determining whether the target lamp control data needs to be modified in the working process of the target lamp.
And a modifying module 409, configured to, when the determining module 408 determines that the target lamp control data needs to be modified, perform a modifying operation on the target lamp control data to obtain modified target lamp control data, and import the modified target lamp control data into the target lamp library file.
It can be seen that the matching device for implementing the lamp library file based on bidirectional communication described in fig. 5 can also determine whether the lamp control data needs to be modified in the working process of the lamp, and when it is determined that the lamp control data needs to be modified, the control data of the lamp is modified, and the lamp control data can be adaptively modified according to the actual situation on site, so that the actual requirements of stage lighting are met.
As an alternative embodiment, as shown in fig. 5, the determining module 408 is further configured to determine, after the determining module 402 determines, based on the target identification information of the target luminaire, a lamp library file matched with the target identification information of the target luminaire from the lamp library as the target lamp library file of the target luminaire, determine whether the target lamp library file includes the target luminaire control data of the target luminaire;
the determining module 402 is further configured to, when the determining module 408 determines that the target lamp library file does not include the target lamp control data of the target lamp, determine a function to be implemented by the target lamp, and send a lamp control data compiling notification to a target lighting engineer, where the lamp control data compiling notification is used to notify the target lighting engineer to compile lamp control data for the target lamp based on the function to be implemented.
It can be seen that, by implementing the matching device for the lamp library file based on the bidirectional communication described in fig. 5, it can also be determined whether the lamp library file contains the lamp control data of the lamp after matching the lamp library file corresponding to the lamp, and when it is determined that the lamp control data of the lamp is not contained, a lamp control data compiling notification is sent to a lighting engineer, so that the lamp control data can be compiled for the lamp, thereby being beneficial to controlling the lamp to work by using the lamp library file.
As a further alternative embodiment, the target lamp information of the target lamp may further include a first commissioning date of the target lamp, and as shown in fig. 5, the determining module 402 is further configured to determine the duration of the target lamp based on the first commissioning date of the target lamp before determining, from the lamp library, a lamp library file matched with the target identification information of the target lamp as the target lamp library file of the target lamp based on the target identification information of the target lamp;
the determining module 408 is further configured to determine whether the usage duration of the target lamp exceeds a preset usage duration, where a start date of the usage duration of the target lamp is an initial use date of the target lamp; when the service time of the target lamp is judged not to exceed the preset service time, the triggering determination module 402 executes the operation of determining a lamp bank file matched with the target identification information of the target lamp from the lamp bank based on the target identification information of the target lamp as a target lamp bank file of the target lamp; when the service life of the target lamp is judged to exceed the preset service life, the target lamp is calibrated, and the determining module 402 is triggered to execute the operation of determining the lamp library file matched with the target identification information of the target lamp from the lamp library based on the target identification information of the target lamp as the target lamp library file of the target lamp.
It can be seen that, by implementing the matching device for the lamp library file based on the bidirectional communication described in fig. 5, the accuracy of the performance of the lamp can be ensured by determining the use duration of the lamp, determining whether the use duration of the lamp exceeds the preset use duration, and calibrating the lamp when the use duration of the lamp exceeds the preset use duration.
As an alternative embodiment, as shown in fig. 5, the determining module 402 is further configured to determine the number of the target light fixture before the allocating module 406 allocates the target address to the target light fixture based on the number of channels of the target light fixture;
the determining module 402 is further configured to determine an identification order of each target luminaire in all target luminaires when it is determined that the number of the target luminaires is greater than 1.
In this optional embodiment, as an optional implementation manner, the manner that the allocating module 406 allocates the target address to the target luminaire based on the number of channels of the target luminaire specifically is as follows:
and allocating a target address to each target lamp according to the number of channels of each target lamp in all the target lamps and the identification sequence of each target lamp.
It can be seen that, by implementing the matching device for the lamp library file based on bidirectional communication described in fig. 5, the number of lamps can be determined first, and addresses are assigned to each lamp according to the identification sequence of each lamp and the number of channels of each lamp, so that the addresses of the lamps can be assigned tightly, and the accuracy of the addresses of each lamp can be improved.
EXAMPLE five
Referring to fig. 6, fig. 6 is a schematic structural diagram of another matching device for lamp house files based on two-way communication according to an embodiment of the present invention. As shown in fig. 6, the matching device for the lamp house file based on the two-way communication may include:
a memory 601 in which executable program code is stored;
a processor 602 coupled to the memory 601;
the processor 602 calls the executable program code stored in the memory 601 to execute the steps of the matching method of the lamp library file based on the two-way communication described in any one of the first to third embodiments.
Example six
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps of the lamp house file matching method based on bidirectional communication described in any one of the first embodiment to the third embodiment.
EXAMPLE seven
The embodiment of the invention discloses a computer program product, which comprises a non-transitory computer readable storage medium storing a computer program, wherein the computer program is operable to make a computer execute the steps of the bidirectional communication-based lamp house file matching method described in any one of the first to third embodiments.
The above-described embodiments of the apparatus are merely illustrative, and the modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above detailed description of the embodiments, those skilled in the art will clearly understand that the embodiments may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. Based on such understanding, the above technical solutions may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, wherein the storage medium includes a Read-Only Memory (ROM), a Random Access Memory (RAM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), a One-time Programmable Read-Only Memory (OTPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc-Read-Only Memory (CD-ROM) or other Memory capable of storing data, a magnetic tape, or any other computer-readable medium capable of storing data.
Finally, it should be noted that: the method and apparatus for matching lamp library files based on two-way communication disclosed in the embodiments of the present invention are only preferred embodiments of the present invention, and are only used for illustrating the technical solutions of the present invention, not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (4)

1. A matching method of lamp house files based on two-way communication is characterized by comprising the following steps:
the method comprises the steps that a lamp control device scans an identification code of a target lamp based on a communication mode of two-way communication to obtain target lamp information of the target lamp, wherein the target lamp information at least comprises target identification information of the target lamp, the target lamp is a lamp which is in communication connection with the lamp control device at present, the communication mode based on the two-way communication is a communication mode in which the lamp control device and the target lamp can send information to an opposite side and receive information of the opposite side, the lamp control device is provided with a pre-established lamp bank, the lamp bank is used for storing lamp bank files of the lamp, the lamp bank files of the lamp at least comprise basic information of the lamp, and the basic information of the lamp at least comprises the identification information of the lamp;
the lamp control equipment determines a lamp library file matched with the target identification information of the target lamp from the lamp library based on the target identification information of the target lamp as a target lamp library file of the target lamp;
before the luminaire control device determines, from the lamp library, a lamp library file matched with the target identification information of the target luminaire based on the target identification information of the target luminaire, as the target lamp library file of the target luminaire, the method further includes:
the lamp control equipment determines lamp control data of each lamp and basic information of each lamp in all lamps needing to be controlled by the lamp control equipment, wherein all the lamps at least comprise the target lamp;
the lamp control equipment tests lamp control data corresponding to each lamp function based on the lamp function to be realized by each lamp to obtain the tested lamp control data of each lamp, wherein each lamp function has corresponding lamp control data;
the lamp control equipment generates a lamp library file of a lamp corresponding to the lamp control data of each tested lamp based on the lamp control data of each tested lamp and the basic information corresponding to the lamp control data of each tested lamp;
the lamp control equipment establishes a lamp bank based on all the lamp bank files and guides the lamp bank into the lamp control equipment;
the lamp control equipment scans an identification code of a target lamp based on a communication mode of bidirectional communication to obtain target lamp information of the target lamp, wherein the target lamp information comprises;
the lamp control equipment scans the identification code of the target lamp based on a communication mode of bidirectional communication;
the lamp control equipment receives target lamp information sent by the target lamp, wherein the target lamp information is lamp information determined after the target lamp senses that the lamp control equipment scans the identification code;
the target lamp information further comprises the number of channels of the target lamp and line information of the target lamp, wherein the line information of the target lamp is information of the target lamp connected to the line of the lamp control equipment; and after the luminaire control device determines, from the lamp library, a lamp library file matched with the target identification information of the target luminaire as a target lamp library file of the target luminaire based on the target identification information of the target luminaire, the method further includes:
the lamp control equipment allocates a target address to the target lamp based on the number of channels of the target lamp;
and the lamp control equipment pairs the target lamp library file and a predetermined virtual lamp position corresponding to the target lamp based on the line information of the target lamp, the channel number of the target lamp and the target address to obtain a virtual lamp position control chart of the target lamp, wherein the virtual lamp position control chart is used for controlling the target lamp to work.
2. The matching method for lamp library files based on two-way communication according to claim 1, wherein the lamp control device determines a lamp library file matching the target identification information of the target lamp from the lamp library as the target lamp library file of the target lamp based on the target identification information of the target lamp, and the method comprises:
the lamp control equipment determines matching identification information matched with the target identification information of the target lamp from the lamp bank based on the target identification information of the target lamp;
the lamp control equipment inquires a matching lamp house file corresponding to the matching identification information and determines that the matching lamp house file is a target lamp house file of the target lamp.
3. A matching device of lamp house files based on two-way communication is characterized in that the device comprises a scanning module and a determining module, wherein:
the scanning module is configured to scan an identification code of a target lamp based on a communication manner of bidirectional communication to obtain target lamp information of the target lamp, where the target lamp information at least includes target identification information of the target lamp, the target lamp is a lamp currently establishing communication connection with the lamp control device, the communication manner based on the bidirectional communication is a communication manner in which the lamp control device and the target lamp can send information to an opposite side and receive information of the opposite side, the lamp control device has a pre-established lamp bank, the lamp bank is used for storing a lamp bank file of the lamp, the lamp bank file of the lamp at least includes basic information of the lamp, and the basic information of the lamp at least includes identification information of the lamp;
the determining module is used for determining a lamp library file matched with the target identification information of the target lamp from the lamp library based on the target identification information of the target lamp as a target lamp library file of the target lamp;
the device also comprises a testing module, a generating module and an establishing module, wherein:
the determining module is further configured to determine, before determining, from the lamp library based on the target identification information of the target lamp, a lamp library file matched with the target identification information of the target lamp as a target lamp library file of the target lamp, lamp control data of each of the lamps and basic information of each of the lamps, which need to be controlled by the lamp control device, of all the lamps, including at least the target lamp;
the test module is used for testing lamp control data corresponding to each lamp function based on the lamp function to be realized by each lamp to obtain the tested lamp control data of each lamp, and each lamp function has corresponding lamp control data;
the generating module is used for generating a lamp library file of a lamp corresponding to the lamp control data of each tested lamp based on the lamp control data of each tested lamp and the basic information corresponding to the lamp control data of each tested lamp;
the establishing module is used for generating a lamp bank based on all the lamp bank files and guiding the lamp bank into the lamp control equipment;
the scanning module scans the identification code of the target lamp based on the communication mode of the two-way communication, and the mode of obtaining the target lamp information of the target lamp is specifically as follows:
scanning an identification code of a target lamp based on a communication mode of bidirectional communication; receiving target lamp information sent by the target lamp, wherein the target lamp information is lamp information determined after the target lamp senses that the lamp control equipment scans the identification code;
the target lamp information further comprises the number of channels of the target lamp and the line information of the target lamp, wherein the line information of the target lamp is the information of the target lamp accessing the line of the lamp control equipment; and, the apparatus further comprises an assignment module and a pairing module, wherein:
the allocation module is configured to, after the determination module determines, based on the target identification information of the target luminaire, a luminaire file matched with the target identification information of the target luminaire from the luminaire as a target luminaire file of the target luminaire, allocate a target address to the target luminaire based on the number of channels of the target luminaire;
the pairing module is used for pairing the target lamp library file and a predetermined virtual lamp position corresponding to the target lamp based on the line information of the target lamp, the channel number of the target lamp and the target address to obtain a virtual lamp position control map of the target lamp, and the virtual lamp position control map is used for controlling the target lamp to work.
4. The matching device of claim 3, wherein the manner in which the determining module determines, from the lamp library based on the target identification information of the target lamp, the lamp library file matched with the target identification information of the target lamp as the target lamp library file of the target lamp is specifically:
determining matching identification information matched with the target identification information of the target lamp from the lamp bank based on the target identification information of the target lamp; and inquiring a matching lamp house file corresponding to the matching identification information, and determining that the matching lamp house file is a target lamp house file of the target lamp.
CN201910434727.3A 2019-05-23 2019-05-23 Lamp house file matching method and device based on two-way communication Active CN110134649B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910434727.3A CN110134649B (en) 2019-05-23 2019-05-23 Lamp house file matching method and device based on two-way communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910434727.3A CN110134649B (en) 2019-05-23 2019-05-23 Lamp house file matching method and device based on two-way communication

Publications (2)

Publication Number Publication Date
CN110134649A CN110134649A (en) 2019-08-16
CN110134649B true CN110134649B (en) 2023-01-24

Family

ID=67572861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910434727.3A Active CN110134649B (en) 2019-05-23 2019-05-23 Lamp house file matching method and device based on two-way communication

Country Status (1)

Country Link
CN (1) CN110134649B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1732468A (en) * 2002-12-30 2006-02-08 英国电讯有限公司 Data retrieval method and apparatus
JP2009009754A (en) * 2007-06-26 2009-01-15 Chugoku Electric Power Co Inc:The Illumination control system
CN102368252A (en) * 2010-09-30 2012-03-07 微软公司 Applying search inquiry in content set
CN107734803A (en) * 2017-10-26 2018-02-23 深圳市银河风云网络系统股份有限公司 Lamplight scene control method, device and electronic equipment
CN107885429A (en) * 2017-11-01 2018-04-06 上海飞乐智能技术有限公司 The construction method and lamp prosecutor method, system, device and storage medium of lamp control model
CN109240971A (en) * 2018-09-26 2019-01-18 威创集团股份有限公司 Communication means, apparatus and system
CN109634656A (en) * 2018-12-12 2019-04-16 厦门盈趣科技股份有限公司 A kind of batch device configuration method, equipment and configuration manager

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7202613B2 (en) * 2001-05-30 2007-04-10 Color Kinetics Incorporated Controlled lighting methods and apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1732468A (en) * 2002-12-30 2006-02-08 英国电讯有限公司 Data retrieval method and apparatus
JP2009009754A (en) * 2007-06-26 2009-01-15 Chugoku Electric Power Co Inc:The Illumination control system
CN102368252A (en) * 2010-09-30 2012-03-07 微软公司 Applying search inquiry in content set
CN107734803A (en) * 2017-10-26 2018-02-23 深圳市银河风云网络系统股份有限公司 Lamplight scene control method, device and electronic equipment
CN107885429A (en) * 2017-11-01 2018-04-06 上海飞乐智能技术有限公司 The construction method and lamp prosecutor method, system, device and storage medium of lamp control model
CN109240971A (en) * 2018-09-26 2019-01-18 威创集团股份有限公司 Communication means, apparatus and system
CN109634656A (en) * 2018-12-12 2019-04-16 厦门盈趣科技股份有限公司 A kind of batch device configuration method, equipment and configuration manager

Also Published As

Publication number Publication date
CN110134649A (en) 2019-08-16

Similar Documents

Publication Publication Date Title
CA2859502C (en) Assembling and controlling light unit arrays
US20210140669A1 (en) Air conditioning system, method and device for operationg air conditioning system
US10575388B2 (en) Digital addressable lighting interface configuration
US8350667B2 (en) Method for starting up a lighting system
CN109657035B (en) Lamp control method and device based on lamp library file
CN108966462B (en) Method and device for determining physical position of lamp
CN109324799A (en) A kind of code compiling method, computer installation and computer readable storage medium
CN112416353A (en) Channel package packaging method and device and computer equipment
EP4246924A1 (en) Bluetooth address allocation method for smart lamp, computer apparatus, and computer readable storage medium
CN108347807A (en) Illumination control method and lamps and lanterns
CN110134649B (en) Lamp house file matching method and device based on two-way communication
KR101562380B1 (en) Compiler and compiling method for a networked control system comprising a plurality of devices
CN111506366A (en) Plug-in calling method and device, electronic equipment and storage medium
CN113286313A (en) Hardware equipment layout method and device
CN113452556A (en) Product skill configuration method and device, storage medium and electronic device
EP4351279A1 (en) Control method, control device and lighting system
CN112351566B (en) Program recording method, device, lamp and storage medium
JP7179229B2 (en) Systems and methods for configuring bridges in groups after adding bridges to lighting system
CN111475198B (en) Mimicry method and device of network server
CN109947407B (en) Data acquisition method and device
JP4450741B2 (en) Address setting apparatus and method
WO2023145356A1 (en) Illumination system and illumination control method
CN114615139B (en) Automatic configuration management method and device for switch, electronic equipment and storage medium
CN114844864B (en) Configuration method and device of DMX equipment information
CN116126366B (en) Chip input/output interface configuration method, device, medium and electronic equipment

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