CN108615500B - The control method of the cross-platform display of LED - Google Patents
The control method of the cross-platform display of LED Download PDFInfo
- Publication number
- CN108615500B CN108615500B CN201810448336.2A CN201810448336A CN108615500B CN 108615500 B CN108615500 B CN 108615500B CN 201810448336 A CN201810448336 A CN 201810448336A CN 108615500 B CN108615500 B CN 108615500B
- Authority
- CN
- China
- Prior art keywords
- parameter
- chip
- kernel
- packet
- constant current
- 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
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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/22—Control 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/30—Control 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/32—Control 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]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Devices For Indicating Variable Information By Combining Individual Elements (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of control method of the cross-platform display of LED, this method includes that control parameter issues process, and parameter issues process completion parameter and issues work, is mainly used for modifying the control parameter of current platform, influences final display effect;All physical operations that parameter reads process are carried out in operation layer interface Shell level;The groundwork of inner nuclear layer Kernel processing scheduling, log;Constant current chip control display column, coding chip control line feed;Chip is controlled, input and output storing data is handled.Compared with the prior art, in the present invention, this method realizes driving in the form of software, change the mode that there can only be hardware programming by LED display control over, as software programming mode, it realizes separation of software and hardware, truly accomplishes that software development prior to hardware, realizes the beforehand research exploitation of constant current chip and coding chip in module chip.
Description
Technical field
The invention belongs to LED display control field, in particular to the control method of a kind of cross-platform display of LED.
Background technique
LED display control system (LED Display Control System) is big according to user demand control LED
The system that screen is correctly shown is divided into networking version and standalone version two major classes according to networking mode.Networking version is also known as LED information hair
Cloth control system can control each LED terminal by cloud system.Standalone version is also known as LED display controller, LED is shown
Shield control card, it is the core component for forming LED display, is mainly responsible for external video input signals or onboard more
Media file is converted into the readily identified digital signal of LED large screen, so that the equipment for lighting LED large screen, is similar to house
With the video card in PC, difference is in PC that display is CRT/LCD etc., and display is then LED large screen in this system.According to connecing
Synchronization system and asynchronous system can be then divided by entering aspect.
LED display control program at present is all based on fpga chip progress, in sending card-reception card body system, software
Part only configures FPGA, one is selected in the constant current chip of limited kinds, all drivings are determined by hardware ROM, such
LED display control program has the following deficiencies:
1) versatility is poor, and one receives the constant current chip type supported on card and is usually no more than 5, as fruit chip does not exist
In ROM support list, changing-over is needed to receive card, or update ROM;
2) reliability is poor, such as to update and receive the constant current chip that card is supported, FPGA mode needs to brush ROM again;
3) for constant current chip development company, it is difficult to accomplish that beforehand research of the software prior to hardware is developed, can't see display
Effect;
4) industry can not almost provide software development kit truly at present, all be based only on replacement software circle at present
Face.
Summary of the invention
To solve the above problems, the purpose of the present invention is to provide a kind of control method of the cross-platform display of LED, this method
Any one of entire display control link can be adjusted, from interface to driving, can directly be participated in;And on framework
Support module, driving do not program disassembly.
Another object of the present invention is that providing a kind of versatile, the perseverance of general 99% or more market can be covered
Flow chip drives, coding chip driving.
To achieve the above object, technical scheme is as follows.
The present invention provides a kind of control method of cross-platform display of LED, and this method includes that control parameter issues process, specifically
Steps are as follows:
101, UI layers of initiation parameter issue request;
102, Shell analyzes the parameter and issues request, obtains threaded file title, uses the threaded file title structure
It makes and reads link information request packet, be sent to Kernel;
103, Kernel dispatches the reading link information request packet to configuration driven module;
104, configuration driven module parses the reading link information request packet, obtains the threaded file name of mould group connection
Claim, using the threaded file title structure modeling group link information, the mould group link information include the list of mould group name, partially
Shifting amount and control chip information, and it is sent to Kernel;
105, Kernel transparent transmission mould group link information is to Shell;
106, Shell parses the mould group link information, obtains mould group name list, by mould group name list, beats respectively
Packet mould group parameter read requests, are sent to Kernel;
107, Kernel dispatches mould group parameter read requests packet to configuration driven module;
108, configuration driven module parses mould group parameter read requests packet, obtains mould group name, configures structure by mould group name
Modeling group parameter, and it is sent to Kernel, the mould group parameter includes constant current chip name and coding chip name;
109, Kernel transparent transmission mould group parameter information is to Shell;
110, Shell parses the mould group parameter information, obtains constant current chip name list, by constant current chip title, beats
Packet constant current chip driver' s timing generates request, is sent to Kennel;
111, Kernel dispatches constant current chip driver' s timing generation request packet and drives to each constant current chip;
112, each constant current chip driving parsing constant current chip driver' s timing generates request packet, obtains construction constant current chip timing
Required parameter, according to parametric configuration constant current chip timing information needed for construction constant current chip timing, and by the constant current core
Piece timing information is transmitted to Kernel;
113, constant current chip timing information is passed through Shell by Kernel;
114, the mould group parameter information of the constant current chip timing information of Shell analyzing step 113 and step 109, obtains structure
Parameter needed for construction coding chip timing is packaged as the generation of coding chip timing and asked by parameter needed for making coding chip timing
Packet is sought, and is sent to Kernel;
115, Kernel dispatches coding chip timing generation request packet and drives to coding chip;
116, coding chip driving parsing coding chip timing generates request packet, and parameter needed for obtaining construction timing is pressed
These parametric configuration coding chip timing informations, and transmit to Kernel;
117, Kernel transparent transmission coding chip timing information is to Shell;
118, the parameter that Shell parses UI issues request, and parameter needed for obtaining control chip structure timing will control chip
Parameter needed for constructing timing merges the constant current of mould the group parameter information, step 113 of the mould group link information of step 105, step 109
The coding chip timing information of chip timing information and step 117, construction control chip timing generate request, are issued to
Kernel;
119, the control chip timing is generated request and passes through control chip drives by Kernel;
120, control chip drives parsing control chip timing generates request, obtains ginseng needed for control chip timing generates
Number, parametric configuration needed for generating by control chip timing control chip time sequence parameter, and are sent to hardware connection driving;
121, control chip time sequence parameter is issued hardware by hardware connection driving;
122, hardware returns to hardware parameter packet and sends state to hardware connection driving;
123, hardware parameter packet described in hardware connection driving transparent transmission sends state and gives control chip drives;
124, the transmission state of hardware parameter packet is returned to Kernel by control chip drives;
125, the transmission state of Kernel transparent transmission hardware parameter packet is to Shell;
126, the transmission state of hardware parameter packet is packaged into state packet and returns to UI by Shell.
The parameter issues process completion parameter and issues work, is mainly used for modifying the control parameter of current platform, influence
Final display effect;All physical operations that the parameter reads process are carried out in operation layer interface Shell level;In described
The groundwork of stratum nucleare Kernel processing scheduling, log;The constant current chip control display column, the coding chip control are changed
Row;The control chip handles input and output storing data;
This method realizes driving in the form of software, changes the mould that can only have hardware programming by LED display control over
Formula becomes software programming mode, realizes separation of software and hardware, truly accomplishes that software development prior to hardware, realizes mould group core
The beforehand research exploitation of constant current chip and coding chip in piece, in addition, due to departing from hardware, and this process only need to issue configuration,
Without updating ROM, versatility and reliability are just greatly improved;This method can also be to any one in entire display control
A link is adjusted, and from interface to driving, can directly participate in, and architecturally support module, and driving does not program disassembly;Its
It is versatile, constant current chip driving, the coding chip driving of general 99% or more market can be covered;This method operates network
Change, in same local area network, can multiple terminals access operation simultaneously, also can be developed into public network access operation;Support android/ios/
All mainstream operation system platforms such as windows/linux, and any computer programming language is supported to carry out software development.
The control method of the cross-platform display of LED further includes that parameter obtains process, the specific steps are as follows:
201, parameter is read in UI layers of initiation please take request;
202, Shell, which analyzes the reading parameter, please take request, obtain threaded file title, use the threaded file name
Claim, construction reads link information request packet, is sent to Kernel;;
203, Kernel dispatches the link information request packet to configuration driven module;
204, configuration driven module parses the link information request packet, structure modeling group link information, and is sent to
Kernel, the mould group link information include the list of mould group name, offset and control chip information;
205, Kernel transparent transmission mould group link information is to Shell;
206, Shell parses the mould group link information, obtains mould group name list, and structure modeling group load request is sent
To Kernel;
207, Kernel is by mould group load request packet scheduling to configuration driven module;
208, configuration driven parses the mould group load request packet, obtains mould group name list, arranges by the mould group name
Table loads mould group parameter, the mould group parameter is packaged, and be sent to Kernel, the mould group parameter includes constant current chip
Name, coding chip name;
209, mould group parameter described in Kernel transparent transmission is to Shell;
210, Shell parses the mould group parameter, constant current chip name list and coding chip name list is obtained, by institute
Constant current chip title and coding chip title are stated, constant current chip is constructed respectively and reads parameter request packet and coding chip read requests
Packet, and it is sent to Kennel;
211, Kernel dispatches the constant current chip reading parameter request packet and drives to each constant current chip, dispatches the decoding
Chip read requests packet drives to each coding chip;
212, each constant current chip driving and the driving of each coding chip read parameter request packet construction according to the constant current chip
Constant current chip driver parameter packet constructs coding chip driver parameter packet according to the coding chip read requests packet,
And the constant current chip driver parameter packet and the coding chip driver parameter packet are sent to Kernel;
213, Kernel is saturating by the constant current chip driver parameter packet and the coding chip driver parameter packet
It is transmitted to Shell;
214, Shell parses constant current chip driver parameter packet and the coding chip driver parameter packet, obtains
Chip name list is controlled, according to the control chip name list, construction control chip reads parameter request packet, is sent to
Kernel;
215, Kernel dispatches the control chip reading parameter request packet and gives control chip drives;
216, control chip drives read parameter request packet according to the control chip, and construction controls chip return parameters,
And control chip return parameters are packaged, it is sent to Kernel;
217, Kernel transparent transmission controls chip return parameters packet to Shell;
218, Shell is by the constant current chip of the mould group link information of step 205, the mould group parameter of step 209, step 213
Driver parameter packet and coding chip driver parameter packet and the control chip return parameters of step 217 are arranged and are constructed most
Whole data packet is sent to UI layers.
The parameter reads process and completes parameter read work, mainly completes the acquisition of current platform state, parameter information,
Corresponding display parameters are modified in the analysis for facilitating operator;
Constant current chip driving and coding chip driving, their control flow the following steps are included:
It 301, is the design parameter inside program by the json document analysis sent from Kernel;
302, according to the parameter of parsing, it is configured to the register of chip needs;
303, according to register and other conventional parameters, tectonic forcing timing;
304, by the final register value for generating timing and using, register is updated;
305, it by output specification, collects receipt and exports specified json file to Kernel.
The control flow of the constant current chip driving and coding chip driving is analyzed after UI specifies parameter and generates perseverance
The corresponding working condition of chip and timing information are flowed, non-sequential partial information is used for UI layers of display, timing partial sum register
Partial information is shown for being handed down to hardware, driving LED module.
The control flow of the configuration driven the following steps are included:
It 401, is the design parameter inside program by the json document analysis sent from Kernel;
402, according to the parameter of parsing, it is configured to the register of chip needs;
403, it according to above-mentioned parameter packet, constructs hardware data packet and is issued to hardware;
404, by the final register value for generating timing and using, register is updated;
405, it by output specification, collects receipt and exports specified json file to Kernel.
Present invention has an advantage that compared with the prior art, in the present invention, this method realizes in the form of software
Driving, changes the mode that can only have hardware programming by LED display control over, becomes software programming mode, realizes software and hardware point
From, truly accomplish that software development prior to hardware, realizes the beforehand research exploitation of constant current chip and coding chip in module chip,
In addition, due to departing from hardware, and this process only need to issue configuration, without updating ROM, just greatly improve versatility with
Reliability;Any one of entire display control link can also be adjusted in this method, can be straight from interface to driving
Participation is connect, and architecturally support module, driving does not program disassembly;Its is versatile, can cover general 99% or more market
Constant current chip driving, coding chip driving;This method operates networking, in same local area network, can multiple terminals access behaviour simultaneously
Make, also can be developed into public network access operation;Support all mainstream operation system platforms such as android/ios/windows/linux,
And any computer programming language is supported to carry out software development.
Detailed description of the invention
Fig. 1 is the flow chart that control parameter issues process in the control method of the cross-platform display of LED of the present invention.
Fig. 2 is the flow chart that parameter obtains process in the control method of the cross-platform display of LED of the present invention.
Fig. 3 is the control of constant current chip driving and coding chip driving in the control method of the cross-platform display of LED of the present invention
Flow chart.
Fig. 4 is the control flow chart of configuration driven in the control method of the cross-platform display of LED of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
The purpose of the present invention is to provide a kind of control method of the cross-platform display of LED, this method can be to entire display
Any one of control link is adjusted, and from interface to driving, can directly participate in;And support module on framework, driving
Disassembly is not programmed.
Another object of the present invention is that providing a kind of versatile, the perseverance of general 99% or more market can be covered
Flow chip drives, coding chip driving.
To achieve the above object, technical scheme is as follows.
As shown in figure 1 to 3, the present invention provides a kind of control method of cross-platform display of LED to ginseng, and this method includes control ginseng
Number issues process, the specific steps are as follows:
101, UI layers of initiation parameter issue request;
102, Shell analyzes parameter and issues request, obtains threaded file title, constructs the company of reading using threaded file title
Information request is connect, Kernel is sent to;
103, Kernel scheduling reads link information request packet to configuration driven module;
104, link information request packet is read in configuration driven module parsing, is obtained the threaded file title of mould group connection, is made
With threaded file title structure modeling group link information, mould group link information includes the list of mould group name, offset and control core
Piece information, and it is sent to Kernel;
105, Kernel transparent transmission mould group link information is to Shell;
106, Shell parses mould group link information, obtains mould group name list, by mould group name list, is packaged mould respectively
Group parameter read requests, are sent to Kernel;
107, Kernel dispatches mould group parameter read requests packet to configuration driven module;
108, configuration driven module parses mould group parameter read requests packet, obtains mould group name, configures structure by mould group name
Modeling group parameter, and it is sent to Kernel, mould group parameter includes constant current chip name and coding chip name;
109, Kernel transparent transmission mould group parameter information is to Shell;
110, Shell parses mould group parameter information, obtains constant current chip name list, by constant current chip title, is packaged permanent
It flows chip drives timing and generates request, be sent to Kennel;
111, Kernel dispatches constant current chip driver' s timing generation request packet and drives to each constant current chip;
112, each constant current chip driving parsing constant current chip driver' s timing generates request packet, obtains construction constant current chip timing
Required parameter, according to parametric configuration constant current chip timing information needed for construction constant current chip timing, and when by constant current chip
Sequence information package is sent to Kernel;
113, constant current chip timing information is passed through Shell by Kernel;
114, the mould group parameter information of the constant current chip timing information of Shell analyzing step 113 and step 109, obtains structure
Parameter needed for construction coding chip timing is packaged as the generation of coding chip timing and asked by parameter needed for making coding chip timing
Packet is sought, and is sent to Kernel;
115, Kernel dispatches coding chip timing generation request packet and drives to coding chip;
116, coding chip driving parsing coding chip timing generates request packet, and parameter needed for obtaining construction timing is pressed
These parametric configuration coding chip timing informations, and transmit to Kernel;
117, Kernel transparent transmission coding chip timing information is to Shell;
118, the parameter that Shell parses UI issues request, and parameter needed for obtaining control chip structure timing will control chip
Parameter needed for constructing timing merges the constant current of mould the group parameter information, step 113 of the mould group link information of step 105, step 109
The coding chip timing information of chip timing information and step 117, construction control chip timing generate request, are issued to
Kernel;
119, Kernel will control the generation request of chip timing and pass through control chip drives;
120, control chip drives parsing control chip timing generates request, obtains ginseng needed for control chip timing generates
Number, parametric configuration needed for generating by control chip timing control chip time sequence parameter, and are sent to hardware connection driving;
121, control chip time sequence parameter is issued hardware by hardware connection driving;
122, hardware returns to hardware parameter packet and sends state to hardware connection driving;
123, hardware connection driving transparent transmission hardware parameter packet sends state and gives control chip drives;
124, the transmission state of hardware parameter packet is returned to Kernel by control chip drives;
125, the transmission state of Kernel transparent transmission hardware parameter packet is to Shell;
126, the transmission state of hardware parameter packet is packaged into state packet and returns to UI by Shell.
Parameter issues process completion parameter and issues work, is mainly used for modifying the control parameter of current platform, influence final
Display effect;All physical operations that parameter reads process are carried out in operation layer interface Shell level;At inner nuclear layer Kernel
The groundwork of reason scheduling, log;Constant current chip control display column, coding chip control line feed;Chip is controlled, processing input is defeated
Storing data out;
This method realizes driving in the form of software, changes the mould that can only have hardware programming by LED display control over
Formula becomes software programming mode, realizes separation of software and hardware, truly accomplishes that software development prior to hardware, realizes mould group core
The beforehand research exploitation of constant current chip and coding chip in piece, in addition, due to departing from hardware, and this process only need to issue configuration,
Without updating ROM, versatility and reliability are just greatly improved;This method can also be to any one in entire display control
A link is adjusted, and from interface to driving, can directly participate in, and architecturally support module, and driving does not program disassembly;Its
It is versatile, constant current chip driving, the coding chip driving of general 99% or more market can be covered;This method operates network
Change, in same local area network, can multiple terminals access operation simultaneously, also can be developed into public network access operation;Support android/ios/
All mainstream operation system platforms such as windows/linux, and any computer programming language is supported to carry out software development.
The control method of the cross-platform display of the LED further includes that parameter obtains process, the specific steps are as follows:
201, parameter is read in UI layers of initiation please take request;
202, parameter is read in Shell analysis please take request, obtain threaded file title, use threaded file title, construction
Link information request packet is read, Kernel is sent to;;
203, Kernel dispatches link information request packet to configuration driven module;
204, configuration driven module parses link information request packet, structure modeling group link information, and is sent to Kernel, mould
Group link information includes the list of mould group name, offset and control chip information;
205, Kernel transparent transmission mould group link information is to Shell;
206, Shell parses mould group link information, obtains mould group name list, structure modeling group load request is sent to
Kernel;
207, Kernel is by mould group load request packet scheduling to configuration driven module;
208, configuration driven parses mould group load request packet, obtains mould group name list, loads mould by mould group name list
Group parameter, mould group parameter is packaged, and be sent to Kernel, mould group parameter includes constant current chip name, coding chip name;
209, Kernel transparent transmission mould group parameter is to Shell;
210, Shell parses mould group parameter, constant current chip name list and coding chip name list is obtained, by constant current core
Piece title and coding chip title construct constant current chip respectively and read parameter request packet and coding chip read requests packet, concurrently
It is sent to Kennel;
211, Kernel dispatches constant current chip reading parameter request packet and drives to each constant current chip, and scheduling coding chip is read
Request packet drives to each coding chip;
212, each constant current chip driving and the driving of each coding chip, read parameter request packet according to constant current chip and construct constant current
Chip driver program parameter packet constructs coding chip driver parameter packet according to coding chip read requests packet, and by constant current
Chip driver program parameter packet and coding chip driver parameter packet are sent to Kernel;
213, Kernel passes through constant current chip driver parameter packet and coding chip driver parameter packet
Shell;
214, Shell parses constant current chip driver parameter packet and coding chip driver parameter packet, is controlled
Chip name list, according to control chip name list, construction control chip reads parameter request packet, is sent to Kernel;
215, Kernel scheduling controlling chip reads parameter request packet and gives control chip drives;
216, control chip drives read parameter request packet, construction control chip return parameters according to control chip, and beat
Packet control chip return parameters, are sent to Kernel;
217, Kernel transparent transmission controls chip return parameters packet to Shell;
218, Shell is by the constant current chip of the mould group link information of step 205, the mould group parameter of step 209, step 213
Driver parameter packet and coding chip driver parameter packet and the control chip return parameters of step 217 are arranged and are constructed most
Whole data packet is sent to UI layers.
Parameter reads process and completes parameter read work, and the main acquisition for completing current platform state, parameter information is convenient
Corresponding display parameters are modified in the analysis of operator;
Constant current chip driving and coding chip driving, their control flow the following steps are included:
It 301, is the design parameter inside program by the json document analysis sent from Kernel;
302, according to the parameter of parsing, it is configured to the register of chip needs;
303, according to register and other conventional parameters, tectonic forcing timing;
304, by the final register value for generating timing and using, register is updated;
305, it by output specification, collects receipt and exports specified json file to Kernel.
The control flow of constant current chip driving and coding chip driving is analyzed after UI specifies parameter and generates constant current core
The corresponding working condition of piece and timing information, non-sequential partial information are used for UI layers of display, timing partial sum register part
Information for being handed down to hardware, driving LED module is shown.
The control flow of configuration driven the following steps are included:
It 401, is the design parameter inside program by the json document analysis sent from Kernel;
402, according to the parameter of parsing, it is configured to the register of chip needs;
403, it according to above-mentioned parameter packet, constructs hardware data packet and is issued to hardware;
404, by the final register value for generating timing and using, register is updated;
405, it by output specification, collects receipt and exports specified json file to Kernel.
Present invention has an advantage that compared with the prior art, in the present invention, this method realizes in the form of software
Driving, changes the mode that can only have hardware programming by LED display control over, becomes software programming mode, realizes software and hardware point
From, truly accomplish that software development prior to hardware, realizes the beforehand research exploitation of constant current chip and coding chip in module chip,
In addition, due to departing from hardware, and this process only need to issue configuration, without updating ROM, just greatly improve versatility with
Reliability;Any one of entire display control link can also be adjusted in this method, can be straight from interface to driving
Participation is connect, and architecturally support module, driving does not program disassembly;Its is versatile, can cover general 99% or more market
Constant current chip driving, coding chip driving;This method operates networking, in same local area network, can multiple terminals access behaviour simultaneously
Make, also can be developed into public network access operation;Support all mainstream operation system platforms such as android/ios/windows/linux,
And any computer programming language is supported to carry out software development.
The above is merely preferred embodiments of the present invention, be not intended to limit the invention, it is all in spirit of the invention and
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within principle.
Claims (4)
1. a kind of control method of the cross-platform display of LED, this method includes that control parameter issues process, which is characterized in that institute
Control parameter is stated to issue process specific step is as follows:
101, UI layers of initiation parameter issue request;
102, Shell analyzes the parameter and issues request, obtains threaded file title, is constructed and is read using the threaded file title
Link information request packet is taken, Kernel is sent to;
103, Kernel dispatches the reading link information request packet to configuration driven module;
104, configuration driven module parses the reading link information request packet, obtains the threaded file title of mould group connection, makes
With the threaded file title structure modeling group link information, the mould group link information includes the list of mould group name, offset
With control chip information, and it is sent to Kernel;
105, Kernel transparent transmission mould group link information is to Shell;
106, Shell parses the mould group link information, obtains mould group name list, by mould group name list, is packaged mould respectively
Group parameter read requests, are sent to Kernel;
107, Kernel dispatches mould group parameter read requests packet to configuration driven module;
108, configuration driven module parses mould group parameter read requests packet, mould group name is obtained, by mould group name arrangement mould
Group parameter, and it is sent to Kernel, the mould group parameter includes constant current chip name and coding chip name;
109, Kernel transparent transmission mould group parameter information is to Shell;
110, Shell parses the mould group parameter information, obtains constant current chip name list, by constant current chip title, is packaged permanent
It flows chip drives timing and generates request, be sent to Kennel;
111, Kernel dispatches constant current chip driver' s timing generation request packet and drives to each constant current chip;
112, each constant current chip driving parsing constant current chip driver' s timing generates request packet, obtains needed for construction constant current chip timing
Parameter, according to parametric configuration constant current chip timing information needed for construction constant current chip timing, and when by the constant current chip
Sequence information package is sent to Kernel;
113, constant current chip timing information is passed through Shell by Kernel;
114, the mould group parameter information of the constant current chip timing information of Shell analyzing step 113 and step 109 obtains construction and translates
Parameter needed for construction coding chip timing is packaged as coding chip timing and generates request by parameter needed for code chip timing
Packet, and it is sent to Kernel;
115, Kernel dispatches coding chip timing generation request packet and drives to coding chip;
116, coding chip driving parsing coding chip timing generates request packet, parameter needed for obtaining construction timing, by these
Parametric configuration coding chip timing information, and transmit to Kernel;
117, Kernel transparent transmission coding chip timing information is to Shell;
118, the parameter that Shell parses UI issues request, and parameter needed for obtaining control chip structure timing will control chip structure
Parameter needed for timing merges the constant current chip of the mould group link information of step 105, the mould group parameter information of step 109, step 113
The coding chip timing information of timing information and step 117, construction control chip timing generate request, are issued to Kernel;
119, the control chip timing is generated request and passes through control chip drives by Kernel;
120, control chip drives parsing control chip timing generates request, obtains parameter needed for control chip timing generates, presses
It controls parametric configuration needed for chip timing generates and controls chip time sequence parameter, and be sent to hardware connection driving;
121, control chip time sequence parameter is issued hardware by hardware connection driving;
122, hardware returns to hardware parameter packet and sends state to hardware connection driving;
123, hardware parameter packet described in hardware connection driving transparent transmission sends state and gives control chip drives;
124, the transmission state of hardware parameter packet is returned to Kernel by control chip drives;
125, the transmission state of Kernel transparent transmission hardware parameter packet is to Shell;
126, the transmission state of hardware parameter packet is packaged into state packet and returns to UI by Shell;
The parameter issues process completion parameter and issues work, is mainly used for modifying the control parameter of current platform, influence final
Display effect;All physical operations that the parameter reads process are carried out in operation layer interface Shell level;Inner nuclear layer
The groundwork of Kernel processing scheduling, log;The constant current chip control display column, the coding chip control line feed;Institute
Control chip is stated, input and output storing data is handled.
2. the control method of the cross-platform display of LED as described in claim 1, which is characterized in that the cross-platform display of LED
Control method further includes having parameter to obtain process, and the parameter obtains process, and specific step is as follows:
201, parameter is read in UI layers of initiation please take request;
202, Shell, which analyzes the reading parameter, please take request, obtain threaded file title, using the threaded file title,
Construction reads link information request packet, is sent to Kernel;
203, Kernel dispatches the link information request packet to configuration driven module;
204, configuration driven module parses the link information request packet, structure modeling group link information, and is sent to Kernel, institute
Stating mould group link information includes the list of mould group name, offset and control chip information;
205, Kernel transparent transmission mould group link information is to Shell;
206, Shell parses the mould group link information, obtains mould group name list, structure modeling group load request is sent to
Kernel;
207, Kernel is by mould group load request packet scheduling to configuration driven module;
208, configuration driven parses the mould group load request packet, obtains mould group name list, adds by the mould group name list
Mould group parameter is carried, the mould group parameter is packaged, and be sent to Kernel, the mould group parameter includes constant current chip name, is translated
Code chip name;
209, mould group parameter described in Kernel transparent transmission is to Shell;
210, Shell parses the mould group parameter, constant current chip name list and coding chip name list is obtained, by the perseverance
Chip title and coding chip title are flowed, constant current chip is constructed respectively and reads parameter request packet and coding chip read requests packet,
And it is sent to Kennel;
211, Kernel dispatches the constant current chip reading parameter request packet and drives to each constant current chip, dispatches the coding chip
Read requests packet drives to each coding chip;
212, each constant current chip driving and the driving of each coding chip, read parameter request packet according to the constant current chip and construct constant current
Chip driver program parameter packet constructs coding chip driver parameter packet according to the coding chip read requests packet, and will
The constant current chip driver parameter packet and the coding chip driver parameter packet are sent to Kernel;
213, Kernel passes through the constant current chip driver parameter packet and the coding chip driver parameter packet
Shell;
214, Shell parses constant current chip driver parameter packet and the coding chip driver parameter packet, is controlled
Chip name list, according to the control chip name list, construction control chip reads parameter request packet, is sent to
Kernel;
215, Kernel dispatches the control chip reading parameter request packet and gives control chip drives;
216, control chip drives read parameter request packet, construction control chip return parameters according to the control chip, and beat
Packet control chip return parameters, are sent to Kernel;
217, Kernel transparent transmission controls chip return parameters packet to Shell;
218, Shell drives the constant current chip of the mould group link information of step 205, the mould group parameter of step 209, step 213
Program parameter packet and coding chip driver parameter packet and the control chip return parameters of step 217 arrange and construct final number
According to packet, it is sent to UI layers;
The parameter reads process and completes parameter read work, and the main acquisition for completing current platform state, parameter information is convenient
Corresponding display parameters are modified in the analysis of operator.
3. the control method of the cross-platform display of LED as claimed in claim 1 or 2, which is characterized in that the constant current chip driving
Driven with coding chip, their control flow the following steps are included:
It 301, is the design parameter inside program by the json document analysis sent from Kernel;
302, according to the parameter of parsing, it is configured to the register of chip needs;
303, according to register and other conventional parameters, tectonic forcing timing;
304, by the final register value for generating timing and using, register is updated;
305, it by output specification, collects receipt and exports specified json file to Kernel;
The control flow of the constant current chip driving and coding chip driving is analyzed after UI specifies parameter and generates constant current core
The corresponding working condition of piece and timing information, non-sequential partial information are used for UI layers of display, timing partial sum register part
Information for being handed down to hardware, driving LED module is shown.
4. the control method of the cross-platform display of LED as claimed in claim 1 or 2, which is characterized in that the control of the configuration driven
Process processed the following steps are included:
It 401, is the design parameter inside program by the json document analysis sent from Kernel;
402, according to the parameter of parsing, it is configured to the register of chip needs;
403, it according to above-mentioned parameter packet, constructs hardware data packet and is issued to hardware;
404, by the final register value for generating timing and using, register is updated;
405, it by output specification, collects receipt and exports specified json file to Kernel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810448336.2A CN108615500B (en) | 2018-05-11 | 2018-05-11 | The control method of the cross-platform display of LED |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810448336.2A CN108615500B (en) | 2018-05-11 | 2018-05-11 | The control method of the cross-platform display of LED |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108615500A CN108615500A (en) | 2018-10-02 |
CN108615500B true CN108615500B (en) | 2019-12-03 |
Family
ID=63663049
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810448336.2A Active CN108615500B (en) | 2018-05-11 | 2018-05-11 | The control method of the cross-platform display of LED |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108615500B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6636242B2 (en) * | 1999-08-31 | 2003-10-21 | Accenture Llp | View configurer in a presentation services patterns environment |
CN101770388A (en) * | 2009-01-06 | 2010-07-07 | 华为技术有限公司 | Method and device for obtaining chip code information |
CN101840219A (en) * | 2009-09-30 | 2010-09-22 | 浙江大学 | Wetland park oriented security precaution integrated system and method |
CN102254052A (en) * | 2010-05-17 | 2011-11-23 | 深圳市摩西尔电子有限公司 | Computer-aided design method and device of Light-Emitting Diode (LED) display module |
CN102402209A (en) * | 2010-09-14 | 2012-04-04 | 广州致远电子有限公司 | Embedded data acquisition and equipment control system |
CN202584691U (en) * | 2012-05-16 | 2012-12-05 | 深圳市摩西尔电子有限公司 | LED constant-current drive chip |
CN103229153A (en) * | 2010-11-30 | 2013-07-31 | 诺基亚公司 | Method and apparatus for providing persistent computations |
CN103678745A (en) * | 2012-09-18 | 2014-03-26 | 中国科学院微电子研究所 | Cross-platform multilevel integrated design system for FPGA (field programmable gate array) |
CN104822040A (en) * | 2015-04-28 | 2015-08-05 | 深圳市载德光电技术开发有限公司 | Multi-format video sequence generation system based on FPGA and method thereof |
CN107168833A (en) * | 2017-04-28 | 2017-09-15 | 武汉精测电子技术股份有限公司 | Parameter calibration method and device based on LUA scripts |
CN107247544A (en) * | 2015-10-01 | 2017-10-13 | Sap欧洲公司 | Use interaction figure picture optimization software application user interface capabilities |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080295114A1 (en) * | 2007-05-07 | 2008-11-27 | Pramod Vasant Argade | Method and apparatus for execution control of computer programs |
US8589493B2 (en) * | 2007-08-17 | 2013-11-19 | International Business Machines Corporation | Sending related information to indirect email recipients |
SG2013049770A (en) * | 2013-06-26 | 2015-01-29 | Vodoke Asia Pacific Ltd | System and method for delivering content to a display screen |
-
2018
- 2018-05-11 CN CN201810448336.2A patent/CN108615500B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6636242B2 (en) * | 1999-08-31 | 2003-10-21 | Accenture Llp | View configurer in a presentation services patterns environment |
CN101770388A (en) * | 2009-01-06 | 2010-07-07 | 华为技术有限公司 | Method and device for obtaining chip code information |
CN101840219A (en) * | 2009-09-30 | 2010-09-22 | 浙江大学 | Wetland park oriented security precaution integrated system and method |
CN102254052A (en) * | 2010-05-17 | 2011-11-23 | 深圳市摩西尔电子有限公司 | Computer-aided design method and device of Light-Emitting Diode (LED) display module |
CN102402209A (en) * | 2010-09-14 | 2012-04-04 | 广州致远电子有限公司 | Embedded data acquisition and equipment control system |
CN103229153A (en) * | 2010-11-30 | 2013-07-31 | 诺基亚公司 | Method and apparatus for providing persistent computations |
CN202584691U (en) * | 2012-05-16 | 2012-12-05 | 深圳市摩西尔电子有限公司 | LED constant-current drive chip |
CN103678745A (en) * | 2012-09-18 | 2014-03-26 | 中国科学院微电子研究所 | Cross-platform multilevel integrated design system for FPGA (field programmable gate array) |
CN104822040A (en) * | 2015-04-28 | 2015-08-05 | 深圳市载德光电技术开发有限公司 | Multi-format video sequence generation system based on FPGA and method thereof |
CN107247544A (en) * | 2015-10-01 | 2017-10-13 | Sap欧洲公司 | Use interaction figure picture optimization software application user interface capabilities |
CN107168833A (en) * | 2017-04-28 | 2017-09-15 | 武汉精测电子技术股份有限公司 | Parameter calibration method and device based on LUA scripts |
Also Published As
Publication number | Publication date |
---|---|
CN108615500A (en) | 2018-10-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107132832B (en) | A kind of DBC document analysis and its Programming Methodology based on CAN communication | |
CN109116315B (en) | General radar avionics simulation system | |
CN106649103A (en) | Android application program automatically black box testing method and system | |
CN108228288A (en) | A kind of component system and its call method and device | |
CN106843873A (en) | A kind of remote game programing system | |
CN104572072A (en) | MVC (model view controller) mode-based language transformation method and equipment for program | |
CN107506190A (en) | XML file amending method and device based on Spring frameworks | |
CN114691765A (en) | Data processing method and device in artificial intelligence system | |
CN105739481B (en) | The test method of industrial control software, apparatus and system | |
CN108615500B (en) | The control method of the cross-platform display of LED | |
CN104503767A (en) | System and method for automatically generating codes based on LIN protocol | |
CN108563424A (en) | A kind of modularization to cooperate with developer and agile Interface Design | |
US20060277332A1 (en) | Translation support system and program thereof | |
CN107040818B (en) | Layout analytic hierarchy process method and system for Android TV | |
CN113505054A (en) | Network data static test system and test method for unmanned aerial vehicle control station | |
US11223961B2 (en) | Configuration method of wireless network system, configuration terminal and configuration system | |
CN111045667B (en) | Graphical programming system based on Lua script | |
CN111176624B (en) | Method and device for generating stream type calculation index | |
CN111324323A (en) | Multi-screen display control method and device, embedded processing system and video controller | |
CN113568735B (en) | Data processing method and system | |
CN114676104A (en) | Log generation method and device | |
CN108205429A (en) | Control apparatus, system and method for simulating display screen and supporting virtual display apparatus | |
CN108959309A (en) | The method and apparatus of data analysis | |
CN107215479B (en) | General data processing framework of flight simulator and construction method thereof | |
CN102012856B (en) | Method and device for automatically generating hardware component simulation engineering |
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 |