CN108615500A - The control method of the cross-platform displays of LED - Google Patents

The control method of the cross-platform displays of LED Download PDF

Info

Publication number
CN108615500A
CN108615500A CN201810448336.2A CN201810448336A CN108615500A CN 108615500 A CN108615500 A CN 108615500A CN 201810448336 A CN201810448336 A CN 201810448336A CN 108615500 A CN108615500 A CN 108615500A
Authority
CN
China
Prior art keywords
parameter
chip
module
kernel
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.)
Granted
Application number
CN201810448336.2A
Other languages
Chinese (zh)
Other versions
CN108615500B (en
Inventor
胡家同
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN MOONCELL ELECTRONICS CO Ltd
Original Assignee
SHENZHEN MOONCELL ELECTRONICS CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN MOONCELL ELECTRONICS CO Ltd filed Critical SHENZHEN MOONCELL ELECTRONICS CO Ltd
Priority to CN201810448336.2A priority Critical patent/CN108615500B/en
Publication of CN108615500A publication Critical patent/CN108615500A/en
Application granted granted Critical
Publication of CN108615500B publication Critical patent/CN108615500B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital 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)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Devices For Indicating Variable Information By Combining Individual Elements (AREA)

Abstract

The invention discloses a kind of control method of the cross-platform displays of LED, this method includes that control parameter issues flow, and parameter issues flow completion parameter and issues work, is mainly used for changing the control parameter of current platform, influences final display effect;All physical operations that parameter reads flow are carried out in operation layer interface Shell levels;The groundwork of inner nuclear layer Kernel processing scheduling, daily record;Constant current chip control display row, coding chip control line feed;Chip is controlled, processing input and output store data.Compared with the prior art, in the present invention, this method realizes driving in the form of software, change the pattern that there can only be hardware programming by LED display controls over, as software programming pattern, 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

