CN108364603B - LED lamp-based addressing method, addressing device and terminal equipment - Google Patents

LED lamp-based addressing method, addressing device and terminal equipment Download PDF

Info

Publication number
CN108364603B
CN108364603B CN201810054132.0A CN201810054132A CN108364603B CN 108364603 B CN108364603 B CN 108364603B CN 201810054132 A CN201810054132 A CN 201810054132A CN 108364603 B CN108364603 B CN 108364603B
Authority
CN
China
Prior art keywords
lamp
address
lamp point
point
addressing
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
CN201810054132.0A
Other languages
Chinese (zh)
Other versions
CN108364603A (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.)
Zongren Technology (Pingtan) Co.,Ltd.
Original Assignee
Zongren Technology (pingtan) 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 Zongren Technology (pingtan) Co Ltd filed Critical Zongren Technology (pingtan) Co Ltd
Priority to CN201810054132.0A priority Critical patent/CN108364603B/en
Publication of CN108364603A publication Critical patent/CN108364603A/en
Application granted granted Critical
Publication of CN108364603B publication Critical patent/CN108364603B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention is suitable for the technical field of electronics, and provides an addressing method, an addressing device and terminal equipment based on an LED lamp, wherein the addressing method, the addressing device and the terminal equipment comprise the following steps: sending an addressing instruction to the LED lamp, wherein the addressing instruction is used for indicating lamp points on the LED lamp to be displayed according to a preset rule; capturing an image displayed by the lamp points according to a preset rule through a camera device; analyzing the address of the lamp point according to the preset rule and the captured image of the lamp point; the self-contained address of the lamp point on the LED lamp can be quickly and accurately determined.

Description

LED lamp-based addressing method, addressing device and terminal equipment
Technical Field
The invention belongs to the technical field of electronics, and particularly relates to an LED lamp-based addressing method, an LED lamp-based addressing device and a terminal device.
Background
An LED (light emitting diode) is a semiconductor component and has the advantages of low working voltage, good shock/earthquake resistance, high reliability, long service life and the like. With the progress of technology, LEDs have been widely used in the fields of illumination, displays, and the like.
An LED decorative lamp is popular in the market nowadays, and comprises a plurality of LEDs, each LED chip has a unique address, and a controller can control the change of each LED through the address, so as to form a desired pattern. Therefore, how to quickly and accurately determine the self-contained address of each LED is the key for controlling the LED decorative lamp.
Disclosure of Invention
In view of this, embodiments of the present invention provide an addressing method, an addressing device and a terminal device based on an LED lamp, so as to quickly and accurately determine a self-contained address of a lamp point on the LED lamp.
A first aspect of an embodiment of the present invention provides an addressing method based on an LED lamp, including:
sending an addressing instruction to the LED lamp, wherein the addressing instruction is used for indicating lamp points on the LED lamp to be displayed according to a preset rule;
capturing an image displayed by the lamp points according to a preset rule through a camera device;
and analyzing the address of the lamp point according to the preset rule and the captured image of the lamp point.
A second aspect of an embodiment of the present invention provides an LED lamp-based addressing device, including:
the sending unit is used for sending an addressing instruction to the LED lamp, and the addressing instruction is used for indicating the lamp points on the LED lamp to be displayed according to a preset rule;
the first capturing unit is used for capturing images displayed by the lamp points according to a preset rule through a camera device;
and the analysis unit is used for analyzing the address of the lamp point according to the preset rule and the captured image of the lamp point.
A third aspect of the present embodiment provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method provided in the first aspect of the present embodiment when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program which, when executed by one or more processors, performs the steps of the method provided by the first aspect of embodiments of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
according to the LED lamp, an addressing instruction is sent to the LED lamp, and the addressing instruction is used for indicating lamp points on the LED lamp to be displayed according to a preset rule; capturing an image displayed by the lamp points according to a preset rule through a camera device; analyzing the address of the lamp point according to the preset rule and the captured image of the lamp point; the self-contained address of the lamp point on the LED lamp can be quickly and accurately determined.
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 or the prior art descriptions 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 to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of an implementation of an addressing method based on an LED lamp according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating an implementation of an LED lamp-based addressing method according to another embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating an implementation of an LED lamp-based addressing method according to another embodiment of the present invention;
FIG. 4 is a schematic diagram of an LED lamp-based addressing device provided by an embodiment of the present invention;
fig. 5 is a schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Fig. 1 is a schematic flow chart of an implementation of an addressing method based on an LED lamp according to an embodiment of the present invention, and as shown in the drawing, the method may include the following steps:
and S101, sending an addressing instruction to the LED lamp, wherein the addressing instruction is used for indicating the lamp points on the LED lamp to be displayed according to a preset rule.
In practical applications, the preset rule may be preset manually. Illustratively, each lamp point on the LED lamp is controlled by one chip, the controller sends an addressing instruction to each chip of the LED lamp, and each chip controls the corresponding lamp point to display according to a preset rule after receiving the addressing instruction. It should be noted that each chip controls at least one lamp.
And step S102, capturing an image displayed by the lamp points according to a preset rule through a camera device.
In practical applications, an image pickup apparatus includes: a camera, a mobile phone. The present invention is not limited to the above embodiments, and may be applied to any type of imaging device.
Step S103, analyzing the address of the lamp point according to the preset rule and the captured image of the lamp point.
Illustratively, the light points are displayed according to a preset rule under the control of the chip, the camera device captures images of the light points, and the application software analyzes the addresses of the light points according to the preset rule and the captured images of the light points.
Optionally, after sending the addressing instruction to the LED lamp, the method further includes:
and capturing the position of the lamp point on the LED lamp through the camera device.
After resolving the address of the lamp point, the method further comprises the following steps:
and associating the position of the lamp point on the LED lamp with the analyzed address of the lamp point.
Illustratively, all chips of the LED lamp have a universal address, the controller sends an instruction through the universal address, all chips can receive the instruction, and each chip controls the corresponding lamp after receiving the instruction, so that all the lamps on the LED lamp are all lighted. The camera device captures images of the lamp points, and the application software can determine the outline of the LED lamp and the position of each lamp point on the LED lamp according to the captured images of the lamp points. After the address of the lamp point is resolved, the position of the lamp point on the LED lamp is associated with the resolved address of the lamp point. Therefore, the controller can drive each chip of the LED lamp according to the position of the lamp point on the LED lamp and the address of the lamp point so as to control the LED lamp to display a required picture.
According to the embodiment of the invention, an addressing instruction is sent to the LED lamp, and the addressing instruction is used for indicating the lamp points on the LED lamp to be displayed according to a preset rule; capturing an image displayed by the lamp points according to a preset rule through a camera device; analyzing the address of the lamp point according to the preset rule and the captured image of the lamp point; the self-contained address of the lamp point on the LED lamp can be quickly and accurately determined.
Fig. 2 is a schematic flow chart of an implementation of an addressing method based on an LED lamp according to another embodiment of the present invention, as shown in the figure, the method may further include the following steps:
step S201, sending an addressing instruction to the LED lamp, wherein the addressing instruction is used for indicating the lamp points on the LED lamp to be displayed according to a preset rule.
Step S202, capturing the image displayed by the lamp points according to the preset rule through the camera device.
In practical applications, steps S201 to S202 are the same as steps S101 to S102, and specific contents can be referred to steps S101 to S102, which are not described herein again.
Optionally, the preset rule includes:
and if the address code is 1, displaying the lamp point according to a first preset mode within preset time.
And if the address code is 0, displaying the lamp point according to a second preset mode within preset time.
The preset time may be preset manually. The first preset mode and the second preset mode may also be preset manually, the preset mode may be a number of times of flashing, may be continuously lit up within a preset time, and may also be displaying a certain color, as long as the first preset mode and the second preset mode are different, which is not limited specifically herein. Illustratively, assuming that the preset time is 1ms, the preset mode is the number of flickers, wherein the first preset mode is 4 flickers, and the second preset mode is 1 flicker. If the address code is 1, the lamp point flickers for 4 times within 1 ms; if the address code is 0, the lamp blinks 1 time within 1 ms.
Step S203, if the light point is displayed according to the first preset mode within the nth preset time after the light point starts to flash for the first time in the image of the light point, the address code of the nth address bit of the light point is 1.
Step S204, if the lamp point is displayed according to a second preset mode within the Nth preset time after the lamp point starts to flicker for the first time in the image of the lamp point, the address code of the Nth address position of the lamp point is 0.
And the N is used for indicating the Nth address bit of the lamp point, and is a natural number which is greater than or equal to 1.
It should be noted that steps S203-S204 are specific implementation processes of "analyzing the address of the light point according to the preset rule and the captured image of the light point" in step S103 in fig. 1.
Illustratively, the preset time is 1ms, the first preset mode is flashing 4 times, the second preset mode is flashing 1 time, the number of digits of the address of the lamp point is 2, and the address of the lamp point is 10. The controller sends an addressing instruction, the camera device captures an image of the lamp point, in the image of the lamp point, the lamp point flickers for 4 times in the first 1ms and flickers for 1 time in the second 1ms, and then the address code on the first bit of the address of the lamp point is analyzed to be 1, the address code on the second bit is analyzed to be 0, namely the address of the lamp point is 10. The above is only an example, and the preset time, the first preset mode, and the second preset mode are not specifically limited.
According to the embodiment of the invention, the addressing instruction is sent to the LED lamp, the number of times of the lamp point flickering in the preset time is captured through the camera device, and the address of the lamp point is analyzed according to the preset rule and the captured number of times of the lamp point flickering in the preset time, so that the address of the lamp point on the LED lamp can be determined quickly and accurately.
Fig. 3 is a schematic flow chart of an implementation of an LED lamp-based addressing method according to another embodiment of the present invention, and as shown in the drawing, the method may include the following steps:
step S301, sending an addressing instruction to the LED lamp, wherein the addressing instruction is used for indicating the lamp points on the LED lamp to be displayed according to a preset rule.
Step S302, capturing the image displayed by the lamp points according to the preset rule through the camera device.
In practical applications, steps S301 to S302 are the same as steps S101 to S102, and specific contents can be referred to steps S101 to S102, which are not described herein again.
Optionally, the addressing instruction includes: addressing address, display rule;
the preset rules include:
and if the address of the lamp point is the same as the address code on the same address bit in the addressing address, the lamp point displays according to the display rule in the addressing instruction.
Wherein, the display rule can be preset manually. And if the address code on the same address bit in the address and the addressing address of the lamp point is different, the lamp point is not displayed according to the preset display rule. For example, it is assumed that the display rule is that the color displayed by the lamp is red. If the address code on the first bit of the address of the lamp point is the same as the address code on the first bit of the addressing address, the color displayed by the lamp point is red; if the address code on the second bit of the address of the light point is different from the address code on the second bit of the addressed address, the light point is not displayed, or is displayed in green. It should be noted that the above is only an example, and the content of the display rule is not specifically limited, and when the address of the lamp point is different from the address code on the same address bit in the address, the lamp point is not displayed according to the preset display rule, and how to display the lamp point is not specifically limited.
Step S303, determining the number of times of the currently sent addressing instruction, and recording the number of times as M.
Step S304, if the lamp point is displayed according to the display rule, the address code of the Mth address bit of the lamp point is the same as the address code of the Mth address bit in the current addressing address.
Step S305, if the light point is not displayed according to the display rule, the address code of the mth address bit of the light point is opposite to the address code of the mth address bit in the current address.
Wherein M is a natural number greater than or equal to 1.
It should be noted that steps S304-S305 are specific implementation processes of "analyzing the address of the light point according to the preset rule and the captured image of the light point" in step S103 in fig. 1.
For example, suppose that the number of bits of the address of the light point is 2, the address of the chip one is 10, and the address of the chip two is 01, the display rule is that the color displayed by the light point is red. The controller sends an addressing instruction of A +01+ M (A is an addressing identification bit, M is a display rule) for the first time, the lamp point corresponding to the chip I is not displayed, the lamp point corresponding to the chip II is displayed in red, the image of each lamp point is captured by the image capturing device, the number of times of the currently sent addressing instruction is 1, the application software analyzes that the address code on the 1 st bit of the address of the lamp point corresponding to the chip I is 0 and the address code on the 1 st bit of the address of the lamp point corresponding to the chip II is 1 according to the preset rule and the captured image of the lamp point; the controller sends an addressing instruction A +10+ M for the second time, the lamp point corresponding to the chip I displays red, the lamp point corresponding to the chip II does not display, the image of each lamp point is captured by the image capturing device, the number of times of the sent addressing instruction is 2, the application software analyzes that the address code on the 2 nd bit of the address of the lamp point corresponding to the chip I is 1 and the address code on the 2 nd bit of the address of the lamp point corresponding to the chip II is 0 according to the preset rule and the captured image of the lamp point. Therefore, the controller only needs to send the addressing instruction for 2 times, the addresses of the lamp points corresponding to the chip I and the chip II can be determined completely, the address of the lamp point corresponding to the chip I is 10, and the address of the lamp point corresponding to the chip II is 01. It should be noted that the above is only an example, and the number of bits of the lamp point address and the display rule are not specifically limited.
According to the embodiment of the invention, the addressing instruction is sent to the LED lamp, the image of the lamp point is captured through the camera device, and whether the lamp point is displayed according to the display rule in the addressing instruction is analyzed according to the preset rule and the captured image of the lamp point, so that the address of the lamp point on the LED lamp can be determined quickly and accurately.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 4 is a schematic diagram of an LED lamp-based addressing device provided by an embodiment of the present invention, and for convenience of explanation, only the parts related to the embodiment of the present invention are shown.
And the sending unit 41 is configured to send an addressing instruction to the LED lamp, where the addressing instruction is used to instruct a lamp point on the LED lamp to display according to a preset rule.
And a first capturing unit 42 for capturing the image displayed by the lamp points according to the preset rule through the camera device.
The analyzing unit 43 is configured to analyze the address of the light point according to the preset rule and the captured image of the light point.
Optionally, the preset rule includes:
and if the address code is 1, displaying the lamp point according to a first preset mode within preset time.
And if the address code is 0, displaying the lamp point according to a second preset mode within preset time.
Further, the analysis unit 43 includes:
the first analysis module is used for displaying the lamp point according to a first preset mode within the Nth preset time after the lamp point starts to flicker for the first time in the image of the lamp point, and the address code of the Nth address bit of the lamp point is 1.
And the second analysis module is used for displaying the lamp point according to a second preset mode within the Nth preset time after the lamp point starts to flicker for the first time in the image of the lamp point, and then the address code of the Nth address bit of the lamp point is 0.
And the N is used for indicating the Nth address bit of the lamp point, and is a natural number which is greater than or equal to 1.
Optionally, the addressing instruction includes: addressing addresses, display rules.
The preset rules include:
and if the address of the lamp point is the same as the address code on the same address bit in the addressing address, the lamp point displays according to the display rule in the addressing instruction.
Further, the apparatus 4 further includes:
and the confirming unit is used for confirming the number of times of the currently sent addressing instruction before the address of the lamp point is analyzed, and recording the number of times as M.
Further, the analysis unit 43 includes:
and the third analysis module is used for enabling the address code of the Mth address bit of the lamp point to be the same as the address code of the Mth address bit in the current addressing address if the lamp point is displayed according to the display rule.
And the fourth analysis module is used for determining that the address code of the Mth address bit of the lamp point is opposite to the address code of the Mth address bit in the current addressing address if the lamp point is not displayed according to the display rule.
Wherein M is a natural number greater than or equal to 1.
Optionally, the apparatus 4 further includes:
and a second capturing unit 44, configured to capture, by the image capturing device, a position of the lamp spot on the LED lamp after sending the addressing instruction to the LED lamp.
Further, the apparatus 4 further includes:
and the associating unit 45 is configured to associate the position of the lamp spot on the LED lamp with the address of the lamp spot after the address of the lamp spot is resolved.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 5 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 5, the terminal device 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52 stored in said memory 51 and executable on said processor 50. The processor 50, when executing the computer program 52, implements the steps in the various LED lamp-based addressing method embodiments described above, such as steps S101 to S103 shown in fig. 1. Alternatively, the processor 50, when executing the computer program 52, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 41 to 45 shown in fig. 4.
Illustratively, the computer program 52 may be partitioned into one or more modules/units that are stored in the memory 51 and executed by the processor 50 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 52 in the terminal device 5. For example, the computer program 52 may be divided into a transmitting unit, a first capturing unit, and an analyzing unit, and the specific functions of each unit are as follows:
and the sending unit is used for sending an addressing instruction to the LED lamp, and the addressing instruction is used for indicating the lamp points on the LED lamp to be displayed according to a preset rule.
And the first capturing unit is used for capturing the image displayed by the lamp point according to the preset rule through the camera device.
And the analysis unit is used for analyzing the address of the lamp point according to the preset rule and the captured image of the lamp point.
Optionally, the preset rule includes:
and if the address code is 1, displaying the lamp point according to a first preset mode within preset time.
And if the address code is 0, displaying the lamp point according to a second preset mode within preset time.
Further, the parsing unit includes:
the first analysis module is used for displaying the lamp point according to a first preset mode within the Nth preset time after the lamp point starts to flicker for the first time in the image of the lamp point, and the address code of the Nth address bit of the lamp point is 1.
And the second analysis module is used for displaying the lamp point according to a second preset mode within the Nth preset time after the lamp point starts to flicker for the first time in the image of the lamp point, and then the address code of the Nth address bit of the lamp point is 0.
And the N is used for indicating the Nth address bit of the lamp point, and is a natural number which is greater than or equal to 1.
Optionally, the addressing instruction includes: addressing addresses, display rules.
The preset rules include:
and if the address of the lamp point is the same as the address code on the same address bit in the addressing address, the lamp point displays according to the display rule in the addressing instruction.
Further, the apparatus further comprises:
and the confirming unit is used for confirming the number of times of the currently sent addressing instruction before the address of the lamp point is analyzed, and recording the number of times as M.
Further, the parsing unit includes:
and the third analysis module is used for enabling the address code of the Mth address bit of the lamp point to be the same as the address code of the Mth address bit in the current addressing address if the lamp point is displayed according to the display rule.
And the fourth analysis module is used for determining that the address code of the Mth address bit of the lamp point is opposite to the address code of the Mth address bit in the current addressing address if the lamp point is not displayed according to the display rule.
Wherein M is a natural number greater than or equal to 1.
Optionally, the apparatus further comprises:
and the second capturing unit is used for capturing the position of the lamp point on the LED lamp through the camera device after sending an addressing instruction to the LED lamp.
Further, the apparatus further comprises:
and the association unit is used for associating the position of the lamp point on the LED lamp with the analyzed address of the lamp point after the address of the lamp point is analyzed.
The terminal device 5 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 50, a memory 51. Those skilled in the art will appreciate that fig. 5 is merely an example of a terminal device 5 and does not constitute a limitation of terminal device 5 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the terminal device may also include input-output devices, network access devices, buses, etc.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the terminal device 5, such as a hard disk or a memory of the terminal device 5. The memory 51 may also be an external storage device of the terminal device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the terminal device 5. The memory 51 is used for storing the computer program and other programs and data required by the terminal device. The memory 51 may also be used to temporarily store data that has been output or is to be output.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and 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 that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (7)

1. An LED lamp-based addressing method, comprising:
sending an addressing instruction to the LED lamp, wherein the addressing instruction is used for indicating lamp points on the LED lamp to be displayed according to a preset rule;
capturing an image displayed by the lamp points according to a preset rule through a camera device;
analyzing the address of the lamp point according to the preset rule and the captured image of the lamp point;
the preset rules include:
if the address code is 1, displaying the lamp point according to a first preset mode within preset time;
if the address code is 0, the lamp point is displayed according to a second preset mode within preset time;
the analyzing the address of the light point according to the preset rule and the captured image of the light point comprises:
if the lamp point is displayed according to a first preset mode within the Nth preset time after the lamp point starts to flicker for the first time in the image of the lamp point, the address code of the Nth address bit of the lamp point is 1;
if the lamp point is displayed according to a second preset mode within the Nth preset time after the lamp point starts to flicker for the first time in the image of the lamp point, the address code of the Nth address bit of the lamp point is 0;
and the N is used for indicating the Nth address bit of the lamp point, and is a natural number which is greater than or equal to 1.
2. The LED lamp-based addressing method of claim 1, wherein the addressing instructions comprise: addressing address, display rule;
the preset rules include:
and if the address of the lamp point is the same as the address code on the same address bit in the addressing address, the lamp point displays according to the display rule in the addressing instruction.
3. The LED lamp-based addressing method of claim 2, further comprising, prior to resolving the address of the lamp spot:
confirming the times of the currently sent addressing instruction, and recording the times as M;
the analyzing the address of the light point according to the preset rule and the captured image of the light point comprises:
if the lamp point is displayed according to the display rule, the address code of the Mth address bit of the lamp point is the same as the address code of the Mth address bit in the current addressing address;
if the lamp point is not displayed according to the display rule, the address code of the Mth address bit of the lamp point is opposite to the address code of the Mth address bit in the current addressing address;
wherein M is a natural number greater than or equal to 1.
4. The LED lamp addressing method of claim 1 or 3, further comprising, after sending an addressing command to said LED lamp:
capturing the position of the lamp point on the LED lamp through the camera device;
after resolving the address of the lamp point, the method further comprises the following steps:
and associating the position of the lamp point on the LED lamp with the analyzed address of the lamp point.
5. An LED lamp based addressing device, comprising:
the sending unit is used for sending an addressing instruction to the LED lamp, and the addressing instruction is used for indicating the lamp points on the LED lamp to be displayed according to a preset rule;
the first capturing unit is used for capturing images displayed by the lamp points according to a preset rule through a camera device;
the analysis unit is used for analyzing the address of the lamp point according to the preset rule and the captured image of the lamp point;
the preset rules include:
if the address code is 1, displaying the lamp point according to a first preset mode within preset time;
if the address code is 0, the lamp point is displayed according to a second preset mode within preset time;
the analysis unit includes:
the first analysis module is used for displaying the lamp point according to a first preset mode within the Nth preset time after the lamp point starts to flicker for the first time in the image of the lamp point, and the address code of the Nth address bit of the lamp point is 1;
the second analysis module is used for displaying the lamp point according to a second preset mode within the Nth preset time after the lamp point starts to flicker for the first time in the image of the lamp point, and the address code of the Nth address bit of the lamp point is 0;
and the N is used for indicating the Nth address bit of the lamp point, and is a natural number which is greater than or equal to 1.
6. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 4 when executing the computer program.
7. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN201810054132.0A 2018-01-19 2018-01-19 LED lamp-based addressing method, addressing device and terminal equipment Active CN108364603B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810054132.0A CN108364603B (en) 2018-01-19 2018-01-19 LED lamp-based addressing method, addressing device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810054132.0A CN108364603B (en) 2018-01-19 2018-01-19 LED lamp-based addressing method, addressing device and terminal equipment

Publications (2)

Publication Number Publication Date
CN108364603A CN108364603A (en) 2018-08-03
CN108364603B true CN108364603B (en) 2020-03-31

Family

ID=63006386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810054132.0A Active CN108364603B (en) 2018-01-19 2018-01-19 LED lamp-based addressing method, addressing device and terminal equipment

Country Status (1)

Country Link
CN (1) CN108364603B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009521006A (en) * 2005-12-23 2009-05-28 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Coordinate scheme for addressing LED based matrix displays
CN101561109B (en) * 2009-05-13 2010-07-07 华南理工大学 Method for displaying light effects based on primary function mode
TWI581658B (en) * 2012-04-27 2017-05-01 宣昶股份有限公司 Led driving circuit, led driving device and driving method
CN204031506U (en) * 2014-02-14 2014-12-17 大峡谷光电科技(苏州)有限公司 A kind of signal converter for light fixture control appliance
JP2017536670A (en) * 2014-11-20 2017-12-07 コーニンクレッカ フィリップス エヌ ヴェKoninklijke Philips N.V. LED device having individually designated LED modules
CN106385728B (en) * 2016-08-29 2018-12-04 江门市蓬江区天利新科技有限公司 A kind of LED light string address detection system and method
CN106572557B (en) * 2016-10-19 2019-03-26 宗仁科技(平潭)有限公司 The flashing controlling method and system of LED light string
CN107103874B (en) * 2017-07-06 2019-01-18 苏州科达科技股份有限公司 The bright concealed wire bearing calibration of spliced LED display and device

Also Published As

Publication number Publication date
CN108364603A (en) 2018-08-03

Similar Documents

Publication Publication Date Title
CN109166156B (en) Camera calibration image generation method, mobile terminal and storage medium
CN109801590B (en) Multi-receiving-unit automatic configuration method, device and system for LED display screen
CN109002820A (en) A kind of licence plate recognition method, device and relevant device
CN111738212B (en) Traffic signal lamp identification method, device, equipment and medium based on artificial intelligence
CN101639746B (en) Automatic calibration method of touch screen
CN109272909B (en) Segment code liquid crystal display detection method and device, computer device and computer readable storage medium
CN109726481B (en) Auxiliary method and device for robot construction and terminal equipment
CN110261392B (en) Quality detection method, quality detection device, electronic equipment and quality detection system
CN113920502A (en) Cloud deck adjusting method, device, equipment and medium
CN113391778A (en) Paper-like screen display method, device and equipment
CN113496133B (en) Two-dimensional code identification method and device, electronic equipment and storage medium
CN109086097B (en) Method and device for starting small program, server and storage medium
CN108364603B (en) LED lamp-based addressing method, addressing device and terminal equipment
CN111915601B (en) Abnormality test method, device and system for intelligent terminal
CN110210401B (en) Intelligent target detection method under weak light
CN115065604B (en) Equipment topology map generation method, generation device, storage medium and terminal equipment
CN115460316B (en) LED lamp string bead position determining method, system, storage medium and device
CN108495125B (en) Camera module testing method, device and medium
US9443221B2 (en) Physical location tagging via image recognition
CN108629219B (en) Method and device for identifying one-dimensional code
CN113391779A (en) Parameter adjusting method, device and equipment for paper-like screen
WO2020232704A1 (en) Rigid body identification method and apparatus, system, and terminal device
CN110212258B (en) BMS engineering installation configuration method and device and terminal equipment
CN114359160A (en) Screen detection method and device, electronic equipment and storage medium
CN113128440A (en) Target object identification method, device, equipment and storage medium based on edge 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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 350400 area B, 6th floor, building 17, Taiwan Pioneer Park, beicuo Town, Pingtan County, Fuzhou City, Fujian Province

