CN110566913A - method and device for controlling display of multi-row lamp strips - Google Patents

method and device for controlling display of multi-row lamp strips Download PDF

Info

Publication number
CN110566913A
CN110566913A CN201910708754.5A CN201910708754A CN110566913A CN 110566913 A CN110566913 A CN 110566913A CN 201910708754 A CN201910708754 A CN 201910708754A CN 110566913 A CN110566913 A CN 110566913A
Authority
CN
China
Prior art keywords
lamp
display
vector data
controller
data
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
CN201910708754.5A
Other languages
Chinese (zh)
Other versions
CN110566913B (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.)
GUANGDONG TONGFANG LIGHTING CO Ltd
Original Assignee
GUANGDONG TONGFANG LIGHTING 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 GUANGDONG TONGFANG LIGHTING CO Ltd filed Critical GUANGDONG TONGFANG LIGHTING CO Ltd
Priority to CN201910708754.5A priority Critical patent/CN110566913B/en
Publication of CN110566913A publication Critical patent/CN110566913A/en
Application granted granted Critical
Publication of CN110566913B publication Critical patent/CN110566913B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F21LIGHTING
    • F21VFUNCTIONAL FEATURES OR DETAILS OF LIGHTING DEVICES OR SYSTEMS THEREOF; STRUCTURAL COMBINATIONS OF LIGHTING DEVICES WITH OTHER ARTICLES, NOT OTHERWISE PROVIDED FOR
    • F21V23/00Arrangement of electric circuit elements in or on lighting devices
    • F21V23/003Arrangement of electric circuit elements in or on lighting devices the elements being electronics drivers or controllers for operating the light source, e.g. for a LED array
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization

Abstract

The invention discloses a method and a device for controlling display of a multi-row lamp belt.A display controller receives data of a user and converts the data of the user into vector data; the display controller sends the vector data to the lamp frame controller through the wireless module; the lamp frame controller initializes the lamp body and sets coordinates for each lamp bead in the lamp body; the lamp frame controller controls each lamp bead in the lamp body to perform corresponding effect display according to the received vector data, the multi-row lamp strips can be controlled to display through the vector data, and the communication efficiency can be increased through short vector data, so that a user can control the lamp body more conveniently.

Description

