CN104144169B - The methods of exhibiting and device of a kind of train control system - Google Patents

The methods of exhibiting and device of a kind of train control system Download PDF

Info

Publication number
CN104144169B
CN104144169B CN201410410769.0A CN201410410769A CN104144169B CN 104144169 B CN104144169 B CN 104144169B CN 201410410769 A CN201410410769 A CN 201410410769A CN 104144169 B CN104144169 B CN 104144169B
Authority
CN
China
Prior art keywords
mode
user
logging request
control system
train control
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
CN201410410769.0A
Other languages
Chinese (zh)
Other versions
CN104144169A (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.)
Zhuzhou CRRC Times Electric Co Ltd
Original Assignee
Zhuzhou CSR Times Electric 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 Zhuzhou CSR Times Electric Co Ltd filed Critical Zhuzhou CSR Times Electric Co Ltd
Priority to CN201410410769.0A priority Critical patent/CN104144169B/en
Publication of CN104144169A publication Critical patent/CN104144169A/en
Application granted granted Critical
Publication of CN104144169B publication Critical patent/CN104144169B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a kind of methods of exhibiting of train control system, different contents are shown to the user of different login modes, when user is logged in the first login mode, determine that the user is developer, train control system is controlled to enter development status pattern, the content that train control system configuration processor is developed will be shown in development status pattern, and developer can be in the development status pattern, underlying protocol according to the train control system is developed to the train control system configuration processor, generates project file;When user is with the second login mode; can determine that the user is user of service; then project file is shown; it is not related to the content displaying of the underlying protocol of train control system; while ensure that the use feeling of user of service; protect the underlying protocol of developer to include the source program safety of proprietary protocol, and do not influence developer to check and operate the underlying protocol of train control system.

Description

The methods of exhibiting and device of a kind of train control system
Technical field
The present invention relates to Train Control field, in particular, be related to a kind of methods of exhibiting of train control system and Device.
Background technology
The research and development of industrial control configuration software at home and abroad program increasingly, existing composition software can all be realized such as Under function:The software for running on windows platforms all uses the window structure of similar resource browser, and to Industry Control system The various resources (equipment, variable etc.) of system are configured and edited;A variety of data-drivens are provided, are carried with script For secondary development function etc..Most configuration software provides a variety of data acquisition programs, and user can voluntarily configure.
But, in this case, driver can only be provided by configuration software provider, or by user according to certain The interface specification of configuration software is write, and there are multiple communication modes and agreement yet with train control system inside, wherein wrapping Containing with the proprietary protocol designed by developer, the general proprietary protocol need for confidentiality.
However, in the prior art, being looked into when the user of service in user carries out configuration to the configuration software of train control system When seeing or writing, the various underlying protocols (including proprietary protocol) being related in configuration software can be also shown, caused The leakage of the underlying protocol source program so that the security of the underlying protocol source program of developer is affected.
The content of the invention
In view of this, the invention provides a kind of methods of exhibiting of train control system, existing user is solved to row When the configuration software of vehicle control carries out configuration editor, underlying protocol source program is shown, causes underlying protocol source program safety The problem of being on the hazard.
To achieve the above object, the present invention provides following technical scheme:
A kind of methods of exhibiting of train control system, including:
The logging request of user is received, the mode of the logging request is analyzed;
When the mode of the logging request is the first login mode, the train control system is controlled to enter development status Pattern, in the development status pattern, the underlying protocol according to the train control system is performed to the train control system Program development, generates project file;
When the mode of the logging request is the second login mode, the train control system information is controlled to enter operation State model, in the operation state mode, is shown to the project file.
Above-mentioned method, it is preferred that when carrying user profile in the logging request of user, the user profile includes using The Protocol IP address interconnected between the user name password combination at family and/or the network of user, the logging request of the reception user, Judge the mode of the logging request, including:
Receive the logging request of user;
When the user profile carried in the logging request is matched with the user profile of the first pre-stored login mode, Judge the mode of the logging request as the first login mode;Otherwise, the mode of the logging request is the second login mode.
Above-mentioned method, it is preferred that when the page info that user profile and login page are carried in the logging request of user When, the logging request of the reception user judges the mode of the logging request, including:
Receive the logging request of user;
According to the user profile and the page info of login page, judge whether the logging request of the user meets One login mode condition, if it is satisfied, judging the mode of the logging request as the first login mode;Otherwise, the login please The mode asked is the second login mode.
Above-mentioned method, it is preferred that the underlying protocol according to the train control system is to the Train Control system Configuration processor of uniting exploitation, generates project file, including:
According to default naming rule title is defined for the default element figure in the train control system;
Obtain expandable mark language XML file;
The XML file is imported in the engineering opened, and logic chart is generated according to the XML file;
The logic chart is stored into project file according to default structure.
Above-mentioned method, it is preferred that the project file is shown including
Obtain the project file;
The project file generation logic chart is imported, and shows the logic chart.
Above-mentioned method, it is preferred that after the displaying logic chart, in addition to:
It is corresponding information collecting device configuration communication modes in the logic chart according to default configuration mode;
The field data of described information collecting device collection is received according to the communication modes;
Default message handling program is triggered, the field data is handled and result is shown.
Above-mentioned method, it is preferred that described is corresponding information gathering in the logic chart according to default configuration mode Device configuration communication modes, including:
According to default communication modes, configuration file is obtained;
Read the IP and port information in the configuration file;
According to the IP and port information, the interface channel with described information collecting device is set up.
A kind of exhibiting device of train control system, including:
Receiving module, the logging request for receiving user;
Analysis module, the mode for analyzing the logging request;
First module, for when the mode of the logging request is the first login mode, controlling the Train Control system System enters development status pattern, and in the development status pattern, the underlying protocol according to the train control system is to the row Vehicle control configuration processor is developed, and generates project file;
Second module, for when the mode of the logging request is the second login mode, controlling the Train Control system System information enters operation state mode, and in the operation state mode, the project file is shown.
Above-mentioned device, it is preferred that when carrying user profile in the logging request of user, the user profile includes using Family, user name password combination and/or IP address, the analysis module, specifically for:
When the user profile carried in the logging request is matched with the user profile of the first pre-stored login mode, Judge the mode of the logging request as the first login mode;Otherwise, the mode of the logging request is the second login mode.
Above-mentioned device, it is preferred that when the page info that user profile and login page are carried in the logging request of user When, the analysis module, specifically for:
According to the page info and the logging request, judge whether the logging request of the user meets the first login Mode condition, if it is satisfied, judging the mode of the logging request as the first login mode;Otherwise, the side of the logging request Formula is the second login mode.
Understand that compared with prior art, the invention provides a kind of train control system via above-mentioned technical scheme Methods of exhibiting, first, receives the logging request of user, analyzes the mode of the logging request;When the mode of the logging request During for the first login mode, control train control system enters development status pattern, in the development status pattern, according to described The underlying protocol of train control system is developed to the train control system configuration processor, generates project file;Logged in when described When the mode of request is the second login mode, the train control system information is controlled to enter operation state mode, in the fortune Row state model, is shown to the project file.Using this method, the user of different login modes can be shown different Content, when user is with the first login mode, it may be determined that the user be developer, then control train control system enter opens State model is sent out, the underlying protocol for the foundation train control system being related in development status pattern is performed to train control system The content of program development is shown;When user is with the second login mode, it may be determined that the user is user of service, then to engineering File is shown, and the content displaying of the underlying protocol of train control system is not related to, ensure that the use feeling of user of service By while, protect the source program safety of the underlying protocol including proprietary protocol of developer, and do not influence developer Underlying protocol to train control system is checked and operated.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
A kind of flow chart of the methods of exhibiting embodiment 1 for train control system that Fig. 1 provides for the present invention;
A kind of flow chart of the methods of exhibiting embodiment 2 for train control system that Fig. 2 provides for the present invention;
A kind of flow chart of the methods of exhibiting embodiment 3 for train control system that Fig. 3 provides for the present invention;
A kind of flow chart of the methods of exhibiting embodiment 4 for train control system that Fig. 4 provides for the present invention;
A kind of flow chart of the methods of exhibiting embodiment 5 for train control system that Fig. 5 provides for the present invention;
A kind of flow chart of the methods of exhibiting embodiment 6 for train control system that Fig. 6 provides for the present invention;
A kind of structural representation of the exhibiting device embodiment 1 for train control system that Fig. 7 provides for the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
The methods of exhibiting and device for a kind of train control system being related in the present invention, applied to the electricity with configuration function In sub- equipment and system, for different login users, corresponding content is shown to it, user of service is prevented and checks train The situation of the underlying protocol of control system, without influenceing developer to check the underlying protocol of train control system, is protected simultaneously Experience of the user of service to train control system result is demonstrate,proved.
A kind of flow chart of the methods of exhibiting embodiment 1 for train control system that the present invention as shown in Figure 1 is provided, bag Include:
Step S101:The logging request of user is received, the mode of the logging request is analyzed;
Wherein, user's request logs in the train control system, receives the logging request of the user, and then to the logging request Analyzed, judge the mode of the logging request of the user, the mode of the logging request is stepped on including the first login mode and second Record mode.
Specifically, first login mode is the corresponding development status mode entry mode of developer;Second login side Formula is the corresponding operation state mode login mode of user of service.
Specifically, the logging request can be developer's request, or user of service's request, different personnel please Ask, the different mode of correspondence can be according to the information analysis such as user profile and/or login page carried in the logging request the use The mode of the logging request at family.
Specifically, the user profile includes the user name password combination of user, or user IP (Internet The agreement interconnected between Protocol, network) address.
Specifically, the special login page of also predeterminable different user, such as developer's login page and user of service step on Record the login page that the login page information carried in the page, the logging request can select for user, i.e. different login sides The different login page of formula correspondence.
Wherein, the process analyzed the logging request can be discussed in detail in follow-up embodiment, and the present embodiment is not Explain.
It should be noted that the logging request being related in the application is correct logging request, such as developer logs in please The user name password combination for asking middle carrying is correct, can be realized and developer's login mode using the username and password It is corresponding to log in.It is not related to illegal logging request, such as wrong user name password in the application.
Step S102:When the mode of the logging request is the first login mode, the train control system is controlled to enter Enter development status pattern, in the development status pattern, the underlying protocol according to the train control system is to the train control System executive exploitation processed, generates project file;
Wherein, first login mode is the corresponding development status mode entry mode of developer.
Wherein, when analysis obtain the logging request it is corresponding be the first login mode when, then show the exploitation shape accordingly The corresponding display content of morphotype formula, the specially underlying protocol according to the train control system are held to the train control system Line program is developed, and generates the process of project file.And the displaying for the underlying protocol being related in this process is unrestricted, exploit person Member's expansion underlying protocol source program, and the configuration to train control system is realized according to the underlying protocol as needed, it is ensured that open Hair personnel check and operated to the underlying protocol of train control system.
For example, when the configuration is watchdog logic figure monitoring configuration, then the correlation engineering files such as watchdog logic figure are formed, it is split The process of hair and the watchdog logic figure can be shown to developer.
Step S103:When the mode of the logging request is the second login mode, the train control system letter is controlled Breath enters operation state mode, and in the operation state mode, the project file is shown.
Wherein, the second login mode is the corresponding operation state mode login mode of user of service.
Wherein, when analysis obtain the logging request it is corresponding be the second login mode when, then show the operation shape accordingly The corresponding display content of morphotype formula, specially develops the project file of completion, the file that the project file completes for exploitation design, After user loads the project file into electronic equipment, the content in the project file can be shown, user is only to this The content that project file is related to carries out configurating operation etc., and the content in this pair of project file carries out configurating operation and is not related to train The content of the underlying protocol of control system, then be shown, it is ensured that user of service's makes without the content to the underlying protocol With impression, while preventing the underlying protocol of developer from including the source program leakage of proprietary protocol.
To sum up, the methods of exhibiting for a kind of train control system that the present embodiment is provided, can be to the use of different login modes Family shows different contents, when user is with the first login mode, it may be determined that the user is developer, then controls Train Control System enters development status pattern, by the underlying protocol for the foundation train control system being related in development status pattern to train control The content of system executive exploitation processed is shown;When user is with the second login mode, it may be determined that the user is user Member, then be shown to project file, the content displaying of the underlying protocol of train control system be not related to, ensure that user While the use feeling of member, the underlying protocol of developer is protected to include the source program safety of proprietary protocol, and not shadow Ring developer the underlying protocol of train control system is checked and operated.
Wherein, when carrying user profile in the logging request of user, the user profile includes the user name password of user Combination and/or IP address, can judge the corresponding login mode of the logging request according to the user profile.
A kind of flow chart of the methods of exhibiting embodiment 2 for train control system that the present invention as shown in Figure 2 is provided, bag Include:
Step S201:Receive the logging request of user;
Step S202:Judge to work as the user profile and the use of the first pre-stored login mode carried in the logging request Whether family information matches, and generates matching result;
Wherein, the user profile of the first login mode is preset.
Specifically, after receiving the logging request of user, by the user profile carried in the logging request and default the The user profile of one login mode is matched, when the user profile carried in the logging request is logged in pre-stored first During the user profile matching of mode, judge the mode of the logging request as the first login mode;Otherwise, it is determined that the logging request Mode is the second login mode.
Specifically, the user profile includes the user name password combination and/or IP address of user, when the user profile is use During name in an account book password combination, the user profile by the username and password respectively with the first pre-stored login mode is compared, When there is the two identical, then it is assumed that matching, otherwise mismatch.
It should be noted that because the logging request being related in application is correct logging request, the use that the request is logged in Family is one of developer or user of service, without other situations, so, in the present embodiment, as long as judging whether satisfaction first The user profile of login mode, is otherwise user of service if it is satisfied, then being developer.
It is actual to implement, due to it is possible that disabled user, to ensure the safety of train control system, then can first by User profile is matched with the user profile of default first login mode, if matching is unsuccessful, by the user profile Matched with the user profile of default second login mode, if matching is also unsuccessful, then terminates, do not perform step S203 and 204.Certainly, the sequencing of matching can be adjusted, and the present embodiment is not limited.
Certainly, it is identical with the username and password of user of service to prevent developer if actual implement, and Cause the situation that the logging request of user of service is identified as to the first login mode, may also be combined with IP address and judged, preset The IP address of developer, if in the matching process, IP address and the IP address of default developer in user profile Do not meet, be then judged as the second login mode.
Step S203:When it is the first login mode that the matching result, which represents the mode of logging request, the row are controlled Vehicle control enters development status pattern, in the development status pattern, the underlying protocol according to the train control system The train control system configuration processor is developed, project file is generated;
Step S204:When it is the second login mode that the matching result, which represents the mode of the logging request, institute is controlled State train control system information and enter operation state mode, in the operation state mode, the project file is shown.
Wherein, step S203-204 is consistent with the step S102-103 in embodiment 1, and the present embodiment is repeated no more.
To sum up, the methods of exhibiting for a kind of train control system that the present embodiment is provided, according to the use carried in logging request Family information judges the mode of logging request, and the user name password combination and/or IP address of the user judge according to the user profile The corresponding login mode of the logging request, and then the login mode obtained according to judgement, realize follow-up entrance development status mould Formula is operated or operated into operation state mode.
Wherein, when page info and the user profile of login page are carried in logging request, it can be believed according to the login page Breath judges the corresponding login mode of the logging request with user profile.
A kind of flow chart of the methods of exhibiting embodiment 3 for train control system that the present invention as shown in Figure 3 is provided, bag Include:
Step S301:Receive the logging request of user;
Step S302:According to the user profile and the page info of login page, the logging request of the user is judged The first login mode condition whether is met, judged result is generated;
Wherein, the login page information and user profile of the first login mode are preset.
Specifically, after receiving the logging request of user, by the user profile and login page that are carried in the logging request Page info be compared with default first login mode condition, when the logging request and the first pre-stored login side During formula condition coupling, judge the mode of the logging request as the first login mode;Otherwise, it is determined that the mode of the logging request is the Two login modes.
Specifically, the page info and user profile of the login page are corresponding with the first login mode condition, i.e. the user Information is developer's information, and the login page is the login page that developer uses;Or, the user profile is to make With personal information, and the login page is the login page that user of service uses.
Specifically, the user profile includes the user name password combination and/or IP address of user, when the user profile is use During name in an account book password combination, the username and password is compared with the user profile in the first pre-stored login mode respectively It is right, when there is the two identical, then it is assumed that user profile enters matching, otherwise mismatches.
It should be noted that because the logging request being related in application is correct logging request, the use that the request is logged in Family is one of developer or user of service, without other situations, so, in the present embodiment, as long as judging whether satisfaction first The user profile of login mode, is otherwise user of service if it is satisfied, then being developer.Developer user need to only be believed Breath, its login page are matched with default user profile, its login page, then perform step S304.
Certainly, it is identical with the username and password of user of service to prevent developer if actual implement, and During User logs in, the login page of mistake is employed, such as user of service uses the login page of developer, input and exploit person Member's identical username and password and cause situation that the logging request of user of service is identified as to the first login mode, can also tie Close IP address to be judged, preset the IP address of developer, if in the matching process, IP address in user profile with advance If the IP address of developer do not meet, then be judged as the second login mode.
Step S303:When it is the first login mode that the judged result, which represents the mode of the logging request, institute is controlled Train control system is stated into development status pattern, in the development status pattern, the bottom according to the train control system Agreement is developed to the train control system configuration processor, generates project file;
Step S304:When it is the second login mode that the judged result, which represents the mode of the logging request, institute is controlled State train control system information and enter operation state mode, in the operation state mode, the project file is shown.
Wherein, step S303-304 is consistent with the step S102-103 in embodiment 1, and the present embodiment is repeated no more.
To sum up, the methods of exhibiting for a kind of train control system that the present embodiment is provided, should according to what is carried in logging request The page info of user profile and login page judges the corresponding login mode of the logging request, and then according to stepping on that judgement is obtained Record mode, realizes that follow-up entrance development status pattern is operated or operated into operation state mode.
A kind of flow chart of the methods of exhibiting embodiment 4 for train control system that the present invention as shown in Figure 4 is provided, bag Include:
Step S401:The logging request of user is received, the mode of the logging request is analyzed;
Wherein, step S401 is consistent with the step S101 in embodiment 1, and the present embodiment is repeated no more.
Step S402:When the mode of the logging request is the first login mode, the train control system is controlled to enter Enter development status pattern;
Wherein, when the mode of the logging request is the first login mode, control the train control system to enter and open State model is sent out, user (developer) performs operation under the development status pattern.
Step S403:According to default naming rule name is defined for the default element figure in the train control system Claim;
Wherein, in the train control system predefine some element figures, such as voltage sensor, current sensor, resistance, Inductance, electric capacity, switch/contactor, motor, transformer, power supply network, ground connection, IGBT (Insulated Gate Bipolar Transistor, insulated gate bipolar transistor) etc. component and save as template.
Specifically, title can be defined to the default element figure, such as train control system according to default naming rule It is that when being applied to logic chart monitoring, then pel can be entered according to supervision object voltage of voltage sensor 1 (temperature of motor 1) etc. Row defines title.
Step S404:Obtain XML file;
Wherein, XML (eXtensible Markup Language, the extensible markup language) file includes customized XML file is advised with PLCOpen (Programmable Logic Controller open, PLCopen tissue) XML protocol is met The XML file of model.
Wherein, the customized file format is the project file of this train control system, and this meets PLCOpen XML associations The XML file of view specification can be exported from a variety of programming tools.
Step S405:The XML file is imported in the engineering opened, and logic chart is generated according to the XML file;
Wherein, the engineering in the opening can perform newly-built program file, modification file, delete the behaviour such as file, preservation file Make, and actually in implementation, file free switching is supported in the engineering of the opening.It should be noted that in the engineering opened, can Attribute setting, editor are carried out to pel and is changed.The attribute sets and specifically included:Title, argument address, parameter name etc.;Should Editor includes:(reach, rear shiftings, top set, bottom set etc.), align (left-justify, the right side are rotated, scaled, being arranged to the pel of selection Alignment, laterally centered, longitudinally intermediate etc.);Modification includes pel amplitude, shearing, stickup, deletion to choosing etc., will can also scheme Member guides another tie point into from a tie point, automatically generates junction curve.
Also, in the engineering of the opening, also rendering logic figure can be realized by the operation such as towing to pel.
Wherein, during the generation logic chart, display can be loaded directly into customized XML file;And for symbol The XML file of PLCOpen XML protocol specifications is closed, this document is converted into custom file format first, display is reloaded.
Wherein, data structure includes in the train control system:Storage control (i.e. pel) and its attribute.The control image As shown in table 1, the link information is as shown in table 2 for information data structure.
Table 1, control graphic attribute data structure
Table 2, control connection attribute data structure
Parameter Data type Explanation
SourceID Int32 Source tie point ID
SinkID Int32 Purpose tie point ID
SourceConnectorName String Source tie point title
SinkConnectorName String Purpose tie point title
ArrowSymbol String Connector type
Step S406:The logic chart is stored into project file according to default structure.
Wherein, system file design includes:The structure of file and the storage mode of file.
Specifically, user draws or the logic chart derived from programming tool, engineering will be arrived according to the storage of default structure In file, the default structure can be service condition default structure of the developer according to user of service.
The project file structure is as shown in table 3.
Table 3, project file structure
The data structure of control 1
The data structure of control 2
The data structure of control 2
......
The data structure of tie point 1
The data structure of tie point 2
The data structure of tie point 3
......
Specifically, record has the particular location of each control and control of use in drawing board in the table 3, for repeatedly load Enter system and figure modification.
Wherein, the project file is stored using binary mode.
Step S407:When the mode of the logging request is the second login mode, the train control system letter is controlled Breath enters operation state mode, and in the operation state mode, the project file is shown.
Wherein, step S407 is consistent with the step S103 in embodiment 1, and the present embodiment is repeated no more.
To sum up, the methods of exhibiting for a kind of train control system that the present embodiment is provided, this is according to the train control system Underlying protocol the train control system configuration processor is developed, generate project file, specifically include:According to default name Rule is that the default element figure in the train control system defines title;Obtain expandable mark language XML file;By institute State XML file to import in the engineering opened, and logic chart is generated according to the XML file;Patrolled according to default structure by described Figure storage is collected into project file.
A kind of flow chart of the methods of exhibiting embodiment 5 for train control system that the present invention as shown in Figure 5 is provided, bag Include:
Step S501:The logging request of user is received, the mode of the logging request is analyzed;
Step S502:When the mode of the logging request is the first login mode, the train control system is controlled to enter Enter development status pattern, in the development status pattern, the underlying protocol according to the train control system is to the train control System executive exploitation processed, generates project file;
Wherein, step S501-502 is consistent with the step S101-102 in embodiment 1, and the present embodiment is repeated no more.
Step S503:When the mode of the logging request is the second login mode, the train control system letter is controlled Breath enters operation state mode;
Wherein, when the mode of the logging request is the second login mode, the train control system is controlled to enter fortune Row state model, user (user of service) performs operation under the operation state mode.
Step S504:Obtain the project file;
Wherein, developer is completed after project file, by project file storage into default storage region, when the row When vehicle control enters operation state mode, the project file is obtained from storage region.
Step S505:The project file generation logic chart is imported, and shows the logic chart.
Wherein, the project file of acquisition is imported in train control system, the XML file is loaded into system, generated Logic chart, and the logic chart is showed into user.
To sum up, a kind of methods of exhibiting for train control system that the present embodiment is provided, this pair of project file carries out exhibition Show and specifically include:Obtain the project file;The project file generation logic chart is imported, and shows the logic chart.It will open In the project file import system for sending out staff development, corresponding logic chart is generated, and shows the logic chart, during being somebody's turn to do, is completed The logic chart checked required for user of service, the content of the underlying protocol without showing train control system, makes ensure that While with the use feeling of personnel, the underlying protocol of developer is protected to include the source program safety of proprietary protocol.
A kind of flow chart of the methods of exhibiting embodiment 6 for train control system that the present invention as shown in Figure 6 is provided, bag Include:
Step S601:The logging request of user is received, the mode of the logging request is analyzed;
Step S602:When the mode of the logging request is the first login mode, the train control system is controlled to enter Enter development status pattern, in the development status pattern, the underlying protocol according to the train control system is to the train control System executive exploitation processed, generates project file;
Step S603:When the mode of the logging request is the second login mode, the train control system letter is controlled Breath enters operation state mode;
Step S604:Obtain the project file;
Step S605:The project file generation logic chart is imported, and shows the logic chart;
Wherein, step S601-605 is consistent with the step S501-505 in embodiment 5, and the present embodiment is repeated no more.
Step S606:It is corresponding information collecting device configuration communication side in the logic chart according to default configuration mode Formula;
Wherein, it is necessary between logic chart and the information collecting device at scene that configuration editor completes in actual motion With information communication, lead in the application according to default configuration mode for corresponding information collecting device configuration in the logic chart News mode.
Wherein, step S606 process is specifically included:According to default communication modes, configuration file is obtained;Read described IP and port information in configuration file;According to the IP and port information, set up the connection with described information collecting device and lead to Road.
Wherein, the default communication modes are the communication modes with coordinating in train control system, actual application environment, should Default process is set by developer.
Wherein, the communication modes include:TCP (Transmission Control Protocol, transmission control protocol), UDP (User Datagram Protocol, UDP), RS232/485, OPC (OLE for Process OLE, is applied to industrial control field by Control) or self-defined communication mode.
It is specific, according to the default communication modes, obtain in the configuration file of storage, the configuration file and carry IP address And port information.
In specific implementation, the configuration file is read, IP therein and port information are can obtain, according to information collecting device IP and port information, set up the interface channel with described information collecting device.
Step S607:The field data of described information collecting device collection is received according to the communication modes;
Wherein, information collecting device is set at the scene, for being acquired to field data, and the field data of the collection leads to Cross the communication modes to be transferred in train control system, the scene of realization is connected with the information of Surveillance center.
Step S608:Default message handling program is triggered, the field data is handled and result is shown.
Specifically, receiving after the field data, default message handling program is triggered, at the field data Reason, obtains result, and the result is shown.
Wherein, the default message handling program is corresponding with the information collecting device, is adopted with the information collecting device The information of collection is corresponding.
It should be noted that in specific implementation, the result of the information processing, which can be shown, is its corresponding logic chart In the control image part that is related to, the control figure of the information that simultaneously can also gather information collecting device in real time in the logic chart As correspondence position is shown, the real-time monitoring to each variable in the logic chart is realized.
In specific implementation, when this method be applied to system monitoring when, then only information need to be shown, staff according to The information of the displaying judge whether system whether normal operation, and operated accordingly.
To sum up, after the methods of exhibiting for a kind of train control system that the present embodiment is provided, the displaying logic chart, also Including:It is corresponding information collecting device configuration communication modes in the logic chart according to default configuration mode;According to described Communication modes receive the field data of described information collecting device collection;Default message handling program is triggered, to the scene Information is handled and shows result.Using this method, at the field data that can be gathered to information collecting device Manage and show result, the scene of realization is connected with the information of Surveillance center.
A kind of methods of exhibiting of train control system is described in detail in the embodiment that the invention described above is provided, for this hair The device that a kind of methods of exhibiting of bright train control system can take various forms is realized, therefore present invention also offers one kind The exhibiting device of train control system, is given below specific embodiment and is described in detail.
A kind of structural representation of the exhibiting device embodiment 1 for train control system that the present invention as shown in Figure 7 is provided, Including:Receiving module 701, analysis module 702, the first module 703 and the second module 704;
Wherein, receiving module 701, the logging request for receiving user;
Wherein, analysis module 702, the mode for analyzing the logging request;
Wherein, user's request logs in the train control system, and receiving module 701 receives the logging request of the user, and then 702 pairs of logging requests of analysis module are analyzed, and judge the mode of the logging request of the user, the mode bag of the logging request Include the first login mode and the second login mode.
Specifically, first login mode is the corresponding development status mode entry mode of developer;Second login side Formula is the corresponding operation state mode login mode of user of service.
Specifically, the logging request can be developer's request, or user of service's request, different personnel please Ask, the different mode of correspondence can be according to the information analysis such as user profile and/or login page carried in the logging request the use The mode of the logging request at family.
Specifically, the user profile includes the user name password combination of user, or user IP address.
Specifically, the special login page of also predeterminable different user, such as developer's login page and user of service step on Record the login page that the login page information carried in the page, the logging request can select for user, i.e. different login sides The different login page of formula correspondence.
Wherein, the process analyzed the logging request can be discussed in detail in follow-up embodiment, and the present embodiment is not Explain.
It should be noted that the logging request being related in the application is correct logging request, such as developer logs in please The user name password combination for asking middle carrying is correct, can be realized and developer's login mode using the username and password It is corresponding to log in.It is not related to illegal logging request, such as wrong user name password in the application.
When the mode that the analysis of analysis module 702 obtains the logging request is the first login mode, the first module 703 is triggered, Otherwise the second module 704 is triggered.
Wherein, the first module 703, for when the mode of the logging request is the first login mode, controlling the row Vehicle control enters development status pattern, in the development status pattern, the underlying protocol according to the train control system The train control system configuration processor is developed, project file is generated;
Wherein, first login mode is the corresponding development status mode entry mode of developer.
Wherein, when analysis obtain the logging request it is corresponding be the first login mode when, then the first module 703 is controlled accordingly The displaying corresponding display content of development status pattern, be specially the underlying protocol according to the train control system to described Train control system configuration processor is developed, and generates the process of project file.And the displaying for the underlying protocol being related in this process Unrestricted, developer deploys underlying protocol source program as needed, and is realized according to the underlying protocol to Train Control system The configuration of system, it is ensured that developer checks and operated to the underlying protocol of train control system.
For example, when the configuration is watchdog logic figure monitoring configuration, then the correlation engineering files such as watchdog logic figure are formed, it is split The process of hair and the watchdog logic figure can be shown to developer.
Wherein, the second module 704, for when the mode of the logging request is the second login mode, controlling the row Vehicle control information enters operation state mode, and in the operation state mode, the project file is shown.
Wherein, the second login mode is the corresponding operation state mode login mode of user of service.
Wherein, when analysis obtain the logging request it is corresponding be the second login mode when, then the second module 704 exhibition accordingly Show the corresponding display content of the operation state mode, specially develop the project file of completion, the project file designs for exploitation The file of completion, after user loads the project file into electronic equipment, can be shown to the content in the project file, use The content that family is only related to the project file carries out configurating operation etc., and the content in this pair of project file carries out configurating operation It is not related to the content of the underlying protocol of train control system, then is shown without the content to the underlying protocol, it is ensured that make With the use feeling of personnel, while preventing the underlying protocol of developer from including the source program leakage of proprietary protocol.
Wherein, when carrying user profile in the logging request of user, the user profile includes user, user name password Combination and/or IP address, the analysis module specifically for:When the user profile carried in the logging request is with prestoring During the user profile matching of the first login mode of storage, judge the mode of the logging request as the first login mode;Otherwise, institute The mode for stating logging request is the second login mode.
Wherein, when carrying the page info of user profile and login page in the logging request of user, the analysis mould Block, specifically for:According to the page info and the logging request, judge whether the logging request of the user meets first Login mode condition, if it is satisfied, judging the mode of the logging request as the first login mode;Otherwise, the logging request Mode be the second login mode.
To sum up, the exhibiting device for a kind of train control system that the present embodiment is provided, can be to the use of different login modes Family shows different contents, when user is with the first login mode, it may be determined that the user is developer, then controls Train Control System enters development status pattern, by the underlying protocol for the foundation train control system being related in development status pattern to train control The content of system executive exploitation processed is shown;When user is with the second login mode, it may be determined that the user is user Member, then be shown to project file, the content displaying of the underlying protocol of train control system be not related to, ensure that user While the use feeling of member, the underlying protocol of developer is protected to include the source program safety of proprietary protocol, and not shadow Ring developer the underlying protocol of train control system is checked and operated.
The embodiment of each in this specification is described by the way of progressive, and what each embodiment was stressed is and other Between the difference of embodiment, each embodiment identical similar portion mutually referring to.The device provided for embodiment For, because it is corresponding with the method that embodiment is provided, so description is fairly simple, related part is said referring to method part It is bright.
To the described above of the embodiment provided, professional and technical personnel in the field are enable to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principle provided in this article and features of novelty phase one The most wide scope caused.

Claims (10)

1. a kind of methods of exhibiting of train control system, it is characterised in that including:
The logging request of user is received, the mode of the logging request is analyzed, the first login mode is opened for developer is corresponding State model login mode is sent out, the second login mode is the corresponding operation state mode login mode of user of service;
When the mode of the logging request is the first login mode, the train control system is controlled to enter development status mould Formula, in the development status pattern, the underlying protocol according to the train control system performs journey to the train control system Sequence is developed, and generates project file;
When the mode of the logging request is the second login mode, the train control system information is controlled to enter running status Pattern, in the operation state mode, is shown to the project file.
2. according to the method described in claim 1, it is characterised in that when carrying user profile in the logging request of user, institute The Protocol IP address interconnected between the network for stating user name password combination and/or user of the user profile including user, it is described to connect The logging request of user is received, the mode of the logging request is judged, including:
Receive the logging request of user;
When the user profile carried in the logging request is matched with the user profile of the first pre-stored login mode, judge The mode of the logging request is the first login mode;Otherwise, the mode of the logging request is the second login mode.
3. according to the method described in claim 1, it is characterised in that when carrying user profile and login in the logging request of user During the page info of the page, the logging request of the reception user judges the mode of the logging request, including:
Receive the logging request of user;
According to the user profile and the page info of login page, judge whether the logging request of the user meets first and step on Record mode condition, if it is satisfied, judging the mode of the logging request as the first login mode;Otherwise, the logging request Mode is the second login mode.
4. according to the method described in claim 1, it is characterised in that the underlying protocol pair according to the train control system The train control system configuration processor exploitation, generates project file, including:
According to default naming rule title is defined for the default element figure in the train control system;
Obtain expandable mark language XML file;
The XML file is imported in the engineering opened, and logic chart is generated according to the XML file;
The logic chart is stored into project file according to default structure.
5. according to the method described in claim 1, it is characterised in that the project file is shown including
Obtain the project file;
The project file generation logic chart is imported, and shows the logic chart.
6. method according to claim 5, it is characterised in that after the displaying logic chart, in addition to:
It is corresponding information collecting device configuration communication modes in the logic chart according to default configuration mode;
The field data of described information collecting device collection is received according to the communication modes;
Default message handling program is triggered, the field data is handled and result is shown.
7. method according to claim 6, it is characterised in that described according to default configuration mode to be the logic chart Corresponding information collecting device configures communication modes, including:
According to default communication modes, configuration file is obtained;
Read the IP and port information in the configuration file;
According to the IP and port information, the interface channel with described information collecting device is set up.
8. a kind of exhibiting device of train control system, it is characterised in that including:
Receiving module, the logging request for receiving user;
Analysis module, the mode for analyzing the logging request, the first login mode is the corresponding development status of developer Mode entry mode, the second login mode is the corresponding operation state mode login mode of user of service;
First module, for when the mode of the logging request is the first login mode, controlling the train control system to enter Enter development status pattern, in the development status pattern, the underlying protocol according to the train control system is to the train control System executive exploitation processed, generates project file;
Second module, for when the mode of the logging request is the second login mode, controlling the train control system letter Breath enters operation state mode, and in the operation state mode, the project file is shown.
9. device according to claim 8, it is characterised in that when carrying user profile in the logging request of user, institute User profile is stated including user, user name password combination and/or IP address, the analysis module, specifically for:
When the user profile carried in the logging request is matched with the user profile of the first pre-stored login mode, judge The mode of the logging request is the first login mode;Otherwise, the mode of the logging request is the second login mode.
10. device according to claim 8, it is characterised in that when carrying user profile in the logging request of user and step on When recording the page info of the page, the analysis module, specifically for:
According to the page info and the logging request, judge whether the logging request of the user meets the first login mode Condition, if it is satisfied, judging the mode of the logging request as the first login mode;Otherwise, the mode of the logging request is Second login mode.
CN201410410769.0A 2014-08-20 2014-08-20 The methods of exhibiting and device of a kind of train control system Active CN104144169B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410410769.0A CN104144169B (en) 2014-08-20 2014-08-20 The methods of exhibiting and device of a kind of train control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410410769.0A CN104144169B (en) 2014-08-20 2014-08-20 The methods of exhibiting and device of a kind of train control system

Publications (2)

Publication Number Publication Date
CN104144169A CN104144169A (en) 2014-11-12
CN104144169B true CN104144169B (en) 2017-09-22

Family

ID=51853237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410410769.0A Active CN104144169B (en) 2014-08-20 2014-08-20 The methods of exhibiting and device of a kind of train control system

Country Status (1)

Country Link
CN (1) CN104144169B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302545B (en) * 2015-09-02 2020-02-07 湖南三一智能控制设备有限公司 Method and device for developing custom control of configuration software
CN105912325B (en) * 2016-04-05 2019-07-02 华自科技股份有限公司 Multiplexing method, system and the configuration software of pel component based on configuration software
CN106649230B (en) * 2016-09-30 2019-07-26 株洲中车时代电气股份有限公司 A kind of figure automatic generation method of train network control system logic chart
CN107229505A (en) * 2017-06-07 2017-10-03 华东师范大学 A kind of program operating method based on virtual machine

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282535A (en) * 2008-05-16 2008-10-08 中兴通讯股份有限公司 Method and apparatus for protecting mobile terminal private information
EP2239198A2 (en) * 2009-04-07 2010-10-13 Amos Group Ltd. A system and a method for managing events
CN101917448A (en) * 2010-08-27 2010-12-15 山东中创软件工程股份有限公司 Control method for realizing RBAC access permission in application on basis of.NET
CN102123274A (en) * 2011-03-11 2011-07-13 广州国联通信有限公司 Vehicle-mounted monitoring system with scatter storage function
CN102323761A (en) * 2011-07-18 2012-01-18 铁道部运输局 Semi-physical simulation testing platform of train control network
CN102981827A (en) * 2012-11-01 2013-03-20 株洲南车时代电气股份有限公司 Display interface data treatment method and platform based on middle piece

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282535A (en) * 2008-05-16 2008-10-08 中兴通讯股份有限公司 Method and apparatus for protecting mobile terminal private information
EP2239198A2 (en) * 2009-04-07 2010-10-13 Amos Group Ltd. A system and a method for managing events
CN101917448A (en) * 2010-08-27 2010-12-15 山东中创软件工程股份有限公司 Control method for realizing RBAC access permission in application on basis of.NET
CN102123274A (en) * 2011-03-11 2011-07-13 广州国联通信有限公司 Vehicle-mounted monitoring system with scatter storage function
CN102323761A (en) * 2011-07-18 2012-01-18 铁道部运输局 Semi-physical simulation testing platform of train control network
CN102981827A (en) * 2012-11-01 2013-03-20 株洲南车时代电气股份有限公司 Display interface data treatment method and platform based on middle piece

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
机车信息显示单元跨平台IDE研究;谭海鹏;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;20131215;正文第2-7章 *

Also Published As

Publication number Publication date
CN104144169A (en) 2014-11-12

Similar Documents

Publication Publication Date Title
CN104144169B (en) The methods of exhibiting and device of a kind of train control system
CN104185305B (en) It is a kind of to apply networking methods and mobile terminal with priority
CN105450745B (en) Internet of Things web information system
CN102724079B (en) Method and system for auxiliary configuration of Ethernet equipment
US9874860B2 (en) Providing user interface of a frequency converter over a wireless connection
DE102017116706A1 (en) PROCESS CONTROL COMMUNICATION ARCHITECTURE
CN107613487A (en) A kind of eSIM cards and its method of work
CN101288033A (en) Drive with server
CN108769214A (en) For controlling edge calculations equipment, the method and apparatus for updating the data
CN102457521B (en) Access right management device, access right management system, access right management method
CN105827438A (en) Method for setting APN automatically
CN108255936A (en) A kind of edit methods of webpage, system and editing machine
CN106375204A (en) Intelligent gateway system and operation method thereof
CN107026913A (en) The remote cluster control system and its control method of a kind of ios device
EP3001648A1 (en) Control of communication between a communication server outside the building and a communication unit inside the building
CN103384246B (en) Safety supervision system login assistant method
CN106897071A (en) A kind of API extracting methods and system
CN105025108B (en) A kind of debugging maintenance method that train control system equipment based on mobile terminal is wireless
CN107623574A (en) A kind of instant messaging group group member's pet name automatic correlation method and device
CN108965423A (en) A kind of Intelligent gateway system management method based on cloud management
CN108449403A (en) A kind of charge control method
CN104394151A (en) Method, device and system for accessing campus network into operator network
CN107769975A (en) A kind of method and system of intelligent terminal configuration router
CN107733785A (en) A kind of multiple terminals chat message synchronization removal method and device
CN108711123A (en) A kind of experimental platform system and its application method based on online editing

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: The age of 412001 in Hunan Province, Zhuzhou Shifeng District Road No. 169

Patentee after: ZHUZHOU CRRC TIMES ELECTRIC Co.,Ltd.

Address before: The age of 412001 in Hunan Province, Zhuzhou Shifeng District Road No. 169

Patentee before: ZHUZH CSR TIMES ELECTRIC Co.,Ltd.