CN106879113A - The method and apparatus of terminal and its Based Intelligent Control indicator lamp - Google Patents
The method and apparatus of terminal and its Based Intelligent Control indicator lamp Download PDFInfo
- Publication number
- CN106879113A CN106879113A CN201710138325.XA CN201710138325A CN106879113A CN 106879113 A CN106879113 A CN 106879113A CN 201710138325 A CN201710138325 A CN 201710138325A CN 106879113 A CN106879113 A CN 106879113A
- Authority
- CN
- China
- Prior art keywords
- indicator lamp
- terminal
- packet
- control
- controls
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/175—Controlling the light source by remote control
- H05B47/19—Controlling the light source by remote control via wireless transmission
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a kind of terminal and its method and apparatus of Based Intelligent Control indicator lamp, terminal receives the packet that first terminal sends;Judge that whether the indicator lamp packet includes the control signal to indicator lamp comprising indicator lamp packet in the packet;If comprising by indicator lamp packet storage in data buffer area;According to the control signal that the indicator lamp packet includes, the indicator lamp is controlled to light.The terminal and its method and apparatus of Based Intelligent Control indicator lamp provided in the present invention, Based Intelligent Control indicator lamp are manually operated without administrative staff.
Description
Technical field
The present invention relates to field of terminal technology, the method and dress of more particularly to a kind of terminal and its Based Intelligent Control indicator lamp
Put.
Background technology
At present, it is arranged in the storing bin in warehouse usually using LED light, is corresponded on each storing bin and finger is installed
Show lamp, and the storing bin material bound, inquired about with the luminance of indicator lamp in storing bin corresponding with indicator lamp information
State, facilitates administrative staff that corresponding material is found out in huge warehouse according to the luminance of indicator lamp.
But at present, typically administrative staff are controlled indicator lamp manually using remote control, the inadequate intelligence of control mode
Energyization is, it is necessary to administrative staff are manually operated.
The content of the invention
The main object of the present invention is the method and apparatus for providing a kind of terminal and its Based Intelligent Control indicator lamp, for intelligence
Control indicator lamp.
The present invention proposes a kind of method that terminal intelligent controls indicator lamp, comprises the following steps:
Terminal receives the packet that first terminal sends;
Judge that whether the indicator lamp packet includes the control to indicator lamp comprising indicator lamp packet in the packet
Signal processed;
If comprising by indicator lamp packet storage in data buffer area;
According to the control signal that the indicator lamp packet includes, the indicator lamp is controlled to light.
Further, the control signal to indicator lamp specifically include control specify indicator lamp Chang Liang, flicker and
The glow color of indicator lamp.
Further, the terminal enters row data communication with the first terminal based on LWIP network communication protocol stacks, institute
First terminal is stated for PC.
Further, it is described to judge whether include indicator lamp packet, the indicator lamp packet bag in the packet
Also include after the step of including the control signal to indicator lamp:
If not including, whether judge in the packet comprising terminal setting data bag, the terminal setting data bag
Including the setting command to terminal;
If comprising the terminal setting data bag, the SOT state of termination is changed according to the setting command.
Further, the terminal operating system is based on uc/os-III systems of increasing income.
Present invention also offers the device that a kind of terminal intelligent controls indicator lamp, including:
Receiving unit, the packet for receiving first terminal transmission;
First judging unit, for whether judging in the packet comprising indicator lamp packet, the indicator lamp data
Bag includes the control signal to indicator lamp;
Memory cell, if for comprising by indicator lamp packet storage in data buffer area;
Control unit, for the control signal included according to the indicator lamp packet, controls the indicator lamp to light.
Further, the control signal to indicator lamp specifically include control specify indicator lamp Chang Liang, flicker and
The glow color of indicator lamp.
Further, the receiving unit and the first terminal carry out data and lead to based on LWIP network communication protocol stacks
Letter, the first terminal is PC.
Further, described device also includes:
Second judging unit, if for not including, whether judging in the packet comprising terminal setting data bag, institute
Stating terminal setting data bag includes the setting command to terminal;
Changing unit, if for comprising the terminal setting data bag, the SOT state of termination being changed according to the setting command.
Present invention also offers a kind of terminal, including processor and memory;
The memory is used to store supports that the device of the terminal intelligent control indicator lamp is performed such as above-mentioned any one institute
The program of the method for the terminal intelligent control indicator lamp stated;
The processor is configurable for performing the program stored in the memory.
The invention provides a kind of computer-readable storage medium, the device of indicator lamp is controlled for saving as above-mentioned terminal intelligent
Computer software instructions used, it is included for performing above-mentioned aspect for terminal intelligent is controlled designed by the device of indicator lamp
Program.
The terminal and its method and apparatus of Based Intelligent Control indicator lamp provided in the present invention, have the advantages that:
The terminal and its method and apparatus of Based Intelligent Control indicator lamp provided in the present invention, terminal receive first terminal and send
Packet;Judge that whether the indicator lamp packet is included to indicator lamp comprising indicator lamp packet in the packet
Control signal;If comprising by indicator lamp packet storage in data buffer area;Included according to the indicator lamp packet
Control signal, control the indicator lamp to light.Based Intelligent Control indicator lamp, it is manually operated without administrative staff.
Brief description of the drawings
Fig. 1 is the method and step schematic diagram of terminal intelligent control indicator lamp in one embodiment of the invention;
Fig. 2 is the apparatus structure schematic diagram of terminal intelligent control indicator lamp in one embodiment of the invention;
Fig. 3 is the apparatus structure schematic diagram of terminal intelligent control indicator lamp in another embodiment of the present invention;
Fig. 4 is the terminal structure block diagram in one embodiment of the invention.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " " used herein, " one
It is individual ", " described " " above-mentioned " and " being somebody's turn to do " may also comprise plural form.It is to be further understood that making in specification of the invention
Wording " including " refer to the presence of the feature, integer, step, operation, element, unit, module and/or component, but simultaneously
Do not preclude the presence or addition of one or more other features, integer, step, operation, element, unit, module, component and/or it
Group.It should be understood that when we claim element to be " connected " or during " coupled " to another element, it can be directly connected to or couple
To other elements, or can also there is intermediary element.Additionally, " connection " used herein or " coupling " can include wirelessly connecting
Connect or wirelessly couple.Wording "and/or" used herein includes one or more associated listing the whole or any of item
Unit and all combination.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art
Language and scientific terminology), with art of the present invention in those of ordinary skill general understanding identical meaning.Should also
Understand, those terms defined in such as general dictionary, it should be understood that with the context with prior art
The consistent meaning of meaning, and unless by specific definitions as here, will not otherwise use idealization or excessively formal implication
To explain.
Reference picture 1, is the method and step schematic diagram of terminal intelligent control indicator lamp in one embodiment of the invention.
A kind of method that terminal intelligent controls indicator lamp is proposed in one embodiment of the invention, is comprised the following steps:
Step S1, terminal receives the packet that first terminal sends;
Whether step S2, judges include indicator lamp packet in above-mentioned packet, and above-mentioned indicator lamp packet is included to referring to
Show the control signal of lamp;
Step S3, if comprising by the storage of above-mentioned indicator lamp packet in data buffer area;
Step S4, according to the control signal that above-mentioned indicator lamp packet includes, controls above-mentioned indicator lamp to light.
At present, typically administrative staff are controlled indicator lamp manually using remote control, and control mode is not intelligent enough,
Need administrative staff manually operated.In the present embodiment, above-mentioned terminal is a control panel, and it is built-in with control program, the control
Program is used for the indicator lamp for controlling to be connected with control panel;The indicator lamp is made up of LED, and it is installed on lamp plate;The lamp plate
Can be arranged on the correspondence position of the storing bin in warehouse.Terminal in the present embodiment can with the host computer such as first terminal (including
PC) communicated, the packet that host computer sends is received, and according to the corresponding control signal control to indicator lamp in packet
Indicator lamp processed lights, and indicator lamp luminance is different, and the material that can be represented in storing bin is in different states.
Specifically, above-mentioned first terminal is PC, the substantial amounts of warehouse materials state that is stored with the PC and its corresponding
The information such as storing bin.When user needs to search corresponding material from warehouse, corresponding material can be found on PC, and
Manipulation PC is operated accordingly, sends corresponding packet to above-mentioned terminal, and above-mentioned terminal then receives above-mentioned packet,
And judging whether include indicator lamp packet in the packet, the indicator lamp packet definitions are to include the control to indicator lamp
Signal;If above-mentioned packet includes indicator lamp packet, by the storage of indicator lamp packet in data buffer area, due to data
The reception of bag needs an of short duration time-continuing process, therefore by indicator lamp data pack buffer, lamp packet to be instructed is all received
After completion, according to the control signal to indicator lamp for wherein including, the indicator lamp that control is connected with terminal lights.
For example, specifically including indicator lamp Chang Liang, flicker and indicator lamp that control is specified to the control signal of indicator lamp
Glow color.Generally, there are multiple storing bins in warehouse, each storing bin is provided with indicator lamp, accordingly, it would be desirable to specifying storing
The corresponding indicator lamp of position in storehouse is controlled, and the material state in the storing bin can be just represented by indicator lamp.Preferably, can use
Indicator lamp Chang Liang represents material and is in storing bin, and indicator lamp flicker represents material by states such as storage or outbounds, while also
The color of indicator lamp can be controlled to represent the different conditions of material.To the corresponding material state of LED status in the present embodiment
It is not construed as limiting, only for illustrating.
The method that the terminal intelligent provided in the present embodiment controls indicator lamp, terminal receives the data that first terminal sends
Bag;Judge that whether, comprising indicator lamp packet in above-mentioned packet, above-mentioned indicator lamp packet includes the control letter to indicator lamp
Number;If comprising by the storage of above-mentioned indicator lamp packet in data buffer area;According to the control that above-mentioned indicator lamp packet includes
Signal, controls above-mentioned indicator lamp to light.Based Intelligent Control indicator lamp, it is manually operated without administrative staff.
In the present embodiment, above-mentioned terminal and above-mentioned first terminal carry out data and lead to based on LWIP network communication protocol stacks
Letter, LWIP is LightWeight (light-duty) IP agreement, and the occupancy to RAM is reduced on the basis of holding Transmission Control Protocol major function,
It is general it only need to the ROM of the RAM and 40K of hundreds of bytes or so and can just run.Support TCP, UDP, Socket communication protocol,
And terminal system can remotely realize network upgrade, easy to maintenance.Above-mentioned first terminal is PC, and USB is additionally provided with terminal
Interface, supports USB 2.0FullSpeed Device/Host/OTG Controllerwith on-chip PHY, is capable of achieving
USB driver upgrades, usb communication can be carried out by USB interface with PC.
In the present embodiment, above-mentioned terminal operating system is based on increase income uc/os-III systems, uC/OS-III systems
(operating system that Micro C OS Three miniature C language is write the 3rd edition) is one scalable, curable, is based on
The real-time kernel of priority, its number to task is unrestricted.UC/OS-III is the system kernel in the 3rd generation, supports modern
Most of function for being expected of real-time kernel.Such as resource management, synchronous, communication between task etc..The system real-time processing,
Task scheduling, task management, memory management, light-type is economical and practical, and system simultaneously supports ICP/IP protocol stack, height reliability,
Stability and security.
Indicator lamp in the present embodiment is WS2812BLED lamp beads, and the LED has low voltage drive, environmental protection and energy saving, brightness
Height, scattering angle is big, and uniformity is good, ultra low power, the advantages of extra long life.Control circuit is integrated in above LED, circuit becomes
Simpler, small volume is obtained, is installed easier.The WS2812B lamp beads, the three primary colours color of each pixel can realize 256
Level brightness shows that the authentic color for completing 16777216 kinds of colors shows that scan frequency is not less than 400Hz/s and uses serially concatenated
Interface, can pass through reception and decoding that a holding wire completes data, by the DMA mechanism of single-chip microcomputer, at the signal of ns ranks
Reason, single channel can mount 200 LEDs, and 8 passages are full-color, totally 1600 LED, can single-point is full-color lights.
In the present embodiment, it is above-mentioned to judge whether include indicator lamp packet, above-mentioned indicator lamp data in above-mentioned packet
The step of bag includes the control signal to indicator lamp also includes after S2:
If not including, whether judge in above-mentioned packet comprising terminal setting data bag, above-mentioned terminal setting data bag
Including the setting command to terminal;
If comprising above-mentioned terminal setting data bag, the SOT state of termination is changed according to above-mentioned setting command.
The packet that PC is handed down to above-mentioned terminal may not include indicator lamp packet, can be terminal setting data
Bag, i.e., for change set terminal parameter or terminal operating pattern.For example, the IP address of modification terminal, terminal can be set
ID numbering;Or control terminal is restarted, is upgraded;Can also be that setting terminal is carried out between test pattern and mode of operation
Switching.
The method that the above-mentioned terminal intelligent for offer in the embodiment of the present invention controls indicator lamp, terminal receives first terminal hair
The packet for sending;Judge that whether above-mentioned indicator lamp packet is included to indicator lamp comprising indicator lamp packet in above-mentioned packet
Control signal;If comprising by the storage of above-mentioned indicator lamp packet in data buffer area;Wrapped according in above-mentioned indicator lamp packet
The control signal for including, controls above-mentioned indicator lamp to light.Based Intelligent Control indicator lamp, it is manually operated without administrative staff.
In order to the method further to the terminal intelligent control indicator lamp in the present invention is illustrated, the embodiment of the present invention
Additionally provide the device that a kind of terminal intelligent controls indicator lamp.
Reference picture 2, one embodiment of the invention provides the device that a kind of terminal intelligent controls indicator lamp, including:
Receiving unit 10, the packet for receiving first terminal transmission;
First judging unit 20, for whether judging in above-mentioned packet comprising indicator lamp packet, above-mentioned indicator lamp number
Include the control signal to indicator lamp according to bag;
Memory cell 30, if for comprising by the storage of above-mentioned indicator lamp packet in data buffer area;
Control unit 40, for the control signal included according to above-mentioned indicator lamp packet, controls above-mentioned indicator lamp hair
Light.
Terminal includes that above-mentioned terminal intelligent controls the device of indicator lamp, and in the present embodiment, above-mentioned terminal is a control panel,
It is built-in with control program, and the control program is used for the indicator lamp for controlling to be connected with control panel;The indicator lamp is made up of LED,
It is installed on lamp plate;The lamp plate can be arranged on the correspondence position of the storing bin in warehouse.Terminal in the present embodiment can be with
Communicated with the host computer (including PC) such as first terminal, received the packet that host computer sends, and according to right in packet
The control signal control indicator lamp to indicator lamp answered lights, and indicator lamp luminance is different, can represent the thing in storing bin
Material is in different states.
Specifically, above-mentioned first terminal is PC, the substantial amounts of warehouse materials state that is stored with the PC and its corresponding
The information such as storing bin.When user needs to search corresponding material from warehouse, corresponding material can be found on PC, and
Manipulation PC is operated accordingly, sends corresponding packet to above-mentioned terminal, and above-mentioned receiving unit 10 then receives above-mentioned
Whether packet, the first judging unit 20 judges include indicator lamp packet in the packet, the indicator lamp packet definitions
It is to include the control signal to indicator lamp;If above-mentioned packet includes indicator lamp packet, memory cell 30 is by indicator lamp number
According to bag storage in data buffer area, because the reception of packet needs an of short duration time-continuing process, therefore by indicator lamp number
Cached according to bag, after lamp packet to be instructed is all finished receiving, control unit 40 is according to the control to indicator lamp for wherein including
Signal processed, the indicator lamp that control is connected with terminal lights.
For example, specifically including indicator lamp Chang Liang, flicker and indicator lamp that control is specified to the control signal of indicator lamp
Glow color.Generally, there are multiple storing bins in warehouse, each storing bin is provided with indicator lamp, accordingly, it would be desirable to specifying storing
The corresponding indicator lamp of position in storehouse is controlled, and the material state in the storing bin can be just represented by indicator lamp.Preferably, can use
Indicator lamp Chang Liang represents material and is in storing bin, and indicator lamp flicker represents material by states such as storage or outbounds, while also
The color of indicator lamp can be controlled to represent the different conditions of material.To the corresponding material state of LED status in the present embodiment
It is not construed as limiting, only for illustrating.
The terminal intelligent provided in the present embodiment controls the device of indicator lamp, receiving unit 10 to receive what first terminal sent
Packet;Whether the first judging unit 20 is judged in above-mentioned packet comprising indicator lamp packet, above-mentioned indicator lamp packet bag
Include the control signal to indicator lamp;If comprising memory cell 30 stores in data buffer area above-mentioned indicator lamp packet;Control
The control signal that unit 40 includes according to above-mentioned indicator lamp packet, controls above-mentioned indicator lamp to light.Based Intelligent Control indicator lamp,
It is manually operated without administrative staff.
In the present embodiment, above-mentioned receiving unit 10 enters line number with above-mentioned first terminal based on LWIP network communication protocol stacks
According to communication, LWIP is LightWeight (light-duty) IP agreement, is reduced on the basis of holding Transmission Control Protocol major function and RAM is accounted for
With, it is general it only need to the ROM of the RAM and 40K of hundreds of bytes or so and can just run.Support TCP, UDP, Socket communication protocols
View, and terminal system can remotely realize network upgrade, it is easy to maintenance.Above-mentioned first terminal is PC, is additionally provided with terminal
USB interface, supports USB 2.0Full Speed Device/Host/OTG Controllerwith on-chip PHY, can be real
Existing USB driver upgrades, usb communication can be carried out by USB interface with PC.
In the present embodiment, above-mentioned terminal operating system is based on increase income uc/os-III systems, uC/OS-III systems
(operating system that Micro C OS Three miniature C language is write the 3rd edition) is one scalable, curable, is based on
The real-time kernel of priority, its number to task is unrestricted.UC/OS-III is the system kernel in the 3rd generation, supports modern
Most of function for being expected of real-time kernel.Such as resource management, synchronous, communication between task etc..The system real-time processing,
Task scheduling, task management, memory management, light-type is economical and practical, and system simultaneously supports ICP/IP protocol stack, height reliability,
Stability and security.
Indicator lamp in the present embodiment is WS2812BLED lamp beads, and the LED has low voltage drive, environmental protection and energy saving, brightness
Height, scattering angle is big, and uniformity is good, ultra low power, the advantages of extra long life.Control circuit is integrated in above LED, circuit becomes
Simpler, small volume is obtained, is installed easier.The WS2812B lamp beads, the three primary colours color of each pixel can realize 256
Level brightness shows that the authentic color for completing 16777216 kinds of colors shows that scan frequency is not less than 400Hz/s and uses serially concatenated
Interface, can pass through reception and decoding that a holding wire completes data, by the DMA mechanism of single-chip microcomputer, at the signal of ns ranks
Reason, single channel can mount 200 LEDs, and 8 passages are full-color, totally 1600 LED, can single-point is full-color lights.
Further, reference picture 3, said apparatus also include:
Second judging unit 50, if for not comprising indicator lamp packet, judging whether included eventually in above-mentioned packet
End sets packet, and above-mentioned terminal setting data bag includes the setting command to terminal.
Changing unit 60, if for comprising above-mentioned terminal setting data bag, terminal shape being changed according to above-mentioned setting command
State.
The packet that PC is handed down to above-mentioned terminal may not include indicator lamp packet, can be terminal setting data
Bag, i.e., for change set terminal parameter or terminal operating pattern.For example, the IP address of modification terminal, terminal can be set
ID numbering;Or control terminal is restarted, is upgraded;Can also be that setting terminal is carried out between test pattern and mode of operation
Switching.
The above-mentioned terminal intelligent for offer in the present embodiment controls the device of indicator lamp, receiving unit 10 to receive first terminal
The packet of transmission;Whether the first judging unit 20 is judged in above-mentioned packet comprising indicator lamp packet, above-mentioned indicator lamp number
Include the control signal to indicator lamp according to bag;If comprising memory cell 30 stores in data buffer storage above-mentioned indicator lamp packet
Area;The control signal that control unit 40 includes according to above-mentioned indicator lamp packet, controls above-mentioned indicator lamp to light.Based Intelligent Control
Indicator lamp, it is manually operated without administrative staff.
Reference picture 4, is the terminal structure block diagram provided in the embodiment of the present invention, including processor 100 and memory
200。
Above-mentioned memory 200 is used to store supports that the device of above-mentioned terminal intelligent control indicator lamp performs such as above-mentioned any one
The program of the method for above-mentioned terminal intelligent control indicator lamp;
Above-mentioned processor 100 is configurable for performing the program stored in above-mentioned memory 200.
The invention provides a kind of computer-readable storage medium, the device of indicator lamp is controlled for saving as above-mentioned terminal intelligent
Computer software instructions used, it is included for performing above-mentioned aspect for terminal intelligent is controlled designed by the device of indicator lamp
Program.
The method that the device and terminal intelligent of the terminal intelligent control indicator lamp described in the present embodiment control indicator lamp
Specific implementation, refer to described in above-described embodiment, no longer repeated herein.
In sum, it is the method and apparatus of the terminal and its Based Intelligent Control indicator lamp provided in the embodiment of the present invention, eventually
End receives the packet that first terminal sends;Whether judge in above-mentioned packet comprising indicator lamp packet, above-mentioned indicator lamp number
Include the control signal to indicator lamp according to bag;If comprising by the storage of above-mentioned indicator lamp packet in data buffer area;According to above-mentioned
The control signal that indicator lamp packet includes, controls above-mentioned indicator lamp to light.Based Intelligent Control indicator lamp, without administrative staff's hand
Dynamic operation.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the terminal of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
It will be understood by those skilled in the art that the present invention includes being related to for performing in operation described herein
Or multinomial equipment.These equipment can be for needed for purpose and specially design and manufacture, or general-purpose computations can also be included
Known device in machine.These equipment have computer program of the storage in it, and these computer programs are optionally activated
Or reconstruct.Such computer program can be stored in equipment (for example, computer) computer-readable recording medium or store and be suitable to
Storage e-command is simultaneously coupled in any kind of medium of bus respectively, and the computer-readable medium is included but is not limited to
Any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-OnlyMemory, read-only storage
Device), RAM (RandomAccess Memory, immediately memory), EPROM (Erasable Programmable Read-
OnlyMemory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable
Read-OnlyMemory, EEPROM), flash memory, magnetic card or light card.It is, readable Jie
Matter include being stored in the form of it can read by equipment (for example, computer) or transmission information any medium.
Those skilled in the art of the present technique be appreciated that can be realized with computer program instructions these structure charts and/or
The combination of the frame in each frame and these structure charts and/or block diagram and/or flow graph in block diagram and/or flow graph.This technology is led
Field technique personnel be appreciated that can by these computer program instructions be supplied to all-purpose computer, special purpose computer or other
The processor of programmable data processing method is realized, so that by the treatment of computer or other programmable data processing methods
Device is come the scheme specified in the frame or multiple frame that perform structure chart disclosed by the invention and/or block diagram and/or flow graph.
Those skilled in the art of the present technique are appreciated that in various operations, method, the flow discussed in the present invention
Step, measure, scheme can be replaced, changed, combined or deleted.Further, it is each with what is discussed in the present invention
Other steps, measure in kind operation, method, flow, scheme can also be replaced, changed, reset, decomposed, combined or deleted.
Further, it is of the prior art with various operations, method, the flow disclosed in the present invention in step, measure, scheme
Can also be replaced, changed, reset, decomposed, combined or deleted.
The preferred embodiments of the present invention are the foregoing is only, the scope of the claims of the invention, every utilization is not thereby limited
Equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations
Technical field, be included within the scope of the present invention.
Claims (10)
1. a kind of method that terminal intelligent controls indicator lamp, it is characterised in that comprise the following steps:
Terminal receives the packet that first terminal sends;
Judge that whether, comprising indicator lamp packet in the packet, the indicator lamp packet includes the control letter to indicator lamp
Number;
If comprising by indicator lamp packet storage in data buffer area;
According to the control signal that the indicator lamp packet includes, the indicator lamp is controlled to light.
2. the method that terminal intelligent according to claim 1 controls indicator lamp, it is characterised in that the control to indicator lamp
Signal processed specifically includes the glow color of indicator lamp Chang Liang, flicker and indicator lamp that control is specified.
3. the method that terminal intelligent according to claim 1 controls indicator lamp, it is characterised in that the terminal and described the
One terminal enters row data communication based on LWIP network communication protocol stacks, and the first terminal is PC.
4. the method that the terminal intelligent according to claim any one of 1-3 controls indicator lamp, it is characterised in that the judgement
Whether indicator lamp packet is included in the packet, the step of the indicator lamp packet is included to the control signal of indicator lamp
Also include afterwards:
If not including, whether judge in the packet comprising terminal setting data bag, the terminal setting data bag includes
To the setting command of terminal;
If comprising the terminal setting data bag, the SOT state of termination is changed according to the setting command.
5. the method that terminal intelligent according to claim 1 controls indicator lamp, it is characterised in that the terminal operating system
Based on uc/os-III systems of increasing income.
6. a kind of terminal intelligent controls the device of indicator lamp, it is characterised in that including:
Receiving unit, the packet for receiving first terminal transmission;
First judging unit, for whether judging in the packet comprising indicator lamp packet, the indicator lamp packet bag
Include the control signal to indicator lamp;
Memory cell, if for comprising by indicator lamp packet storage in data buffer area;
Control unit, for the control signal included according to the indicator lamp packet, controls the indicator lamp to light.
7. terminal intelligent according to claim 6 controls the device of indicator lamp, it is characterised in that the control to indicator lamp
Signal processed specifically includes the glow color of indicator lamp Chang Liang, flicker and indicator lamp that control is specified.
8. terminal intelligent according to claim 6 controls the device of indicator lamp, it is characterised in that the receiving unit and institute
State first terminal and row data communication is entered based on LWIP network communication protocol stacks, the first terminal is PC.
9. the terminal intelligent according to claim any one of 6-8 controls the device of indicator lamp, it is characterised in that described device
Also include:
Second judging unit, if for not including, whether judging in the packet comprising terminal setting data bag, the end
End sets packet includes the setting command to terminal;
Changing unit, if for comprising the terminal setting data bag, the SOT state of termination being changed according to the setting command.
10. a kind of terminal, it is characterised in that including processor and memory;
The memory is used to store supports that the device of the terminal intelligent control indicator lamp is performed as appointed in claim 1 to 5
The program of the method for the terminal intelligent control indicator lamp described in;
The processor is configurable for performing the program stored in the memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710138325.XA CN106879113B (en) | 2017-03-09 | 2017-03-09 | The method and apparatus of terminal and its intelligent control indicator light |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710138325.XA CN106879113B (en) | 2017-03-09 | 2017-03-09 | The method and apparatus of terminal and its intelligent control indicator light |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106879113A true CN106879113A (en) | 2017-06-20 |
CN106879113B CN106879113B (en) | 2019-04-09 |
Family
ID=59170345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710138325.XA Active CN106879113B (en) | 2017-03-09 | 2017-03-09 | The method and apparatus of terminal and its intelligent control indicator light |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106879113B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11245867B2 (en) | 2020-01-07 | 2022-02-08 | Benq Corporation | Video conference system |
TWI767176B (en) * | 2020-01-13 | 2022-06-11 | 明基電通股份有限公司 | Video conference system can identify video signal source |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102469656A (en) * | 2010-11-16 | 2012-05-23 | 联想(北京)有限公司 | Method, device and terminal for controlling indicator lamp |
US20120274225A1 (en) * | 2009-04-30 | 2012-11-01 | Grisamore Robert T | Controller Customization System With Phase Cut Angle Communication Customization Data Encoding |
KR20130040999A (en) * | 2013-03-14 | 2013-04-24 | 주식회사 포스코아이씨티 | Apparatus and method for controlling lighting device |
CN104539757A (en) * | 2014-12-15 | 2015-04-22 | 广东欧珀移动通信有限公司 | Information reminding method and terminal |
CN204335013U (en) * | 2014-06-09 | 2015-05-13 | 广东凯乐斯光电科技有限公司 | A kind of intelligence of the RGB with Radio Control Function toning LED lamp system |
CN105050287A (en) * | 2015-08-20 | 2015-11-11 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal indication lamp control method and system |
CN105657892A (en) * | 2016-01-05 | 2016-06-08 | 上海斐讯数据通信技术有限公司 | Network equipment indicator lamp adjusting method, network equipment and system |
-
2017
- 2017-03-09 CN CN201710138325.XA patent/CN106879113B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120274225A1 (en) * | 2009-04-30 | 2012-11-01 | Grisamore Robert T | Controller Customization System With Phase Cut Angle Communication Customization Data Encoding |
CN102469656A (en) * | 2010-11-16 | 2012-05-23 | 联想(北京)有限公司 | Method, device and terminal for controlling indicator lamp |
KR20130040999A (en) * | 2013-03-14 | 2013-04-24 | 주식회사 포스코아이씨티 | Apparatus and method for controlling lighting device |
CN204335013U (en) * | 2014-06-09 | 2015-05-13 | 广东凯乐斯光电科技有限公司 | A kind of intelligence of the RGB with Radio Control Function toning LED lamp system |
CN104539757A (en) * | 2014-12-15 | 2015-04-22 | 广东欧珀移动通信有限公司 | Information reminding method and terminal |
CN105050287A (en) * | 2015-08-20 | 2015-11-11 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal indication lamp control method and system |
CN105657892A (en) * | 2016-01-05 | 2016-06-08 | 上海斐讯数据通信技术有限公司 | Network equipment indicator lamp adjusting method, network equipment and system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11245867B2 (en) | 2020-01-07 | 2022-02-08 | Benq Corporation | Video conference system |
US11956563B2 (en) | 2020-01-07 | 2024-04-09 | Benq Corporation | Method for identifying video signal source |
TWI767176B (en) * | 2020-01-13 | 2022-06-11 | 明基電通股份有限公司 | Video conference system can identify video signal source |
Also Published As
Publication number | Publication date |
---|---|
CN106879113B (en) | 2019-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103680411B (en) | A kind of LED shows single wire transmission circuit and the method for module single point correction data | |
CN106471483B (en) | Setting, capturing, processing and scanning module, operation method thereof, device comprising module and mixed signal bus | |
CN85107028A (en) | Data transmission system and control method thereof | |
US9336022B2 (en) | Universal serial bus (USB) device and a USB system including the same | |
CN109639489A (en) | A kind of RabbitMQ clustered deploy(ment) method, system, equipment and medium | |
AU2023202626B2 (en) | Control of vehicle-carried warning system through controller area network (CAN) communications of global variables processed as operands of behavioral equations | |
CN202183219U (en) | Addressing parallel display drive circuit and system thereof | |
CN112527449B (en) | Cluster node label creation method and system, electronic equipment and storage medium | |
CN106879113A (en) | The method and apparatus of terminal and its Based Intelligent Control indicator lamp | |
CN106502749B (en) | The method and system of program are write with a brush dipped in Chinese ink based on CAN bus multimachine | |
US10816593B2 (en) | Arrangement unit, testing system and testing method | |
CN104468547A (en) | Long connection establishing method, device and system | |
CN108989577A (en) | The method and mobile terminal of automatic replacement wallpaper for mobile terminal | |
CN102467870B (en) | Intelligent storage method, device, system and LED display panel thereof and display | |
CN103019990A (en) | Method for uploading data at collection end through starting PCI-E (Peripheral Component Interconnect-Express) bus DMA (Direct Memory Access) | |
CN108898917A (en) | Terminal control method, device and computer equipment based on color identification | |
CN108196864A (en) | A kind of vehicle electronic device upgrade-system and method | |
CN104464617A (en) | Parallel display system and display devices thereof | |
CN102693641A (en) | Traffic signal loading platform | |
CN1236637C (en) | Radio communication system with function of data changing and renewing | |
CN106470114B (en) | A kind of configuration method and device of OTA upgrade package | |
CN110502284A (en) | LED light flickering method, device and the readable storage medium storing program for executing of single-chip microcontroller | |
CN204031530U (en) | A kind of control system based on DMX512 agreement | |
CN102147735B (en) | Interface single board and business logic loading method | |
CN107770919B (en) | LED lamp system and address configuration method based on DMX512 agreement |
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 |