CN104615065B - Data processing method and device for train network control system - Google Patents

Data processing method and device for train network control system Download PDF

Info

Publication number
CN104615065B
CN104615065B CN201510020149.0A CN201510020149A CN104615065B CN 104615065 B CN104615065 B CN 104615065B CN 201510020149 A CN201510020149 A CN 201510020149A CN 104615065 B CN104615065 B CN 104615065B
Authority
CN
China
Prior art keywords
record data
data
numerical value
record
maximum
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
CN201510020149.0A
Other languages
Chinese (zh)
Other versions
CN104615065A (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.)
CRRC Qingdao Sifang Co Ltd
Original Assignee
CRRC Qingdao Sifang 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 CRRC Qingdao Sifang Co Ltd filed Critical CRRC Qingdao Sifang Co Ltd
Priority to CN201510020149.0A priority Critical patent/CN104615065B/en
Publication of CN104615065A publication Critical patent/CN104615065A/en
Application granted granted Critical
Publication of CN104615065B publication Critical patent/CN104615065B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/048Monitoring; Safety

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

The invention discloses a kind of data processing method and device for train network control system.Wherein, the data processing method for train network control system includes:On each controller after electricity, the record data being locally stored is sent to system bus so that system bus records the record data of all controllers;Any one or more controllers read the record data of all controllers from system bus, obtain record data set;Any one or more controllers obtain the maximum record data of numerical value in record data set, and regard the maximum record data of numerical value as the initial value for operation program.By the present invention, multiple controllers in existing network control system are solved before operation program, the data of reservation are all different, the skimble-scamble problem of the result for causing all controllers to be generated after operation program.

Description

