The present invention relates to a software generating device that automatically generates software for generating a display screen for railroad vehicle information.
Conventionally, a number of control devices communicatively connected to one another to respectively monitor and control a number of apparatuses have been mounted on a formation of a train. A display device for vehicle information display is provided in a driver's cab of the train. Monitoring and control information of the apparatuses monitored and controlled by the control devices is displayed on the display device.
Patent Literature 1 describes a railroad-vehicle managing device that automatically generates a display screen for railroad vehicle information by retaining, in advance, a group of image files composed on parts in units of a formation, a car, and an apparatus mounted on the car and combining a number of image files on the basis of a group of definition files describing screen display information in units of the formation, the car, and the apparatus.
When software applied to the conventional display device, that is, software for generating a display screen for vehicle information is created by a user interface design tool, in general, a group of display components capable of displaying apparatus information is created in advance, layout design of the display screen for the vehicle information is performed by arranging and configuring a plurality of display components on the display screen of the user interface design tool, and information concerning the layout design is incorporated in the software.
However, according to such a screen generating method, because the display components are arranged and configured by manual work, positional deviation of a display component easily occurs and work efficiency is poor. Because an arrangement man-hour for the display components occurs for each system configuration of a train, a screen generation man-hour increases according to the number of system configurations of trains.
On the other hand, Patent Literature 1 describes the railroad-vehicle managing device that automatically generates a display screen for railroad vehicle information, but does not particularly describe a method of automatically generating a display screen when one and the same control device monitors and controls a plurality of apparatuses of the same type. When the screen generating method described in Patent Literature 1 is used, it is difficult to efficiently display, in one and the same screen, apparatus information concerning a plurality of the same type of apparatuses monitored and controlled by one and the same control device together with apparatus information of other apparatuses.
The present invention has been devised in view of the above circumstances, and an object of the present invention is to provide a software generating device capable of automatically generating software for generating a display screen for apparatus information collected by a distributed control system for a train, formed by a plurality of control devices that respectively monitor and control a number of apparatuses, including the case where one and the same control device monitors and controls a plurality of apparatuses of the same type.
In order to solve the above-mentioned problems and achieve the object, the present invention provides a software generating device that automatically generates software for generating a display screen of a display device in a train in which control devices communicatively connected to one another are mounted on cars, a plurality of apparatuses mounted on the cars is monitored and controlled by the control devices, and the display device capable of displaying apparatus information of the apparatuses is mounted on a driver's cab, the software generating device comprising: a system-configuration-information storing unit to store system configuration information for giving an arrangement configuration of the control devices in a formation of the train; an apparatus-arrangement-information storing unit to store apparatus arrangement information for giving an apparatus type of a monitored and controlled object and the number of apparatuses of the apparatus type for each of the control devices; a display-component storing unit to store display components by which apparatus information of the apparatuses can be displayed on the display screen; a display-component-arrangement-information storing unit to store display component arrangement information for defining arrangement positions of a plurality of display components arranged on the display screen; an arrangement-rule-information storing unit to store arrangement rule information for giving exceptional rules, which are arrangement rules for display components, applied in addition to the display component arrangement information in determining, when a plurality of apparatuses of the same type is monitored and controlled by one and the same control device, arrangement positions of a plurality of display components respectively representing the apparatuses; a layout unit to select a plurality of display components constituting the display screen, determine arrangement positions of the display components on the display screen, and automatically generate layout design data of the display screen, on the basis of the system configuration information, the apparatus arrangement information, the display component arrangement information, and the arrangement rule information; and a software generating unit to automatically generate software for generating the display screen on the basis of the layout design data.
According to the present invention, there is an effect that it is possible to provide a software generating device capable of automatically generating software for generating a display screen for apparatus information collected by a distributed control system for a train, formed by a plurality of control devices that respectively monitor and control a number of apparatuses, the monitoring and control including monitoring and control of a plurality of apparatuses of the same type by the same control device, including the case where one and the same control device monitors and controls a plurality of apparatuses of the same type.
A software generating device according to an embodiment of the present invention is explained in detail below with reference to the drawings. Note that the present invention is not limited by the embodiment.
Embodiment.
Control devices A communicatively connected to one another are mounted on the first car to the N-th car, respectively. The control devices A are train-information managing devices. Specifically, a control device A1 is mounted on the first car, a control device A2 is mounted on the second car, . . . , a control device A(N−1) is mounted on the (N−1)-th car, and a control device AN is mounted on the N-th car. In general, when i is any natural number satisfying 1≦i≦N, a control device Ai is mounted on an i-th car. Note that the control devices A1 to AN are collectively referred to as the control devices A.
The control device Ai is communicatively connected to a number of apparatuses 53-i mounted on the i-th car, and monitors and controls the apparatuses 53-i. In general, the apparatuses 53-i include apparatuses of different types and the same type. A specific example of the apparatuses 53-i is explained below. For example, examples of the apparatuses in the first car include a master controller, a door, an air conditioning control apparatus, and a brake. Note that apparatuses mounted on the train are collectively referred to as apparatuses 53.
In the cars other than the leading car, the control device Ai receives state information from the apparatuses 53-i, and transmits the state information to the control device A1. In the leading car, the control device A1 receives the state information from the apparatuses 53-1.
The control device A1 transmits control commands respectively to the apparatuses 53-i of the cars on the basis of the collected state information of the apparatuses 53. In particular, in the cars other than the leading car, the control commands are transmitted to the apparatuses 53-i via the control devices Ai.
In this way, the control devices A1 to AN configure a distributed control system of the train. The control device A1 collects monitoring and control information of the apparatuses 53. The monitoring and control information refers to monitoring information and control information. The monitoring information is state information of the apparatuses 53. The control information is control command information to the apparatuses 53. In the following explanation, the monitoring and control information of the apparatuses is simply referred to as “apparatus information”.
A display device 51 is provided in a not-shown driver's cab of the leading car. The display device 51 is connected to the control device A1, and receives apparatus information of the apparatuses 53-i of the cars as input from the control device A1. The display device 51 can collect the apparatus information of the apparatuses 53-i and display the apparatus information on a display screen. Information obtained by collecting the apparatus information of the apparatuses 53-i is referred to as “vehicle information” as well. Note that, in a general configuration, the display device 51 is provided in the driver's cab, and also in general, another display device 51 is provided in a driver's cab of a rearmost car, for example.
In a lower part 30b of the display screen 30, apparatus information of a master controller, an air-conditioning control apparatus, a VVVF, a brake, and an SIV is displayed. The VVVF specifically represents a VVVF (Variable Voltage Variable Frequency) inverter, which controls a not-shown motor. The SIV (Static Inverter) is an auxiliary power supply. Although explained in detail later, a plurality of vertical lines are displayed to correspond to the control devices A or cars, and a plurality of horizontal lines are displayed to correspond to a plurality of types of the apparatuses, wherein display components representing the apparatuses can be arranged in intersections of the vertical lines and the horizontal lines. Display components of the master controller, the VVVF, and the SIV are displayed as circles. Display components of the air-conditioning control apparatus and the brake are displayed as rectangles. The display components of the master controller, the VVVF, and the SIV can be displayed to distinguish whether the apparatuses are normal, have owned apparatus information, or are abnormal. The display components of the air-conditioning control apparatus and the brake can be displayed to distinguish whether the apparatuses are normal or abnormal. In this case, when the apparatuses are normal and have the apparatus information, numerical values concerning the apparatus information can be specifically displayed.
A software generating device according to this embodiment is explained.
As shown in
The input unit 2 can receive input data. The input unit 2 is, for example, an input device that reads input data from a storage medium, a keyboard, and a mouse. The storage medium is, for example, a CD-ROM or a DVD disk.
The system-configuration-information storing unit 7 has stored therein system configuration information. The system configuration information is information for giving an arrangement configuration of the control devices A in the formation of the train.
Note that the system configuration information only has to be at least information for giving an arrangement configuration of the control devices A in the formation. For example, when a train has a ten-car formation, the system configuration information only has to include at least information for giving an arrangement configuration of the control devices A in the ten-car formation. Further, the system configuration information can include information concerning a system configuration for a formation pattern divisible into detailed sub-information pieces as shown in
The apparatus-arrangement-information storing unit 8 stores apparatus arrangement information. The apparatus arrangement information gives information concerning types of apparatuses to be monitored and controlled and the number of apparatuses of the apparatus type for each of the control devices A.
As shown in
As shown in
The display-component storing unit 9 has stored therein display components capable of displaying apparatus information of the apparatuses 53 on the display screen 30. The display components are components capable of displaying the apparatuses 53 and displaying apparatus information of the apparatuses 53 on the display screen 30. Display data for displaying the display components is stored as display components in the display-component storing unit 9. A group of display components is stored in the display-component storing unit 9.
The display-component-arrangement-information storing unit 10 stores display component arrangement information. The display component arrangement information is information for defining arrangement positions of the display components that are to be arranged on the display screen 30 and constitute the display screen 30.
In
In
In this way, arrangement positions of the display components in an X-coordinate axis direction are given by values of the X coordinate corresponding to the control device numbers of the control devices A that control the apparatuses 53 represented by the display components or corresponding to the display components. Arrangement positions of the display components in a Y-coordinate axis direction are given by values of the Y coordinate corresponding to apparatus types of the apparatuses 53 represented by the display components or corresponding to the display components. Note that, in the following explanation, a value of the X coordinate or the Y coordinate of the display component given by the display component arrangement information is also referred to as a defined position. The defined position is defined concerning a predetermined position, for example, a center position of the display component.
The arrangement-rule-information storing unit 11 stores arrangement rule information. The arrangement rule information gives arrangement rules for the display components for respectively displaying a number of apparatuses 53 when the apparatuses 53 are pf the same type and monitored and controlled by one and the same control device A. Specifically, the arrangement rule information gives exceptional rules to be applied, which are arrangement rules for the display components, applied in addition to the display component arrangement information when arrangement positions of the display components respectively representing the apparatuses 53 are determined in the case where the apparatuses 53 of the same apparatus type are monitored and controlled by one and the same control device A.
For example, since the control device (1) monitors and controls eight doors, display components of the eight doors are supposed to be arranged on the display screen 30. In this case, first to fourth display components are respectively arranged in positions where the Y coordinate is 60 and the X coordinate is 5.0, 7.5, 10.0, and 12.5. Fifth to eighth display components are respectively arranged in positions where the Y coordinate is 80 and the X coordinate is 5.0, 7.5, 10.0, and 12.5. In short, the arrangement positions of the display components are shifted from one another and the entire display components are respectively displayed such that all of the eight display components are displayed. In the arrangement rules for the display components of the doors, the arrangement positions of the doors are displaced from the defined position in the X-coordinate axis direction or the Y-coordinate axis direction, or in both of the directions.
In
Since the control device (1) monitors and controls the two air-conditioning control apparatuses, display components of the two air-conditioning control apparatuses are arranged on the display screen 30 to correspond thereto. In this case, concerning a first display component, the Y coordinate is 40 and the X coordinate is 10. That is, an arrangement position of the display component of the first air-conditioning control apparatus is the defined position given by the display component arrangement information shown in
Since the control device (2) monitors and controls the two VVVFs, display components of the two VVVFs are arranged on the display screen 30 to correspond thereto. In this case, concerning a first display component, the Y coordinate is 30 and the X coordinate is 20. That is, an arrangement position of the display component of the first VVVF is the defined position given by the display component arrangement information shown in
In this way, in the display component arrangement information, the arrangement positions of the display components arranged on the display screen 30 are defined by the X and Y coordinates orthogonal to each other set on the display screen 30. The positions in the X-coordinate axis direction of the display components are defined, for each of the control devices A that control the apparatuses 53 represented by the display components, in the order of the car numbers of the cars on which the apparatuses 53 and the control devices A are mounted. Further, the positions in the Y-axis coordinate axis direction of the display components are defined for each of the apparatus types of apparatuses represented by the display components. Additionally, in the arrangement rule information, when the apparatuses 53 of the same type are monitored and controlled by one and the same control device A, arrangement positions of the display components are given such that the arrangement positions of the display components are different from one another on the basis of the arrangement positions defined by the display component arrangement information concerning the apparatus types of the apparatuses 53.
Each of the control devices (1), (3), (5), (7), and (9) controls two air-conditioning control apparatuses. That is, two air-conditioning control apparatuses are mounted on one car of cars adjacent to each other, and an air-conditioning control apparatus is not mounted on the other car of the adjacent cars. Specifically, two air-conditioning control apparatuses are mounted on a car having an odd car number, but no air-conditioning control apparatus is mounted on a car having an even car number.
According to the arrangement rule information shown in
That is, the other air-conditioning control apparatus is displayed on the display screen 30 as if the other air-conditioning control apparatus is controlled by the control device having the (control device number+1) and mounted on the car having the car number larger than the car number of the one car by one. Such display is allowed because an air-conditioning control apparatus is not mounted on the car having the even car number.
In
One air conditioner (not shown in the figure), which is a controlled object of the air-conditioning control apparatus, is mounted on each of the adjacent cars. Therefore, even if two air-conditioning control apparatuses are displayed on the display screen 30 as if the two air-conditioning control apparatuses are mounted on cars on which two air conditioners (not shown in the figure), which are the controlled objects, are respectively mounted, the display does not cause misunderstanding of a person viewing the display screen 30.
Each of the control devices (2), (4), and (8) controls two VVVFs. That is, two VVVFs are mounted on a car having a car number 2, 4, or 8. VVVFs are not mounted on the other cars.
According to the arrangement rule information shown in
Therefore, the other VVVF is displayed on the display screen 30 as if the other VVVF is controlled by the control device having the (control device number+1) and mounted on a car having a car number larger than a car number of a car, on which the VVVFs are mounted, by one. Such display is allowed because the VVVFs are mounted on only one car of the adjacent cars.
In
One motor (not shown in the figure), which is a controlled object of the VVVFs, is mounted on each of the adjacent cars. Therefore, even if two VVVFs are displayed on the display screen 30 as if the two VVVFs are mounted on cars on which two motors (not shown in the figure), which are the controlled objects, are respectively mounted, the display does not cause misunderstanding of the person viewing the display screen 30.
In
Note that the arrangement rules shown in
The system configuration information, the apparatus arrangement information, the display components, the display component arrangement information, and the arrangement rule information are input data inputted to the software generating device 1 via the input unit 2, and are stored in advance in the system-configuration-information storing unit 7, the apparatus-arrangement-information storing unit 8, the display-component storing unit 9, the display-component-arrangement-information storing unit 10, and the arrangement-rule-information storing unit 11.
On the basis of the system configuration information, the apparatus arrangement information, the display component arrangement information, and the arrangement rule information, the layout unit 3 selects a plurality of display components constituting the display screen 30, determines attribute data including arrangement positions of the display components on the display screen 30, and automatically generates layout design data of the display screen 30 including the attribute data of the display components. Note that the layout design data can include data for displaying the vertical lines and the horizontal lines connecting the display components as shown in
The device-number setting unit 4 associates control device numbers of the control devices A that control the apparatuses 53 represented by the display components arranged on the display screen 30 or corresponding to the display components with the display components, and creates correspondence data for making links between the display components and the control device numbers. Specifically, the device-number setting unit 4 creates the correspondence data using the apparatus arrangement information shown in
The software generating unit 5 automatically generates software for generating the display screen 30 used in the display device 51 on the basis of the layout design data and the correspondence data. The software generating unit 5 can be realized using existing application software for generating software for generating a display screen. The software generating unit 5 generates software described in, for example, the C language, and stores the software in the software storing unit 12. The software is outputted via the output unit 6 and installed in the display device 51.
The output unit 6 is, for example, an output device that outputs output data to a storage medium, a display unit, and a printer. The storage medium is, for example, a CD-ROM or a DVD disk.
Operation in this embodiment is explained. The layout unit 3 selects a plurality of display components constituting the display screen 30 from the display-component storing unit 9 on the basis of the system configuration information and the apparatus arrangement information, determines arrangement positions of the display components on the display screen 30 on the basis of the apparatus arrangement information, the display component arrangement information, and the arrangement rule information, and automatically generates layout design data of the display screen 30 including arrangement position data of the display components. Note that the display components constituting the display screen 30 are selected for each of display screens 30.
Specifically, referring to the system configuration information, the layout unit 3 recognizes that the train is in the ten-car formation having the six-car formation and the four-car formation coupled together, and that one control device is mounted on each of the cars of the ten-car formation. Further, the layout unit 3 can specify apparatus types of apparatuses monitored and controlled by the control devices and the number of the apparatuses referring to the apparatus arrangement information. Consequently, the layout unit 3 can select a plurality of display components corresponding to the apparatuses 53, which are the monitored and controlled objects, from the display-component storing unit 9. Further, the layout unit 3 can determine arrangement positions on the display screen 30 of the selected display components on the basis of the apparatus arrangement information, the display component arrangement information, and the arrangement rule information. In this case, the layout unit 3 refers to the apparatus arrangement information, and when there is one apparatus 53 of the same type controlled by the same control device A, the layout unit 3 determines an arrangement position of the apparatus 53 on the basis of the display component arrangement information. On the other hand, the layout unit 3 refers to the apparatus arrangement information, and when there are a number of apparatuses 53 of the same type controlled by the same control device A, the layout unit 3 determines arrangement positions of the apparatuses 53 on the basis of the display component arrangement information and the arrangement rule information.
For example, each of the control devices A monitors and controls eight doors. Accordingly, the layout unit 3 determines arrangement positions of display components representing the doors on the basis of the display component arrangement information and the arrangement rule information (
Each of the control devices (1), (3), (5), (7), and (9) monitors and controls two air-conditioning control apparatuses. Accordingly, the layout unit 3 determines arrangement positions of display components representing the air-conditioning control apparatuses on the basis of the display component arrangement information and the arrangement rule information (
Similarly, each of the control devices (2), (4), and (8) monitors and controls two VVVFs. Accordingly, the layout unit 3 determines arrangement positions of display components representing the VVVFs on the basis of the display component arrangement information and the arrangement rule information (
In this way, the layout unit 3 determines the attribute data including the arrangement positions of the display components on the display screen 30, automatically generates the layout design data of the display screen 30 including the attribute data of the display components, and outputs the layout design data to the device-number setting unit 4.
Then, the device-number setting unit 4 creates the correspondence data for associating or linking control device numbers of the control devices A, which controls the apparatuses 53 represented by the display components arranged on the display screen 30, with the display components. The correspondence data are used in displaying apparatus information on the display components. That is, the correspondence data are incorporated in the software. When displaying the apparatus information on the display components, the display device 51 refers to the correspondence data and the display device 51 acquires the apparatus information from the control devices A having the control device numbers corresponding to the display components, so as to display the apparatus information on the display components.
Then, the software generating unit 5 automatically generates software for generating the display screen 30 on the basis of the layout design data and the correspondence data. In this case, when the display device 51 displays the display screen 30, the software generating unit 5 generates software to display the display screen 30 using the layout design data. That is, the software generating unit 5 reflects the layout design data on the software. For example, when a drawing function of the display components is incorporated in the software and the attribute data of the display components are passed to an argument of the drawing function, the software generating unit 5 extracts the attribute data of the display components to be drawn, from the layout design data, and sets the extracted attribute data in the argument of the drawing function.
As explained above, according to this embodiment, on the basis of the system configuration information, the apparatus arrangement information, the display component arrangement information, and the arrangement rule information, the display components constituting the display screen 30 are selected from the display-component storing unit 9, the arrangement positions of the display components on the display screen 30 are determined, and the layout design data of the display screen 30 are automatically generated. By doing so, it is possible to reduce man-hours in generating the software. In particular, even when a system configuration, apparatus arrangement, or display content is changed, it is possible to automatically generate the layout design data accordingly by changing the system configuration information, the apparatus arrangement information, the display component arrangement information, and the arrangement rule information. Therefore, it is unnecessary to undergo a process for manually rearranging and configuring the display components as in the past, and at the same time it is possible to reduce screen generation man-hours and achieve improvement of efficiency of screen generation work. For example, even when a new formation is configured by coupling two formations, it is possible to efficiently create the display screen 30 for the new formation.
According to this embodiment, not only when one and the same control device monitors and controls one apparatus of the same type but also when one and the same control device monitors and controls a plurality of apparatuses of the same type, it is possible to automatically generate software for generating the display screen 30 that displays the apparatus information.
In particular, on the display screen 30 shown in
Concerning the air-conditioning control apparatus or the VVVF, an apparatus of the same type is not mounted on the adjacent car. For this reason, the first display component is placed in the defined position given by the display component arrangement information, while the second display component is placed in the position of the X coordinate corresponding to the adjacent car on which the apparatus of the same type is not mounted. In this way, it is possible to efficiently place the second display component by virtue of making use of a circumstance in which the apparatus of the same type is not mounted on the car adjacent to the first one. Moreover, since the controlled object of the air-conditioning control apparatus or the VVVF is mounted on the adjacent car on which the apparatus of the same type is not mounted, it is reasonable to place the second display component in the position of the X coordinate corresponding to the adjacent car.
Note that, in the illustrated example in
In this embodiment, the correspondence data for associating the display components arranged on the display screen 30 with the control device numbers are created by the device-number setting unit 4. By so doing, it is unnecessary to manually set the control device numbers in the display components on the display screen of the user interface design tool as in the past, thereby making it possible to prevent a setting error. Note that, a configuration in which the device-number setting unit 4 is not provided is also possible.
As explained above, the present invention is useful for a software generating device that automatically generates software for generating a display screen for railroad vehicle information.
1 software generating device; 2 input unit; 3 layout unit; 4 device-number setting unit; 5 software generating unit; 6 output unit; 7 system-configuration-information storing unit; 8 apparatus-arrangement-information storing unit; 9 display-component storing unit; 10 display-component-arrangement-information storing unit; 11 arrangement-rule-information storing unit; 11a, 11b arrangement rule information; 12 software storing unit; 30 display screen; 30a upper part; 30b lower part; train; 51 display device; 53 apparatus.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2015/051369 | 1/20/2015 | WO | 00 |