[go: up one dir, main page]

CN102637406B - LED (light emitting diode) display design system and method - Google Patents

LED (light emitting diode) display design system and method Download PDF

Info

Publication number
CN102637406B
CN102637406B CN201210044810.8A CN201210044810A CN102637406B CN 102637406 B CN102637406 B CN 102637406B CN 201210044810 A CN201210044810 A CN 201210044810A CN 102637406 B CN102637406 B CN 102637406B
Authority
CN
China
Prior art keywords
led
control card
display
data
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210044810.8A
Other languages
Chinese (zh)
Other versions
CN102637406A (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.)
Jiangsu Haibao Zhizhuang Science and Technology Co.,Ltd.
Original Assignee
JIANGSU HIBAO SOFTWARE 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 JIANGSU HIBAO SOFTWARE CO Ltd filed Critical JIANGSU HIBAO SOFTWARE CO Ltd
Priority to CN201210044810.8A priority Critical patent/CN102637406B/en
Publication of CN102637406A publication Critical patent/CN102637406A/en
Application granted granted Critical
Publication of CN102637406B publication Critical patent/CN102637406B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

本发明揭示了一种LED显示设计系统及方法,所述系统包括:前台界面管理子系统、后台显示控制子系统。所述前台界面管理子系统包括:参数模板管理模块、LED元素内容管理模块、LED控制卡管理模块、LED数据处理综合模块、LED屏幕模板界面。所述后台显示控制子系统包括:LED数据库、参数模板、LED屏幕模板、LED控制卡管理模块、LED适配器、若干LED驱动模块。本发明提出的LED显示设计系统及方法,解决了不同MES客户对于不同的LED屏幕显示内容进行个性化定义。让用户根据MES软件提供的参数模板去布局屏幕显示文本、图片、表格等内容,并可以控制指定的屏幕,发送屏幕信息的功能。

The invention discloses an LED display design system and method. The system includes: a front interface management subsystem and a background display control subsystem. The foreground interface management subsystem includes: a parameter template management module, an LED element content management module, an LED control card management module, an LED data processing comprehensive module, and an LED screen template interface. The background display control subsystem includes: LED database, parameter template, LED screen template, LED control card management module, LED adapter, and several LED driver modules. The LED display design system and method proposed by the present invention solve the problem of individualized definition of different LED screen display contents by different MES customers. Let the user layout the screen display text, pictures, tables and other content according to the parameter template provided by the MES software, and can control the specified screen and send the screen information.

Description

一种LED显示设计系统及方法A LED display design system and method

技术领域 technical field

本发明属于LED设计技术领域,涉及一种LED设计系统,尤其涉及一种LED在线显示设计系统;同时,本发明还涉及上述LED显示设计系统的设计方法。The invention belongs to the technical field of LED design, and relates to an LED design system, in particular to an LED online display design system; meanwhile, the invention also relates to a design method of the LED display design system.

背景技术 Background technique

目前,市面上拥有的LED控制卡类型和对应的设计器非常的繁多,且与各种应用系统之间是孤立的,而不同的MES客户拥有的LED显示屏种类也是多样的,有串口的、并口的,还有网口的。现有的各类LED控制卡无法与应用系统做到有效结合。At present, there are many types of LED control cards and corresponding designers on the market, and they are isolated from various application systems. Different MES customers have various types of LED displays, such as serial ports, Parallel port, and network port. Existing various LED control cards cannot be effectively combined with the application system.

如,中国专利CN 200810187618.8涉及一种LED显示屏显示控制装置,该装置时钟控制模块控制和产生所需要的时钟;输入控制模块将输入的数据位宽转换为存储器的位宽,从输入的数据或者时钟里解码出同步信号;重建与数据同步的时钟;存储器控制模块控制对存储器的读写操作;校正模块将接收到的数据进行算法处理后通过存储体控制模块交替写入第一存储体和第二存储体,同时输出控制模块交替读出第二存储体和第一存储体的数据并将读出的数据输出到LED灯板。For example, Chinese patent CN 200810187618.8 relates to a LED display control device, the clock control module of the device controls and generates the required clock; the input control module converts the input data bit width into the bit width of the memory, from the input data or The synchronization signal is decoded from the clock; the clock synchronized with the data is reconstructed; the memory control module controls the read and write operations to the memory; Two storage banks, while the output control module alternately reads the data of the second storage bank and the first storage bank and outputs the read data to the LED light board.

再如,中国专利CN 200910088771.X公开了一种LED显示控制系统,包括控制装置和显示装置;显示装置包括至少两LED模块,每一LED模块包括至少三种颜色的LED发光二极管,各LED模块的显色区域相同;每一LED模块中,相同颜色的各LED发光二极管为同一分选档及其相邻分选档的LED发光二极管;所述显示装置还设置至少两标识单元,与各LED模块一一对应;所述控制装置设置处理模块和控制模块;所述处理模块设置一对外接口,用于通过所述对外接口获取外部信息,根据所述信息,生成所述显示装置中各LED发光二极管的显示数据;所述控制模块与所述显示装置相连接,用于根据所述显示数据,控制所述显示装置。For another example, Chinese patent CN 200910088771.X discloses a LED display control system, including a control device and a display device; the display device includes at least two LED modules, each LED module includes LED light-emitting diodes of at least three colors, and each LED module The color rendering area is the same; in each LED module, each LED light-emitting diode of the same color is the LED light-emitting diode of the same sorting file and its adjacent sorting file; the display device is also provided with at least two identification units, and each LED One-to-one correspondence between modules; the control device is provided with a processing module and a control module; the processing module is provided with a pair of external interfaces for obtaining external information through the external interface, and generating light for each LED in the display device according to the information The display data of the diode; the control module is connected with the display device, and is used to control the display device according to the display data.

上述两个技术方案均没有实现各种通信协议的LED控制卡与应用系统的无缝结合。Both of the above two technical solutions fail to realize the seamless integration of LED control cards with various communication protocols and application systems.

为了快速便捷的解决用户需求,把拥有各种通信协议的LED控制卡与应用系统无缝结合是迫切需要解决的问题,本发明的主要目的也是为了解决这个问题。In order to quickly and conveniently solve the user's needs, it is an urgent problem to be solved to seamlessly integrate the LED control card with various communication protocols with the application system, and the main purpose of the present invention is also to solve this problem.

发明内容 Contents of the invention

本发明所要解决的技术问题是:提供一种LED显示设计系统,可实现不同用户对于不同的LED屏幕显示内容进行个性化定义。The technical problem to be solved by the present invention is to provide an LED display design system, which can realize personalized definition for different users on different LED screen display contents.

此外,本发明还提供一种LED显示设计方法,可实现不同用户对于不同的LED屏幕显示内容进行个性化定义。In addition, the present invention also provides an LED display design method, which can realize personalized definition of different LED screen display contents by different users.

为解决上述技术问题,本发明采用如下技术方案:In order to solve the problems of the technologies described above, the present invention adopts the following technical solutions:

一种LED显示设计系统,所述系统包括:前台界面管理子系统、后台显示控制子系统;A LED display design system, said system comprising: a front interface management subsystem, a background display control subsystem;

所述前台界面管理子系统包括:The foreground interface management subsystem includes:

-参数模板管理模块,用以负责加载LED参数模板,实现参数数据集合管理功能;为LED元素内容管理模块提供数据服务;- The parameter template management module is responsible for loading LED parameter templates to realize the parameter data collection management function; provide data services for the LED element content management module;

-LED元素内容管理模块,用以负责界面上所有LED显示元素的数据结构的定义、样式参数的指定;与LED数据处理综合模块双向关联;-LED element content management module, which is responsible for the definition of the data structure of all LED display elements on the interface and the specification of style parameters; it is bidirectionally associated with the LED data processing comprehensive module;

-LED控制卡管理模块,用以负责定义LED控制卡的大小参数、硬件通信方式、通信地址数据信息的管理;与LED数据处理综合模块双向关联;- LED control card management module, which is responsible for defining the size parameters of the LED control card, hardware communication mode, and management of communication address data information; it is bidirectionally associated with the LED data processing comprehensive module;

-LED数据处理综合模块,用以负责LED显示视图的刷新,LED元素布局的实时控制,控制卡数据及元素数据的读取、更新管理工作;- LED data processing integrated module, which is responsible for refreshing LED display view, real-time control of LED element layout, reading and updating management of control card data and element data;

-LED屏幕模板界面,用以模拟的LED屏幕界面,根据设计数据信息,如实的表现最终设计效果;- LED screen template interface, used to simulate the LED screen interface, according to the design data information, faithfully express the final design effect;

所述后台显示控制子系统包括:The background display control subsystem includes:

-LED数据库,用以存储LED屏幕需要显示的数据;-LED database, used to store the data to be displayed on the LED screen;

-参数模板,用以定义LED数据源加载样式,使其有格式化的被LED控制卡加载;- The parameter template is used to define the loading style of the LED data source, so that it can be loaded by the LED control card in a formatted manner;

-LED屏幕模板,用以定义LED显示器显示的样式,以及每种显示对象所对应的参数;-LED screen template, used to define the display style of the LED display and the parameters corresponding to each display object;

-LED控制卡管理模块,用以负责定义LED控制卡的大小参数,以及管理硬件通信方式、通信地址数据信息,为LED适配器服务;-LED control card management module, which is responsible for defining the size parameters of the LED control card, and managing hardware communication methods, communication address data information, and serving the LED adapter;

-LED适配器,用以根据LED控制卡提供的参数信息和驱动信息定义该控制卡的适配器,通过JNI技术把LED数据转换成LED控制卡所识别的通信息协议发送给LED屏幕;- LED adapter, which is used to define the adapter of the control card according to the parameter information and driving information provided by the LED control card, and convert the LED data into the communication protocol recognized by the LED control card through JNI technology and send it to the LED screen;

-若干LED驱动模块,连接LED适配器及LED屏幕,用以向所对应的LED控制卡发送显示数据。-Several LED driver modules are connected to LED adapters and LED screens to send display data to corresponding LED control cards.

作为本发明的一种优选方案,所述LED数据库为关系型数据库,或者为文本数据源。As a preferred solution of the present invention, the LED database is a relational database, or a text data source.

作为本发明的一种优选方案,所述参数模板管理模块生成参树模板结构树组件的流程包括:As a preferred solution of the present invention, the process of generating the reference tree template structure tree component by the parameter template management module includes:

步骤S111、解析LED参数模板XML,遍历模板中的参数类数据集和明细类数据集;Step S111, parsing the LED parameter template XML, traversing the parameter data set and detail data set in the template;

步骤S112、将参数数据集和明细数据集进行JAVA对象实例化,存入对应的JAVA对象中;Step S112, instantiate the parameter data set and the detail data set as JAVA objects, and store them in the corresponding JAVA objects;

步骤S113、在Action中将实例化好的参数JAVA对象,通过JSON对象解析器翻译成字符串对象,然后将字符串返回用户请求页面;Step S113, in the Action, translate the instantiated parameter JAVA object into a character string object through the JSON object parser, and then return the character string to the page requested by the user;

步骤S114、JSP中的JavaScript脚本中,通过ExtJS中的字符串解析工具方法,将从Action中接收的字符信息翻译成JS可识别的JSON对象信息;Step S114, in the JavaScript script in the JSP, the character information received from the Action is translated into JSON object information recognizable by JS through the string analysis tool method in ExtJS;

步骤S115、JSON对象信息包装成可供用户操作的树状节点。Step S115, the JSON object information is packaged into a tree node that can be operated by the user.

作为本发明的一种优选方案,所述LED数据处理综合模块的实现过程如下:As a preferred solution of the present invention, the realization process of the integrated LED data processing module is as follows:

首先从数据库中读取出控制卡、LED元素的数据信息,将其转化成相应的JAVA和JSON对象;在前台页面中,首先根据控制卡的数量初始化对应的工作区域面板Panel,将实例化好的面板对象注册到全局视图当中去,供以后其它函数快速调用;First read the data information of the control card and LED elements from the database, and convert them into corresponding JAVA and JSON objects; on the front page, first initialize the corresponding working area Panel according to the number of control cards, and instantiate Register the panel object in the global view for quick calling of other functions in the future;

然后在生成的面板中增加一个画布对象Canvas,这个对象的属性信息是按照控制卡数据属性字段,一一对应而来的,而后,在控制卡结构树中,新增一个树叶节点,将该节点的点击事件与面板、画布建立起对应关系,暨将控制卡进行注册处理;Then add a canvas object Canvas in the generated panel. The attribute information of this object is one-to-one correspondence according to the control card data attribute field. Then, in the control card structure tree, add a new leaf node, and the node The corresponding relationship between the click event and the panel and the canvas is established, and the control card is registered and processed;

最后循环遍历当前控制卡所有LED元素数据,根据元素类型的不同,分别调用对应的对象绘图方法,控制其显示位置、样式内容,同时在LED结构树中,增加树叶节点,这与注册控制卡的方法类似;Finally, loop through all the LED element data of the current control card, call the corresponding object drawing method according to the different element types, control its display position, style content, and add leaf nodes in the LED structure tree, which is the same as that of the registered control card. The method is similar;

如果没有未绘图的LED元素,则完成一个控制卡的加载过程。If there are no undrawn LED elements, complete a control card loading process.

作为本发明的一种优选方案,所述系统的软件界面划分成6个区域,包括:As a preferred solution of the present invention, the software interface of the system is divided into 6 areas, including:

第一区域,作为LED参数模板树显示区域,用来加载并显示可用的模板字段信息;The first area, as the LED parameter template tree display area, is used to load and display available template field information;

第二区域,作为LED控制卡结构树显示区域,用来显示控制卡及其包含的元素信息;The second area, as the LED control card structure tree display area, is used to display the control card and its contained element information;

第三区域,作为工具栏按钮区域,放置相应的功能按钮;The third area, as the toolbar button area, places the corresponding function buttons;

第四区域,作为主工作区域,支持多个Tab设计绘图板的显示容器;The fourth area, as the main work area, supports display containers for multiple Tab design drawing boards;

第五区域,作为提示信息区域,提示消息可以显示在这个部分;The fifth area, as a prompt information area, prompt messages can be displayed in this part;

第六区域,作为对象属性区域,用来显示、编辑控制卡或LED元素的属性项目。The sixth area, as the object attribute area, is used to display and edit the attribute items of the control card or LED element.

一种上述LED显示设计系统的设计方法,所述方法包括前台界面管理流程、后台显示控制流程;A design method of the above-mentioned LED display design system, said method comprising a front-end interface management process and a background display control process;

所述前台界面管理流程包括:The front-end interface management process includes:

-参数模板管理步骤,加载LED参数模板,实现参数数据集合管理功能;为LED元素内容管理模块提供数据服务;- The parameter template management step is to load the LED parameter template to realize the parameter data collection management function; provide data services for the LED element content management module;

-LED元素内容管理步骤,定义界面上所有LED显示元素的数据结构,指定样式参数;- LED element content management step, define the data structure of all LED display elements on the interface, and specify style parameters;

-LED控制卡管理步骤,定义LED控制卡的大小参数、硬件通信方式、通信地址数据信息的管理;- LED control card management steps, define the size parameters of the LED control card, hardware communication mode, management of communication address data information;

-LED数据处理步骤,刷新LED显示视图,实时控制LED元素布局,控制卡数据及元素数据的读取、更新管理工作;- LED data processing steps, refresh LED display view, real-time control LED element layout, control card data and element data reading, update management;

-LED屏幕模板模拟显示步骤,模拟的LED屏幕界面,根据设计数据信息,如实的表现最终设计效果;- LED screen template simulation display steps, simulated LED screen interface, according to the design data information, faithfully express the final design effect;

所述后台显示控制流程包括:The background display control process includes:

-参数模板设定步骤,定义LED数据源加载样式,使其有格式化的被LED控制卡加载;- The parameter template setting step defines the loading style of the LED data source so that it is formatted and loaded by the LED control card;

-LED屏幕模板设定步骤,定义LED显示器显示的样式,以及每种显示对象所对应的参数;- LED screen template setting steps to define the display style of the LED display and the parameters corresponding to each display object;

-LED控制卡管理步骤,定义LED控制卡的大小参数,以及管理硬件通信方式、通信地址数据信息,为LED适配器服务;- LED control card management steps, define the size parameters of the LED control card, and manage hardware communication methods, communication address data information, and serve the LED adapter;

-LED适配器根据LED控制卡提供的参数信息和驱动信息定义该控制卡的适配器,通过JNI技术把LED数据转换成LED控制卡所识别的通信息协议发送给LED屏幕;-The LED adapter defines the adapter of the control card according to the parameter information and driving information provided by the LED control card, and converts the LED data into the communication protocol recognized by the LED control card through JNI technology and sends it to the LED screen;

-若干LED驱动模块向所对应的LED控制卡发送显示数据。-Several LED driver modules send display data to corresponding LED control cards.

作为本发明的一种优选方案,所述系统的软件界面划分成6个区域,包括:As a preferred solution of the present invention, the software interface of the system is divided into 6 areas, including:

第一区域,作为LED参数模板树显示区域,用来加载并显示可用的模板字段信息;The first area, as the LED parameter template tree display area, is used to load and display available template field information;

第二区域,作为LED控制卡结构树显示区域,用来显示控制卡及其包含的元素信息;The second area, as the LED control card structure tree display area, is used to display the control card and its contained element information;

第三区域,作为工具栏按钮区域,放置相应的功能按钮;The third area, as the toolbar button area, places the corresponding function buttons;

第四区域,作为主工作区域,支持多个Tab设计绘图板的显示容器;The fourth area, as the main work area, supports display containers for multiple Tab design drawing boards;

第五区域,作为提示信息区域,提示消息可以显示在这个部分;The fifth area, as a prompt information area, prompt messages can be displayed in this part;

第六区域,作为对象属性区域,用来显示、编辑控制卡或LED元素的属性项目。The sixth area, as the object attribute area, is used to display and edit the attribute items of the control card or LED element.

作为本发明的一种优选方案,所述参数模板管理步骤的流程包括:As a preferred solution of the present invention, the procedure of the parameter template management step includes:

步骤S111、解析LED参数模板XML,遍历模板中的参数类数据集和明细类数据集;Step S111, parsing the LED parameter template XML, traversing the parameter data set and detail data set in the template;

步骤S112、将参数数据集和明细数据集进行JAVA对象实例化,存入对应的JAVA对象中;Step S112, instantiate the parameter data set and the detail data set as JAVA objects, and store them in the corresponding JAVA objects;

步骤S113、在Action中将实例化好的参数JAVA对象,通过JSON对象解析器翻译成字符串对象,然后将字符串返回用户请求页面;Step S113, in the Action, translate the instantiated parameter JAVA object into a character string object through the JSON object parser, and then return the character string to the page requested by the user;

步骤S114、JSP中的JavaScript脚本中,通过ExtJS中的字符串解析工具方法,将从Action中接收的字符信息翻译成JS可识别的JSON对象信息;Step S114, in the JavaScript script in the JSP, the character information received from the Action is translated into JSON object information recognizable by JS through the string analysis tool method in ExtJS;

步骤S115、JSON对象信息包装成可供用户操作的树状节点。Step S115, the JSON object information is packaged into a tree node that can be operated by the user.

作为本发明的一种优选方案,所述LED数据处理步骤的实现过程如下:As a preferred solution of the present invention, the implementation process of the LED data processing step is as follows:

首先从数据库中读取出控制卡、LED元素的数据信息,将其转化成相应的JAVA和JSON对象;在前台页面中,首先根据控制卡的数量初始化对应的工作区域面板Panel,将实例化好的面板对象注册到全局视图当中去,供以后其它函数快速调用;First read the data information of the control card and LED elements from the database, and convert them into corresponding JAVA and JSON objects; on the front page, first initialize the corresponding working area Panel according to the number of control cards, and instantiate Register the panel object in the global view for quick calling of other functions in the future;

然后在生成的面板中增加一个画布对象Canvas,这个对象的属性信息是按照控制卡数据属性字段,一一对应而来的,而后,在控制卡结构树中,新增一个树叶节点,将该节点的点击事件与面板、画布建立起对应关系,暨将控制卡进行注册处理;Then add a canvas object Canvas in the generated panel. The attribute information of this object is one-to-one correspondence according to the control card data attribute field. Then, in the control card structure tree, add a new leaf node, and the node The corresponding relationship between the click event and the panel and the canvas is established, and the control card is registered and processed;

最后循环遍历当前控制卡所有LED元素数据,根据元素类型的不同,分别调用对应的对象绘图方法,控制其显示位置、样式内容,同时在LED结构树中,增加树叶节点,这与注册控制卡的方法类似;Finally, loop through all the LED element data of the current control card, call the corresponding object drawing method according to the different element types, control its display position, style content, and add leaf nodes in the LED structure tree, which is the same as that of the registered control card. The method is similar;

如果没有未绘图的LED元素,则完成一个控制卡的加载过程。If there are no undrawn LED elements, complete a control card loading process.

本发明的有益效果在于:本发明提出的LED显示设计系统及方法,解决了不同MES客户对于不同的LED屏幕显示内容进行个性化定义。让用户根据MES软件提供的参数模板去布局屏幕显示文本、图片、表格等内容,并可以控制指定的屏幕,发送屏幕信息的功能。The beneficial effect of the present invention is that: the LED display design system and method proposed by the present invention solve the problem of individualized definition of different LED screen display contents by different MES customers. Let the user layout the screen to display text, pictures, tables and other content according to the parameter template provided by the MES software, and can control the specified screen and send screen information.

本发明为每种型号的LED控制卡开发了一个适配器,通过模板的方式使其与应用系统进行通信,让不同MES客户对于不同的LED屏幕显示内容进行个性化定义。让用户根据MES软件提供的参数模板去布局屏幕显示文本、图片、表格等内容,并可以控制指定的屏幕,发送屏幕信息的功能。The present invention develops an adapter for each type of LED control card, communicates with the application system through a template, and allows different MES customers to personalize the display content of different LED screens. Let the user layout the screen to display text, pictures, tables and other content according to the parameter template provided by the MES software, and can control the specified screen and send screen information.

附图说明 Description of drawings

图1为本发明系统的前台界面管理子系统的组成示意图。FIG. 1 is a schematic diagram of the composition of the foreground interface management subsystem of the system of the present invention.

图2为本发明系统的后台显示控制子系统的组成示意图。Fig. 2 is a schematic diagram of the composition of the background display control subsystem of the system of the present invention.

图3为本发明系统的前台UI程序的界面布局图。Fig. 3 is an interface layout diagram of the foreground UI program of the system of the present invention.

图4为本发明参数模板管理步骤的流程图。Fig. 4 is a flow chart of the parameter template management steps of the present invention.

图5为本发明LED数据处理步骤的具体流程图。Fig. 5 is a specific flow chart of LED data processing steps in the present invention.

具体实施方式 Detailed ways

下面结合附图详细说明本发明的优选实施例。Preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

实施例一Embodiment one

本发明揭示了一种LED显示设计系统,所述系统包括:前台界面管理子系统、后台显示控制子系统。The invention discloses an LED display design system, which includes: a front interface management subsystem and a background display control subsystem.

请参阅图1,所述前台界面管理子系统包括:参数模板管理模块11、LED元素内容管理模块12、LED控制卡管理模块13、LED数据处理综合模块14、LED屏幕模板界面15。Please refer to FIG. 1 , the foreground interface management subsystem includes: parameter template management module 11 , LED element content management module 12 , LED control card management module 13 , LED data processing synthesis module 14 , and LED screen template interface 15 .

参数模板管理模块11用以负责加载LED参数模板,实现参数数据集合管理功能;为LED元素内容管理模块提供数据服务。The parameter template management module 11 is responsible for loading LED parameter templates, realizing the parameter data collection management function; providing data services for the LED element content management module.

本实施例中,请参阅图4,所述参数模板管理模块生成参树模板结构树组件的流程包括:In this embodiment, please refer to FIG. 4, the process of generating the reference tree template structure tree component by the parameter template management module includes:

步骤S111、解析LED参数模板XML,遍历模板中的参数类数据集和明细类数据集;Step S111, parsing the LED parameter template XML, traversing the parameter data set and detail data set in the template;

步骤S112、将参数数据集和明细数据集进行JAVA对象实例化,存入对应的JAVA对象中;Step S112, instantiate the parameter data set and the detail data set as JAVA objects, and store them in the corresponding JAVA objects;

步骤S113、在Action中将实例化好的参数JAVA对象,通过JSON对象解析器翻译成字符串对象,然后将字符串返回用户请求页面;Step S113, in the Action, translate the instantiated parameter JAVA object into a character string object through the JSON object parser, and then return the character string to the page requested by the user;

步骤S114、JSP中的JavaScript脚本中,通过ExtJS中的字符串解析工具方法,将从Action中接收的字符信息翻译成JS可识别的JSON对象信息;Step S114, in the JavaScript script in the JSP, the character information received from the Action is translated into JSON object information recognizable by JS through the string analysis tool method in ExtJS;

步骤S115、JSON对象信息包装成可供用户操作的树状节点。Step S115, the JSON object information is packaged into a tree node that can be operated by the user.

LED元素内容管理模块12用以负责界面上所有LED显示元素的数据结构的定义、样式参数的指定;LED元素内容管理模块12与LED数据处理综合模块14双向关联。The LED element content management module 12 is responsible for defining the data structure of all LED display elements on the interface and specifying style parameters; the LED element content management module 12 is bidirectionally associated with the LED data processing and integration module 14 .

LED控制卡管理模块13,用以负责定义LED控制卡的大小参数、硬件通信方式、通信地址数据信息的管理;LED控制卡管理模块13与LED数据处理综合模块14双向关联。The LED control card management module 13 is responsible for defining the size parameters of the LED control card, the hardware communication mode, and the management of communication address data information;

LED数据处理综合模块14用以负责LED显示视图的刷新,LED元素布局的实时控制,控制卡数据及元素数据的读取、更新管理工作。The integrated LED data processing module 14 is responsible for refreshing LED display views, real-time control of LED element layout, reading and updating management of control card data and element data.

本实施例中,请参阅图5,所述LED数据处理综合模块的实现过程如下:In this embodiment, please refer to FIG. 5, the implementation process of the LED data processing integrated module is as follows:

首先从数据库中读取出控制卡、LED元素的数据信息,将其转化成相应的JAVA和JSON对象;在前台页面中,首先根据控制卡的数量初始化对应的工作区域面板Panel,将实例化好的面板对象注册到全局视图当中去,供以后其它函数快速调用;First read the data information of the control card and LED elements from the database, and convert them into corresponding JAVA and JSON objects; on the front page, first initialize the corresponding working area Panel according to the number of control cards, and instantiate Register the panel object in the global view for quick calling of other functions in the future;

然后在生成的面板中增加一个画布对象Canvas,这个对象的属性信息是按照控制卡数据属性字段,一一对应而来的,而后,在控制卡结构树中,新增一个树叶节点,将该节点的点击事件与面板、画布建立起对应关系,暨将控制卡进行注册处理;Then add a canvas object Canvas in the generated panel. The attribute information of this object is one-to-one correspondence according to the control card data attribute field. Then, in the control card structure tree, add a new leaf node, and the node The corresponding relationship between the click event and the panel and the canvas is established, and the control card is registered and processed;

最后循环遍历当前控制卡所有LED元素数据,根据元素类型的不同,分别调用对应的对象绘图方法,控制其显示位置、样式内容,同时在LED结构树中,增加树叶节点,这与注册控制卡的方法类似;Finally, loop through all the LED element data of the current control card, call the corresponding object drawing method according to the different element types, control its display position, style content, and add leaf nodes in the LED structure tree, which is the same as that of the registered control card. The method is similar;

如果没有未绘图的LED元素,则完成一个控制卡的加载过程。If there are no undrawn LED elements, complete a control card loading process.

LED屏幕模板界面15用以模拟的LED屏幕界面,根据设计数据信息,如实的表现最终设计效果。The LED screen template interface 15 is used to simulate the LED screen interface, and faithfully express the final design effect according to the design data information.

请参阅图2,所述后台显示控制子系统包括:LED数据库21、参数模板22、LED屏幕模板23、LED控制卡管理模块24、LED适配器25、若干LED驱动模块26。Please refer to FIG. 2 , the background display control subsystem includes: LED database 21 , parameter template 22 , LED screen template 23 , LED control card management module 24 , LED adapter 25 , and several LED driver modules 26 .

LED数据库21用以存储LED屏幕需要显示的数据;LED数据库21可以是oracle、DB2、MSSQL等关系型数据库,也可以是excel、word、txt文本数据源。The LED database 21 is used to store the data to be displayed on the LED screen; the LED database 21 can be a relational database such as oracle, DB2, MSSQL, or an excel, word, txt text data source.

参数模板22用以定义LED数据源加载样式,使其有格式化的被LED控制卡加载。The parameter template 22 is used to define the loading style of the LED data source, so that it can be loaded by the LED control card in a formatted manner.

LED屏幕模板23用以定义LED显示器显示的样式,以及每种显示对象所对应的参数。The LED screen template 23 is used to define the display style of the LED display and the parameters corresponding to each display object.

LED控制卡管理模块24用以负责定义LED控制卡的大小参数,以及管理硬件通信方式、通信地址数据信息,为LED适配器服务。The LED control card management module 24 is responsible for defining the size parameters of the LED control card, and managing hardware communication methods, communication address data information, and serving the LED adapter.

LED适配器25用以根据LED控制卡提供的参数信息和驱动信息定义该控制卡的适配器,通过JNI技术把LED数据转换成LED控制卡所识别的通信息协议发送给LED屏幕。The LED adapter 25 is used to define the adapter of the control card according to the parameter information and driving information provided by the LED control card, and convert the LED data into a communication protocol recognized by the LED control card through JNI technology and send it to the LED screen.

LED适配器生成原理:在本系统中LED适配器的生成用到了一个非常关键的技术JNI,JNI是Java Native Interface(Java本地接口)的缩写。所谓本地接口,是相对运行在Java虚拟机“沙箱”中的Java程序而言的,指直接运行在操作系统之上,与操作系统直接交互的程序,它允许Java程序和用其他语言编写的程序进行交互。JNI一开始是为了Java程序与本地已编译语言,尤其是C和C++的互操作而设计的,但是这并不意味着不能使用其他语言,对于我们底层LED驱动而言它是多种多样的,需要适应各种应用平台。可以形象直观地把JNI看做是Java和本地应用程序的黏合剂。JNI规范成为沟通C语言类库及函数和Java对象之间的媒介。The principle of LED adapter generation: In this system, the generation of LED adapter uses a very key technology JNI, JNI is the abbreviation of Java Native Interface (Java local interface). The so-called local interface is relative to the Java program running in the "sandbox" of the Java virtual machine. It refers to the program that runs directly on the operating system and directly interacts with the operating system. It allows Java programs and programs written in other languages to program to interact. JNI was originally designed for the interoperability of Java programs and native compiled languages, especially C and C++, but this does not mean that other languages cannot be used. It is diverse for our underlying LED drivers. Need to adapt to various application platforms. JNI can be visually and intuitively regarded as the glue between Java and local applications. The JNI specification becomes an intermediary between C language class libraries and functions and Java objects.

有了JNI这个黏合剂那我们就很好的解决了夸平台的通信协议转换的问题。With the glue of JNI, we can solve the problem of communication protocol conversion of Kua platform very well.

若干LED驱动模块26连接LED适配器及LED屏幕(如设置在LED适配器与LED屏幕之间),用以向所对应的LED控制卡发送显示数据。A plurality of LED driver modules 26 are connected to the LED adapter and the LED screen (for example, arranged between the LED adapter and the LED screen) for sending display data to the corresponding LED control card.

LED驱动芯片优化算法:使得应用电路十分简约,周边需要的零件很少,符合低成本、工业化生产的理念。下图是典型应用电路,采用主级侧恒流技术后,次级的反馈电路不再成为电源体积和成本上的障碍,这样对于电源体积要求极为苛刻的场合带来了极大的便利。传统的光耦反馈结构还存在光耦老化和很难过安规测试的问题,对于球泡灯内部60-90℃的应用环境温度来说,可靠性的问题更成为生产厂商和客户关注的焦点。主级侧恒流技术的成熟,特别是创新的驱动电源芯片算法设计新技术,使得应用电路对变压器和电感器的某些难以质控的参数变得不敏感,对于LED照明电源和灯具厂商来说,既可方便提高产品性能,又可降低成本,是一双赢的选择。电路周边零件器件少了,但电源电路设计者对有限的器件要选用高品质的,如MOS的耐压要高,电解电容器要采用高密封性、高抗水合处理能力、高抗过载能力的,125℃10000小时的长寿命产品,以适应长期在高温环境下工作。LED driver chip optimization algorithm: makes the application circuit very simple, and few peripheral parts are needed, which is in line with the concept of low cost and industrial production. The following figure is a typical application circuit. After adopting the primary side constant current technology, the secondary feedback circuit is no longer an obstacle in terms of power supply size and cost, which brings great convenience to occasions where the power supply volume is extremely demanding. The traditional optocoupler feedback structure still has the problems of optocoupler aging and safety testing. For the application environment temperature of 60-90℃ inside the bulb lamp, the reliability problem has become the focus of attention of manufacturers and customers. The maturity of constant current technology on the primary side, especially the new technology of innovative driver chip algorithm design, makes the application circuit insensitive to some difficult-to-quality-control parameters of transformers and inductors. For LED lighting power supply and lamp manufacturers It is a win-win choice that can not only improve product performance conveniently, but also reduce costs. There are fewer parts and devices around the circuit, but power circuit designers should choose high-quality devices for limited devices, such as MOS with high withstand voltage, and electrolytic capacitors with high sealing performance, high anti-hydration ability, and high anti-overload ability. 125°C 10,000-hour long-life product to adapt to long-term work in high-temperature environments.

此外,如图3所示,所述系统的软件界面划分成6个区域,分别为:In addition, as shown in Figure 3, the software interface of the system is divided into 6 areas, which are respectively:

第一区域,作为LED参数模板树显示区域,用来加载并显示可用的模板字段信息;The first area, as the LED parameter template tree display area, is used to load and display available template field information;

第二区域,作为LED控制卡结构树显示区域,用来显示控制卡及其包含的元素信息;The second area, as the LED control card structure tree display area, is used to display the control card and its contained element information;

第三区域,作为工具栏按钮区域,放置相应的功能按钮;The third area, as the toolbar button area, places the corresponding function buttons;

第四区域,作为主工作区域,支持多个Tab设计绘图板的显示容器;The fourth area, as the main work area, supports display containers for multiple Tab design drawing boards;

第五区域,作为提示信息区域,提示消息可以显示在这个部分;The fifth area, as a prompt information area, prompt messages can be displayed in this part;

第六区域,作为对象属性区域,用来显示、编辑控制卡或LED元素的属性项目。The sixth area, as the object attribute area, is used to display and edit the attribute items of the control card or LED element.

以上介绍了本发明LED显示设计系统的组成,本发明在揭示上述LED显示设计系统的同时,还揭示一种上述LED显示设计系统的设计方法,所述方法包括前台界面管理流程、后台显示控制流程。The composition of the LED display design system of the present invention has been introduced above. While disclosing the above-mentioned LED display design system, the present invention also discloses a design method of the above-mentioned LED display design system. The method includes a front-end interface management process and a background display control process. .

所述前台界面管理流程包括如下步骤:The front-end interface management process includes the following steps:

-参数模板管理步骤,加载LED参数模板,实现参数数据集合管理功能;为LED元素内容管理模块提供数据服务。- The parameter template management step is to load the LED parameter template to realize the parameter data collection management function; provide data services for the LED element content management module.

本实施例中,请参阅图4,所述参数模板管理步骤的流程包括:In this embodiment, please refer to FIG. 4, the process of the parameter template management step includes:

步骤S111、解析LED参数模板XML,遍历模板中的参数类数据集和明细类数据集;Step S111, parsing the LED parameter template XML, traversing the parameter data set and detail data set in the template;

步骤S112、将参数数据集和明细数据集进行JAVA对象实例化,存入对应的JAVA对象中;Step S112, instantiate the parameter data set and the detail data set as JAVA objects, and store them in the corresponding JAVA objects;

步骤S113、在Action中将实例化好的参数JAVA对象,通过JSON对象解析器翻译成字符串对象,然后将字符串返回用户请求页面;Step S113, in the Action, translate the instantiated parameter JAVA object into a character string object through the JSON object parser, and then return the character string to the page requested by the user;

步骤S114、JSP中的JavaScript脚本中,通过ExtJS中的字符串解析工具方法,将从Action中接收的字符信息翻译成JS可识别的JSON对象信息;Step S114, in the JavaScript script in the JSP, the character information received from the Action is translated into JSON object information recognizable by JS through the string analysis tool method in ExtJS;

步骤S115、JSON对象信息包装成可供用户操作的树状节点。Step S115, the JSON object information is packaged into a tree node that can be operated by the user.

-LED元素内容管理步骤,定义界面上所有LED显示元素的数据结构,指定样式参数;- LED element content management step, define the data structure of all LED display elements on the interface, and specify style parameters;

-LED控制卡管理步骤,定义LED控制卡的大小参数、硬件通信方式、通信地址数据信息的管理;- LED control card management steps, define the size parameters of the LED control card, hardware communication mode, management of communication address data information;

-LED数据处理步骤,刷新LED显示视图,实时控制LED元素布局,控制卡数据及元素数据的读取、更新管理工作;- LED data processing steps, refresh LED display view, real-time control LED element layout, control card data and element data reading, update management;

本实施例中,请参阅图5,所述LED数据处理步骤的实现过程如下:In this embodiment, please refer to FIG. 5, the implementation process of the LED data processing step is as follows:

首先从数据库中读取出控制卡、LED元素的数据信息,将其转化成相应的JAVA和JSON对象;在前台页面中,首先根据控制卡的数量初始化对应的工作区域面板Panel,将实例化好的面板对象注册到全局视图当中去,供以后其它函数快速调用;First read the data information of the control card and LED elements from the database, and convert them into corresponding JAVA and JSON objects; on the front page, first initialize the corresponding working area Panel according to the number of control cards, and instantiate Register the panel object in the global view for quick calling of other functions in the future;

然后在生成的面板中增加一个画布对象Canvas,这个对象的属性信息是按照控制卡数据属性字段,一一对应而来的,而后,在控制卡结构树中,新增一个树叶节点,将该节点的点击事件与面板、画布建立起对应关系,暨将控制卡进行注册处理;Then add a canvas object Canvas in the generated panel. The attribute information of this object is one-to-one correspondence according to the control card data attribute field. Then, in the control card structure tree, add a new leaf node, and the node The corresponding relationship between the click event and the panel and the canvas is established, and the control card is registered and processed;

最后循环遍历当前控制卡所有LED元素数据,根据元素类型的不同,分别调用对应的对象绘图方法,控制其显示位置、样式内容,同时在LED结构树中,增加树叶节点,这与注册控制卡的方法类似;Finally, loop through all the LED element data of the current control card, call the corresponding object drawing method according to the different element types, control its display position, style content, and add leaf nodes in the LED structure tree, which is the same as that of the registered control card. The method is similar;

如果没有未绘图的LED元素,则完成一个控制卡的加载过程。If there are no undrawn LED elements, complete a control card loading process.

-LED屏幕模板模拟显示步骤,模拟的LED屏幕界面,根据设计数据信息,如实的表现最终设计效果;- LED screen template simulation display steps, simulated LED screen interface, according to the design data information, faithfully express the final design effect;

所述后台显示控制流程包括如下步骤:The background display control process includes the following steps:

-参数模板设定步骤,定义LED数据源加载样式,使其有格式化的被LED控制卡加载;- The parameter template setting step defines the loading style of the LED data source so that it is formatted and loaded by the LED control card;

-LED屏幕模板设定步骤,定义LED显示器显示的样式,以及每种显示对象所对应的参数;- LED screen template setting steps to define the display style of the LED display and the parameters corresponding to each display object;

-LED控制卡管理步骤,定义LED控制卡的大小参数,以及管理硬件通信方式、通信地址数据信息,为LED适配器服务;- LED control card management steps, define the size parameters of the LED control card, and manage hardware communication methods, communication address data information, and serve the LED adapter;

-LED适配器根据LED控制卡提供的参数信息和驱动信息定义该控制卡的适配器,通过JNI技术把LED数据转换成LED控制卡所识别的通信息协议发送给LED屏幕。-The LED adapter defines the adapter of the control card according to the parameter information and driving information provided by the LED control card, and converts the LED data into the communication protocol recognized by the LED control card through JNI technology and sends it to the LED screen.

-若干LED驱动模块向所对应的LED控制卡发送显示数据。-Several LED driver modules send display data to corresponding LED control cards.

实施例二Embodiment two

软件总体架构是采用B/S(浏览器/服务器)模式。使用的计算机编程技术有:Java语言(J2EE、STRUTS2框架),HTML语言,JavaScript语言(ExtJS框架)。The overall architecture of the software adopts B/S (browser/server) mode. The computer programming technologies used include: Java language (J2EE, STRUTS2 framework), HTML language, JavaScript language (ExtJS framework).

前台界面采用图形交互的方式,通过鼠标点击、拖放操作,在软件中给予操作人员一种“所见即所得”的过程体验,方便、高效地完成LED屏幕设计工作。软件可以设计的图文对象有:静态文本、动态文本、图片文件、模拟时钟、日期时间、自定义表格,共六种对象。可同时对多个模板进行编辑、管理。The interface of the front desk adopts the way of graphic interaction, through the operation of mouse click and drag and drop, it gives the operator a process experience of "what you see is what you get" in the software, and completes the LED screen design work conveniently and efficiently. The graphics and text objects that the software can design include: static text, dynamic text, picture files, analog clock, date and time, and custom tables, a total of six objects. Multiple templates can be edited and managed at the same time.

后台服务是通过定义下面三个功能组件组成,解决数据通信和LED匹配的问题:The background service is composed of the following three functional components to solve the problem of data communication and LED matching:

定义LED屏幕控制接口和实现类,负责LED硬件控制与数据控制;定义LED参数模板DTD及XML文件,定义MES提供的数据字典信息;定义LED设计文件DTD及XML文件,定义LED内容元素信息;Define the LED screen control interface and implementation class, responsible for LED hardware control and data control; define the LED parameter template DTD and XML files, define the data dictionary information provided by MES; define the LED design file DTD and XML files, and define the LED content element information;

本发明可以让用户定义的一个模板,适用于多种、多块LED屏幕。The present invention allows a user-defined template to be applicable to various and multiple LED screens.

用户交互界面实现的思路与过程如下:The idea and process of implementing the user interface are as follows:

前台UI程序是在海宝MES软件平台上进行开发,使用JSP页面编程和基于JavaScript语言的“ExtJS框架”来实现的。与以往的复杂功能JavaScript程序有所不同的是,本软件对界面内容进行了MVC式的分层实现,以面向对象的思想来包装组件、业务、事件等元素,大量用到JavaScript技术中“闭包”的概念,使整个软件程序结构紧凑、接口统一、代码重用性高。The front-end UI program is developed on the Haibao MES software platform, using JSP page programming and the "ExtJS framework" based on JavaScript language to realize. Different from the previous JavaScript programs with complex functions, this software implements MVC-style layered implementation of the interface content, uses object-oriented thinking to package components, services, events and other elements, and uses JavaScript technology in large quantities to "close The concept of "package" makes the entire software program compact in structure, unified in interface, and highly reusable in code.

前台UI程序的文件组成结构:The file structure of the foreground UI program:

UI部分的文件夹结构:The folder structure of the UI part:

JS加载说明:()JS loading instructions: ()

前台UI程序的用户操作示例说明:Examples of user operations for the front-end UI program:

示例1:创建一个新控制卡和一个动态文本对象,并保存:Example 1: Create a new control card and a dynamic text object, and save:

1、点击区域3中的“新建”按钮,新建一个“控制卡”信息,设定其名称、通信方式、屏幕大小、IP地址端口信息;确定之后,会在区域2中出现新建的控制卡图标。1. Click the "New" button in area 3 to create a new "control card" information, set its name, communication method, screen size, IP address and port information; after confirmation, the newly created control card icon will appear in area 2 .

2、点击区域3中的“动态文本”按钮,区域2的当前控制卡节点下会出现一个新的子项目,同时区域4中会出现一个显示8个控制柄的红色框,这个就是默认的“动态文本”对象,其数据属性会出现在区域6的表格当中。2. Click the "Dynamic Text" button in area 3, a new sub-item will appear under the current control card node in area 2, and a red box showing 8 control handles will appear in area 4, which is the default " "Dynamic Text" object, its data attributes will appear in the table in area 6.

3、可以修改区域6中的任意参数,修改的结果会立即更新在区域4当中。同样的,在区域4中移动或拖放元素对象,其合位置、宽高等属性会立即在区域6中的表格中更新。3. Any parameter in area 6 can be modified, and the modified result will be updated in area 4 immediately. Similarly, if you move or drag and drop an element object in area 4, its properties such as position, width and height will be updated in the table in area 6 immediately.

4、点击区域3中的“保存”按钮,软件会执行保存过程,至提示完成。4. Click the "Save" button in area 3, and the software will execute the saving process until the prompt is complete.

综上所述,本发明提出的LED显示设计系统及方法,解决了不同MES客户对于不同的LED屏幕显示内容进行个性化定义。让用户根据MES软件提供的参数模板去布局屏幕显示文本、图片、表格等内容,并可以控制指定的屏幕,发送屏幕信息的功能。To sum up, the LED display design system and method proposed by the present invention solve the problem of personalized definition of different LED screen display contents for different MES customers. Let the user layout the screen to display text, pictures, tables and other content according to the parameter template provided by the MES software, and can control the specified screen and send screen information.

本发明为每种型号的LED控制卡开发了一个适配器,通过模板的方式使其与应用系统进行通信,让不同MES客户对于不同的LED屏幕显示内容进行个性化定义。让用户根据MES软件提供的参数模板去布局屏幕显示文本、图片、表格等内容,并可以控制指定的屏幕,发送屏幕信息的功能。The present invention develops an adapter for each type of LED control card, communicates with the application system through a template, and allows different MES customers to personalize the display content of different LED screens. Let the user layout the screen to display text, pictures, tables and other content according to the parameter template provided by the MES software, and can control the specified screen and send screen information.

这里本发明的描述和应用是说明性的,并非想将本发明的范围限制在上述实施例中。这里所披露的实施例的变形和改变是可能的,对于那些本领域的普通技术人员来说实施例的替换和等效的各种部件是公知的。本领域技术人员应该清楚的是,在不脱离本发明的精神或本质特征的情况下,本发明可以以其它形式、结构、布置、比例,以及用其它组件、材料和部件来实现。在不脱离本发明范围和精神的情况下,可以对这里所披露的实施例进行其它变形和改变。The description and application of the invention herein is illustrative and is not intended to limit the scope of the invention to the above-described embodiments. Variations and changes to the embodiments disclosed herein are possible, and substitutions and equivalents for various components of the embodiments are known to those of ordinary skill in the art. It should be clear to those skilled in the art that the present invention can be realized in other forms, structures, arrangements, proportions, and with other components, materials and parts without departing from the spirit or essential characteristics of the present invention. Other modifications and changes may be made to the embodiments disclosed herein without departing from the scope and spirit of the invention.

Claims (9)

1. a LED Display designing system, is characterized in that, described system comprises: foreground interface management subsystem, backstage display and control subsystem;
Described foreground interface management subsystem comprises:
-parameterized template administration module, in order to responsible loading LED parameterized template, realizes supplemental characteristic set management function; For LED element content administration module provides data, services;
-LED element content administration module, in order to the definition of data structure, the appointment of pattern parameter of LED display elements all on responsible interface; With LED data processing integration module bi-directional association;
-LED control card administration module, in order to the management of the size parameter of responsible definition LED control card, hardware communications mode, mailing address data message; With LED data processing integration module bi-directional association;
-LED data processing integration module, shows the refreshing of view, the real-time control of LED element layout in order to responsible LED, the reading of control card data and element data, renewal management work;
-LED screen substrate interface, in order to the LED screen interface of simulation, according to design data information, performance final design effect strictly according to the facts;
Described backstage display and control subsystem comprises:
-LED database, needs the data of display in order to store LED screen;
-parameterized template, in order to define LED data source style of loading, makes it have being loaded by LED control card of format;
-LED screen template, in order to define the pattern of light-emitting diode display display, and the parameter corresponding to often kind of display object;
-LED control card administration module, in order to the size parameter of responsible definition LED control card, and hardware management communication mode, mailing address data message, be LED adapter service;
-LED adapter, defines the adapter of this control card in order to the parameter information that provides according to LED control card and activation bit, by JNI technology, LED data are converted to the logical information protocol that LED control card identifies and send to LED screen;
-some LED drive module, connect LED adapter and LED screen, in order to send display data to corresponding LED control card.
2. LED Display designing system according to claim 1, is characterized in that:
Described LED database is relevant database, or is text data source.
3. LED Display designing system according to claim 1, is characterized in that:
The flow process that described parameterized template administration module generates ginseng tree formwork structure tree assembly comprises:
Step S111, parsing LED parameterized template XML, the parameter class data set in traversal template and detailed class data set;
Step S112, parameter data set and detailed data collection are carried out JAVA object instantiation, stored in the JAVA object of correspondence;
Step S113, in Action by parameter JAVA object good for instantiation, translate into string by JSON object parser, then character string returned user requests webpage;
In JavaScript script in step S114, JSP, by the character string parsing tool method in ExtJS, the character information received is translated into the discernible JSON object information of JS from Action;
Step S115, JSON object information are packaged into can for the tree-shaped node of user operation.
4. LED Display designing system according to claim 1, is characterized in that:
The implementation procedure of described LED data processing integration module is as follows:
First from database, read out the data message of control card, LED element, convert it into corresponding JAVA and JSON object; In front page layout, first corresponding according to the quantity initialization of control card perform region panel Panel, is registered in the middle of global view by the panel object that instantiation is good, for other function quick calling later;
Then in the panel generated, a canvas object Canvas is increased, the attribute information of this object is according to control card data community, one_to_one corresponding and come, then, in control card structure tree, a newly-increased leaf nodes, sets up corresponding relation by the click event of this node and panel, painting canvas, and control card is carried out location registration process;
The all LED element datas of the current control card of last searching loop, according to the difference of element type, call corresponding object drawing practice respectively, control its display position, style content, simultaneously in LED structure tree, increase leaf nodes, this is similar with the method for registration control card;
If the LED element of not drawing, then complete the loading procedure of a control card.
5. LED Display designing system according to claim 1, is characterized in that:
The software interface of described system is divided into 6 regions, comprising:
First area, as LED parameterized template tree viewing area, is used for loading and shows available template field information;
Second area, as LED control card structure tree viewing area, is used for display control card and the element information that comprises thereof;
3rd region, as toolbar button region, places corresponding function button;
4th region, as main perform region, supports the display container of multiple Tab design drawing plate;
5th region, as information region, prompting message may be displayed on this part;
6th region, as object properties region, is used for display, editor control card or LED attribute of an element project.
6. a method for designing for LED Display designing system described in claim 1, is characterized in that, described method comprises foreground interface management flow process, backstage display and control flow process;
Described foreground interface management flow process comprises:
-parameterized template management process, loads LED parameterized template, realizes supplemental characteristic set management function; For LED element content administration module provides data, services;
-LED element content management process, the data structure of all LED display elements in definition interfaces, given pattern parameter;
-LED control card management process, defines the management of the size parameter of LED control card, hardware communications mode, mailing address data message;
-LED data processing step, refreshes LED and shows view, in real time control LED element layout, the reading of control card data and element data, renewal management work;
-LED screen template simulative display step, the LED screen interface of simulation, according to design data information, performance final design effect strictly according to the facts;
Described backstage display and control flow process comprises:
-parameterized template setting procedure, definition LED data source style of loading, makes it have being loaded by LED control card of format;
-LED screen template sets step, the pattern of definition light-emitting diode display display, and the parameter corresponding to often kind of display object;
-LED control card management process, the size parameter of definition LED control card, and hardware management communication mode, mailing address data message are LED adapter service;
The parameter information that-LED adapter provides according to LED control card and activation bit define the adapter of this control card, by JNI technology, LED data are converted to the logical information protocol that LED control card identifies and send to LED screen;
-some LED drive module send display data to corresponding LED control card.
7. the method for designing of LED Display designing system according to claim 6, is characterized in that:
The software interface of described system is divided into 6 regions, comprising:
First area, as LED parameterized template tree viewing area, is used for loading and shows available template field information;
Second area, as LED control card structure tree viewing area, is used for display control card and the element information that comprises thereof;
3rd region, as toolbar button region, places corresponding function button;
4th region, as main perform region, supports the display container of multiple Tab design drawing plate;
5th region, as information region, prompting message may be displayed on this part;
6th region, as object properties region, is used for display, editor control card or LED attribute of an element project.
8. the method for designing of LED Display designing system according to claim 6, is characterized in that:
The flow process of described parameterized template management process comprises:
Step S111, parsing LED parameterized template XML, the parameter class data set in traversal template and detailed class data set;
Step S112, parameter data set and detailed data collection are carried out JAVA object instantiation, stored in the JAVA object of correspondence;
Step S113, in Action by parameter JAVA object good for instantiation, translate into string by JSON object parser, then character string returned user requests webpage;
In JavaScript script in step S114, JSP, by the character string parsing tool method in ExtJS, the character information received is translated into the discernible JSON object information of JS from Action;
Step S115, JSON object information are packaged into can for the tree-shaped node of user operation.
9. the method for designing of LED Display designing system according to claim 6, is characterized in that:
The implementation procedure of described LED data processing step is as follows:
First from database, read out the data message of control card, LED element, convert it into corresponding JAVA and JSON object; In front page layout, first corresponding according to the quantity initialization of control card perform region panel Panel, is registered in the middle of global view by the panel object that instantiation is good, for other function quick calling later;
Then in the panel generated, a canvas object Canvas is increased, the attribute information of this object is according to control card data community, one_to_one corresponding and come, then, in control card structure tree, a newly-increased leaf nodes, sets up corresponding relation by the click event of this node and panel, painting canvas, and control card is carried out location registration process;
The all LED element datas of the current control card of last searching loop, according to the difference of element type, call corresponding object drawing practice respectively, control its display position, style content, simultaneously in LED structure tree, increase leaf nodes;
If the LED element of not drawing, then complete the loading procedure of a control card.
CN201210044810.8A 2012-02-24 2012-02-24 LED (light emitting diode) display design system and method Active CN102637406B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210044810.8A CN102637406B (en) 2012-02-24 2012-02-24 LED (light emitting diode) display design system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210044810.8A CN102637406B (en) 2012-02-24 2012-02-24 LED (light emitting diode) display design system and method

Publications (2)

Publication Number Publication Date
CN102637406A CN102637406A (en) 2012-08-15
CN102637406B true CN102637406B (en) 2015-04-08

Family

ID=46621783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210044810.8A Active CN102637406B (en) 2012-02-24 2012-02-24 LED (light emitting diode) display design system and method

Country Status (1)

Country Link
CN (1) CN102637406B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2887281A1 (en) * 2013-12-19 2015-06-24 Siemens Aktiengesellschaft Displaying MES records on a grid in a MES client screen
CN105549930B (en) * 2015-12-07 2019-02-26 西安诺瓦电子科技有限公司 LED display control system and USB Type-C adapter
CN109976713A (en) * 2017-12-28 2019-07-05 中国电信股份有限公司 Script processing method and device for Service Assembly
CN109857353B (en) * 2018-12-24 2023-05-12 航天信息股份有限公司 Method and system for controlling display content of LED screen
CN110174977A (en) * 2019-05-10 2019-08-27 环球雅途集团有限公司 A kind of LED display control system for supporting real-time edition
CN111078173A (en) * 2019-12-12 2020-04-28 苏州飞控软件科技有限公司 Fast switching method and switching system of LED stage screen
CN111681580A (en) * 2020-07-01 2020-09-18 深圳市华星光电半导体显示技术有限公司 Display panel design method and device and electronic equipment
CN112614460B (en) * 2020-11-26 2022-06-17 西安诺瓦星云科技股份有限公司 Method and device for sending correction coefficient, storage medium and processor
CN114387940B (en) * 2022-02-25 2023-09-15 卡莱特云科技股份有限公司 Partition display updating method, playing box and display system of LED display screen

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731350A (en) * 2004-08-06 2006-02-08 佳能株式会社 Image processing apparatus and control method thereof
CN2919702Y (en) * 2006-06-16 2007-07-04 刘新宇 LED asynchronous control system dynamic information displaying intelligent network controlled issuing system
CN101198929A (en) * 2005-04-18 2008-06-11 捷讯研究有限公司 Systems and methods for generating screen components
CN101369412A (en) * 2008-09-25 2009-02-18 深圳市同鑫科技有限公司 A kind of LED display screen and its control system and method
CN102194402A (en) * 2010-03-11 2011-09-21 上海华屏电子有限公司 Programmable device for graph control of light-emitting diode (LED) display screen

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020123984A1 (en) * 1999-08-23 2002-09-05 Naveen Prakash Dynamic query of server applications
US7275235B2 (en) * 2001-08-29 2007-09-25 Molinari Alfred A Graphical application development system for test, measurement and process control applications
WO2004012893A1 (en) * 2002-08-02 2004-02-12 Hy-Ko Products Company Object identification system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731350A (en) * 2004-08-06 2006-02-08 佳能株式会社 Image processing apparatus and control method thereof
CN101198929A (en) * 2005-04-18 2008-06-11 捷讯研究有限公司 Systems and methods for generating screen components
CN2919702Y (en) * 2006-06-16 2007-07-04 刘新宇 LED asynchronous control system dynamic information displaying intelligent network controlled issuing system
CN101369412A (en) * 2008-09-25 2009-02-18 深圳市同鑫科技有限公司 A kind of LED display screen and its control system and method
CN102194402A (en) * 2010-03-11 2011-09-21 上海华屏电子有限公司 Programmable device for graph control of light-emitting diode (LED) display screen

Also Published As

Publication number Publication date
CN102637406A (en) 2012-08-15

Similar Documents

Publication Publication Date Title
CN102637406B (en) LED (light emitting diode) display design system and method
CN110989983B (en) Zero-coding application software rapid construction system
CN105302578B (en) A kind of portal total management system of towed layout configuration
US9588743B2 (en) Semantic-based, service-oriented system and method of developing, programming and managing software modules and software solutions
US20190018659A1 (en) Method and system for visual data mapping and code generation to support data integration
US7096454B2 (en) Method for gesture based modeling
CN116225429A (en) Pulling type component frame-based ipage webpage type low-code development platform
CN103645908B (en) Full life circle development achievement system of intemetware
US9087296B2 (en) Navigable semantic network that processes a specification to and uses a set of declaritive statements to produce a semantic network model
JP2006526828A (en) Uniform device-independent graphical user interface generation method and terminal
CN101944027A (en) User interface generation method
CN101470601A (en) Zero-code generation method of application software and generation platform thereof
CN104657384A (en) Dynamic allocation report data processing method based on two-dimension relationship
CN103646023A (en) Page and control increasing method based on WEB
CN109725885A (en) An Application Development Architecture Based on Mobile Platform
CN107122171A (en) Automatically generate the method and system of data manipulation in operation flow
CN104615431A (en) Method and device for achieving Web application
CN114398071A (en) A method and system for realizing control logic configuration of a control system
CN103593188B (en) System and method for managing what-you-see-is-what-you-get menus of instrument
CN103810292A (en) Method and device for configuring graphical interface
CN102662662A (en) Embedded graphics interface generation system and method
CN116893802A (en) A widgetized 3D GIS framework system based on WebGL
de Oliveira et al. Active customization of GIS user interfaces
Liu et al. A simple and practical embedded software system architecture
WO2001008007A1 (en) Method and system of automated generation of program code from an object oriented model

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 214135 B905 building, 530 Science Park, Taihu international science and Technology Park, Wuxi, Jiangsu

Applicant after: JIANGSU HIBAO SOFTWARE Co.,Ltd.

Address before: 214135 B905 building, 530 Science Park, Taihu international science and Technology Park, Wuxi, Jiangsu

Applicant before: JIANGSU HIBAO SOFTWARE Co.,Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: JIANGSU HIBAO SOFTWARE LTD. TO: JIANGSU HIBAO SOFTWARE CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 214135 Eighth Floor, Building 5, 66 Jinghui East Road, Xinwu District, Wuxi City, Jiangsu Province

Patentee after: Jiangsu Haibao Zhizhuang Science and Technology Co.,Ltd.

Address before: 214135 B905, 530 Building, University Science Park, Taihu International Science Park, Wuxi City, Jiangsu Province

Patentee before: JIANGSU HIBAO SOFTWARE Co.,Ltd.

CP03 Change of name, title or address
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20120815

Assignee: Jiangsu Reinsurance Finance Leasing Co.,Ltd.

Assignor: Jiangsu Haibao Zhizhuang Science and Technology Co.,Ltd.

Contract record no.: X2023980035049

Denomination of invention: A LED Display Design System and Method

Granted publication date: 20150408

License type: Exclusive License

Record date: 20230425

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

Denomination of invention: A LED Display Design System and Method

Effective date of registration: 20230427

Granted publication date: 20150408

Pledgee: Jiangsu Reinsurance Finance Leasing Co.,Ltd.

Pledgor: Jiangsu Haibao Zhizhuang Science and Technology Co.,Ltd.

Registration number: Y2023980039376

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

Granted publication date: 20150408

Pledgee: Jiangsu Reinsurance Finance Leasing Co.,Ltd.

Pledgor: Jiangsu Haibao Zhizhuang Science and Technology Co.,Ltd.

Registration number: Y2023980039376

EC01 Cancellation of recordation of patent licensing contract
EC01 Cancellation of recordation of patent licensing contract

Assignee: Jiangsu Reinsurance Finance Leasing Co.,Ltd.

Assignor: Jiangsu Haibao Zhizhuang Science and Technology Co.,Ltd.

Contract record no.: X2023980035049

Date of cancellation: 20250625