The control method of the cross-platform displays of LED
Technical field
The invention belongs to LED display controls field, more particularly to the control method of a kind of cross-platform displays of LED.
Background technology
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 terminals 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 screens, the equipment to light LED large screens, is similar to house It is CRT/LCD etc. difference lies in display in PC with the video card in PC, display is then LED large screens in this system.According to connecing Synchronization system and asynchronous system can be then divided by entering aspect.
LED display control programs at present are 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 programs have the following defects:
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 lists, 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 patterns need 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, it 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.
Invention content
To solve the above problems, the purpose of the present invention is to provide a kind of control method of the cross-platform displays 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 dismounting.
Another object of the present invention is to provide a kind of versatile, can cover the perseverance of 99% or more general market 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 the cross-platform displays of LED, and this method includes that control parameter issues flow, 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 bag, be sent to Kernel;
103, Kernel dispatches the reading link information request bag to configuration driven module;
104, configuration driven module parses the reading link information request bag, obtains the threaded file name of module connection Claim, using the threaded file title construct module link information, the module link information include module name list, partially Shifting amount and control chip information, and it is sent to Kernel;
105, Kernel transparent transmissions module link information is to Shell;
106, Shell parses the module link information, obtains module name list, by module name list, beats respectively Packet module parameter read requests, are sent to Kernel;
107, Kernel dispatches module parameter read requests packet to configuration driven module;
108, configuration driven module parses module parameter read requests packet, obtains module title, and structure is configured by module title Modeling group parameter, and it is sent to Kernel, the module parameter includes constant current chip name and coding chip name;
109, Kernel transparent transmissions module parameter information is to Shell;
110, Shell parses the module 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 bag and is driven to each constant current chip;
112, each constant current chip driving parsing constant current chip driver' s timing generates request bag, obtains construction constant current chip sequential Required parameter, according to the parametric configuration constant current chip timing information needed for construction constant current chip sequential, 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 module parameter information of the constant current chip timing information of Shell analyzing steps 113 and step 109, obtains structure The parameter needed for coding chip sequential is made, the parameter needed for construction coding chip sequential, which is packaged as the generation of coding chip sequential, asks Packet is sought, and is sent to Kernel;
115, Kernel dispatches coding chip sequential generation request bag and is driven to coding chip;
116, coding chip driving parsing coding chip sequential generates request bag, obtains the parameter needed for construction sequential, presses These parametric configuration coding chip timing informations, and transmit to Kernel;
117, Kernel transparent transmissions coding chip timing information is to Shell;
118, the parameter of Shell parsings UI issues request, obtains parameter needed for control chip structure sequential, will control chip Construct the constant current that parameter needed for sequential merges the module parameter information, step 113 of the module link information of step 105, step 109 The coding chip timing information of chip timing information and step 117, construction control chip sequential generate request, are issued to Kernel;
119, the control chip sequential is generated request and passes through control chip drives by Kernel;
120, the parsing of control chip drives controls chip sequential and generates request, obtains control chip sequential and generates required ginseng Number generates required parametric configuration by control chip sequential and controls chip time sequence parameter, and is 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 transmissions 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 flow completion parameter and issues work, is mainly used for changing the control parameter of current platform, influence Final display effect;All physical operations that the parameter reads flow are carried out in operation layer interface Shell levels;In described The groundwork of stratum nucleare Kernel processing scheduling, daily record;The constant current chip control display row, the coding chip control are changed Row;The control chip, processing input and output store data;
This method realizes driving in the form of software, changes the mould that can only have hardware programming by LED display controls over Formula becomes software programming pattern, realizes separation of software and hardware, truly accomplishes that software development prior to hardware, realizes module 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 dismounting;Its It is versatile, constant current chip driving, the coding chip driving of 99% or more general market can be covered;This method operates network Change, in same LAN, 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 type computer programming language is supported to carry out software development.
The control method of the cross-platform displays of LED further includes parameter acquiring flow, 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, use the threaded file name Claim, construction reads link information request bag, is sent to Kernel;;
203, Kernel dispatches the link information request bag to configuration driven module;
204, configuration driven module parses the link information request bag, constructs module link information, and be sent to Kernel, the module link information include module name list, offset and control chip information;
205, Kernel transparent transmissions module link information is to Shell;
206, Shell parses the module link information, obtains module name list, constructs module load request, sends To Kernel;
207, Kernel is by module load request packet scheduling to configuration driven module;
208, configuration driven parses the module load request packet, module name list is obtained, by the module name column Table loads module parameter, the module parameter is packaged, and be sent to Kernel, the module parameter includes constant current chip Name, coding chip name;
209, module parameter described in Kernel transparent transmissions is to Shell;
210, Shell parses the module 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 is driven 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 transmissions control chip return parameters packet to Shell;
218, Shell is by the constant current chip of the module link information of step 205, the module 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 flow and completes parameter read work, mainly completes the acquisition of current platform state, parameter information, It is conveniently operated the analysis of personnel, changes corresponding display parameters;
The constant current chip driving and coding chip driving, their control flow include the following steps:
301, it 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 sequential;
304, by the final register value for generating sequential and using, register is updated;
305, output specification is pressed, receipt is collected and exports specified json files 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, sequential partial sum register Partial information is shown for being handed down to hardware, driving LED module.
The control flow of the configuration driven includes the following steps:
401, it 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, according to above-mentioned parameter packet, construction hardware data packet is issued to hardware;
404, by the final register value for generating sequential and using, register is updated;
405, output specification is pressed, receipt is collected and exports specified json files to Kernel.
Advantage of the invention is that:Compared with the prior art, in the present invention, this method realizes in the form of software Driving, changes the pattern that can only have hardware programming by LED display controls over, becomes software programming pattern, 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, and architecturally support module are connect, driving does not program dismounting;Its is versatile, can cover 99% or more general market Constant current chip driving, coding chip driving;This method operates networking, in same LAN, 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 type computer programming language is supported to carry out software development.
Description of the drawings
Fig. 1 be the cross-platform displays of LED of the present invention control method in control parameter issue the flow chart of flow.
Fig. 2 be the cross-platform displays of LED of the present invention control method in parameter acquiring flow flow chart.
Fig. 3 be the cross-platform displays of LED of the present invention control method in constant current chip driving and coding chip driving control Flow chart.
Fig. 4 be the cross-platform displays of LED of the present invention control method in configuration driven control flow chart.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be 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 displays of LED, this method can be to entirely showing Any one of control link is adjusted, and from interface to driving, can directly participate in;And support module on framework, driving Dismounting is not programmed.
Another object of the present invention is to provide a kind of versatile, can cover the perseverance of 99% or more general market Flow chip drives, coding chip driving.
To achieve the above object, technical scheme is as follows.
Referring to shown in Fig. 1-3, the present invention provides a kind of control method of the cross-platform displays of LED, and this method includes that control is joined Number issues flow, is as follows:
101, UI layers of initiation parameter issue request;
102, Shell analyzes parameter and issues request, obtains threaded file title, and the company of reading is constructed using threaded file title Information request is connect, Kernel is sent to;
103, Kernel scheduling reads link information request bag to configuration driven module;
104, link information request bag is read in configuration driven module parsing, is obtained the threaded file title of module connection, is made Module link information is constructed with threaded file title, module link information includes module name list, offset and control core Piece information, and it is sent to Kernel;
105, Kernel transparent transmissions module link information is to Shell;
106, Shell parses module link information, obtains module name list, by module name list, is packaged mould respectively Group parameter read requests, are sent to Kernel;
107, Kernel dispatches module parameter read requests packet to configuration driven module;
108, configuration driven module parses module parameter read requests packet, obtains module title, and structure is configured by module title Modeling group parameter, and it is sent to Kernel, module parameter includes constant current chip name and coding chip name;
109, Kernel transparent transmissions module parameter information is to Shell;
110, Shell parses module parameter information, obtains constant current chip name list, by constant current chip title, is packaged permanent It flows chip drives sequential and generates request, be sent to Kennel;
111, Kernel dispatches constant current chip driver' s timing generation request bag and is driven to each constant current chip;
112, each constant current chip driving parsing constant current chip driver' s timing generates request bag, obtains construction constant current chip sequential Required parameter, according to the parametric configuration constant current chip timing information needed for construction constant current chip sequential, 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 module parameter information of the constant current chip timing information of Shell analyzing steps 113 and step 109, obtains structure The parameter needed for coding chip sequential is made, the parameter needed for construction coding chip sequential, which is packaged as the generation of coding chip sequential, asks Packet is sought, and is sent to Kernel;
115, Kernel dispatches coding chip sequential generation request bag and is driven to coding chip;
116, coding chip driving parsing coding chip sequential generates request bag, obtains the parameter needed for construction sequential, presses These parametric configuration coding chip timing informations, and transmit to Kernel;
117, Kernel transparent transmissions coding chip timing information is to Shell;
118, the parameter of Shell parsings UI issues request, obtains parameter needed for control chip structure sequential, will control chip Construct the constant current that parameter needed for sequential merges the module parameter information, step 113 of the module link information of step 105, step 109 The coding chip timing information of chip timing information and step 117, construction control chip sequential generate request, are issued to Kernel;
119, Kernel will control the generation request of chip sequential and pass through control chip drives;
120, the parsing of control chip drives controls chip sequential and generates request, obtains control chip sequential and generates required ginseng Number generates required parametric configuration by control chip sequential and controls chip time sequence parameter, and is 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 transmissions 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 flow completion parameter and issues work, is mainly used for changing the control parameter of current platform, influence final Display effect;All physical operations that parameter reads flow are carried out in operation layer interface Shell levels;At inner nuclear layer Kernel The groundwork of reason scheduling, daily record;Constant current chip control display row, coding chip control line feed;Chip is controlled, processing input is defeated Go out to store data;
This method realizes driving in the form of software, changes the mould that can only have hardware programming by LED display controls over Formula becomes software programming pattern, realizes separation of software and hardware, truly accomplishes that software development prior to hardware, realizes module 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 dismounting;Its It is versatile, constant current chip driving, the coding chip driving of 99% or more general market can be covered;This method operates network Change, in same LAN, 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 type computer programming language is supported to carry out software development.
The control method of the cross-platform displays of the LED further includes parameter acquiring flow, is as follows:
201, parameter is read in UI layers of initiation please take request;
202, parameter is read in Shell analyses please take request, obtain threaded file title, use threaded file title, construction Link information request bag is read, Kernel is sent to;;
203, Kernel dispatches link information request bag to configuration driven module;
204, configuration driven module parses link information request bag, constructs module link information, and be sent to Kernel, mould Group link information includes module name list, offset and control chip information;
205, Kernel transparent transmissions module link information is to Shell;
206, Shell parses module link information, obtains module name list, constructs module load request, is sent to Kernel;
207, Kernel is by module load request packet scheduling to configuration driven module;
208, configuration driven parses module load request packet, obtains module name list, and mould is loaded by module name list Group parameter, module parameter is packaged, and be sent to Kernel, module parameter includes constant current chip name, coding chip name;
209, Kernel transparent transmissions module parameter is to Shell;
210, Shell parses module 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 and read parameter request packet and coding chip read requests packet, concurrently respectively It is sent to Kennel;
211, Kernel dispatches constant current chip reading parameter request packet and is driven to each constant current chip, and scheduling coding chip is read Request bag 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 controllings 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 transmissions control chip return parameters packet to Shell;
218, Shell is by the constant current chip of the module link information of step 205, the module 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 flow and completes parameter read work, and the main acquisition for completing current platform state, parameter information is convenient Corresponding display parameters are changed in the analysis of operating personnel;
Constant current chip drives and coding chip driving, their control flow include the following steps:
301, it 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 sequential;
304, by the final register value for generating sequential and using, register is updated;
305, output specification is pressed, receipt is collected and exports specified json files to Kernel.
Constant current chip drives and the control flow of 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, sequential partial sum register part Information for being handed down to hardware, driving LED module is shown.
The control flow of configuration driven includes the following steps:
401, it 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, according to above-mentioned parameter packet, construction hardware data packet is issued to hardware;
404, by the final register value for generating sequential and using, register is updated;
405, output specification is pressed, receipt is collected and exports specified json files to Kernel.
Advantage of the invention is that:Compared with the prior art, in the present invention, this method realizes in the form of software Driving, changes the pattern that can only have hardware programming by LED display controls over, becomes software programming pattern, 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, and architecturally support module are connect, driving does not program dismounting;Its is versatile, can cover 99% or more general market Constant current chip driving, coding chip driving;This method operates networking, in same LAN, 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 type 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 the present invention spirit and All any modification, equivalent and improvement made by within principle etc., should all be included in the protection scope of the present invention.

Claims (4)

1. a kind of control method of the cross-platform displays of LED, this method includes that control parameter issues flow, which is characterized in that institute It states control parameter and issues flow and be 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 bag is taken, Kernel is sent to;
103, Kernel dispatches the reading link information request bag to configuration driven module;
104, configuration driven module parses the reading link information request bag, obtains the threaded file title of module connection, makes Module link information is constructed with the threaded file title, the module link information includes module name list, offset With control chip information, and it is sent to Kernel;
105, Kernel transparent transmissions module link information is to Shell;
106, Shell parses the module link information, obtains module name list, by module name list, is packaged mould respectively Group parameter read requests, are sent to Kernel;
107, Kernel dispatches module parameter read requests packet to configuration driven module;
108, configuration driven module parses module parameter read requests packet, module title is obtained, by module title arrangement mould Group parameter, and it is sent to Kernel, the module parameter includes constant current chip name and coding chip name;
109, Kernel transparent transmissions module parameter information is to Shell;
110, Shell parses the module parameter information, obtains constant current chip name list, by constant current chip title, is packaged permanent It flows chip drives sequential and generates request, be sent to Kennel;
111, Kernel dispatches constant current chip driver' s timing generation request bag and is driven to each constant current chip;
112, each constant current chip driving parsing constant current chip driver' s timing generates request bag, obtains needed for construction constant current chip sequential Parameter, according to the parametric configuration constant current chip timing information needed for construction constant current chip sequential, 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 module parameter information of the constant current chip timing information of Shell analyzing steps 113 and step 109 obtains construction and translates Parameter needed for construction coding chip sequential is packaged as coding chip sequential and generates request by the parameter needed for code chip sequential Packet, and it is sent to Kernel;
115, Kernel dispatches coding chip sequential generation request bag and is driven to coding chip;
116, coding chip driving parsing coding chip sequential generates request bag, the parameter needed for construction sequential is obtained, by these Parametric configuration coding chip timing information, and transmit to Kernel;
117, Kernel transparent transmissions coding chip timing information is to Shell;
118, the parameter of Shell parsings UI issues request, obtains parameter needed for control chip structure sequential, will control chip structure The constant current chip of the parameter merging module link information of step 105, the module parameter information of step 109, step 113 needed for sequential The coding chip timing information of timing information and step 117, construction control chip sequential generate request, are issued to Kernel;
119, the control chip sequential is generated request and passes through control chip drives by Kernel;
120, the parsing of control chip drives controls chip sequential and generates request, obtains control chip sequential and generates required parameter, presses It controls chip sequential and generates required parametric configuration control 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 transmissions 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 flow completion parameter and issues work, is mainly used for changing the control parameter of current platform, influence final Display effect;All physical operations that the parameter reads flow are carried out in operation layer interface Shell levels;The inner nuclear layer The groundwork of Kernel processing scheduling, daily record;The constant current chip control display row, the coding chip control line feed;Institute Control chip is stated, processing input and output store data.
2. the control method of the cross-platform displays of LED as described in claim 1, which is characterized in that the cross-platform displays of LED Control method further includes having parameter acquiring flow, and the parameter acquiring flow 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 bag, is sent to Kernel;;
203, Kernel dispatches the link information request bag to configuration driven module;
204, configuration driven module parses the link information request bag, constructs module link information, and be sent to Kernel, institute It includes module name list, offset and control chip information to state module link information;
205, Kernel transparent transmissions module link information is to Shell;
206, Shell parses the module link information, obtains module name list, constructs module load request, is sent to Kernel;
207, Kernel is by module load request packet scheduling to configuration driven module;
208, configuration driven parses the module load request packet, obtains module name list, adds by the module name list Module parameter is carried, the module parameter is packaged, and be sent to Kernel, the module parameter includes constant current chip name, is translated Code chip name;
209, module parameter described in Kernel transparent transmissions is to Shell;
210, Shell parses the module 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 is driven 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 transmissions control chip return parameters packet to Shell;
218, Shell drives the constant current chip of the module link information of step 205, the module 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 flow and completes parameter read work, and the main acquisition for completing current platform state, parameter information is convenient Corresponding display parameters are changed in the analysis of operating personnel.
3. the control method of the cross-platform displays of LED as claimed in claim 1 or 2, which is characterized in that the constant current chip driving It is driven with coding chip, their control flow includes the following steps:
301, it 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 sequential;
304, by the final register value for generating sequential and using, register is updated;
305, output specification is pressed, receipt is collected and exports specified json files 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, sequential partial sum register part Information for being handed down to hardware, driving LED module is shown.
4. the control method of the cross-platform displays of LED as claimed in claim 1 or 2, which is characterized in that the control of the configuration driven Flow processed includes the following steps:
401, it 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, according to above-mentioned parameter packet, construction hardware data packet is issued to hardware;
404, by the final register value for generating sequential and using, register is updated;
405, output specification is pressed, receipt is collected and exports specified json files to Kernel.
CN201810448336.2A 2018-05-11 2018-05-11 The control method of the cross-platform display of LED Active CN108615500B (en)

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 true CN108615500A (en) 2018-10-02
CN108615500B 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 (14)

* Cited by examiner, † Cited by third party
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
US20080295114A1 (en) * 2007-05-07 2008-11-27 Pramod Vasant Argade Method and apparatus for execution control of computer programs
US20090049139A1 (en) * 2007-08-17 2009-02-19 Meli Henri Fouotsop Method to Send Related Information to Indirect Email Recipients
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
US20160165285A1 (en) * 2013-06-26 2016-06-09 Vodoke Asia Pacific Limited System and method for delivering content to a display screen
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

Patent Citations (14)

* Cited by examiner, † Cited by third party
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
US20080295114A1 (en) * 2007-05-07 2008-11-27 Pramod Vasant Argade Method and apparatus for execution control of computer programs
US20090049139A1 (en) * 2007-08-17 2009-02-19 Meli Henri Fouotsop Method to Send Related Information to Indirect Email Recipients
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)
US20160165285A1 (en) * 2013-06-26 2016-06-09 Vodoke Asia Pacific Limited System and method for delivering content to a display screen
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
CN108615500B (en) 2019-12-03

Similar Documents

Publication Publication Date Title
CN110764753B (en) Business logic code generation method, device, equipment and storage medium
CN107608889B (en) Method and system for automatically generating test script
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
CN104484558B (en) The analysis report automatic generation method and system of biological information project
CN104778033B (en) The construction method and device of a kind of building software
CN114424257A (en) Automatic rendering and extraction of form data using machine learning
CN104572072A (en) MVC (model view controller) mode-based language transformation method and equipment for program
CN112270149A (en) Verification platform automation integration method and system, electronic equipment and storage medium
CN107148615A (en) Computer executable model reverse engineering approach and device
CN110349653A (en) Display methods, equipment and the storage medium of image analysing computer data
CN105739481B (en) The test method of industrial control software, apparatus and system
CN114153442A (en) Large-screen visualization page configuration method and system based on visualization component
CN108615500B (en) The control method of the cross-platform display of LED
CN107040818B (en) Layout analytic hierarchy process method and system for Android TV
Demchenko et al. Experimental Research Reproducibility and Experiment Workflow Management
CN113505054A (en) Network data static test system and test method for unmanned aerial vehicle control station
CN106991191A (en) Commodity screening technique and device, storage medium, electronic equipment
CN106933763A (en) Data processing method and device
CN109857576A (en) RPC interface call method and device
CN111324323A (en) Multi-screen display control method and device, embedded processing system and video controller
CN111176624B (en) Method and device for generating stream type calculation index
CN115934572A (en) Vehicle control module testing method and system, computer equipment and storage medium
CN107215479B (en) General data processing framework of flight simulator and construction method thereof
CN114676104A (en) Log generation method and device

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