method and device for controlling display of multi-row lamp strips
Technical Field
The invention relates to the field of electronic products, in particular to a method and a device for controlling display of a multi-row lamp strip.
Background
with the rapid development of social economy, the multi-row lamp strips are more and more widely applied; currently, most enterprise products are generally used by users through writing fixed programs and lighting modes; the user can only select a very limited lighting mode through the remote controller generally, and the lamp body is controlled and displayed by using the remote controller, so that long debugging time is needed, and the convenience and the efficiency of controlling the lamp body by the user are influenced.
Disclosure of Invention
the invention aims to solve at least one of the technical problems in the prior art, and provides a method and a device for controlling display of a multi-row lamp strip.
The technical scheme adopted by the invention for solving the problems is as follows:
In a first aspect, the present invention provides a method for controlling a multi-row light strip display, comprising the steps of:
The display controller receives the data of the user and converts the data of the user into vector data; the display controller sends the vector data to the lamp frame controller through the wireless module;
the lamp frame controller initializes the lamp body and sets coordinates for each lamp bead in the lamp body;
and the lamp frame controller controls each lamp bead in the lamp body to carry out corresponding effect display according to the received vector data.
Further, the display controller receives the user data and converts the user data into vector data, and the method specifically includes the following steps:
The display controller collects action data x, y and z of a user;
the display controller carries out merging operation on the x and y data to obtain
the display controller judges the left and right movement of the user according to the x and y combined value and judges the up and down movement of the user according to the z value;
The display controller combines the three values of x, y and z to obtain the display deviceTaking the combined value of the three as the action strength of the user;
The display controller takes the x and y combined value and the z value as the direction of the vector data, and takes the x, y and z combined value as the effect value of the vector data.
further, the lamp frame controller carries out initialization processing to the lamp body to set up the coordinate to each lamp pearl in the lamp body, specifically include following step:
The lamp frame controller initializes a port in the lamp body;
The lamp frame controller resets the lamp body;
The lamp frame controller sets up the coordinate to each lamp pearl in the lamp body.
Further, the lamp frame controller controls each lamp bead in the lamp body to perform corresponding effect display according to the received vector data, and the method specifically comprises the following steps:
The lamp frame controller corresponds to the set coordinates of the lamp beads according to the direction in the received vector data;
And the lamp frame controller controls the lamp beads of the corresponding coordinates to perform corresponding effect display according to the effect values in the received vector data.
Wherein, wireless module is bluetooth transmission module.
in a second aspect, the invention further provides a device for controlling a multi-row lamp strip display, which can apply the method for controlling the multi-row lamp strip display.
The embodiment of the invention has at least the following beneficial effects: the display controller receives the data of the user and converts the data of the user into short vector data, compared with the original user data, the vector data are shorter, and the short vector data can increase the communication efficiency and reduce the required program memory; then, the display controller transmits the vector data to the lamp frame controller through the wireless module, so that the lamp frame controller can control the lamp body to display according to the vector data sent by the display controller; the lamp frame controller initializes the lamp body at first, and all sets up the coordinate with the lamp pearl of lamp body inside, then the lamp frame controller carries out corresponding effect according to each lamp pearl in the vector data control lamp body that receives and shows, and short vector data just can realize controlling the demonstration to large-scale lamp body, lets the user can convenient and fast more to the display control of lamp body, and has improved the efficiency that the user controlled the lamp body and shows.
Drawings
The invention is further illustrated with reference to the following figures and examples.
fig. 1 is a flowchart illustrating steps of a method for controlling a multi-row lamp strip display according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of initializing a lamp body by a bezel controller according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a step of controlling a lamp body to display by a bezel controller according to an embodiment of the present invention.
Detailed Description
in order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that, if not conflicted, the various features of the embodiments of the invention may be combined with each other within the scope of protection of the invention. Additionally, while functional block divisions are performed in apparatus schematics, with logical sequences shown in flowcharts, in some cases, steps shown or described may be performed in sequences other than block divisions in apparatus or flowcharts.
With the rapid development of social economy, the multi-row lamp strips are more and more widely applied; currently, most enterprise products are generally used by users through writing fixed programs and lighting modes; the user can only select a very limited lighting mode through the remote controller generally, and the lamp body is controlled and displayed by using the remote controller, so that long debugging time is needed, and the convenience and the efficiency of controlling the lamp body by the user are influenced.
based on the method and the device for controlling the display of the multi-row lamp strips, the multi-row lamp strips can be controlled to display through vector data, and the communication efficiency can be improved through short vector data, so that a user can control a lamp body more conveniently.
the embodiments of the present invention will be further explained with reference to the drawings.
Example one
Referring to fig. 1, an embodiment of the present invention provides a method for controlling display of multiple rows of lamp strips, including the following steps:
In step S1, the display controller receives the user 'S data and converts the user' S data into vector data.
in this embodiment, the display controller in this step receives data of the user, which may be data collected by the action bracelet according to the action of the user, or data sent by a computer or mobile phone software; the display controller converts the data of the user into short vector data so as to facilitate the control and display of the subsequent lamp body.
in step S2, the display controller transmits the vector data to the bezel controller via the wireless module.
In this embodiment, the display controller in this step sends the converted vector data to the bezel controller through the wireless module to control the display effect of the lamp body.
and step S3, the lamp frame controller initializes the lamp body and sets coordinates for each lamp bead in the lamp body.
In this embodiment, the lamp frame controller initializes the lamp body in this step, and provides a preparation for the effect display of the lamp body; and set up the coordinate to each lamp pearl in the lamp body for vector data can correspond corresponding lamp pearl.
And step S4, the lamp frame controller controls each lamp bead in the lamp body to perform corresponding effect display according to the received vector data.
In this embodiment, this step lamp frame controller receives the vector data that the display controller sent, then sets for the display effect of each lamp pearl of the inside lamp body of coordinate according to vector data control, utilizes short instruction just can control the demonstration to the lamp body, and is simple and convenient swift again.
Further, in step S1, the method for the display controller to receive the user data and convert the user data into vector data includes the following steps: the display controller collects action data x, y and z of a user; the display controller carries out merging operation on the x and y data to obtainThe display controller judges the left and right movement of the user according to the x and y combined value and judges the up and down movement of the user according to the z value; the display controller combines the three values of x, y and z to obtain the display deviceTaking the combined value of the three as the action strength of the user; the display controller takes the x and y combined value and the z value as the direction of the vector data, and takes the x, y and z combined value as the effect value of the vector data. In the present embodiment, a method of collecting motion data of a user using a motion bracelet and then controlling a lamp body display is provided, collecting data in X, Y, Z directions of the user, respectively, and then confirming whether the motion of the user is left or right using X and Y; confirming whether the action of the user is up or down by using the Z direction; x, Y, Z, and further the action data of the user can be converted into vector data by using the action bracelet, and the variable quantity is provided for the subsequent lamp body control.
Referring to fig. 2, in step S3, the bezel controller initializes the lamp body and sets coordinates for each lamp bead in the lamp body, specifically including the following steps:
In step S31, the bezel controller initializes the ports in the lamp body.
in this embodiment, the bezel controller initializes the ports in the lamp body, providing preparation for the control display of the lamp body.
In step S32, the bezel controller resets the lamp body.
in this embodiment, the lamp frame controller resets each lamp bead in the lamp body, provides preparation for the control display of lamp body as well.
And step S33, setting coordinates for each lamp bead in the lamp body by the lamp frame controller.
In this embodiment, the lamp frame controller marks the coordinates of each lamp bead inside the lamp body, and prepares for subsequent control of the lamp beads by the lamp frame controller according to vector data.
Referring to fig. 3, in step S4, the light frame controller controls each light bead in the light fixture to perform corresponding effect display according to the received vector data, specifically including the following steps:
And step S41, the lamp frame controller corresponds to the set coordinates of the lamp beads according to the direction in the received vector data.
In this embodiment, the direction in the vector data corresponds with the lamp pearl coordinate in the lamp body with the rim controller.
And step S42, the lamp frame controller controls the lamp beads of the corresponding coordinates to perform corresponding effect display according to the effect values in the received vector data.
In this embodiment, the lamp frame controller performs corresponding effect display on the lamp beads of the selected coordinates according to the effect values in the vector data, so that each lamp bead can uniformly display the effect values in the vector data, and the method is simple and fast.
Wherein, wireless module is bluetooth transmission module. The bluetooth transmission module is a common wireless transmission module, has mature technology, stable signal transmission and low power consumption, is very suitable for being used as the bluetooth transmission module in the embodiment, and the wireless module can also be a WIFI module or an infrared transmission module.
According to the technical scheme, the first embodiment has the beneficial effects that: the display controller receives the data of the user and converts the data of the user into short vector data, compared with the original user data, the vector data are shorter, and the short vector data can increase the communication efficiency and reduce the required program memory; then, the display controller transmits the vector data to the lamp frame controller through the wireless module, so that the lamp frame controller can control the lamp body to display according to the vector data sent by the display controller; the lamp frame controller initializes the lamp body at first, and all sets up the coordinate with the lamp pearl of lamp body inside, then the lamp frame controller carries out corresponding effect according to each lamp pearl in the vector data control lamp body that receives and shows, and short vector data just can realize controlling the demonstration to large-scale lamp body, lets the user can convenient and fast more to the display control of lamp body, and has improved the efficiency that the user controlled the lamp body and shows.
Example two
The second embodiment of the invention provides a device for controlling a multi-row lamp strip display, which can realize the steps S1-S4 of the method for controlling the multi-row lamp strip display in the first embodiment.
It should be noted that, since the operation bracelet device in the present embodiment is based on the same inventive concept as the method of controlling the lamp body display by the operation bracelet in the first embodiment, the corresponding content in the first embodiment of the method is also applicable to the embodiment of the present device, and is not described in detail herein.
According to the technical scheme, the second embodiment has the beneficial effects that: the display controller receives the data of the user and converts the data of the user into short vector data, compared with the original user data, the vector data are shorter, and the short vector data can increase the communication efficiency and reduce the required program memory; then, the display controller transmits the vector data to the lamp frame controller through the wireless module, so that the lamp frame controller can control the lamp body to display according to the vector data sent by the display controller; the lamp frame controller initializes the lamp body at first, and all sets up the coordinate with the lamp pearl of lamp body inside, then the lamp frame controller carries out corresponding effect according to each lamp pearl in the vector data control lamp body that receives and shows, and short vector data just can realize controlling the demonstration to large-scale lamp body, lets the user can convenient and fast more to the display control of lamp body, and has improved the efficiency that the user controlled the lamp body and shows.
while the preferred embodiments of the present invention have been described in detail, it will be understood by those skilled in the art that the foregoing and various other changes, omissions and deviations in the form and detail thereof may be made without departing from the scope of this invention.

Claims (6)

1. a method of controlling a multi-row light bar display, comprising the steps of:
the display controller receives the data of the user and converts the data of the user into vector data;
the display controller sends the vector data to the lamp frame controller through the wireless module;
The lamp frame controller initializes the lamp body and sets coordinates for each lamp bead in the lamp body;
and the lamp frame controller controls each lamp bead in the lamp body to carry out corresponding effect display according to the received vector data.
2. The method for controlling the display of the multi-row lamp strips according to claim 1, wherein the display controller receives data of users and converts the data of the users into vector data, and the method comprises the following steps:
The display controller collects action data x, y and z of a user;
The display controller carries out merging operation on the x and y data to obtain
The display controller judges the left and right movement of the user according to the x and y combined value and judges the up and down movement of the user according to the z value;
the display controller combines the three values of x, y and z to obtain the display deviceTaking the combined value of the three as the action strength of the user;
the display controller takes the x and y combined value and the z value as the direction of the vector data, and takes the x, y and z combined value as the effect value of the vector data.
3. The method of claim 1, wherein the bezel controller initializes the lamp body and sets coordinates for each lamp bead in the lamp body, comprising the steps of:
the lamp frame controller initializes a port in the lamp body;
The lamp frame controller resets the lamp body;
The lamp frame controller sets up the coordinate to each lamp pearl in the lamp body.
4. the method according to claim 2, wherein the lamp frame controller controls each lamp bead in the lamp body to perform corresponding effect display according to the received vector data, and specifically comprises the following steps:
The lamp frame controller corresponds to the set coordinates of the lamp beads according to the direction in the received vector data;
And the lamp frame controller controls the lamp beads of the corresponding coordinates to perform corresponding effect display according to the effect values in the received vector data.
5. a method of controlling a multi-row light bar display according to claim 1, wherein: the wireless module is a Bluetooth transmission module.
6. A device for controlling a multiple row light bar display, characterized in that the method for controlling a multiple row light bar display according to any of claims 1-5 can be applied.
CN201910708754.5A 2019-08-01 2019-08-01 Method and device for controlling display of multi-row lamp strips Active CN110566913B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910708754.5A CN110566913B (en) 2019-08-01 2019-08-01 Method and device for controlling display of multi-row lamp strips

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910708754.5A CN110566913B (en) 2019-08-01 2019-08-01 Method and device for controlling display of multi-row lamp strips

Publications (2)

Publication Number Publication Date
CN110566913A true CN110566913A (en) 2019-12-13
CN110566913B CN110566913B (en) 2020-09-04

Family

ID=68774421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910708754.5A Active CN110566913B (en) 2019-08-01 2019-08-01 Method and device for controlling display of multi-row lamp strips

Country Status (1)

Country Link
CN (1) CN110566913B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111787658A (en) * 2020-08-26 2020-10-16 广州市天汇计算机科技有限公司 Lamp belt control method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1517587A1 (en) * 2003-09-17 2005-03-23 Moritex Corporation Lighting apparatus and image pick-up apparatus with lighting
CN103501560A (en) * 2013-09-24 2014-01-08 北京半导体照明科技促进中心 Control method, device and system of LED (Light Emitting Diode) lighting equipment
CN105635912A (en) * 2016-01-29 2016-06-01 深圳市因为科技有限公司 Luminous device and acousto-optic combination device
CN106658921A (en) * 2017-01-11 2017-05-10 河南工程学院 Lamp control switch system
CN108650736A (en) * 2018-05-29 2018-10-12 深圳信息职业技术学院 A kind of environment adjustable type intelligent lighting lamp

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1517587A1 (en) * 2003-09-17 2005-03-23 Moritex Corporation Lighting apparatus and image pick-up apparatus with lighting
CN103501560A (en) * 2013-09-24 2014-01-08 北京半导体照明科技促进中心 Control method, device and system of LED (Light Emitting Diode) lighting equipment
CN105635912A (en) * 2016-01-29 2016-06-01 深圳市因为科技有限公司 Luminous device and acousto-optic combination device
CN106658921A (en) * 2017-01-11 2017-05-10 河南工程学院 Lamp control switch system
CN108650736A (en) * 2018-05-29 2018-10-12 深圳信息职业技术学院 A kind of environment adjustable type intelligent lighting lamp

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111787658A (en) * 2020-08-26 2020-10-16 广州市天汇计算机科技有限公司 Lamp belt control method and system

Also Published As

Publication number Publication date
CN110566913B (en) 2020-09-04

Similar Documents

Publication Publication Date Title
US20190129676A1 (en) Systems, devices, and methods for wearable computers with heads-up displays
CN107851415A (en) Display driving integrated circuit, display drive method and electronic equipment
CA2887165A1 (en) Systems, devices, and methods that establish proximity-based wireless connections
CN107851422A (en) Display control method in electronic equipment and electronic equipment
CN104571528B (en) It is a kind of to realize that eyeball controls the device and method of intelligent terminal based on eyeball tracking
CN104317394B (en) Control method, device and the wrist belt-type wearable device of wrist belt-type wearable device
KR20130060145A (en) Processoing method and apparatus for beautifying handwritten input
CN105453166A (en) Method and apparatus for regulating backlight brightness, and electronic device
CN107249071B (en) Method for controlling mobile terminal by intelligent wearable device
CN106454071A (en) Terminal and automatic shooting method based on gestures
CN108762628B (en) Page element mobile display method and device, terminal equipment and storage medium
CN204669699U (en) A kind of intelligent lighting system based on mobile phone
CN104503577A (en) Method and device for controlling mobile terminal through wearable device
CN110566913B (en) Method and device for controlling display of multi-row lamp strips
WO2022093892A1 (en) Systems and method of target wake time for peer-to-peer communication
CN113986002A (en) Frame processing method, device and storage medium
CN105262973A (en) Device and method for realizing parallel multi-channel MIPI (Mobile Industry Processor Interface) module screen touch adjustment based on FPGA (Field Programmable Gate Array)
CN110515610B (en) Page drawing control method, device and equipment
CN103278243A (en) Real color picking method, system and device
CN104796850A (en) Reverse control system for mobile terminals and control method thereof
WO2016169513A1 (en) Bicycle wheel light system transmitting data via wifi
WO2015096129A1 (en) Apparatus, system and article for smart card device and associated host device
CN204129658U (en) Wearable electronic equipment and communication system
CN106406742B (en) Mobile terminal screen brightness adjusting method, device and mobile terminal
CN105867791A (en) Application tool awakening method and device based on mobile terminal

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