Data processing method and device for train network control system
Technical field
The present invention relates to communication field, in particular to a kind of data processing side for train network control system Method and device.
Background technology
During train network control system use, multiple controllers in control system add up journey in service data The problem of cumulative data result generated after sequence often has inconsistent, in view of the above-mentioned problems, prior art is using specified Some controller has a writing function, and the method for other controller automatic shields records, but this method in system just Chang Shi, it is ensured that the uniqueness of data source, but if when appointed controller breaks down, the data of record are with regard to nothing Method is normally shown.
The result generated after operation program for multiple controllers in train network control system in the prior art is not Unified the problem of, effective solution is not yet proposed at present.
The content of the invention
It is a primary object of the present invention to provide a kind of data processing method and device for train network control system, To solve multiple controllers in existing network control system before operation program, the data of reservation are all different, cause to own The skimble-scamble problem of result that is generated after operation program of controller.
To achieve these goals, one side according to embodiments of the present invention is used for train network control there is provided one kind The data processing method of system processed.This method includes:On each controller after electricity, the record data being locally stored is sent to being System bus so that system bus records the record data of all controllers;Any one or more controllers are from system bus The record data of all controllers is read, record data set is obtained;Any one or more controllers obtain log data set The maximum record data of numerical value in conjunction, and it regard the maximum record data of numerical value as the initial value for operation program.
To achieve these goals, another aspect according to embodiments of the present invention is used for train network control there is provided one kind The data processing equipment of system processed.The device includes:First sending module, after the electricity on each controller, will locally be deposited The record data of storage is sent to system bus so that system bus records the record data of all controllers;Read module, is used for Any one or more controllers read the record data of all controllers from system bus, obtain record data set;The One processing module, the maximum record data of numerical value in record data set is obtained for any one or more controllers, and will The maximum record data of numerical value is used as the initial value for operation program.
In embodiments of the present invention, after using electricity on each controller, the record data being locally stored is sent to system Bus so that system bus records the record data of all controllers;Any one or more controllers are read from system bus The record data of all controllers is taken, record data set is obtained;Any one or more controllers obtain record data set The maximum record data of middle numerical value, and it regard the maximum record data of numerical value as the method for the initial value for operation program, solution The multiple controllers determined in existing network control system are before operation program, and the data of reservation are all different, cause all The skimble-scamble problem of result that controller is generated after operation program.
Brief description of the drawings
The accompanying drawing for constituting the part of the application is used for providing a further understanding of the present invention, schematic reality of the invention Apply example and its illustrate to be used to explain the present invention, do not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of according to embodiments of the present invention one data processing method for train network control system;
Fig. 2 is according to embodiments of the present invention one showing optionally with the data processing method in train network control system It is intended to;
Fig. 3 is according to embodiments of the present invention one showing optionally with the data processing method in train network control system It is intended to;
Fig. 4 is according to embodiments of the present invention one showing optionally with the data processing method in train network control system It is intended to;And
Fig. 5 is according to embodiments of the present invention two knot optionally with the data processing equipment in train network control system The schematic diagram of structure.
Embodiment
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combination.Describe the present invention in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the model that the present invention is protected Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so using Data can exchange in the appropriate case, so as to embodiments of the invention described herein.In addition, term " comprising " and " tool Have " and their any deformation, it is intended that covering is non-exclusive to be included, for example, containing series of steps or unit Process, method, system, product or equipment are not necessarily limited to those steps clearly listed or unit, but may include without clear It is listing to Chu or for the intrinsic other steps of these processes, method, product or equipment or unit.
Embodiment one
A kind of data processing method for train network control system is present embodiments provided, in a kind of optional implementation Among example, the network control system of above-mentioned train can be a kind of many redundancy control systems for train, in above-mentioned network control Multiple controllers can be included in system processed, as shown in figure 1, this method can be as follows including step:
On step S102, each controller after electricity, the record data being locally stored is sent to system bus so that system Bus records the record data of all controllers.
Specifically, in this programme, can in train network control system on just during electricity, within the T1 times, The data that any one controller first stores itself are that above-mentioned record data is sent to train bus-line by specific port On, need exist for explanation, in this programme, above-mentioned record data can for service data, mileage, the TCMS working times, The data such as air compressor machine working time, traction energy consumption, regeneration energy consumption, auxiliary energy consumption, above-mentioned port can be Mvb buses, and can is total Line, the transmission means such as Ethernet.
Optionally, vehicle screen controller and tailstock controller can be included in above-mentioned multiple controllers.
Explanation is needed exist for, herein presented system bus can also be train bus-line.
It is preferred that, the number that will can be stored within the T1 times in all controllers in above-mentioned train network control system According to transmission to system bus.
Step S104, any one or more controllers read the record data of all controllers from system bus, obtained To record data set.
Specifically, in this programme, any one controller in train network control system can after the T1 times, The record data that all controllers are sent is read from said system bus, the set of record data is obtained.
Step S106, any one or more controllers obtain the maximum record data of numerical value in record data set, and It regard the maximum record data of numerical value as the initial value for operation program.
Specifically, in this programme, any one controller in train network control system can be in the above-mentioned T1 times Later the T2 times interior record data that numerical value maximum is got from above-mentioned record data set, and above-mentioned numerical value is maximum The initial value that record data is run as controller internal program.
Pass through the present embodiment, first, the record data that each controller in train network control system stores itself Send to system bus, then, each controller reads the record data that all controllers in system bus are sent, finally, The record data that each controller chooses numerical value maximum from above-mentioned record data is used as the initial of operation program in controller Value, the initial value that can realize the operation program in each controller by the above-mentioned method of synchronization is consistent, solved existing Network control system in multiple controllers before operation program, the initial value of reservation is all different, causes all controllers The skimble-scamble problem of result generated after operation program.
Optionally, in step S106, any one or more controllers obtain the maximum note of numerical value in record data set Record data, and using the maximum record data of numerical value as before the initial value for operation program, the method that the present embodiment is provided It can also include:
Step S1051, judges whether each record data in record data set is more than or equal to first threshold.
Step S1052, the record data in record data set more than or equal to first threshold is abandoned.
Specifically, in this programme, each controller in above-mentioned train network system may determine that above-mentioned record data In each data whether be more than or equal to first threshold, need exist for explanation, due to being contained in above-mentioned record data The record data that all controllers are sent to system bus, and during train network control system is run, in system Some controller may break down, i.e., system does not collect the life signal of controller in the given time, breaks down The data that are sent to system bus of controller be then that invalid data, i.e. invalid data are more than or equal to default first threshold, because This is in this programme, the invalid number in the record data set that the controller of normal work then reads it from system bus According to exclusion, then perform above-mentioned steps S106.
By above-mentioned steps, the controller broken down such as the first controller, it is invalid that above-mentioned first controller is sent Data synchronously will not cause initial value changes to the controller institute of other normal works, optionally, above-mentioned after failture evacuation The data that first controller is sent to system bus are then less than default first threshold, now, the first controller of normal work The data syn-chronization of all controllers in system can be then participated in, the purpose with the data syn-chronization of other controllers is realized.
In a kind of preferred embodiment, whether just above-mentioned first controller can detect the working condition of master controller Often, if detecting the life signal of master controller in the given time, prove that the working condition of master controller is normal, together When, above-mentioned first controller also detects whether the record data that above-mentioned master controller is sent to system bus is normal data, i.e., The record data that master controller is sent to system bus be less than default first threshold in the case of, illustrate that the record data is Valid data, are otherwise invalid data, only judge that the working condition of above-mentioned master controller is normal, record data that is sending is effective In the case of, above-mentioned first controller just allows the record data read from system bus to participate in comparison, so as to select operation The initial value of program.Optionally, in the case of above-mentioned master controller working condition exception or transmission data invalid, in this programme In, above-mentioned first controller can send prompt message or warning message to remind staff to notice that above-mentioned master controller occurs Failure.
Optionally, in step S106, the numerical value maximum in any one or more controllers obtain record data set After record data, the method that the present embodiment is provided can also include:
Step S107, operation program generates result data.
Step S108, result data is sent to system bus.
Specifically, in this programme, each controller is caused and the initial value in other controllers by way of synchronous After identical, then operation program, and result data is sent to system bus, now each control in train network control system The result data that device is sent to system bus is identical.
Optionally, in this programme, above-mentioned data accumulation logging program can be the journey for performing data accumulation writing function Sequence.
Step S106, obtains the maximum record data of numerical value from record data set, and by the maximum record number of numerical value The step of according to initial value as operation program, can include:
Step S1061, multiple record datas of record data set are contrasted, and obtain the maximum record number of numerical value According to.
Step S1062, using the maximum record data of numerical value as service data bulk registration program initial value.
Explanation is needed exist for, in this programme, data accumulation logging program is a preferred embodiment, above-mentioned One or more controllers can also run other multiple programs.
Optionally, above-mentioned record data includes multiple data types, and each data type corresponds to a record data set, Step S106, obtains the maximum record data of numerical value, and regard the maximum record data of numerical value as fortune from record data set The step of initial value of line program, can also include:
Step S1063, obtains the corresponding record data set of the first data type.
Specifically, in this programme, above-mentioned record data can include following one or more data types:Run number According to, mileage, TCMS working times, air compressor machine working time, traction energy consumption, regeneration energy consumption, auxiliary energy consumption.Every kind of data type is all To that should have a record data set, i.e., in a kind of optional embodiment, if each controller is into system bus The data of one the first data type of respective input, such as the data of distance travelled type, then in system bus, on fortune Multiple record datas of row mileage type are then a set, and the number for gathering mileage evidence then depends on the number of controller.
Step S1064, using the maximum record data of the numerical value in the corresponding record data set of the first data type as The initial value of the data of first data type of operation program.
Specifically, after the corresponding record data set of above-mentioned first data type is obtained, then by above-mentioned set Maximum record data needs exist for explanation, because data type is many in controller as the initial value of operation program Kind, controller noted above all regard the maximum record data of the numerical value in all types of record data set as the first of operation program Initial value, it is ensured that the uniformity and synchronism of the initial value of the same type of data of all controllers.
Optionally, in step 106, the maximum record data of numerical value is obtained from record data set, and numerical value is maximum Record data as the initial value of operation program after, the present embodiment provide method also include:
Step S109, if adding new controller in network control system, repeats step 102 to step S106, until obtaining the maximum record data of numerical value new in record data set.
Specifically, in this programme, new control can be incorporated to after the network control system of train runs a period of time Device is operated, and the controller being incorporated to due to after also performs step 102 to step S106 during first operation, that is, sends number According to, the process that compares, contrast, redefine operation program initial value, it is ensured that before program operation, realize the control being newly incorporated to The operation program initial value uniformity of device processed and other controllers.
Optionally, in step S106, the maximum record data of numerical value is obtained from record data set, and numerical value is maximum Record data as the initial value of operation program after, the present embodiment provide method can also include:
Step S110, if adding new controller in network control system, is directly obtained in record data set The maximum record data of numerical value as operation program initial value.
Need exist for running after a period of time in explanation, the network control system of train, can increase into system New controller is operated, because in network control system, controller is uploaded, read, compared the mistake of record data Journey will expend substantial amounts of Internet resources, therefore, in a kind of optional scheme, and new controller is being incorporated to network control system Afterwards, the comparison of record data is not involved in, but directly obtains the maximum record number of the numerical value read in remaining multiple controller According to.
With reference to Fig. 2 to Fig. 4, the application combination concrete application scene is deployed to describe:
Train network control system in first power up, as shown in Fig. 2 within the T1 times all normal works control The data of self record are sent on train bus-line by device by specific port first, and the port can be;Port numbers are 104 Parking stall port, port numbers be 105 parking stall port.As shown in figure 3, after the T1 times, this vehicle controller is from train bus-line The data that other controllers are sent in bus are read, (lasting contrast is compared in the same type of data of all controllers The T2 times), each type of data decimation maximum passes through as the initial value of this class data of this controller within the T2 times This kind of alignments, it is ensured that the uniformity and synchronism of the same type of data initial value of all controllers.Such as Fig. 4 institutes Show, after the T2 times, the initial value of all controllers ensures consistent, the program for the normal data accumulation record that brings into operation, and Result is sent in system bus in real time.Because the logging program of all controllers is completely the same, input parameter complete one Cause, therefore the result calculated will be completely the same.
If system has other controllers to be incorporated to system work after operation a period of time, the system being incorporated to due to after is i.e. new The controller process that experience sends data, compares, redefines initial value successively during first operation, it is ensured that in note Record before normal program operation, the uniformity with other controller record data initial values is had been realized in, so as to realize new control The reset data of device, and then realize the uniformity with other controller result of calculations.If after operation a period of time, there is any One controller breaks down, and the controller of this failure will not cause the change of any input parameter to other controllers, under The purpose with the data syn-chronization of other controllers can be realized by the above method when being run at the beginning of secondary.
By taking master controller as an example, if it is determined that reading all controllers on system bus after initialization data After record data, further, this programme can detect whether master controller current operating state is normal, and whether the data of transmission Normally, if if not detecting life signal in the scheduled time, illustrating that master controller goes wrong, in current controller The invalid data of other side is then abandoned, life signal and data are waited effectively, the comparison of ability start recording data.
To sum up, the present invention is by the method that all controller recorded data are compared in system, solving The problem of controller recorded data of par has differences in system.The error of data record is reduced, improves and is The accuracy for the information provided of uniting.
Embodiment two
A kind of data processing equipment for train network control system is present embodiments provided, in a kind of optional implementation Among example, the network control system of above-mentioned train can be a kind of many redundancy control systems for train, in above-mentioned network control Multiple controllers can be included in system processed, as shown in figure 5, the data processing equipment can include:
First sending module 12, after the electricity on each controller, the record data being locally stored is sent to system Bus so that system bus records the record data of all controllers.
Specifically, in this programme, can in train network control system on just during electricity, within the T1 times, The data that any one controller first stores itself are that above-mentioned record data is sent to train bus-line by specific port On, need exist for explanation, in this programme, above-mentioned record data can for service data, mileage, the TCMS working times, The data such as air compressor machine working time, traction energy consumption, regeneration energy consumption, auxiliary energy consumption, above-mentioned port can be Mvb buses, and can is total Line, the transmission means such as Ethernet.
There is also the need to explanation, vehicle screen controller and tailstock controller can be included in above-mentioned multiple controllers.
It is preferred that, the number that will can be stored within the T1 times in all controllers in above-mentioned train network control system According to transmission to system bus.
Read module 14, the record number of all controllers is read for any one or more controllers from system bus According to obtaining record data set.
Specifically, in this programme, any one controller in train network control system can after the T1 times, The record data that all controllers are sent is read from said system bus, the set of record data is obtained.
First processing module 16, the maximum note of numerical value in record data set is obtained for any one or more controllers Data are recorded, and regard the maximum record data of numerical value as the initial value for operation program.
Specifically, in this programme, any one controller in train network control system can be in the above-mentioned T1 times Later the T2 times interior record data that numerical value maximum is got from above-mentioned record data set, and above-mentioned numerical value is maximum The initial value that record data is run as controller internal program.
Pass through the present embodiment, first, the record data that each controller in train network control system stores itself Send to system bus, then, each controller reads the record data that all controllers in system bus are sent, finally, The record data that each controller chooses numerical value maximum from above-mentioned record data is used as the initial of operation program in controller Value, the initial value that can realize the operation program in each controller by the above-mentioned method of synchronization is consistent, solved existing Network control system in multiple controllers before operation program, the initial value of reservation is all different, causes all controllers The skimble-scamble problem of result generated after operation program.
Optionally, the data processing equipment that the present embodiment is provided can also include:
Judge module, for judging whether each record data in record data set is more than or equal to first threshold.
Module is removed, for the record data in record data set more than or equal to first threshold to be abandoned.
Specifically, in this programme, each controller in above-mentioned train network system may determine that above-mentioned record data In each data whether be more than or equal to first threshold, need exist for explanation, due to being contained in above-mentioned record data The record data that all controllers are sent to system bus, and during train network control system is run, in system Some controller may break down, i.e., system does not collect the life signal of controller in the given time, breaks down The data that are sent to system bus of controller be then that invalid data, i.e. invalid data are more than or equal to default first threshold, because This is in this programme, the invalid number in the record data set that the controller of normal work then reads it from system bus According to exclusion, return again to first processing module 16 and handled.
By above-mentioned steps, the controller broken down such as the first controller, it is invalid that above-mentioned first controller is sent Data synchronously will not cause initial value changes to the controller institute of other normal works, optionally, above-mentioned after failture evacuation The data that first controller is sent to system bus are then less than default first threshold, now, the first controller of normal work The data syn-chronization of all controllers in system can be then participated in, the purpose with the data syn-chronization of other controllers is realized.
In a kind of preferred embodiment, whether just above-mentioned first controller can detect the working condition of master controller Often, if detecting the life signal of master controller in the given time, prove that the working condition of master controller is normal, together When, above-mentioned first controller also detects whether the record data that above-mentioned master controller is sent to system bus is normal data, i.e., The record data that master controller is sent to system bus be less than default first threshold in the case of, illustrate that the record data is Valid data, are otherwise invalid data, only judge that the working condition of above-mentioned master controller is normal, record data that is sending is effective In the case of, above-mentioned first controller just allows the record data read from system bus to participate in comparison, so as to select operation The initial value of program.Optionally, in the case of above-mentioned master controller working condition exception or transmission data invalid, in this programme In, above-mentioned first controller can send prompt message or warning message to remind staff to notice that above-mentioned master controller occurs Failure.
Optionally, the data processing equipment that the present embodiment is provided can also include:
Generation module, for operation program, generates result data.
Second sending module, for result data to be sent to system bus.
Specifically, in this programme, each controller is caused and the initial value in other controllers by way of synchronous After identical, then operation program, and result data is sent to system bus, now each control in train network control system The result data that device is sent to system bus is identical.
Optionally, in this programme, above-mentioned data accumulation logging program can be the journey for performing data accumulation writing function Sequence.
Optionally, first processing module 16 includes including:
Second acquisition module, for multiple record datas of record data set to be contrasted, obtains numerical value maximum Record data.
Second processing module, for regarding the maximum record data of numerical value as the initial of service data bulk registration program Value.
Explanation is needed exist for, in this programme, data accumulation logging program is a preferred embodiment, above-mentioned One or more controllers can also run other multiple programs.
Optionally, first processing module 16 can also include:
3rd acquisition module, for obtaining the corresponding record data set of the first data type.
Specifically, in this programme, above-mentioned record data can include following one or more data types:Run number According to, mileage, TCMS working times, air compressor machine working time, traction energy consumption, regeneration energy consumption, auxiliary energy consumption.Every kind of data type is all To that should have a record data set, i.e., in a kind of optional embodiment, if each controller is into system bus The data of one the first data type of respective input, such as the data of distance travelled type, then in system bus, on fortune Multiple record datas of row mileage type are then a set, and the number for gathering mileage evidence then depends on the number of controller.
3rd processing module, for by the maximum record number of the numerical value in the corresponding record data set of the first data type According to the initial value of the data of the first data type as operation program.
Specifically, after the corresponding record data set of above-mentioned first data type is obtained, then by above-mentioned set Maximum record data needs exist for explanation, because data type is many in controller as the initial value of operation program Kind, controller noted above all regard the maximum record data of the numerical value in all types of record data set as the first of operation program Initial value, it is ensured that the uniformity and synchronism of the initial value of the same type of data of all controllers.
Optionally, the data processing equipment that the present embodiment is provided also includes:
4th acquisition module, if for adding new controller in network control system, repeating the first hair The function of module, read module, first processing module is sent, until obtaining the maximum record number of numerical value new in record data set According to.
Specifically, in this programme, new control can be incorporated to after the network control system of train runs a period of time Device is operated, and the controller being incorporated to due to after also performs the first sending module 12, read module 14 during first operation, First processing module 16, function, that is, send data, the process that compares, contrast, redefining operation program initial value, it is ensured that Before program operation, the operation program initial value uniformity of the controller and other controllers that are newly incorporated to is realized.
Optionally, the data processing equipment that the present embodiment is provided also includes:
5th acquisition module, if for adding new controller in network control system, directly obtaining record number According to initial value of the maximum record data of the numerical value in set as operation program.
Need exist for running after a period of time in explanation, the network control system of train, can increase into system New controller is operated, because in network control system, controller is uploaded, read, compared the mistake of record data Journey will expend substantial amounts of Internet resources, therefore, in a kind of optional scheme, and new controller is being incorporated to network control system Afterwards, the comparison of record data is not involved in, but directly obtains the maximum record number of the numerical value read in remaining multiple controller According to.
With reference to Fig. 2 to Fig. 4, the application combination concrete application scene is deployed to describe:
Train network control system in first power up, as shown in Fig. 2 within the T1 times all normal works control The data of self record are sent on train bus-line by device by specific port first, and the port can be;Port numbers are 104 Parking stall port, port numbers be 105 parking stall port.As shown in figure 3, after the T1 times, this vehicle controller is from train bus-line The data that other controllers are sent in bus are read, (lasting contrast is compared in the same type of data of all controllers The T2 times), each type of data decimation maximum passes through as the initial value of this class data of this controller within the T2 times This kind of alignments, it is ensured that the uniformity and synchronism of the same type of data initial value of all controllers.Such as Fig. 4 institutes Show, after the T2 times, the initial value of all controllers ensures consistent, the program for the normal data accumulation record that brings into operation, and Result is sent in system bus in real time.Because the logging program of all controllers is completely the same, input parameter complete one Cause, therefore the result calculated will be completely the same.
If system has other controllers to be incorporated to system work after operation a period of time, the system being incorporated to due to after is i.e. new The controller process that experience sends data, compares, redefines initial value successively during first operation, it is ensured that in note Record before normal program operation, the uniformity with other controller record data initial values is had been realized in, so as to realize new control The reset data of device, and then realize the uniformity with other controller result of calculations.If after operation a period of time, there is any One controller breaks down, and the controller of this failure will not cause the change of any input parameter to other controllers, under The purpose with the data syn-chronization of other controllers can be realized by the above method when being run at the beginning of secondary.
By taking master controller as an example, if it is determined that reading all controllers on system bus after initialization data After record data, further, this programme can detect whether master controller current operating state is normal, and whether the data of transmission Normally, if if not detecting life signal in the scheduled time, illustrating that master controller goes wrong, in current controller The invalid data of other side is then abandoned, life signal and data are waited effectively, the comparison of ability start recording data.
To sum up, the present invention is by the method that all controller recorded data are compared in system, solving The problem of controller recorded data of par has differences in system.The error of data record is reduced, improves and is The accuracy for the information provided of uniting.It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore by its A series of combination of actions is all expressed as, but those skilled in the art should know, the present invention is not by described action The limitation of order, because according to the present invention, some steps can be carried out sequentially or simultaneously using other.Secondly, this area skill Art personnel should also know that embodiment described in this description belongs to preferred embodiment, and involved action and module are simultaneously It is not necessarily necessary to the present invention.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
, can be by another way in several embodiments provided herein, it should be understood that disclosed device Realize.For example, device embodiment described above is only schematical, such as the division of described unit is only one kind Division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, Can be electrical or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially The part contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer Equipment (can be personal computer, mobile terminal, server or network equipment etc.) performs side described in each embodiment of the invention The all or part of step of method.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), Random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various to be stored The medium of program code.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (14)

1. a kind of data processing method for train network control system, the network control system includes multiple controllers, Characterized in that, the method for the data processing includes:
On step S102, each controller after electricity, the record data being locally stored is sent to system bus so that the system Bus records the record data of all controllers;
Step S104, any one or more controllers read the record number of all controllers from the system bus According to obtaining record data set;
Step S106, any one or more controllers obtain the maximum record number of numerical value in the record data set According to, and it regard the maximum record data of the numerical value as the initial value for operation program.
2. according to the method described in claim 1, it is characterised in that obtain the note in any one or more controllers Record in data acquisition system before the maximum record data of numerical value, methods described also includes:
Judge whether each record data in the record data set is more than or equal to first threshold;
Record data in the record data set more than or equal to first threshold is abandoned.
3. method according to claim 1 or 2, it is characterised in that obtain institute in any one or more controllers State in record data set after the maximum record data of numerical value, methods described also includes:
Described program is run, result data is generated;
The result data is sent to the system bus.
4. method according to claim 3, it is characterised in that described program is data accumulation logging program, wherein, from institute State and the maximum record data of numerical value is obtained in record data set, and regard the maximum record data of the numerical value as operation program Initial value the step of include:
Multiple record datas of the record data set are contrasted, the maximum record data of the numerical value is obtained;
It regard the maximum record data of the numerical value as the initial value for running the data accumulation logging program.
5. method according to claim 3, it is characterised in that the record data includes multiple data types, per number According to type one record data set of correspondence, wherein, the maximum record data of numerical value is obtained from the record data set, and The step of using the maximum record data of the numerical value as the initial value of operation program, also includes:
Obtain the corresponding record data set of the first data type;
It regard the maximum record data of the numerical value in the corresponding record data set of first data type as the operation journey The initial value of the data of first data type of sequence.
6. method according to claim 3, it is characterised in that numerical value maximum is being obtained from the record data set Record data, and using the maximum record data of the numerical value as after the initial value of operation program, methods described also includes:
If adding new controller in the network control system, the step S102 is repeated to step S106, Until obtaining the maximum record data of numerical value new in the record data set.
7. method according to claim 3, it is characterised in that numerical value maximum is being obtained from the record data set Record data, and using the maximum record data of the numerical value as after the initial value of operation program, methods described also includes:
If adding new controller in the network control system, the numerical value in the record data set is directly obtained Maximum record data is used as the initial value for running described program.
8. a kind of data processing equipment for train network control system, the network control system includes multiple controllers, Characterized in that, the data processing equipment includes:
First sending module, after the electricity on each controller, the record data being locally stored is sent to system bus, made Obtain the record data that the system bus records all controllers;
Read module, the record of all controllers is read for any one or more controllers from the system bus Data, obtain record data set;
First processing module, numerical value maximum in the record data set is obtained for any one or more controllers Record data, and it regard the maximum record data of the numerical value as the initial value for operation program.
9. data processing equipment according to claim 8, it is characterised in that the data processing equipment also includes:
Judge module, for judging whether each record data in the record data set is more than or equal to first threshold;
Module is removed, for the record data in the record data set more than or equal to first threshold to be abandoned.
10. data processing equipment according to claim 8 or claim 9, it is characterised in that the data processing equipment also includes:
Generation module, for running described program, generates result data;
Second sending module, for the result data to be sent to the system bus.
11. data processing equipment according to claim 10, it is characterised in that the first processing module includes:
Second acquisition module, for multiple record datas of the record data set to be contrasted, obtains the numerical value most Big record data;
Second processing module, for regarding the maximum record data of the numerical value as the initial of service data bulk registration program Value.
12. data processing equipment according to claim 10, it is characterised in that the first processing module also includes:
3rd acquisition module, for obtaining the corresponding record data set of the first data type;
3rd processing module, for by the maximum record number of the numerical value in the corresponding record data set of first data type According to the initial value of the data of the first data type as operation described program.
13. data processing equipment according to claim 10, it is characterised in that the data processing equipment also includes:
4th acquisition module, if for adding new controller in the network control system, repeating described The function of one sending module, read module and first processing module, until obtaining numerical value new in the record data set Maximum record data.
14. data processing equipment according to claim 10, it is characterised in that the data processing equipment also includes:
5th acquisition module, if for adding new controller in the network control system, directly obtaining the note The record data of numerical value maximum in record data acquisition system is used as the initial value of operation described program.
CN201510020149.0A 2015-01-15 2015-01-15 Data processing method and device for train network control system Active CN104615065B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510020149.0A CN104615065B (en) 2015-01-15 2015-01-15 Data processing method and device for train network control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510020149.0A CN104615065B (en) 2015-01-15 2015-01-15 Data processing method and device for train network control system

Publications (2)

Publication Number Publication Date
CN104615065A CN104615065A (en) 2015-05-13
CN104615065B true CN104615065B (en) 2017-09-05

Family

ID=53149567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510020149.0A Active CN104615065B (en) 2015-01-15 2015-01-15 Data processing method and device for train network control system

Country Status (1)

Country Link
CN (1) CN104615065B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955235A (en) * 2016-05-19 2016-09-21 株洲中车时代电气股份有限公司 Test method, device and system of train network control system
CN109039768B (en) * 2018-09-03 2021-05-18 武汉虹信科技发展有限责任公司 CBTC signal warning method in LTE-M communication network
CN110901691B (en) * 2018-09-17 2021-10-29 株洲中车时代电气股份有限公司 Ferroelectric data synchronization system and method and train network control system
CN109581999B (en) * 2018-11-05 2021-06-01 中国航空工业集团公司西安飞机设计研究所 Method for processing state data of power distribution channel of aircraft electromechanical system
CN113886148A (en) * 2021-10-28 2022-01-04 杭州和利时自动化有限公司 CPU diagnosis system, method, device and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6170044B1 (en) * 1997-12-19 2001-01-02 Honeywell Inc. Systems and methods for synchronizing redundant controllers with minimal control disruption
CN101196739A (en) * 2007-11-26 2008-06-11 东方电气集团东方汽轮机有限公司 Autonomous system with redundant configuration and its configuration method
KR20090097678A (en) * 2008-03-12 2009-09-16 현대로템 주식회사 Apparatus for assaying mvb communication of train
CN103399546A (en) * 2013-07-26 2013-11-20 杭州和利时自动化有限公司 Method and system for controlling triple redundancy
CN103676937A (en) * 2013-12-10 2014-03-26 中联重科股份有限公司 Method and device for processing control parameters in controller

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6170044B1 (en) * 1997-12-19 2001-01-02 Honeywell Inc. Systems and methods for synchronizing redundant controllers with minimal control disruption
CN101196739A (en) * 2007-11-26 2008-06-11 东方电气集团东方汽轮机有限公司 Autonomous system with redundant configuration and its configuration method
KR20090097678A (en) * 2008-03-12 2009-09-16 현대로템 주식회사 Apparatus for assaying mvb communication of train
CN103399546A (en) * 2013-07-26 2013-11-20 杭州和利时自动化有限公司 Method and system for controlling triple redundancy
CN103676937A (en) * 2013-12-10 2014-03-26 中联重科股份有限公司 Method and device for processing control parameters in controller

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CRH2型200km_h动车组列车网络控制系统;刘先恺;《机车电传动》;20081110(第6期);第1-4页 *
分布式列车控制系统的冗余设计;陶艳;《郑州铁路职业技术学院学报》;20090630;第21卷(第2期);第10-11,19页 *

Also Published As

Publication number Publication date
CN104615065A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
CN104615065B (en) Data processing method and device for train network control system
US10999248B2 (en) Information processing method, information processing system, and non-transitory computer-readable recording medium storing a program
EP3722901B1 (en) Vehicle trouble diagnosis method and vehicle trouble diagnosis apparatus
CN105202704B (en) The display methods and device of air-conditioning fault message
CN104516851B (en) A kind of system and method for RS485 slave units address distribution
CN102594596B (en) Method and device for recognizing available partitions, and clustering network system
CN106209496A (en) A kind of communication abnormality detection device and method
US20070220330A1 (en) Computer-Supported Diagnostic System, Based on Heuristics and System Topologies
CN110545220B (en) Automobile diagnosis protocol detection method and related product
CN105527948B (en) A kind of large-scale distributed data collecting system and method based on industrial process
CN107038137A (en) A kind of device and method of hot plug
CN107920007A (en) The first communication node and its operating method of multiple communication nodes in vehicle network
CN107553487A (en) The mode switching method and its device of robot
CN108683528A (en) A kind of data transmission method, central server, server and data transmission system
CN107612842A (en) Collecting method, system, equipment and storage medium based on token management
CN104753707B (en) A kind of system maintenance method and the network switching equipment
CN106371958A (en) Server fault diagnosis system and method
CN108337114A (en) Network state processing equipment, method and train
CN106482299A (en) Machine set system data backup device, method and the air-conditioner set with the device
CN111143167A (en) Alarm merging method, device, equipment and storage medium for multiple platforms
CN105430052B (en) A kind of referee method and device for group system
CN108255659A (en) A kind of application program capacity monitoring method and its system
CN104536926B (en) The control method and device of serial equipment
CN106412088A (en) Data synchronization method and terminal
CN112906253A (en) Railway signal dynamic simulation detection method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Chengyang District of Shandong city of Qingdao province Jinhong road 266111 No. 88

Applicant after: CRRC QINGDAO SIFANG CO., LTD.

Address before: Chengyang District of Shandong city of Qingdao province Jinhong road 266111 No. 88

Applicant before: CSR Qingdao Sifang Locomotive and Rolling Stock Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant