CN104731586B - A kind of design method at subway train LCD screen editable interface - Google Patents

A kind of design method at subway train LCD screen editable interface Download PDF

Info

Publication number
CN104731586B
CN104731586B CN201510107190.1A CN201510107190A CN104731586B CN 104731586 B CN104731586 B CN 104731586B CN 201510107190 A CN201510107190 A CN 201510107190A CN 104731586 B CN104731586 B CN 104731586B
Authority
CN
China
Prior art keywords
scene
interface
lcd screen
xml
user
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
CN201510107190.1A
Other languages
Chinese (zh)
Other versions
CN104731586A (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.)
Dalian University of Technology
Original Assignee
Dalian University of Technology
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 Dalian University of Technology filed Critical Dalian University of Technology
Priority to CN201510107190.1A priority Critical patent/CN104731586B/en
Publication of CN104731586A publication Critical patent/CN104731586A/en
Application granted granted Critical
Publication of CN104731586B publication Critical patent/CN104731586B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of design method at subway train LCD screen editable interface, belong to embedded computer field.This method is made up of 2 modules, respectively interface configurations module, scenario generating module.Interface configurations module provides the user interface configurations interface by defining XML structure, to realize screen interface editable.Scenario generating module is according to the changes of data in network packet, calling for corresponding scene is controlled in real time, read the interface configurations XML file that edits of user, and according to each scene content parsed from the XML file, the presentation of information of called scene on the lcd screen.The invention provides a kind of design method at subway train LCD screen editable interface, make user can be according to self-demand from edlin LCD screen interface, to mitigate designer's workload.

Description

A kind of design method at subway train LCD screen editable interface
Technical field
The invention belongs to embedded computer field, it is related to a kind of design method at subway train LCD screen editable interface.
Background technology
LCD screen is as the multimedia messages and the terminal presentation facility of site information on subway train, with of crucial importance Status, it can help passenger understand in time subway train operation way in site information and media video information.At present, subway Train owner relatively fixes for the requirement of the LCD screen display interface on most of subway trains, once displaying scheme is determined Afterwards, in the future need change probability it is smaller, even if there is part change, the workload that designer meets customer need also compares It is small.But with the continuous popularization and the continuous improvement of service quality of subway, display content and display to subway train LCD screen Pattern it is also proposed requirements at the higher level, and LCD screen should have a variety of displaying schemes, and different occasions, side are tackled with different displaying schemes There is bigger difference between case, variation is more protruded.In this case, if still designing LCD according to conventional fixed mode Screen, when each demand is changed, designer will carry out a large amount of modifications.For this present situation, set forth herein a kind of new Design method.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of design method at subway train LCD screen editable interface, make User can be according to self-demand from edlin LCD screen interface, to mitigate designer's workload.
The interface display of LCD screen is controlled by LCD screen controller, as shown in Figure 1.LCD screen controller is used and is based on The MCIMX6Q6AVT10AC processors of ARMv7 frameworks are connected with a piece of DDR3 cachings, a piece of Nor as control core Flash storage, 100,000,000 network switch, an audio coder, and connection one pair is raised one's voice on audio coder Device, and a LCD liquid crystal display.
When subway train operation, lcd controller can be from the broadcast control system unit ACSU in train operator room (Announcement Control System Unit) receives network packet, becomes according in variables collection in network data bag Numerical quantity changes, and control LCD screen shows corresponding scene interface.Variables collection includes start site, end website, previous station Website, next stop website, when nine types such as next stop, switch gate information, train status, emergence message and specific information.Variable These information in set can according to different running status and the site information states of train real-time update, lcd controller meeting The change of these information is detected, and triggers corresponding scene type and is shown on the lcd screen.As shown in Fig. 2 in scene set Scene is shown comprising upper electricity, route scene, scene leaving from station, scene of arriving at a station, scene of opening the door, scene of closing the door, emergence message are set altogether The scene of totally eight types such as scene and specific information scene.Upper electricity shows that scene is the scene shown at first, it is not necessary to network Packet is triggered, and LCD screen can be shown upon power-up of the system;It is when LCD screen controller receives initiating station to set route scene The scene shown during with terminus;Scene leaving from station is shown when LCD screen controller is received when train status becomes state leaving from station Scene;Scene of arriving at a station be when LCD screen controller receive train status become to arrive at a station state when the scene that shows;Enabling scene is to work as LCD screen controller receives the scene shown during enabling signal;Scene of closing the door is shown when LCD screen controller receives and closes the door signal Scene;Emergence message scene is the scene shown when LCD screen controller receives emergence message;Specific information scene is to work as LCD screen controller shows this scene when receiving specific information.
The particular content of each scene is made up of the element in element set, and element set includes text, picture, regarded Frequently, nine types such as digit time, date, simulation clock, global route, local route and door information.It is every in element set Individual element has the attribute and different purposes of oneself, and the attribute of text element includes font, position, rolling, flicker and rotation, For showing word in subway train LCD screen;The attribute of picture element includes path, position, rolling, flicker and rotation, uses In showing picture in subway train LCD screen;The attribute of video elementary include position, play mode and video ratio, for Video is played in subway train LCD screen;Digit time attribute of an element includes font, position and display mode, in subway The digit time of Hour Minute Second is shown in train LCD screen;The attribute of date element include font, position and display mode, for The date-time of date is shown in subway train LCD screen;The attribute for simulating clock element includes dial plate, hour hands, minute hand and second Pin, for being shown in subway train LCD screen during the simulation by the similar to Clock and Watch shape that dial plate, hour hands, minute hand, second hand are constituted Clock;The attribute of global route element comprising route, missed the stop, the next stop, when setting out in advance to make arrangements, arrow and transfer stop, on ground The icon and website text information for the whole websites being made up of initiating station to terminus are shown in iron train LCD screen, facilitates passenger Check whole route informations of this subway train;Local route attribute of an element is comprising having missed the stop, the next stop and when setting out in advance to make arrangements, and is used for Highlight simply by crossing website, when the local sites information set out in advance to make arrangements and the next stop is constituted, conveniently multiply on subway train screen Visitor checks the website that train passes through recently;The attribute of door information element is believed comprising door opening state text information, status text of closing the door Breath, offside door picture and offside door picture, the switch gate status information for showing train in subway train LCD screen are convenient Passenger gets on or off the bus in time.
Each attribute of each element in each scene, element set and element in scene set is packaged into One fixation and unique XML structure.The corresponding XML structure of scene is as shown in table 1.
Table 1
The corresponding XML structure of element is as shown in table 2.
Table 2
The corresponding XML structure of element property is as shown in table 3.
Table 3
These XML structures are the interface between designer and subway train owner.Subway train is gathered around for convenience The person of having uses, and by these interface encapsulations into a tool set, subway train owner can carry out various behaviour using this tool set Make, to select different scenes to enter edlin, in the scene addition element, modification element property, or scene and element exported For an interface configurations XML file, this file edits the full content of all scenes completed comprising subway train owner.
Technical scheme:
The design method at subway train LCD screen editable interface, mainly includes interface configurations module and scenario generating module, As shown in Figure 3.
Interface configurations module provides the user interface configurations interface by defining XML structure, to realize that screen interface can be compiled Volume.User refers to subway train owner, rather than passenger.User carries out editing interface operation according to self-demand using tool set. When user selects a scene to enter edlin from scene set, tool set can automatically generate one and correspond to this scene XML structure.User selects an element to be added in this scene from element set, and when entering edlin to this element, work Tool rally automatically generates an XML structure for corresponding to this element, and the nested XML in this scene of XML structure of this element In structure.After this element has been edited, other elements are edited in the same way into this scene.Whole in this scene After the completion of content is all edited, other scenes are then edited in the same way.After the completion of each scene all editor, preserve and use All the elements of family editor, and exported in the form of an interface configurations XML file, this XML file edits completion comprising user All scenes particular content.
Scenario generating module controls calling for corresponding scene in real time according to the change of data in network packet, reads and uses The interface configurations XML file that family is editted, and according to each scene content parsed from XML file, called scene Content show on the lcd screen.This module is divided into two threads:Network service thread, scenery control and display thread.It is first First, network service thread initialization communication protocol, cast communication passage is set up with ACSU, is received ACSU and is sent network packet, Judge whether the data in network packet change, if do not changed, continue cycling through receiving network data bag, if network number Changed according to the data in bag, then parse network packet, all variable values in variables collection are set, and variables collection In all variable values be stored in variables collection buffering area, and return and continue to network packet.Scenery control and display line It is sky that journey, which first initializes scene type, reads variables collection buffering area, and the institute from variables collection buffering area taking-up variables collection There is variable value, according to the change of variable value in variables collection come the corresponding scene type of Selection and call.If scene type Do not change, then continue from variables collection buffering area take variables collection in all variable values, if scene type changes, Switch to purpose scene type.Next, reading the XML file that user edits, and parse the scene type of this in XML file Particular content, then the particular content of this scene type is shown on the lcd screen, finally return back to variables collection buffering area after Continuous access evidence.
The beneficial effects of the present invention are after the change of the displaying scheme of LCD screen, user only needs to utilize designer The tool set of offer, you can according to new displaying scheme from the content of each scene of edlin, it is not necessary to which designer participates in, and subtracts Light designer's workload.
Brief description of the drawings
Fig. 1 is LCD screen controller hardware structure figure of the present invention.
Fig. 2 is each action of the invention and the graph of a relation of scene.
Fig. 3 is the design method flow chart at LCD screen editable interface of the present invention.
Fig. 4 is the interface configurations block flow diagram at LCD screen editable interface of the present invention.
Fig. 5 is the scenario generating module flow chart at LCD screen editable interface of the present invention.
Embodiment
Describe the embodiment of the present invention in detail below in conjunction with the content of the invention and Figure of description.
(1) interface configurations module
As shown in figure 4, user carries out interface editing operation according to self-demand using tool set.When user uses this When tool set selects the scene to enter edlin from scene set, tool set can automatically generate one and correspond to this scene XML structure.After user chooses scene, user also needs to edit the full content of this scene, the full content of scene by Element composition in element set.When user selects an element to be added in this scene from element set, tool set meeting An XML structure for corresponding to this element is automatically generated, and the XML structure of this element is nested in the XML structure of this scene. After user adds an element into scene, an attribute is also added into this element, and the field of each in Alternative Attribute Value, after this attribute has been edited, continuation edit other respective attributes in the same way into this element.When this element After the completion of all properties editor, tool set can automatically generate the XML structure of all addition attributes, and the XML of these attributes is tied Structure nesting is in the XML structure of this element.User edits other elements into this scene in the same way, when this scene After the completion of all elements editor, other scenes are then edited in the same way.After the completion of each scene editor, tool set meeting The particular content of all scenes is saved with a total XML structure, finally in the form of an interface configurations XML file Export, the particular content for all scenes that this XML file is editted comprising user.
(2) scenario generating module
As shown in figure 5, this module is divided into two threads:Network service thread, scenery control and display thread.Network service Thread first initializes communication protocol, sets up the cast communication passage with ACSU, receives ACSU and sends network packet, judges network Whether the data in packet change, if do not changed, this network packet abandon, 500 milliseconds of circular wait and after Network packet is received in continued access;If the data in network packet change, network packet is parsed, and according to network number According to the data in bag, all variable values in variables collection are set, all variable values in variables collection are then stored in change Duration set buffering area, and return continues to network packet.It is sky that scenery control and display thread, which first initialize scene type, Variables collection buffering area, and all variable values from variables collection buffering area taking-up variables collection are read, are then judged all The situation of change of variable value.If initiating station changes, setting route scene is called, if initiating station does not change, Then judge whether terminus changes;If terminus changes, setting route scene is called, if terminus does not become Change, then judge whether train status changes;If train status becomes leaving from station, scene leaving from station is called, if train status becomes Into arriving at a station, then scene of arriving at a station is called;If train status does not change, judge whether switch gate information changes;If switch Door information is changed into opening the door, then calls enabling scene, if switch gate information is changed into closing the door, call scene of closing the door;If switch Door information does not change, then judges whether emergence message changes;If emergence message changes, emergence message is called Scape, if emergence message does not change, judges whether specific information changes;If specific information changes, spy is called Different information scene;If specific information does not change, then judge whether scene type changes, route scene, field leaving from station are set Above-mentioned 7 scenes such as scape, scene of arriving at a station, scene of opening the door, scene of closing the door, emergence message scene, specific information scene call end Afterwards, equally judge whether scene type changes.If scene type does not change, continuation takes variables set from variables collection buffering area All variable values in conjunction, if scene type changes, switch to purpose scene type;Compiled next, reading user The interface configurations XML file collected, and the particular content of the scene type of this in XML file is parsed, then this scene type Particular content is shown on the lcd screen, is finally returned back to variables collection buffering area and is continued evidence of fetching.

Claims (1)

1. a kind of design method at subway train LCD screen editable interface, including interface configurations module and scenario generating module, its It is characterised by:
Interface configurations module provides the user interface configurations interface by defining XML structure, to realize screen interface editable;With Family carries out editing interface operation according to self-demand using tool set;When user selects a scene progress from scene set During editor, tool set can automatically generate an XML structure for corresponding to this scene;User selects an element from element set When being added in this scene, and entering edlin to this element, tool set can automatically generate an XML for corresponding to this element and tie Structure, and the XML structure of this element is nested in the XML structure of this scene;After this element has been edited, compile in the same way Other elements are collected into this scene;After the completion of the full content in this scene is all edited, then edit in the same way Other scenes;After the completion of each scene all editor, all the elements that user edits are preserved, and with an interface configurations XML The form export of file, this XML file edits the particular content of all scenes completed comprising user;
Scenario generating module controls calling for corresponding scene in real time according to the change of data in network packet, reads user and compiles The interface configurations XML file collected, and according to each scene content parsed from the XML file, called scene Content is shown on the lcd screen;This module is divided into two threads:Network service thread, scenery control and display thread;First, Network service thread initializes communication protocol, with broadcast control system unit ACSU (Announcement Control System Unit cast communication passage) is set up, the network packet that ACSU is sent is received, judges whether the data in network packet become Change, if do not changed, continue cycling through receiving network data bag, if the data in network packet change, parse Network packet, sets all variable values in variables collection, and all variable values in variables collection are stored in variables set Buffering area is closed, and return continues to network packet;It is sky that scenery control and display thread, which first initialize scene type, is read Variables collection buffering area, and all variable values from variables collection buffering area taking-up variables collection, become according in variables collection The change of numerical quantity carrys out the corresponding scene type of Selection and call;If scene type does not change, continue slow from variables collection Rushing area takes all variable values in variables collection, if scene type changes, switch to purpose scene type;Connect down Come, read the XML file that user edits, and parse the particular content of the scene type of this in XML file, then this scene class The particular content of type is shown on the lcd screen, is finally returned back to variables collection buffering area and is continued evidence of fetching.
CN201510107190.1A 2015-03-11 2015-03-11 A kind of design method at subway train LCD screen editable interface Active CN104731586B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510107190.1A CN104731586B (en) 2015-03-11 2015-03-11 A kind of design method at subway train LCD screen editable interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510107190.1A CN104731586B (en) 2015-03-11 2015-03-11 A kind of design method at subway train LCD screen editable interface

Publications (2)

Publication Number Publication Date
CN104731586A CN104731586A (en) 2015-06-24
CN104731586B true CN104731586B (en) 2017-10-13

Family

ID=53455504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510107190.1A Active CN104731586B (en) 2015-03-11 2015-03-11 A kind of design method at subway train LCD screen editable interface

Country Status (1)

Country Link
CN (1) CN104731586B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573970B (en) * 2015-12-18 2020-03-17 航天恒星科技有限公司 Data packet reconstruction method and device
CN108055237A (en) * 2017-11-08 2018-05-18 长春希达电子技术有限公司 Advices plate control method based on XML format
CN107943999A (en) * 2017-12-05 2018-04-20 北京中电慧视科技有限公司 Dynamic map interface display methods and terminal device
CN108664186A (en) * 2018-05-11 2018-10-16 卡斯柯信号有限公司 A kind of human-computer interaction interface display methods that can configure based on graphic style

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6421606B1 (en) * 1999-08-17 2002-07-16 Toyota Jidosha Kabushiki Kaisha Route guiding apparatus and medium
CN101697275A (en) * 2009-09-23 2010-04-21 易程科技股份有限公司 System for issuing passenger information
CN101697274A (en) * 2009-09-23 2010-04-21 易程科技股份有限公司 Method for generating display page and traveler guiding display system applying same
CN103377051A (en) * 2013-07-16 2013-10-30 广东欧珀移动通信有限公司 Application interface customizing method based on Android system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004206550A (en) * 2002-12-26 2004-07-22 Fanuc Ltd Numerical control apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6421606B1 (en) * 1999-08-17 2002-07-16 Toyota Jidosha Kabushiki Kaisha Route guiding apparatus and medium
CN101697275A (en) * 2009-09-23 2010-04-21 易程科技股份有限公司 System for issuing passenger information
CN101697274A (en) * 2009-09-23 2010-04-21 易程科技股份有限公司 Method for generating display page and traveler guiding display system applying same
CN103377051A (en) * 2013-07-16 2013-10-30 广东欧珀移动通信有限公司 Application interface customizing method based on Android system

Also Published As

Publication number Publication date
CN104731586A (en) 2015-06-24

Similar Documents

Publication Publication Date Title
CN104731586B (en) A kind of design method at subway train LCD screen editable interface
CN107656914A (en) Form generation method, device, terminal device and the storage medium of configurableization
CN103902788B (en) Electronic map figure layer method for drafting and device
CN105468377A (en) Method and system for generating page of mobile terminal
CN105893022A (en) Production method and system of combined user interface control, and control method and system of combined user interface control
CN105992005A (en) Video decoding method and device and terminal device
CN107241657A (en) Video broadcasting method, device, computing device and storage medium
CN107025037A (en) A kind of control method and device of smart machine
CN110475140A (en) Barrage data processing method, device, computer readable storage medium and computer equipment
CN105577947A (en) Control method and electronic equipment
CN108803993A (en) Exchange method, intelligent terminal and the computer readable storage medium of application program
CN103853438A (en) Atlas picture switching method and browser
CN102508647B (en) Synthetic method and synthetic system for tabletop as well as mobile terminal
CN106980482A (en) A kind of information displaying method and the first electronic equipment
CN107404662A (en) The method and apparatus that a kind of direct broadcasting room content is promoted
CN107608219A (en) A kind of intelligent multimedia interaction light fixture and system
CN102045444A (en) Mobile phone as well as realizing method, playing method and player of animations and cartoons on mobile phone
CN105702240B (en) The method and apparatus of intelligent terminal adjustment accompanying song music
CN101484921A (en) Method for calculating animation parameters of objects of a multimedia scene
CN106028128A (en) Method and system for carrying out image-text shorthand based on video announcement
CN109614189A (en) A kind of system, method and device for realizing APP icon dynamically load animation
CN109741424A (en) Method and device for inserting picture around character and electronic equipment
CN109492747A (en) A kind of the network structure generation method and device of neural network
CN106649621A (en) Method and device of displaying comment information
CN106357885A (en) Processing system for requesting mobile phone song

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant