CN104615065A - 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
CN104615065A
CN104615065A CN201510020149.0A CN201510020149A CN104615065A CN 104615065 A CN104615065 A CN 104615065A CN 201510020149 A CN201510020149 A CN 201510020149A CN 104615065 A CN104615065 A CN 104615065A
Authority
CN
China
Prior art keywords
data
record data
controller
maximum
record
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510020149.0A
Other languages
Chinese (zh)
Other versions
CN104615065B (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
CSR Qingdao Sifang Locomotive and Rolling Stock 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 CSR Qingdao Sifang Locomotive and Rolling Stock Co Ltd filed Critical CSR Qingdao Sifang Locomotive and Rolling Stock 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 data processing method and device for a train network control system. The data processing method includes: after each controller is electrified, record data stored locally are sent to a system bus, and the system bus records record data of all the controllers; any one or more than one controller reads the record data of all the controllers form the system bus to obtain a record data set; any one or more than one controller obtains the record data in the record data set with the maximum value and such record data serves as the initial value for operating the procedure. The data processing method and device for the train network control system solve the problem of not-unified generation results of all the controllers after operating the procedure due to different reserved data of the controllers before procedure operation.

Description

For data processing method and the device of train network control system
Technical field
The present invention relates to communication field, in particular to a kind of data processing method for train network control system and device.
Background technology
In the process that train network control system uses, often there is inconsistent problem in the cumulative data result that the multiple controllers in control system generate after service data aggregate program, for the problems referred to above, prior art adopts specifies certain controller to have writing function, and the way of other these records of controller automatic shield, but this method is when system is normal, the uniqueness of Data Source can be ensured, if but when appointed controller breaks down, the data of record just cannot normally show.
For the skimble-scamble problem of result that the multiple controllers in train network control system in prior art generate after working procedure, at present effective solution is not yet proposed.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of data processing method for train network control system and device, to solve multiple controllers in existing network control system before working procedure, the data retained are all different, the skimble-scamble problem of the result causing all controllers to generate after working procedure.
To achieve these goals, according to an aspect of the embodiment of the present invention, a kind of data processing method for train network control system is provided.The method comprises: after each controller powers on, and the record data that this locality stores is sent to system bus, makes the record data of all controllers of system bus record; Any one or more controller reads the record data of all controllers from system bus, obtains log data set and closes; Any one or more controller obtains the record data that in log data set conjunction, numerical value is maximum, and using record data maximum for numerical value as the initial value being used for working procedure.
To achieve these goals, according to the another aspect of the embodiment of the present invention, provide a kind of data processing equipment for train network control system.This device comprises: the first sending module, for after each controller powers on, the record data that this locality stores is sent to system bus, makes the record data of all controllers of system bus record; Read module, reads the record data of all controllers from system bus for any one or more controller, obtain log data set and close; First processing module, obtains for any one or more controller the record data that in log data set conjunction, numerical value is maximum, and using record data maximum for numerical value as the initial value being used for working procedure.
In embodiments of the present invention, after adopting each controller to power on, the record data that this locality stores are sent to system bus, make the record data of all controllers of system bus record; Any one or more controller reads the record data of all controllers from system bus, obtains log data set and closes; Any one or more controller obtains the record data that in log data set conjunction, numerical value is maximum, and using record data maximum for numerical value as the method for initial value being used for working procedure, solve multiple controllers in existing network control system before working procedure, the data retained are all different, the skimble-scamble problem of the result causing all controllers to generate after working procedure.
Accompanying drawing explanation
The accompanying drawing forming a application's part is used to provide a further understanding of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the process flow diagram of the data processing method for train network control system according to the embodiment of the present invention one;
Fig. 2 is the schematic diagram of the optional data processing method for train network control system according to the embodiment of the present invention one;
Fig. 3 is the schematic diagram of the optional data processing method for train network control system according to the embodiment of the present invention one;
Fig. 4 is the schematic diagram of the optional data processing method for train network control system according to the embodiment of the present invention one; And
Fig. 5 is the schematic diagram of the structure of the optional data processing equipment for train network control system according to the embodiment of the present invention two.
Embodiment
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in instructions of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged, in the appropriate case so that embodiments of the invention described herein.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
Embodiment one
Present embodiments provide a kind of data processing method for train network control system, in the middle of a kind of optional embodiment, the network control system of above-mentioned train can be a kind of many redundancy control systems for train, multiple controller can be comprised in above-mentioned network control system, as shown in Figure 1, can to comprise step as follows for the method:
The record data that this locality stores, after each controller powers on, are sent to system bus, make the record data of all controllers of system bus record by step S102.
Concrete, in this programme, can at train network control system in the process just powered on, within the T1 time, first the data self stored and above-mentioned record data are sent on train bus-line by specific port by any one controller, here it should be noted that, in this programme, above-mentioned record data can be the data such as service data, mileage, TCMS working time, air compressor machine working time, traction energy consumption, regeneration energy consumption, auxiliary energy consumption, above-mentioned port can be Mvb bus, can bus, the transmission modes such as Ethernet.
Optionally, vehicle screen controller and tailstock controller can be comprised in above-mentioned multiple controller.
Here it should be noted that, the system bus occurred herein also can be train bus-line.
Preferably, within the T1 time, the data stored in all controllers in above-mentioned train network control system can be sent to system bus.
Step S104, any one or more controller reads the record data of all controllers from system bus, obtains log data set and closes.
Concrete, in this programme, any one controller in train network control system after the T1 time, can read the record data that all controllers send from said system bus, obtains the set of recording data.
Step S106, any one or more controller obtains the record data that in log data set conjunction, numerical value is maximum, and using record data maximum for numerical value as the initial value being used for working procedure.
Concrete, in this programme, any one controller in train network control system can get the maximum record data of numerical value in the T2 time after the above-mentioned T1 time from above-mentioned log data set closes, and using initial value that record data maximum for above-mentioned numerical value are run as controller internal program.
Pass through the present embodiment, first, the record data self stored are sent to system bus by each controller in train network control system, then, the record data that all controllers in each controller reading system bus send, finally, the initial value that the maximum record data of numerical value are used as working procedure in controller chosen by each controller from above-mentioned record data, the initial value of the working procedure that can be realized in each controller by the above-mentioned method of synchronization is consistent, solve multiple controllers in existing network control system before working procedure, the initial value retained is all different, the skimble-scamble problem of the result causing all controllers to generate after working procedure.
Optionally, in step S106, any one or more controller obtain log data set close in the maximum record data of numerical value, and using record data maximum for numerical value as before the initial value being used for working procedure, the method that the present embodiment provides can also comprise:
Step S1051, judges whether each record data in log data set conjunction are more than or equal to first threshold.
Step S1052, the record data being more than or equal to first threshold in being closed by log data set are abandoned.
Concrete, in this programme, each controller in above-mentioned train network system can judge whether each data in above-mentioned record data are more than or equal to first threshold, here it should be noted that, owing to containing the record data that all controllers send to system bus in above-mentioned record data, and in the process of train network control system operation, certain controller in system may break down, namely system does not collect the life signal of controller in the given time, the controller broken down is then invalid data to the data that system bus sends, namely invalid data is more than or equal to default first threshold, therefore in this programme, invalid data during the log data set that it then reads by the controller of normal work from system bus closes is got rid of, perform above-mentioned steps S106 again.
Pass through above-mentioned steps, the controller broken down is the first controller such as, the controller institute that the invalid data that above-mentioned first controller sends normally can not work to other is synchronous and cause initial value to change, optionally, after failture evacuation, the data that above-mentioned first controller sends to system bus are then less than default first threshold, now, first controller of normal work then can participate in the data syn-chronization of all controllers in system, realizes the object with the data syn-chronization of other controllers.
In a kind of preferred embodiment, whether the duty that above-mentioned first controller can detect master controller is normal, if the life signal of master controller namely detected in the given time, then prove that the duty of master controller is normal, simultaneously, above-mentioned first controller also detects whether the record data that above-mentioned master controller sends to system bus are normal data, namely the record data that send to system bus of master controller be less than default first threshold when, illustrate that these record data are valid data, otherwise be invalid data, only have and judge that the duty of above-mentioned master controller is normal, in the effective situation of record data sent, above-mentioned first controller just allows the record data read from system bus to participate in comparison, thus select the initial value of working procedure.Optionally, abnormal or when sending data invalid in above-mentioned master controller duty, in this programme, above-mentioned first controller can send information or warning message, and to remind staff to note, above-mentioned master controller there occurs fault.
Optionally, in step S106, after any one or more controller obtains the record data that in log data set conjunction, numerical value is maximum, the method that the present embodiment provides can also comprise:
Step S107, working procedure, generates result data.
Step S108, is sent to system bus by result data.
Concrete, in this programme, each controller by synchronous mode make identical with the initial value in other controllers after, then working procedure, and result data is sent to system bus, each controller now in train network control system is identical to the result data that system bus sends.
Optionally, in this programme, above-mentioned data accumulation logging program can be the program of actual figure according to bulk registration function.
Step S106, obtains the maximum record data of numerical value, and the step of record data maximum for numerical value as the initial value of working procedure can be comprised from log data set closes:
Multiple record data that log data set closes are contrasted by step S1061, obtain the record data that numerical value is maximum.
Step S1062, using the initial value of record data maximum for numerical value as service data bulk registration program.
Here it should be noted that, in this programme, data accumulation logging program is a preferred embodiment, and above-mentioned one or more controller also can run other multiple programs.
Optionally, above-mentioned record packet is containing multiple data type, and the corresponding log data set of each data type closes, step S106, from log data set close, obtain the maximum record data of numerical value, and the step of record data maximum for numerical value as the initial value of working procedure can also be comprised:
Step S1063, obtains log data set corresponding to the first data type and closes.
Concrete, in this programme, above-mentioned record data can comprise one or more data types following: service data, mileage, TCMS working time, air compressor machine working time, traction energy consumption, regeneration energy consumption, auxiliary energy consumption.Often kind of data type is all to a log data set should be had to close, namely in a kind of optional embodiment, if each controller inputs the data of first data type separately in system bus, such as the data of distance travelled type, then in system bus, multiple record data about distance travelled type are then a set, and the number of set mileage certificate then depends on the number of controller.
Step S1064, using the initial value of record data maximum for the numerical value during log data set corresponding for the first data type closes as the data of the first data type of working procedure.
Concrete, after obtaining log data set corresponding to above-mentioned first data type and closing, then using the initial value of the maximum record data in above-mentioned set as working procedure, here it should be noted that, because data type in controller is multiple, record data maximum for numerical value in all types of log data set conjunction all as the initial value of working procedure, can be ensured consistance and the synchronism of the initial value of the data of the same type of all controllers by above-mentioned controller.
Optionally, in step 106, from log data set close obtain the maximum record data of numerical value, and using record data maximum for numerical value as working procedure initial value after, the method that the present embodiment provides also comprises:
Step S109, if add new controller in network control system, then repeated execution of steps 102 to step S106, until obtain the maximum record data of numerical value new in log data set conjunction.
Concrete, in this programme, new controller can be incorporated to after the network control system of train runs a period of time and carry out work, due to after the controller that is incorporated in the process just run, also perform step 102 to step S106, namely data sent, compare, contrast, redefine the process of working procedure initial value, ensure that before program is run, achieve the working procedure initial value consistance of controller and other the controller be newly incorporated to.
Optionally, in step S106, from log data set close obtain the maximum record data of numerical value, and using record data maximum for numerical value as working procedure initial value after, the method that the present embodiment provides can also comprise:
Step S110, if add new controller in network control system, then directly obtain log data set close in the maximum record data of numerical value as the initial value of working procedure.
Here it should be noted that, after running a period of time in the network control system of train, new controller can be increased in system and carry out work, due in network control system, controller carries out uploading, read, the process of comparison record data wants the Internet resources of at substantial, therefore, in the optional scheme of one, new controller is after being incorporated to network control system, do not participate in the comparison of recording data, but the record data that the numerical value read in direct all the other multiple controllers of acquisition is maximum.
Below in conjunction with Fig. 2 to Fig. 4, the application is described in conjunction with embody rule developing scenes:
Train network control system is in first power up, and as shown in Figure 2, within the T1 time, first the data of self record are sent on train bus-line by specific port by the controller of all normal work, and this port can be; Parking stall port one 04 parking stall port one 05.As shown in Figure 3, after the T1 time, this vehicle controller reads other controllers from train bus-line and mails to data in bus, the data of the same type of all controllers are compared (continuing the contrast T2 time), within the T2 time, the data decimation maximal value of every type is as the initial value of this class data of this controller, by this kind of alignments, consistance and the synchronism of the data initial value of the same type of all controllers can be ensured.As shown in Figure 4, after the T2 time, the initial value of all controllers ensures consistent, the program of the normal data accumulation record that brings into operation, and by being sent in system bus during fructufy.Because the logging program of all controllers is completely the same, input parameter is completely the same, and therefore calculated result will be completely the same.
If system has other controllers to be incorporated to system works after operation a period of time, due to after the system that is incorporated to and new controller in the process just run successively experience send data, compare, redefine the process of initial value, ensure that before logging program normally runs, achieve the consistance with other controller record data initial values, thus the data realizing new controller reset, and then the consistance of realization and other controller result of calculations.If after operation a period of time, any one controller is had to break down, the controller of this fault can not cause the change of any input parameter to other controllers, by said method, can realize the object with the data syn-chronization of other controllers when running at the beginning of next time.
For master controller, if after determining initialization data namely in reading system bus all controllers record data after, further, whether this programme can detect master controller current operating state normal, and whether the data of transmission are normal, if if life signal do not detected in the schedule time, then illustrate that master controller has gone wrong, then abandon the invalid data of the other side at current controller, wait for life signal and data effectively, just start the comparison of recording data.
To sum up, the method for the present invention by comparing to controller recorded data all in system, the problem that the controller recorded data solving par in system there are differences.Decrease the error of data record, the accuracy of the information that the system of improve provides.
Embodiment two
Present embodiments provide a kind of data processing equipment for train network control system, in the middle of a kind of optional embodiment, the network control system of above-mentioned train can be a kind of many redundancy control systems for train, multiple controller can be comprised in above-mentioned network control system, as shown in Figure 5, this data processing equipment can comprise:
The record data that this locality stores, for after each controller powers on, are sent to system bus, make the record data of all controllers of system bus record by the first sending module 12.
Concrete, in this programme, can at train network control system in the process just powered on, within the T1 time, first the data self stored and above-mentioned record data are sent on train bus-line by specific port by any one controller, here it should be noted that, in this programme, above-mentioned record data can be the data such as service data, mileage, TCMS working time, air compressor machine working time, traction energy consumption, regeneration energy consumption, auxiliary energy consumption, above-mentioned port can be Mvb bus, can bus, the transmission modes such as Ethernet.
Here also it should be noted that, vehicle screen controller and tailstock controller in above-mentioned multiple controller, can be comprised.
Preferably, within the T1 time, the data stored in all controllers in above-mentioned train network control system can be sent to system bus.
Read module 14, reads the record data of all controllers from system bus for any one or more controller, obtain log data set and close.
Concrete, in this programme, any one controller in train network control system after the T1 time, can read the record data that all controllers send from said system bus, obtains the set of recording data.
First processing module 16, obtains for any one or more controller the record data that in log data set conjunction, numerical value is maximum, and using record data maximum for numerical value as the initial value being used for working procedure.
Concrete, in this programme, any one controller in train network control system can get the maximum record data of numerical value in the T2 time after the above-mentioned T1 time from above-mentioned log data set closes, and using initial value that record data maximum for above-mentioned numerical value are run as controller internal program.
Pass through the present embodiment, first, the record data self stored are sent to system bus by each controller in train network control system, then, the record data that all controllers in each controller reading system bus send, finally, the initial value that the maximum record data of numerical value are used as working procedure in controller chosen by each controller from above-mentioned record data, the initial value of the working procedure that can be realized in each controller by the above-mentioned method of synchronization is consistent, solve multiple controllers in existing network control system before working procedure, the initial value retained is all different, the skimble-scamble problem of the result causing all controllers to generate after working procedure.
Optionally, the data processing equipment that the present embodiment provides can also comprise:
Judge module 151, for judging whether each record data in log data set conjunction are more than or equal to first threshold.
Remove module 152, for the record data being more than or equal to first threshold in log data set conjunction being abandoned.
Concrete, in this programme, each controller in above-mentioned train network system can judge whether each data in above-mentioned record data are more than or equal to first threshold, here it should be noted that, owing to containing the record data that all controllers send to system bus in above-mentioned record data, and in the process of train network control system operation, certain controller in system may break down, namely system does not collect the life signal of controller in the given time, the controller broken down is then invalid data to the data that system bus sends, namely invalid data is more than or equal to default first threshold, therefore in this programme, invalid data during the log data set that it then reads by the controller of normal work from system bus closes is got rid of, return the first processing module 16 again to process.
Pass through above-mentioned steps, the controller broken down is the first controller such as, the controller institute that the invalid data that above-mentioned first controller sends normally can not work to other is synchronous and cause initial value to change, optionally, after failture evacuation, the data that above-mentioned first controller sends to system bus are then less than default first threshold, now, first controller of normal work then can participate in the data syn-chronization of all controllers in system, realizes the object with the data syn-chronization of other controllers.
In a kind of preferred embodiment, whether the duty that above-mentioned first controller can detect master controller is normal, if the life signal of master controller namely detected in the given time, then prove that the duty of master controller is normal, simultaneously, above-mentioned first controller also detects whether the record data that above-mentioned master controller sends to system bus are normal data, namely the record data that send to system bus of master controller be less than default first threshold when, illustrate that these record data are valid data, otherwise be invalid data, only have and judge that the duty of above-mentioned master controller is normal, in the effective situation of record data sent, above-mentioned first controller just allows the record data read from system bus to participate in comparison, thus select the initial value of working procedure.Optionally, abnormal or when sending data invalid in above-mentioned master controller duty, in this programme, above-mentioned first controller can send information or warning message, and to remind staff to note, above-mentioned master controller there occurs fault.
Optionally, the data processing equipment that the present embodiment provides can also comprise:
Generation module 17, for working procedure, generates result data.
Second sending module 18, for being sent to system bus by result data.
Concrete, in this programme, each controller by synchronous mode make identical with the initial value in other controllers after, then working procedure, and result data is sent to system bus, each controller now in train network control system is identical to the result data that system bus sends.
Optionally, in this programme, above-mentioned data accumulation logging program can be the program of actual figure according to bulk registration function.
Optionally, the first processing module 16 comprises and can comprise:
Second acquisition module 161, contrasts for multiple record data of being closed by log data set, obtains the record data that numerical value is maximum.
Second processing module 162, for using the initial value of record data maximum for numerical value as service data bulk registration program.
Here it should be noted that, in this programme, data accumulation logging program is a preferred embodiment, and above-mentioned one or more controller also can run other multiple programs.
Optionally, the first processing module 16 can also comprise:
3rd acquisition module 163, closes for obtaining log data set corresponding to the first data type.
Concrete, in this programme, above-mentioned record data can comprise one or more data types following: service data, mileage, TCMS working time, air compressor machine working time, traction energy consumption, regeneration energy consumption, auxiliary energy consumption.Often kind of data type is all to a log data set should be had to close, namely in a kind of optional embodiment, if each controller inputs the data of first data type separately in system bus, such as the data of distance travelled type, then in system bus, multiple record data about distance travelled type are then a set, and the number of set mileage certificate then depends on the number of controller.
3rd processing module 164, for the initial value of the maximum record data of numerical value in being closed by log data set corresponding for the first data type as the data of the first data type of working procedure.
Concrete, after obtaining log data set corresponding to above-mentioned first data type and closing, then using the initial value of the maximum record data in above-mentioned set as working procedure, here it should be noted that, because data type in controller is multiple, record data maximum for numerical value in all types of log data set conjunction all as the initial value of working procedure, can be ensured consistance and the synchronism of the initial value of the data of the same type of all controllers by above-mentioned controller.
Optionally, the data processing equipment that the present embodiment provides also comprises:
4th acquisition module 19, if for adding new controller in network control system, then repeats the function of the first sending module, read module, the first processing module, until obtain the maximum record data of numerical value new in log data set conjunction.
Concrete, in this programme, new controller can be incorporated to after the network control system of train runs a period of time and carry out work, due to after the controller that is incorporated in the process just run, also perform the first sending module 12, read module 14, first processing module 16, function, namely send data, compare, contrast, redefine the process of working procedure initial value, ensure that before program is run, achieve the working procedure initial value consistance of controller and other the controller be newly incorporated to.
Optionally, the data processing equipment that the present embodiment provides also comprises:
5th acquisition module 20, if for adding new controller in network control system, then directly obtain log data set close in the maximum record data of numerical value as the initial value of working procedure.
Here it should be noted that, after running a period of time in the network control system of train, new controller can be increased in system and carry out work, due in network control system, controller carries out uploading, read, the process of comparison record data wants the Internet resources of at substantial, therefore, in the optional scheme of one, new controller is after being incorporated to network control system, do not participate in the comparison of recording data, but the record data that the numerical value read in direct all the other multiple controllers of acquisition is maximum.
Below in conjunction with Fig. 2 to Fig. 4, the application is described in conjunction with embody rule developing scenes:
Train network control system is in first power up, and as shown in Figure 2, within the T1 time, first the data of self record are sent on train bus-line by specific port by the controller of all normal work, and this port can be; Parking stall port one 04 parking stall port one 05.As shown in Figure 3, after the T1 time, this vehicle controller reads other controllers from train bus-line and mails to data in bus, the data of the same type of all controllers are compared (continuing the contrast T2 time), within the T2 time, the data decimation maximal value of every type is as the initial value of this class data of this controller, by this kind of alignments, consistance and the synchronism of the data initial value of the same type of all controllers can be ensured.As shown in Figure 4, after the T2 time, the initial value of all controllers ensures consistent, the program of the normal data accumulation record that brings into operation, and by being sent in system bus during fructufy.Because the logging program of all controllers is completely the same, input parameter is completely the same, and therefore calculated result will be completely the same.
If system has other controllers to be incorporated to system works after operation a period of time, due to after the system that is incorporated to and new controller in the process just run successively experience send data, compare, redefine the process of initial value, ensure that before logging program normally runs, achieve the consistance with other controller record data initial values, thus the data realizing new controller reset, and then the consistance of realization and other controller result of calculations.If after operation a period of time, any one controller is had to break down, the controller of this fault can not cause the change of any input parameter to other controllers, by said method, can realize the object with the data syn-chronization of other controllers when running at the beginning of next time.
For master controller, if after determining initialization data namely in reading system bus all controllers record data after, further, whether this programme can detect master controller current operating state normal, and whether the data of transmission are normal, if if life signal do not detected in the schedule time, then illustrate that master controller has gone wrong, then abandon the invalid data of the other side at current controller, wait for life signal and data effectively, just start the comparison of recording data.
To sum up, the method for the present invention by comparing to controller recorded data all in system, the problem that the controller recorded data solving par in system there are differences.Decrease the error of data record, the accuracy of the information that the system of improve provides.It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed device, the mode by other realizes.Such as, device embodiment described above is only schematic, the such as division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, mobile terminal, server or the network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. for a data processing method for train network control system, described network control system comprises multiple controller, it is characterized in that, the method for described data processing comprises:
The record data that this locality stores, after each controller powers on, are sent to system bus, make the record data of all controllers of described system bus record by step S102;
Step S104, any one or more controller reads the record data of described all controllers from described system bus, obtains log data set and closes;
Step S106, described any one or more controller obtains the record data that in the conjunction of described log data set, numerical value is maximum, and using record data maximum for described numerical value as the initial value being used for working procedure.
2. method according to claim 1, is characterized in that, before described any one or more controller obtains the record data that in the conjunction of described log data set, numerical value is maximum, described method also comprises:
Judge whether each record data in the conjunction of described log data set are more than or equal to first threshold;
The record data being more than or equal to first threshold in being closed by described log data set are abandoned.
3. method according to claim 1 and 2, is characterized in that, after described any one or more controller obtains the record data that in the conjunction of described log data set, numerical value is maximum, described method also comprises:
Run described program, generate result data;
Described result data is sent to described system bus.
4. method according to claim 3, it is characterized in that, described program is data accumulation logging program, wherein, from described log data set close, obtain the maximum record data of numerical value, and the step of record data maximum for described numerical value as the initial value of working procedure comprised:
Multiple record data of being closed by described log data set contrast, and obtain the record data that described numerical value is maximum;
Using record data maximum for described numerical value as the initial value running described data accumulation logging program.
5. method according to claim 3, it is characterized in that, described record packet is containing multiple data type, the corresponding log data set of each data type closes, wherein, from described log data set close, obtain the maximum record data of numerical value, and the step of record data maximum for described numerical value as the initial value of working procedure also comprised:
Obtain log data set corresponding to the first data type to close;
Using the initial value of record data maximum for the numerical value during log data set corresponding for described first data type closes as the data of the first data type of the described program of operation.
6. method according to claim 3, is characterized in that, in closing from described log data set, obtaining the maximum record data of numerical value, and using record data maximum for described numerical value as working procedure initial value after, described method also comprises:
If add new controller in described network control system, then repeat described step S102 to step S106, until obtain the maximum record data of numerical value new in the conjunction of described log data set.
7. method according to claim 3, is characterized in that, in closing from described log data set, obtaining the maximum record data of numerical value, and using record data maximum for described numerical value as working procedure initial value after, described method also comprises:
If add new controller in described network control system, then directly obtain described log data set close in the maximum record data of numerical value as the initial value running described program.
8. for a data processing equipment for train network control system, described network control system comprises multiple controller, it is characterized in that, the device of described data processing comprises:
The record data that this locality stores, for after each controller powers on, are sent to system bus, make the record data of all controllers of described system bus record by the first sending module;
Read module, reads the record data of described all controllers from described system bus for any one or more controller, obtain log data set and close;
First processing module, obtains for described any one or more controller the record data that in the conjunction of described log data set, numerical value is maximum, and using record data maximum for described numerical value as the initial value being used for working procedure.
9. data processing equipment according to claim 8, is characterized in that, described data processing equipment also comprises:
Judge module, for judging whether each record data in the conjunction of described log data set are more than or equal to first threshold;
Remove module, for the record data being more than or equal to first threshold in described log data set conjunction being abandoned.
10. data processing equipment according to claim 8 or claim 9, it is characterized in that, described data processing equipment also comprises:
Generation module, for running described program, generates result data;
Second sending module, for being sent to described system bus by described result data.
11. data processing equipments according to claim 10, is characterized in that, described first processing module comprises:
Second acquisition module, contrasts for multiple record data of being closed by described log data set, obtains the record data that described numerical value is maximum;
Second processing module, for using record data maximum for described numerical value as running the initial value of described data accumulation logging program.
12. data processing equipments according to claim 10, is characterized in that, described first processing module also comprises:
3rd acquisition module, closes for obtaining log data set corresponding to the first data type;
3rd processing module, for the maximum record data of numerical value in being closed by log data set corresponding for described first data type as the initial value of data of the first data type running described program.
13. data processing equipments according to claim 10, is characterized in that, described data processing equipment also comprises:
4th acquisition module, if for adding new controller in described network control system, then repeat the function of described first sending module, read module and the first processing module, until obtain the maximum record data of numerical value new in the conjunction of described log data set.
14. data processing equipments according to claim 10, is characterized in that, described data processing equipment also comprises:
5th acquisition module, if for adding new controller in described network control system, then directly obtain described log data set close in the maximum record data of numerical value as the initial value running 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 true CN104615065A (en) 2015-05-13
CN104615065B 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)

Cited By (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
CN109039768A (en) * 2018-09-03 2018-12-18 武汉虹信通信技术有限责任公司 CBTC signal alarm method in a kind of LTE-M communication network
CN109581999A (en) * 2018-11-05 2019-04-05 中国航空工业集团公司西安飞机设计研究所 A kind of aircraft utilities system busway status data processing method
CN110901691A (en) * 2018-09-17 2020-03-24 株洲中车时代电气股份有限公司 Ferroelectric data synchronization system and method and train network control 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动车组列车网络控制系统", 《机车电传动》 *
陶艳: "分布式列车控制系统的冗余设计", 《郑州铁路职业技术学院学报》 *

Cited By (6)

* 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
CN109039768A (en) * 2018-09-03 2018-12-18 武汉虹信通信技术有限责任公司 CBTC signal alarm method in a kind of LTE-M communication network
CN110901691A (en) * 2018-09-17 2020-03-24 株洲中车时代电气股份有限公司 Ferroelectric data synchronization system and method and train network control system
CN109581999A (en) * 2018-11-05 2019-04-05 中国航空工业集团公司西安飞机设计研究所 A kind of aircraft utilities system busway status data processing method
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

Also Published As

Publication number Publication date
CN104615065B (en) 2017-09-05

Similar Documents

Publication Publication Date Title
CN104615065A (en) Data processing method and device for train network control system
CN103646208B (en) Monitoring method and device of eMMC
CN108039964A (en) Fault handling method and device, system based on network function virtualization
CN104503252A (en) Household appliance, control method thereof, and information interaction system for household appliance
CN105320050A (en) Gateway-based vehicle function centralized control method
CN108153622A (en) The method, apparatus and equipment of a kind of troubleshooting
CN105224439A (en) Method and device for detecting CPU occupancy rate of terminal APP and terminal
CN105912086A (en) Power module fault diagnosis method, power module and whole cabinet server
CN107196771A (en) Vehicle netbios synchronization dormancy method, system and gateway controller
CN104469699A (en) Cluster quorum method and multi-cluster cooperation system
CN106403188A (en) Air-conditioner maintenance method and device
CN102769670A (en) Method, device and system for migration of virtual machines
CN105142235A (en) Communication method and communication device of air conditioning unit
CN104898640A (en) Levitation controller fault diagnosis method
CN103824017A (en) Method and platform for monitoring rogue programs
CN104345858B (en) Power consumption management method and device, the server of server hardware device
CN108255659A (en) A kind of application program capacity monitoring method and its system
CN103927244A (en) Plug-in scheduling process monitoring method implemented based on dynamic proxy
CN103064766B (en) Fast data synchronization method in continuous data protection technology
CN105320246B (en) A kind of information processing method and electronic equipment
CN106708445A (en) Link selection method and device
Westphalen et al. System & component diagnostics
CN108626860B (en) Networking method and device of multi-split air conditioning system and air conditioning system
WO2023035690A1 (en) Method and apparatus for controlling air conditioner, and air conditioner
CN104615382A (en) Memory space scheduling method and multi-system terminal

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