CN114500455A - Configuration method and system of intelligent lamp - Google Patents

Configuration method and system of intelligent lamp Download PDF

Info

Publication number
CN114500455A
CN114500455A CN202111638303.2A CN202111638303A CN114500455A CN 114500455 A CN114500455 A CN 114500455A CN 202111638303 A CN202111638303 A CN 202111638303A CN 114500455 A CN114500455 A CN 114500455A
Authority
CN
China
Prior art keywords
address
equipment
gateway protocol
hardware
gateway
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111638303.2A
Other languages
Chinese (zh)
Other versions
CN114500455B (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.)
Hangzhou Shendu Technology Co ltd
Original Assignee
Hangzhou Shendu 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 Hangzhou Shendu Technology Co ltd filed Critical Hangzhou Shendu Technology Co ltd
Priority to CN202111638303.2A priority Critical patent/CN114500455B/en
Publication of CN114500455A publication Critical patent/CN114500455A/en
Application granted granted Critical
Publication of CN114500455B publication Critical patent/CN114500455B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/255Maintenance or indexing of mapping tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2557Translation policies or rules
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application relates to a configuration method and a configuration system of an intelligent lamp, wherein the method comprises the following steps: the method comprises the steps of mapping an equipment hardware address by obtaining the equipment hardware address of an equipment driver based on a first gateway protocol to obtain an equipment virtual address of the equipment driver, wherein the equipment driver corresponds to intelligent lamps one by one; according to the method and the device, the device control address of the second gateway protocol is obtained through calculation of a preset formula according to the device virtual address based on the first gateway protocol and the device hardware address based on the second gateway protocol, and the association configuration of the device control address and the device hardware address of the intelligent lamp is completed.

Description

Configuration method and system of intelligent lamp
Technical Field
The application relates to the technical field of intelligent home, in particular to a configuration method and a configuration system of an intelligent lamp.
Background
DALI (Digital Addressable Lighting Interface) is a two-line bidirectional serial Digital communication protocol, and is a Digital clock Lighting communication system researched and developed by Lighting manufacturers due to the requirement of energy conservation, and the DALI system has the advantages of simple structure, convenience in installation, easiness in operation and the like. In practical building intelligent project applications, the DALI system is usually docked with the KNX bus system as one of the subsystems, and provides powerful support for intelligent lighting control of a building. The existing KNX/DALI gateways on the market are very complicated in debugging, and debugging engineers are required to map each DALI lamp address into a corresponding KNX control address one by one through DALI gateway programming.
Therefore, the KNX/DALI gateway needs to find out the DALI lamp address of each lamp and then associates the DALI lamp address with the KNX control address. Under the condition of a large number of lamps, the debugging process becomes very complicated and time-consuming; and after debugging and delivery, the function of the intelligent lamp is inconvenient for the user to edit by himself, and after the equipment breaks down, the user can not solve the problem by simply replacing the equipment and needs to reprogram and download the intelligent lamp into the equipment.
At present, no effective solution is provided for the problem of low efficiency of debugging configuration of an intelligent lamp in the related art.
Disclosure of Invention
The embodiment of the application provides a configuration method and a configuration system of an intelligent lamp, and aims to at least solve the problem that the debugging configuration of the intelligent lamp in the related technology is low in efficiency.
In a first aspect, an embodiment of the present application provides a configuration method of an intelligent luminaire, where the method includes:
acquiring an equipment hardware address of an equipment driver based on a first gateway protocol, and mapping the equipment hardware address to obtain an equipment virtual address of the equipment driver, wherein the equipment driver corresponds to the intelligent lamps one by one;
and calculating to obtain the equipment control address of the second gateway protocol through a preset formula according to the equipment virtual address based on the first gateway protocol and the equipment hardware address based on the second gateway protocol, and finishing the association configuration of the equipment control address of the intelligent lamp and the equipment hardware address.
In some embodiments, obtaining a device hardware address of a device driver based on a first gateway protocol, and mapping the device hardware address to obtain a device virtual address of the device driver includes:
the method comprises the steps of obtaining device hardware addresses of a device driver based on a DALI gateway protocol, sequentially arranging the device hardware addresses according to a preset sequence to obtain an arrangement sequence number, and setting the arrangement sequence number as a device virtual address of the device driver.
In some embodiments, calculating, according to the virtual address of the device based on the first gateway protocol and the hardware address of the device based on the second gateway protocol, the device control address of the second gateway protocol according to a preset formula includes:
according to the virtual address DN of the equipment based on the DALI gateway protocol and the hardware address KN of the equipment based on the KNX gateway protocol;
calculating the KNX equipment switch address through a formula ADDR1 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 0; calculating the KNX device brightness address by using ADDR2 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 1; the KNX device color temperature address is calculated by the formula ADDR3 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 2.
In some embodiments, after the device control address of the second gateway protocol is calculated according to the device virtual address based on the first gateway protocol and the device hardware address based on the second gateway protocol by using a preset formula, the method further includes:
and determining the control area of the equipment control address of the second gateway according to the number of the intelligent lamps in the first gateway.
In some embodiments, in the arranging the hardware addresses of the devices in sequence according to a preset sequence, the preset sequence is from small to large.
In a second aspect, an embodiment of the present application provides a configuration system of an intelligent luminaire, where the system includes a data mapping module and an associated configuration module;
the data mapping module acquires an equipment hardware address of an equipment driver based on a first gateway protocol, and maps the equipment hardware address to obtain an equipment virtual address of the equipment driver, wherein the equipment driver corresponds to the intelligent lamps one by one;
and the association configuration module calculates the equipment control address of the second gateway protocol according to the equipment virtual address based on the first gateway protocol and the equipment hardware address based on the second gateway protocol by a preset formula, and completes the association configuration of the equipment control address and the equipment hardware address of the intelligent lamp.
In some embodiments, the obtaining, by the data mapping module, a device hardware address of a device driver based on a first gateway protocol, and mapping the device hardware address to obtain a device virtual address of the device driver includes:
the data mapping module acquires the device hardware addresses of the device drivers based on the DALI gateway protocol, sequentially arranges the device hardware addresses according to a preset sequence to obtain an arrangement sequence number, and sets the arrangement sequence number as the device virtual address of the device drivers.
In some embodiments, the obtaining, by the association configuration module, the device control address of the second gateway protocol through calculation by a preset formula according to the device virtual address based on the first gateway protocol and the device hardware address based on the second gateway protocol includes:
the association configuration module is used for configuring an association configuration module according to a device virtual address DN based on a DALI gateway protocol and a device hardware address KN based on a KNX gateway protocol;
calculating the KNX equipment switch address through a formula ADDR1 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 0; calculating the KNX device brightness address by using ADDR2 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 1; the KNX device color temperature address is calculated by the formula ADDR3 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 2.
In some embodiments, the associating and configuring module, after obtaining the device control address of the second gateway protocol by calculating according to the device virtual address based on the first gateway protocol and the device hardware address based on the second gateway protocol by using a preset formula, further includes:
and the association configuration module determines a control area of the equipment control address of the second gateway according to the number of the intelligent lamps in the first gateway.
In some embodiments, the data mapping module sequentially arranges the device hardware addresses in a preset order, where the preset order is from small to large.
Compared with the related art, according to the configuration method and system of the intelligent lamp, the device hardware address of the device driver based on the first gateway protocol is obtained, and the device hardware address is mapped to obtain the device virtual address of the device driver, wherein the device driver and the intelligent lamp are in one-to-one correspondence; according to the virtual address of the equipment based on the first gateway protocol and the hardware address of the equipment based on the second gateway protocol, the equipment control address of the second gateway protocol is obtained through calculation of a preset formula, and the association configuration of the equipment control address and the hardware address of the equipment of the intelligent lamp is completed.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a flowchart of steps of an intelligent luminaire configuration method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a control area setting of KNX device control addresses;
fig. 3 is a block diagram of an intelligent luminaire configuration system according to an embodiment of the present application;
fig. 4 is an internal structural diagram of an electronic device according to an embodiment of the present application.
Description of the drawings: 31. a data mapping module; 32. and (5) associating and configuring modules.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
An embodiment of the present application provides a configuration method of an intelligent lamp, and fig. 1 is a flowchart illustrating steps of the configuration method of the intelligent lamp according to the embodiment of the present application, and as shown in fig. 1, the method includes the following steps:
step S102, acquiring an equipment hardware address of an equipment driver based on a first gateway protocol, and mapping the equipment hardware address to obtain an equipment virtual address of the equipment driver, wherein the equipment driver corresponds to the intelligent lamps one by one;
and step S104, calculating to obtain the equipment control address of the second gateway protocol through a preset formula according to the equipment virtual address based on the first gateway protocol and the equipment hardware address based on the second gateway protocol, and completing the association configuration of the equipment control address of the intelligent lamp and the equipment hardware address.
Through the steps S102 to S104 in the embodiment of the application, the problem of low efficiency in debugging and configuration of the intelligent lamp is solved, automatic mapping between two different protocol addresses is realized, and complicated associated programming between the protocol addresses during configuration of the intelligent lamp is avoided.
In some embodiments, in step S102, acquiring a device hardware address of a device driver based on a first gateway protocol, and mapping the device hardware address to obtain a device virtual address of the device driver includes:
the method comprises the steps of obtaining device hardware addresses of a device driver based on a DALI gateway protocol, sequentially arranging the device hardware addresses according to a preset sequence to obtain an arrangement sequence number, and setting the arrangement sequence number as a device virtual address of the device driver.
Specifically, table 1 is a mapping table of device hardware addresses and device virtual addresses of device drivers, and as shown in table 1, device hardware addresses (15, 7, 9, 5, 1, 2, 4) of device drivers based on the DALI gateway protocol are obtained, a total of 7 drivers are obtained, the device hardware addresses are arranged from small to large (1, 2, 4, 5, 7, 9, 15), an arrangement number (1, 2, 3, 4, 5, 6, 7) is obtained, and the arrangement number is set as the device virtual address of the device driver, so that a mapping pair (1-1, 2-2, 4-3, 5-4, 7-5, 9-6, 15-7) is obtained.
TABLE 1
DALI driver Address (device hardware Address) DALI driver mapping address (device virtual address)
1 1
2 2
4 3
5 4
7 5
9 6
15 7
It should be noted that the preset sequence may be from small to large, from large to small, or under a preset rule that does not violate a natural rule.
In some embodiments, the step S104 of calculating, according to the virtual address of the device based on the first gateway protocol and the hardware address of the device based on the second gateway protocol, the device control address of the second gateway protocol by using a preset formula includes:
according to the virtual address DN of the equipment based on the DALI gateway protocol and the hardware address KN of the equipment based on the KNX gateway protocol;
calculating the KNX equipment switch address through a formula ADDR1 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 0; calculating the KNX device brightness address by using ADDR2 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 1; the KNX device color temperature address is calculated by the formula ADDR3 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 2.
In particular, table 2 is a mapping table of associations between KNX device control addresses, DALI device virtual addresses and DALI device hardware addresses, as shown in table 2,
Figure BDA0003442769630000061
calculating the KNX equipment switch address through a formula ADDR1 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 0; calculating the KNX device brightness address by using ADDR2 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 1; calculating a KNX device color temperature address by using a formula ADDR3 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 2; in the formula, KN is a hardware address of the KNX equipment (dial determination or automatic distribution generation, which is unique in the same set of KNX system); DN is DALI device virtual address. It should be noted that the KNX device control address includes a KNX device switch address, a KNX device brightness address, and a KNX device color temperature address.
In some embodiments, in step S104, after the device control address of the second gateway protocol is calculated according to the device virtual address based on the first gateway protocol and the device hardware address based on the second gateway protocol by using a preset formula, the method further includes:
and determining the control area of the equipment control address of the second gateway according to the number of the intelligent lamps in the first gateway.
In particular, the first gateway may be a DALI gateway and the second gateway may be a KNX gateway. Fig. 2 is a schematic diagram of the setting of the control area of the KNX device control address, and as shown in fig. 2, if there are 64 intelligent luminaires (device drivers) at most in one DALI gateway, the control area of the KNX device control address (DALI/KNX control address area) is divided by the KNX device hardware address according to the number limitation rule of the intelligent luminaires in the DALI gateway, that is, each DALI/KNX control address area contains 64 KNX device control addresses, and the control area is 64 intelligent luminaires.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
An embodiment of the present application provides a configuration system of an intelligent lamp, fig. 3 is a block diagram of a configuration system of an intelligent lamp according to an embodiment of the present application, and as shown in fig. 3, the configuration system includes a data mapping module 31 and an associated configuration module 32;
the data mapping module 31 acquires an equipment hardware address of an equipment driver based on a first gateway protocol, and maps the equipment hardware address to obtain an equipment virtual address of the equipment driver, wherein the equipment driver corresponds to the intelligent lamps one by one;
the association configuration module 32 calculates, according to the device virtual address based on the first gateway protocol and the device hardware address based on the second gateway protocol, the device control address of the second gateway protocol by using a preset formula, and completes association configuration between the device control address of the intelligent lamp and the device hardware address.
Through the steps S102 to S104 in the embodiment of the application, the problem of low efficiency in debugging and configuration of the intelligent lamp is solved, automatic mapping between two different protocol addresses is realized, and complicated associated programming between the protocol addresses during configuration of the intelligent lamp is avoided.
In some embodiments, the obtaining, by the data mapping module 31, a device hardware address of a device driver based on a first gateway protocol, and mapping the device hardware address to obtain a device virtual address of the device driver includes:
the data mapping module 31 obtains device hardware addresses of the device drivers based on the DALI gateway protocol, sequentially arranges the device hardware addresses in a preset order to obtain an arrangement sequence number, and sets the arrangement sequence number as a device virtual address of the device driver.
In some embodiments, the calculating, by the association configuration module 32, the device control address of the second gateway protocol according to the device virtual address based on the first gateway protocol and the device hardware address based on the second gateway protocol by using a preset formula includes:
the association configuration module 32 calculates the virtual address DN of the device based on the DALI gateway protocol and the hardware address KN of the device based on the KNX gateway protocol;
calculating the KNX device switch address by the formula ADDR1 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 0; calculating the KNX device brightness address by using ADDR2 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 1; the KNX device color temperature address is calculated by the formula ADDR3 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 2.
In some embodiments, the association configuration module 32, after calculating the device control address of the second gateway protocol according to the device virtual address based on the first gateway protocol and the device hardware address based on the second gateway protocol by using a preset formula, further includes:
the association configuration module 32 determines a control area of the device control address of the second gateway according to the number of the intelligent luminaires in the first gateway.
In some embodiments, the data mapping module 31 sequentially arranges the device hardware addresses in a preset order, where the preset order is from small to large.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
The present embodiment also provides an electronic device comprising a memory having a computer program stored therein and a processor configured to execute the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
It should be noted that, for specific examples in this embodiment, reference may be made to examples described in the foregoing embodiments and optional implementations, and details of this embodiment are not described herein again.
In addition, by combining the configuration method of the intelligent lamp in the above embodiment, the embodiment of the present application can be implemented by providing a storage medium. The storage medium having stored thereon a computer program; the computer program, when executed by a processor, implements any one of the above-described embodiments of the configuration method for an intelligent luminaire.
In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of configuring an intelligent luminaire. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
In one embodiment, fig. 4 is a schematic diagram of an internal structure of an electronic device according to an embodiment of the present application, and as shown in fig. 4, there is provided an electronic device, which may be a server, and its internal structure diagram may be as shown in fig. 4. The electronic device comprises a processor, a network interface, an internal memory and a non-volatile memory connected by an internal bus, wherein the non-volatile memory stores an operating system, a computer program and a database. The processor is used for providing calculation and control capability, the network interface is used for communicating with an external terminal through network connection, the internal storage is used for providing an environment for an operating system and running of a computer program, the computer program is executed by the processor to realize a configuration method of the intelligent lamp, and the database is used for storing data.
Those skilled in the art will appreciate that the configuration shown in fig. 4 is a block diagram of only a portion of the configuration associated with the present application, and does not constitute a limitation on the electronic device to which the present application is applied, and a particular electronic device may include more or less components than those shown in the drawings, or combine certain components, or have a different arrangement of components.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It should be understood by those skilled in the art that various features of the above-described embodiments can be combined in any combination, and for the sake of brevity, all possible combinations of features in the above-described embodiments are not described in detail, but rather, all combinations of features which are not inconsistent with each other should be construed as being within the scope of the present disclosure.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A configuration method of an intelligent lamp, the method comprising:
acquiring an equipment hardware address of an equipment driver based on a first gateway protocol, and mapping the equipment hardware address to obtain an equipment virtual address of the equipment driver, wherein the equipment driver corresponds to the intelligent lamps one by one;
and calculating to obtain the equipment control address of the second gateway protocol through a preset formula according to the equipment virtual address based on the first gateway protocol and the equipment hardware address based on the second gateway protocol, and finishing the association configuration of the equipment control address of the intelligent lamp and the equipment hardware address.
2. The method of claim 1, wherein obtaining a device hardware address of a device driver based on a first gateway protocol, and mapping the device hardware address to obtain a device virtual address of the device driver comprises:
the method comprises the steps of obtaining device hardware addresses of a device driver based on a DALI gateway protocol, sequentially arranging the device hardware addresses according to a preset sequence to obtain an arrangement sequence number, and setting the arrangement sequence number as a device virtual address of the device driver.
3. The method of claim 1, wherein calculating the device control address of the second gateway protocol according to the device virtual address based on the first gateway protocol and the device hardware address based on the second gateway protocol by using a preset formula comprises:
according to the virtual address DN of the equipment based on the DALI gateway protocol and the hardware address KN of the equipment based on the KNX gateway protocol;
calculating the KNX equipment switch address through a formula ADDR1 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 0; calculating the KNX device brightness address by using ADDR2 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 1; the KNX device color temperature address is calculated by the formula ADDR3 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 2.
4. The method of claim 1, wherein after the device control address of the second gateway protocol is calculated according to the device virtual address based on the first gateway protocol and the device hardware address based on the second gateway protocol by a preset formula, the method further comprises:
and determining the control area of the equipment control address of the second gateway according to the number of the intelligent lamps in the first gateway.
5. The method of claim 2, wherein the predetermined order is from small to large in the arranging the device hardware addresses sequentially in the predetermined order.
6. A configuration system of an intelligent lamp is characterized in that the system comprises a data mapping module and an associated configuration module;
the data mapping module acquires an equipment hardware address of an equipment driver based on a first gateway protocol, and maps the equipment hardware address to obtain an equipment virtual address of the equipment driver, wherein the equipment driver corresponds to the intelligent lamps one by one;
and the association configuration module calculates the equipment control address of the second gateway protocol according to the equipment virtual address based on the first gateway protocol and the equipment hardware address based on the second gateway protocol by a preset formula, and completes the association configuration of the equipment control address and the equipment hardware address of the intelligent lamp.
7. The system of claim 6, wherein the data mapping module obtains a device hardware address of a device driver based on a first gateway protocol, and maps the device hardware address to obtain a device virtual address of the device driver comprises:
the data mapping module acquires the device hardware addresses of the device drivers based on the DALI gateway protocol, sequentially arranges the device hardware addresses according to a preset sequence to obtain an arrangement sequence number, and sets the arrangement sequence number as the device virtual address of the device drivers.
8. The system according to claim 6, wherein the calculating, by the association configuration module, the device control address of the second gateway protocol according to the device virtual address based on the first gateway protocol and the device hardware address based on the second gateway protocol by using a preset formula includes:
the association configuration module is used for configuring an association configuration module according to a device virtual address DN based on a DALI gateway protocol and a device hardware address KN based on a KNX gateway protocol;
calculating the KNX equipment switch address through a formula ADDR1 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 0; calculating the KNX device brightness address by using ADDR2 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 1; the KNX device color temperature address is calculated by the formula ADDR3 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 2.
9. The system according to claim 6, wherein the association configuration module, after obtaining the device control address of the second gateway protocol according to the device virtual address based on the first gateway protocol and the device hardware address based on the second gateway protocol through a preset formula calculation, further comprises:
and the association configuration module determines a control area of the equipment control address of the second gateway according to the number of the intelligent lamps in the first gateway.
10. The system according to claim 7, wherein the data mapping module arranges the hardware addresses of the devices in a preset order, and the preset order is from small to large.
CN202111638303.2A 2021-12-29 2021-12-29 Configuration method and system of intelligent lamp Active CN114500455B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111638303.2A CN114500455B (en) 2021-12-29 2021-12-29 Configuration method and system of intelligent lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111638303.2A CN114500455B (en) 2021-12-29 2021-12-29 Configuration method and system of intelligent lamp

Publications (2)

Publication Number Publication Date
CN114500455A true CN114500455A (en) 2022-05-13
CN114500455B CN114500455B (en) 2023-08-25

Family

ID=81507956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111638303.2A Active CN114500455B (en) 2021-12-29 2021-12-29 Configuration method and system of intelligent lamp

Country Status (1)

Country Link
CN (1) CN114500455B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072159A (en) * 2006-05-10 2007-11-14 国际商业机器公司 System and apparatus for managing internal virtual local area network
US20090102401A1 (en) * 2006-04-21 2009-04-23 Tir Technology Lp Solid-state lighting network and protocol
CN102625554A (en) * 2012-03-20 2012-08-01 浙江大学 Distributed DALI (Digital Addressable Lighting Interface) lighting control system and method thereof
DE102012013894A1 (en) * 2012-07-13 2014-01-16 Ambright GmbH Method for operating of lamp in lamp circuit board, involves transmitting measurement results of detection and/or operating information of lamp to data network
US20140139140A1 (en) * 2011-07-27 2014-05-22 Verified Energy, Llc Encapsulation of DALI Commands in Wireless Networks
CN103987179A (en) * 2014-05-28 2014-08-13 梅志国 Lamp set positioning method used in intelligent lamplight control system
CN104333508A (en) * 2014-10-31 2015-02-04 常州机电职业技术学院 Zigbee gateway based on cloud computing
CN104823525A (en) * 2012-11-26 2015-08-05 皇家飞利浦有限公司 Signal-level based control of power grid load systems
CN104919760A (en) * 2012-11-12 2015-09-16 阿尔卡特朗讯公司 Virtual chassis system control protocols
WO2016023061A1 (en) * 2014-08-11 2016-02-18 Int'act Pty Ltd Dali device addressing method & software
US20160085684A1 (en) * 2014-09-23 2016-03-24 Cisco Technology, Inc. Multi-level paging and address translation in a network environment
CN105991779A (en) * 2015-02-02 2016-10-05 中国移动通信集团公司 Internet of things short-distance communication method and device, and middleware
CN109041367A (en) * 2018-06-28 2018-12-18 上海亚明照明有限公司 Intelligent lighting control system, method, medium, terminal, Intelligent lamp and intelligent gateway
US20200167291A1 (en) * 2018-11-26 2020-05-28 Advanced Micro Devices, Inc. Dynamic remapping of virtual address ranges using remap vector
US20210022208A1 (en) * 2018-03-23 2021-01-21 Signify Holding B.V. A method of and devices for inquiring address announce messages in a communication network
US20210021564A1 (en) * 2019-07-19 2021-01-21 Vmware,Inc. Per-application split-tunneled udp proxy

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090102401A1 (en) * 2006-04-21 2009-04-23 Tir Technology Lp Solid-state lighting network and protocol
CN101072159A (en) * 2006-05-10 2007-11-14 国际商业机器公司 System and apparatus for managing internal virtual local area network
US20140139140A1 (en) * 2011-07-27 2014-05-22 Verified Energy, Llc Encapsulation of DALI Commands in Wireless Networks
CN102625554A (en) * 2012-03-20 2012-08-01 浙江大学 Distributed DALI (Digital Addressable Lighting Interface) lighting control system and method thereof
DE102012013894A1 (en) * 2012-07-13 2014-01-16 Ambright GmbH Method for operating of lamp in lamp circuit board, involves transmitting measurement results of detection and/or operating information of lamp to data network
CN104919760A (en) * 2012-11-12 2015-09-16 阿尔卡特朗讯公司 Virtual chassis system control protocols
CN104823525A (en) * 2012-11-26 2015-08-05 皇家飞利浦有限公司 Signal-level based control of power grid load systems
CN103987179A (en) * 2014-05-28 2014-08-13 梅志国 Lamp set positioning method used in intelligent lamplight control system
WO2016023061A1 (en) * 2014-08-11 2016-02-18 Int'act Pty Ltd Dali device addressing method & software
US20160085684A1 (en) * 2014-09-23 2016-03-24 Cisco Technology, Inc. Multi-level paging and address translation in a network environment
CN104333508A (en) * 2014-10-31 2015-02-04 常州机电职业技术学院 Zigbee gateway based on cloud computing
CN105991779A (en) * 2015-02-02 2016-10-05 中国移动通信集团公司 Internet of things short-distance communication method and device, and middleware
US20210022208A1 (en) * 2018-03-23 2021-01-21 Signify Holding B.V. A method of and devices for inquiring address announce messages in a communication network
CN109041367A (en) * 2018-06-28 2018-12-18 上海亚明照明有限公司 Intelligent lighting control system, method, medium, terminal, Intelligent lamp and intelligent gateway
US20200167291A1 (en) * 2018-11-26 2020-05-28 Advanced Micro Devices, Inc. Dynamic remapping of virtual address ranges using remap vector
US20210021564A1 (en) * 2019-07-19 2021-01-21 Vmware,Inc. Per-application split-tunneled udp proxy

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
ALEKSEY V. KUDRYASHOV: "Lighting Control Using DALI Interface", 《2018 INTERNATIONAL CONFERENCE ON INDUSTRIAL ENGINEERING, APPLICATIONS AND MANUFACTURING (ICIEAM)》 *
卢仕听;尤凯迪;韩军;曾晓洋;: "MIPS内存管理单元的设计与实现", 计算机工程, no. 21 *
张玉杰;陈志磊;: "智能照明系统KNX与DALI协议网关的设计及实现", 计算机测量与控制, no. 11 *
朱莉;: "智能家居中KNX/DALI网关的实现", 通讯世界, no. 08 *
赵柱博;张波;: "智慧照明通信协议DALI调光控制装置的检测方法", 光源与照明, no. 04 *
马久跃;余子濠;包云岗;孙凝晖;: "体系结构内可编程数据平面方法", 计算机研究与发展, no. 01 *
马如明;杨毅;: "KNX/EIB、EnOcean和DALI技术在建筑能源管理中的应用", 智能建筑与城市信息, no. 03 *

Also Published As

Publication number Publication date
CN114500455B (en) 2023-08-25

Similar Documents

Publication Publication Date Title
CN107276866A (en) Home appliance match somebody with somebody network method, device and home appliance
CN102164360B (en) Method and system for configuring and loading network equipment
WO2018157588A1 (en) Firmware burning method, system, computer device and storage medium
CN103678187B (en) A kind of micro-control unit and control method thereof
CN110688172B (en) Device function mutual exclusion logic configuration method and device, electronic device and storage medium
CN103902327A (en) BMC starting system and method
CN110704350A (en) Resource management method and device, electronic equipment and storage medium
CN107066295B (en) Method and equipment for loading plug-in of terminal network application based on browser
CN110399181A (en) Software Development Kit funcall method, system and electronic equipment and medium
CN109542563A (en) One kind integrating multi-mode Android page management method, apparatus and system
CN113138776A (en) Template-based cluster automatic deployment method, device, equipment and medium
CN114500455A (en) Configuration method and system of intelligent lamp
US9251107B2 (en) Immediate direct memory access descriptor-based write operation
JP2002288104A (en) Computer system, and method and program for its resource assigning
WO2021120674A1 (en) Method and apparatus for multi-bus device fused access
CN110399166B (en) ME Nonce value saving method, device, equipment and storage medium
CN115915556A (en) Distributed intelligent light control method, device, equipment and medium
CN101789265B (en) FLASH express programming method for Power PC system
CN110192178A (en) Method, apparatus, micro-control unit and the terminal device of program patch installing
CN109039784B (en) Node deployment method and device of OpenStack
CN105550010A (en) Wireless intelligent program loading method and system based on SoC
CN108989117B (en) Configuration method of communication protocol, wireless communication device and household appliance
CN105813138A (en) Information processing method and first electronic device
WO2016023276A1 (en) Data processing method and device for storage card
CN114513496B (en) Control method, system, device and medium of intelligent lamp

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