Patentee after: Zongren Technology (Pingtan) Co.,Ltd.

Address before: 350400 area B, 6th floor, building 17, Taiwan Pioneer Park, beicuo Town, Pingtan County, Fuzhou City, Fujian Province

Patentee before: ZONGREN TECHNOLOGY (PINGTAN) Co.,Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Addressing method, addressing device and terminal equipment based on LED lamp

Effective date of registration: 20211014

Granted publication date: 20200331

Pledgee: Fujian strait bank Co.,Ltd. Pingtan sub branch

Pledgor: Zongren Technology (Pingtan) Co.,Ltd.

Registration number: Y2021350000134

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20221115

Granted publication date: 20200331

Pledgee: Fujian strait bank Co.,Ltd. Pingtan sub branch

Pledgor: Zongren Technology (Pingtan) Co.,Ltd.

Registration number: Y2021350000134

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Addressing method, addressing device and terminal equipment based on LED lamp

Effective date of registration: 20221208

Granted publication date: 20200331

Pledgee: Fujian strait bank Co.,Ltd. Pingtan sub branch

Pledgor: Zongren Technology (Pingtan) Co.,Ltd.

Registration number: Y2022350000173

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20231027

Granted publication date: 20200331

Pledgee: Fujian strait bank Co.,Ltd. Pingtan sub branch

Pledgor: Zongren Technology (Pingtan) Co.,Ltd.

Registration number: Y2022350000173

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: An addressing method, addressing device, and terminal device based on LED lights

Effective date of registration: 20231117

Granted publication date: 20200331

Pledgee: Fujian strait bank Co.,Ltd. Pingtan sub branch

Pledgor: Zongren Technology (Pingtan) Co.,Ltd.

Registration number: Y2023350000239