This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2012-000200, filed on Jan. 4, 2012, the entire contents of which are incorporated herein by reference.
The embodiments discussed herein Are related to A display control program and a display control apparatus to control screen display.
User interface (hereinafter, referred to as UI) is one of interfaces for exchanging information between a computer and a user. On the operation screen using the UI, for example, when a menu displayed on the screen is selected via a mouse, keyboard and the like, the display screen is shifted and various applications are executed. Meanwhile, when developing operation screens using the UI, the layout of the operation screen and the operations of the UI parts are set by the developer.
The development of the UI described above is performed in order of the “us specification creation process” in which the developer determines the operations of the UI and describes the specification, the “development process” to create the source code, and the “test process” to make the UI actually perform the actions using the created source code to test the operability.
Specifically, in the UI specification process, the developer describes the processing details on the screen freely with a natural language, to create the specification of the UI. Then, in the development process, the developer views the processing details described in the specification process and creates the source code by manually performing coding to describe the source code using a programming language. After that, in the test process, the created source code is converted into the object code, and the operability of the UI is tested by making the UI actually perform the actions.
A display control program according to an aspect of the present embodiment causes a computer to execute the following process. The computer obtains screen information representing a screen, element attribute information associated with the screen information and representing an attribute of an element included in the screen, operation condition information regarding a condition for the element included in the screen to operate, and operation detail information regarding a detail of a process of the element to operate. The computer outputs the screen information associated with the element attribute information as information representing a screen of screen transition information representing a transition relationship between the screens created from the operation condition and the operation detail information. The computer makes a display unit display the element attribute information associated with the screen information corresponding to the screen of a simulation execution target in a selectable manner, in setting a simulation execution condition.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed.
In the UI specification creation process, screen specification to arrange UI parts indicating areas to display buttons, characters, graphs or drawings on the screen, and transition specification (screen transition specification) to describe the way the screen changes with the pressing of a button for example are created.
The screen specification•transition specification assumes display of processing results of the UI functions on one display. As the screen specification, screen corresponding to various UI manipulations have been designed. As the screen transition specification, execution of what UI manipulation causes transition to what screen has been designed.
However, there have been more requests to effectively develop variations for respective delivery destinations and purposes of the products, such as display of character representation in the screen in a plurality of languages and higher levels of display contents depending on the product grades.
In order to respond to such requests, functions and equipment (options) that become available depending on the delivery destinations and purposes of the product, the product grade, the operation environment and the like are provided, which are not provided as standard functions and equipment (standard specification).
When creating the screen specification and the screen transition specification that are compatible with various options as described above, the UI is to be provided with adjustments to the screen in the standard specification according the options.
However, since not only the screens for the standard specification but also screens corresponding to the options are to be prepared and a large number of similar screens are made ready, details of the screen transition specification in the actual application product become complicated. For that reason, when considering the screen transition specification in the UI specification creation process, it has been difficult to visually check and understand the contents of the screen transition specification instantly.
Then, in an aspect herein, a technique to separate, in the screen transition specification, the screen transition according to the original change of the screen from option information, to the screen transition specification according to the original change of the screen, and to secure the branch operation by the option is provided.
Here, as the categories of options, for example, there are types according to the difference in the display wording level, the difference in character type, the difference in the drawing level, the difference in parts, the difference in the input system, the difference in the product delivery destination, the difference in the presence/absence of display, the difference in the presence/absence of screen display and the like. The difference in the display wording level represents the difference in the language or the difference in the semantic content. The difference in the character type represents the difference in the font, or the difference in the icon, and the like. The difference in the drawing level represents the difference in the drawing algorithm such as the two-dimensional (2D)/three-dimensional (3D) drawing and the like. The difference in parts represents the difference whether to given an instruction using a button or to use a slider to obtain the same information, and the like. The difference in the input system represents the difference whether the input is from parts arranged in the screen or the input is from a switch provided outside the screen, or the input is voice input, and the like. The difference in the product delivery destination represents the difference in the country, area, company, user for the delivery. The difference in the presence/absence of display represents the difference whether or not to display parts themselves arranged on the screen according to options and execution conditions and the like. The difference in the presence/absence of screen display represents the difference whether or not to display the screen itself according to options and execution conditions and the like.
In addition, the operator also creates, using the screen specification setting screen (not illustrated in the drawing), operation definition information such as what process is to be executed and transition to what screen is to be performed when an event occurs in the UI parts, and the like.
Here, using screen designing tool, regarding the UI parts, attribute information such as the color, size, display method and the like may be set. Each attribute may further be selected from a plurality of options. Therefore, when it is desired to give some variation to the display contents depending on the product grade of the product on which the developed UI is implemented, the display contents of the screen may be adjusted.
For example, for a UI that is implemented on a low-grade product, the option for the display method of button parts is set as “two-dimensional display”. Accordingly, screens A1, A2, A3, . . . may be designed so as to display buttons flat. In addition, for example, for a UI that is implemented on a high-grade product, the option for the display method of button parts is set as “three-dimensional display”. Accordingly, screens A1′, A2′, A3′, . . . may be designed so as to display buttons three dimensionally.
Meanwhile, except the difference in options of the attributes of the UI parts such as the display method option and the input specification and the like, the transition of the algorithm of the UI application (hereinafter, referred to as “UI App”) of screens A1-A5 and screens A1″-A5″ is assumed to be the same.
The basic flow of the screen transition of the screens A1-A5, screens A1′-A5′, screens A1″-A5″ are the same. However, depending on the display mode of the parts displayed on the screen, the screens A1-A5, screens A1′-A5′, screens A1″-A5″ have been respectively described on the screen transition specification.
As described above, while the specification of the underlying screen transition, the displayed wordings and display modes differ depending on the branch operation according to the difference in the attribute of parts information and the screen being the transition target. For that reason, in screen transition specification, the flow of the screen transition has been described according to the attribute of parts information and the branch operation. As a result, the flow of the original screen change of the UI app being the development target has been difficult to understand on the screen transition specification.
Therefore, in this embodiment, a technique to separate, in the screen transition specification, the screen change of the UI app from the branch operation according the option, and to output the screen transition specification in which the original screen change of the UI app has been made easy to understand and also to secure the specification of the branch operation by the option is provided.
The obtaining unit 2 obtains screen information representing the screen, element attribute information associated with the screen information and representing the attribute of an element included in the screen, operation condition information regarding the conditions for the element included in the screen to operate, and operation detail information regarding the detail of the process of the element to operate. AN example of the obtaining unit 2 is a screen design unit 12.
The first output control unit 3 output screen information associated with the element attribute information as information representing a screen of screen transition information representing the transition relationship between screens created from the operation condition information and the operation detail information. An example of the first output control unit 3 is a UI specification creation unit 15.
The second output control unit 4 makes a display unit 6 display the element attribute information associated with the screen information corresponding to the simulation execution target screen in a selectable manner, in the setting of the simulation execution condition. An example of the second output control unit 4 is a condition setting display unit 13.
By the configuration described above, it becomes possible, in the screen transition specification, to separate the screen transition according to the original change of the screen from option information, and to output the screen transition specification according to the original change of the screen and also to secure the specification of the branch operation by the option.
The output control apparatus further includes an output unit 5. The output unit 5 outputs screen transition information, element information associated with screen information, element attribute information of the element or a source code. An example of the output unit 5 is an output control unit 18.
By the configuration described above, by specifying an option, the following may be performed after checking the algorithm of the UI app for the respective product delivery destinations and product grades by performing an operation simulation. That is, the output control apparatus 1 may create specifications or the source code of the UI app that reflect detailed changes corresponding to respective options such as delivery destinations, grades etc.
With the screen design unit 12, according to the requirement specification of the UI app, the operator designs the screen to present the functions of the UI app by selecting parts to be arranged on the screen, setting attribute, function and the like for the parts, and locating the parts on the development target screen. The operator sets, to the screen design unit 12, each screen that presents the functions of the UI app to the user, using an input unit 19,
When setting an attribute of a screen or a part using the screen design unit 12 and an option from a plurality of options is set to the attribute, the option adjusting unit 16 limits options that can be set to other attributes, according to the selected option.
The storage unit 17 includes parts information in which the attribute of the part set in the screen design unit 12 and information regarding the option set to the attribute. Furthermore, the storage unit 17 includes operation definition data and specification data. The operation definition data is information that defines operation condition (processing condition) and operation detail (processing detail) of the element displayed on the screen set in the screen design unit 12.
When setting the simulation execution condition, the condition setting display unit 13 makes a display unit 20 display the options of the attributes of the parts stored in the stored in the storage unit 17 in a selectable manner.
The simulation processing unit 14 executes the simulation (virtual execution) of the functions of the screen and parts based on the operation definition data, parts information and simulation execution condition and the like. The simulation processing unit 14 changes the option of the attribute of parts based on the simulation execution condition selected in the condition setting display unit 13.
The UI specification creation unit 15 creates information that represents a screen in screen transition information representing the transition relationship between screen information associated with the option of the parts and a screen created from the operation condition information and operation detail information.
The output control unit 18 data regarding the source code, the screen transition specification of the UI app using the parts information, operation definition data, specification information and the like stored in the storage unit 17, and outputs it to the display unit 20.
When the operator sets the attribute of parts and sets an option from a plurality of option to the attribute, the options that may be set for other attributes are restricted by the option adjusting unit 16 according to the selected option. For that reason, the operator is to select and set a selectable option based on the restriction by the option adjustment 16, in setting the attribute of the parts (S1-1).
That is, the option adjusting unit 16 may check the dependency between options and then set the option. For example, when there are options related to the grade, it is assumed that the options in the selectable range change according to the grade. For example, when a low-grade option is set for a part to be arranged on the UI screen, the option adjusting unit 16 may make it impossible for the operator to set the option of the 3D drawing method. Thus, the option adjusting unit 16 has a function to check the dependency between options or an option that is unnecessary to set, and the like.
The screen design unit 12 registered the information set on the design screen in the storage unit 17 as operation definition data 21, specification data 22, parts information 23 (S2). The operation definition data 21 is information that defines the operation condition (processing condition) and operation detail (processing detail) of the parts displayed on the screen set in the screen design unit 12. The specification data 22 is information that describes the launch event, conditional operation and processing operation according to the operation definition data. The parts information 23 is information for simulation execution, information for specification expression, information for source code creation.
Before executing the simulation, the operator sets the condition of the simulation on the design screen, according to the test specification and using the input unit 19 (S3). At this time, the condition setting display unit 13 makes the display unit 20 display the options of the attribute of the parts stored in the storage unit 17 in a selectable manner. The operator sets, for example, an option 1 for the part P1, and sets an option 5 for the part P2. Meanwhile, for example the operator sets an option 2 for the part P1, and sets an option 6 for the part P2.
The simulation processing unit 14 executes a simulation of functions of the screen and parts, based on the operation definition data 21, specification data 22, parts information 23 and the condition of the simulation (S4). The simulation processing unit 14 changes the option of the parts arranged on each screen, according to the simulation condition, when simulating the screen change of the UI app in accordance with the screen transition specification by the instruction from the operator.
Next, the UI specification creation unit 15 creates the specification data of the UI app (screen transition specification data 32, constituent parts specification data 33, parts attribute specification data 34), using the parts information, operation definition data, specification information stored in the storage unit 17. The output control unit 18 displays data on display unit 20 or outputs data to a printer etc.
The screen transition specification data 32 is specification data of the screen transition that represents the change of the screen on which the parts are implemented, according to the function transition (algorithm) of the UI app based on the operation definition data 21, specification data 22, parts information 23, and describes the transition relationship between screens in the standard specification. Therefore, transition to similar screens according to the difference in the option is not described in the screen transition specification data 32. Accordingly, the operator is able to check the original screen transition of the UI app function, referring to the created screen transition data.
The constituent parts specification data 33 is specification data that represents the parts that constitute the screen. The parts attribute specification data 34 represents the detail of the option set for the attribute of the parts that constitute the screen.
The operator is able to refer to the specification data (screen transition specification data 32, constituent parts specification data 33, parts attribute specification data 34) of the UI app, to consider the function transition specification of the UI app.
As described above, parts in this embodiment are in the configuration in which information is described including the detail of the set option. For that reason, in the screen specification creation process, the screen may be created using the same UI parts with no concern for the options. Accordingly, there is no need to create similar screens for each option. In addition, in the screen transition specification creation process, since the screen transition is not branched for each option in the description, there is no need to describe complicated transition specification branched according to the difference in the option, and a screen transition specification that follows the requirement specification of the UI may be created. In addition, in the consideration in creating the specification, when executing the simulation, consideration in units of parts such as to temporarily hide the parts may be performed easily.
Meanwhile, upon commercialization of the product, the parts may be provided in a compact form, by removing parts options to which unnecessary options are assigned.
Hereinafter, the S1-1 process explained in
The screen design unit 12 reads out the parts information 23 from the storage unit 17 based on the specification data 22. The screen design unit 12 creates the UI app screen based on the specification data 22 and parts information 23 and makes the display unit 20 display it.
The storage unit 17 stores parts information of the button part (part P1) and the label part (part P2) and the like. The button part includes, for example, attribute information regarding the “part presence/absence”, “display method”, “display wording” etc. The button part also includes unique attributes, which are omitted in the example in this embodiment.
The attribute “part presence/absence” represents the attribute that represents whether or not to display the button part. Options of the attribute “part presence/absence” includes “display” (option name: OpA1-p1-A11) that represents that the button part is displayed and “no display” (option name: OpA1-p1-A12) not to display the button part.
The attribute “method” (display method) represents the attribute to set the method in drawing the parts. Options of the “display method” includes a flat 2D drawing method (option name: OpA1-p1-A21) and a 3D drawing method (option name: OpA1-p1-A21) with a sense of depth.
The attribute “wording” (display wording) represents the language and the attribute to set the wording to be displayed on the button part using the language. As options of the attribute “wording”, as words to represent the action that is meant with the pressing of the button part, for example, “Kanryou” in Japanese, “Hao (“Dui” or “Shi”) in Chinese, “OK” in English are set.
As described above, as an attribute, the language to be used and display wordings (display wording information 25) to be displayed for each option by the language are set. When setting the attribute “wording” of the part in the screen design unit 12, the value of the display wording information 25 is displayed on the screen, and when a display wording is set, it is stored in the storage unit 17 as attribute data of the parts information.
In
For example, as illustrated in
For example, regarding the language option, restriction may be imposed for selectable languages according to the difference in the option regarding the delivery destination. As in
A case in which the operator sets, in the screen design unit 12, a high grade “grade A” for the option regarding the product grade is considered. At this time, when creating a system in which both the 3D drawing method and the 2D drawing method may operate as the display method of parts, the option adjusting unit 16 performs the following process. That is, the option adjusting unit 16 performs controls so that, in the screen design unit 12, the operator may select both the 3D drawing method and the 2D drawing method in the screen design unit 12, as illustrated in
Meanwhile, for example, regarding the grade option, when “grade C” being a specification in which the performance of the device on which the UI app is implemented is low and the 3D drawing method may not be performed is set, the option adjusting unit 16 performs the control so that only the 2D drawing method may be selected for the display method option.
In addition, when designing a system with a specification in which a switch outside the screen is operated to give an input to a certain part as the input method, the part does not need to be displayed on the screen. In this case, the option adjusting unit 16 performs control so that, as illustrated in
As described above, when the set value of other options affect the setting of another option, the option adjusting unit 16 performs control to disable unnecessary selection insetting options of each part using the screen design unit 12.
As presented in
In a similar manner, “grade C” as the “grade option” of the parts arranged on the screen is selected in the screen design unit 12, the option adjusting unit 16 performs control so that only OpA1-p2-A21 (2D display) may be set in the method option of the part P2.
Meanwhile, the dependency between options is extracted and set from the specifications of the UI app to be designed and the design conditions regarding the system.
For example, options set for the part P1 and the part P2 set on the screen A1 composed of the part P1 (button part) and the part P2 (label part) are as in
First, using the screen design unit 12, the operator may specify “OpA1-s1” or “OpA1-s2” as the option to set the screen no display/display. When “OpA1-s1” is specified, the option adjusting unit 16 does not display the screen A1.
In addition, using the screen design unit 12, the operator may specify one of “OpA1-p1-A11”/“OpA1-p1-A12”, as the option to set parts no display/display regarding the part P1. When “OpA1-p1-A11” is specified, the option adjusting unit 16 does not display P1.
When “OpA1-p1-A12” is specified, the option adjusting unit 16 performs control to display the part P1. At this time, using the screen design unit 12, the operator may specify one of “OpA1-p1-A21”/“OpA1-p1-A22” as the display method.
When “OpA1-p1-A21” is specified, the part is drawn by the flat 2D drawing method. When “OpA1-p1-A22” is specified, it is specified that the part is drawn in the 3D drawing method with a sense of depth. Using the screen design unit 12, the operator may specify one of three (OpA1-p1-A31/OpA1-p1-A32/OpA1-p1-A33) options regarding the wording to be displayed. When “OpA1-p1-A31” is specified, the option adjusting unit 16 makes “OK” displayed on the part. When “OpA1-p1-A32” is specified, the option adjusting unit 16 makes “Kanryou” displayed.
For the part P2, in a similar manner, using the screen design unit 12, the operator may specify one of “OpA1-p2-A11”/“OpA1-p2-A12” as the option to set parts no display/display. Here, by setting a value that is different from the option value to set no display/display of the part P1, the presence/absence of display for the part P1 and the part P2 may be controlled independently.
For example, regarding the part P1 of the screen A1, when “outside-screen switch” is set as the “input method” option, as illustrated in
Ina similar manner, regarding the part P2 of the screen A1, when “grade C” is set as the “grade” option, as illustrated in
As a setting method of each option, as illustrated in
When there is a dependency relationship between options set in advance as
Next, the process S3 explained in
For example, a case of executing a simulation about the screen A1 is considered. In advance, “OpA1-p1-A11 (no display)” is set regarding the attribute “presence/absence of display” of the part P1. Regarding the attribute “display method” of the part P1, “OpA1-p1-A21 (2D)” is set. Regarding the attribute “wording” of the part P1, “OpA1-p1-A31 (Kanryou)” is set. Regarding the attribute “presence/absence of display” of the part P2, “OpA1-p2-A12 (display)” is set. In this case, when the simulation is executed, on the executed screen A1, the part P1 is not displayed, with its display method being the 2D drawing method, and “Kanryou” is displayed as the wording. In addition, in this case, the part P2 is displayed.
A case of executing a simulation about the screen A1′ is considered. In advance, “OpA1-p1-A12 (display)” is set regarding the attribute “presence/absence of display” of the part P1. Regarding the attribute “display method” of the part P1, “OpA1-p1-A22 (3D)” is set. Regarding the attribute “wording” of the part P1, “OpA1-p1-A33 (OK)” is set. Regarding the attribute “presence/absence of display” of the part P2, “OpA1-p2-A11 (no display)” is set. In this case, when the simulation is executed, the part P1 is displayed, with its display method being the 3D drawing method, and “OK” is displayed as the wording. In addition, in this case, the part P2 is not displayed.
As described above, options of the respective parts of the screen being the simulation target may be changed independently. Thus, when performing the simulation, according to its condition, the simulation may be performed after making various changes to a plurality of options.
Next, an example of the UI design support apparatus in the present embodiment is explained.
At the stage where a series of screens are ready, using the UI design support apparatus 51, for example, the operator makes the screen in the standard specification with no consideration of options operate and tests whether the UI operations are in line with the requirement specification. After that, the operator performs operation checks of various options, and after that, using the UI design support apparatus 51, creates the specifications for respective options and the source codes to be executed on the target machine for respective options.
In creating the source codes for respective options, the UI design support apparatus 51 does not need to expand the codes prepared for operations of unnecessary options in respective display parts.
The UI design support apparatus 51 is connected to an input apparatus 70 and a display apparatus 71. The UI design support apparatus 51 includes a control unit 52 and a storage unit 60.
The input apparatus 70 is the one to input description regarding the specification and the like, which is a keyboard, a mouse, a microphone, and the like. Meanwhile, the display apparatus 71 is, as described later, the one to display the view related to the operation definition, which is a monitor (or a display, a touch panel).
The control unit 52 includes an internal memory for storing a program that defines various process procedures and the like and required data, and executes various processes. The control unit includes a screen design unit 53, an option adjusting unit 54, a condition setting display unit 55, a simulation processing unit 56, a source code creation unit 58, a UI specification creation unit 57.
The screen design unit 53 displays the operation definition format that makes information regarding the condition for the parts displayed on the operation screen of the UI to operate and information regarding the detail of the process of the parts to operate described in a prescribed format, and obtains the description regarding the specification of the parts based on a operation definition format 61. Specifically, the screen design unit 53 displays a parts display setting view to set functional parts to operate the UI parts and various functions on the screen and an operation definition related view related to the operation definition on the display apparatus 71. In addition, the screen design unit 53 obtains an operation instruction from the operator via the input apparatus 70, and performs selection of the operation definition format 61 stored in the storage unit 60 and editing of the attribute of the parts.
In setting the attribute of the screen displayed the parts to be arranged on the screen by screen design unit 12, when an option from a plurality of options is set, the option adjusting unit 54 performs the following process. That is, the option adjusting unit 54 restricts options that may be set for other attributes, according to the selected option.
In setting the simulation execution condition, the condition setting display unit 13 makes the display apparatus 71 display options of the attribute of parts stored in the storage unit 17 in a selectable manner. For example, the condition setting display unit 13 makes the option information set in the screen design unit 53 displayed in a selectable list format. Accordingly, the operator may select the option in accordance with the simulation execution condition from the list.
The simulation processing unit 56 displays the operation screen of the user interface, based on information regarding the condition for the parts to operate, information regarding the detail of the process of the parts to operate, option information that the operator selected from options displayed by the condition setting display unit 13. Accordingly, the operator may test the operation of the parts displayed on the operation screen of the user interface.
The UI specification creation unit 57 creates screen transition specification data 64, constituent parts specification data 65, parts attribute specification data 66 using the parts information, operation definition format and the specification data stored in the storage unit 60.
The source code creation unit 58 creates a source code 63 using information regarding the condition for the parts to operate, information regarding the detail of the process of the parts to operate, and information regarding the attribute of the parts.
The storage unit 60 stores data and a program required for various processes by the control unit 52. In addition, the storage unit 60 stores, screen data 67, parts data 68, operation definition format 61, specification data 62, source code 63, screen transition specification data 64, screen parts specification data 65, parts attribute specification data 66.
The screen data 67 is data including the attribute of the screen itself such as the size, color, shape and the like. The parts data is data including data regarding the attribute of the parts explained in
The operation definition format 61 exists for respective categories. The categories include the conditional operation and the processing operation. In addition, categories of the conditional operation includes the event, numerical value comparison, character string comparison, and categories of the processing operation includes the numerical value set, character string set, method execution, screen transition. The specification data 62 is, for example, specification data in a tree structure described later.
The source code 63 is a source code created by the source code creation unit 58.
Here, the screen edit view, the parts display setting view, the operation definition related view displayed by the screen design unit 53 are respectively explained below using drawings.
The “parts list” 82 displays the list of UI parts (existing in the data base in the system, for example) that may be displayed on the screen. In
The “screen layout display” 86 displays the screen layout. An operation instruction is received from the UI specification creator via the input apparatus 70, and parts desired to be set are arranged on a screen layout 86 by drag and drop, to create the screen. In the example in
Next, the operation definition related view. In the operation definition related view, setting of actions of the respective UI parts is received. In the setting of actions of the UI parts, as UI operation definition data being a unified format of the operation condition and the process of the operation, conditional operation data as to the form of the instruction from the user and whether or not to execute the processing operation process is created. At that time, an operation definition format in a form in which verbal expressions of the operation condition and the processing operation are attached is used. The operation definition related view is composed of the operation definition format select view and the parts attribute select view. First, by means of the operation definition format select view, the operator selects the operation definition format 61 for creating the operation definition data.
Categories of the conditional operation include an event, numerical value comparison, character string comparison. Categories of the processing operation include a numerical value set, character string set, method execution, screen transition. For example, the UI design support apparatus 51 stores, in the event category of the conditional operation, the operation definition format “at the time when an event of the parts occurs”.
As described above, the screen design unit 53 makes the launch event, the conditional operation and the processing operation described according to the operation definition format 61, and makes the storage unit 60 store the described data as specification data 62.
Meanwhile, in the child parts, the conditional operation and the processing operation are defined. For example, for a label #1 being a child part #1, “when a button pressing event of a child part #1 is issued”, is defined as the conditional operation, and “shift to the screen B” is defined as the processing operation. As described above, when there is a screen transition, as illustrated in
The simulation processing unit 56 displays the operation screen of the UI based on the option set by the operator as one of the simulation execution conditions, the information regarding the condition for the parts to operate and the information regarding the detail of the process of the parts to operate. The operator tests the operation of parts displayed on the operation screen of the UI. Specifically, the simulation processing unit 56 makes the set option information reflected on the simulation operation screen. The simulation processing unit 56 scans the specification data 62 of each screen in a tree structure from the top node, and extracts a part for which an event is set. Then, the simulation processing unit 56 displays, as illustrated in
Next, creation of the source code is explained. The source code creation unit 58 creates the source code using information regarding the condition for the parts to operate, information regarding the detail of the process of the parts to operate, and information regarding the attribute of the parts. Specifically, the source code creation unit 58 extracts and encodes appearance-related specification information of screen parts from the property. Then, the source code creation unit 58 performs source code conversion of specification information of the operation definition, when operation definition data exists in the UI parts. Next, when a child node such as a combination part exists, the source code creation unit 58 also creates a appearance-related code and the source code 63 regarding the operation definition, also for the child node. The source code creation unit 58 stores the created source code in the storage unit 60. The created source code 63 becomes a code that realizes the function illustrated in
The screen transition specification data 64 is a specification of the screen transition created based on the specification data in
The constituent parts specification data 65 is specification data created based on the specification data in
Meanwhile, the display form of the screen transition specification data 64, constituent parts specification data 65, parts attribute specification data 66 is not limited to the form described in
Next, the process by the UI design support apparatus 51 according to an example of the present embodiment is explained.
In the screen design unit 53, UI parts required for constituting the menu displayed on the screen are selected, and arranged on the screen, and setting such as the size, shape, color (normal color, color for pressing), display condition and the like is received. The screen design unit 53 creates the specification data 62 of the screen based on the information set in the screen edit view 80, parts display setting view 90, operation definition format select view 100, parts attribute select view 110. When no option is added to the screen (No in S12), the process proceeds to S14.
When an option is added to the screen (“Yes” in S12), the option adjusting unit 54 performs the following process. That is, the option adjusting unit 54 sets the option after checking the dependency relationship between options based on the option set to the attribute of the parts display setting view 90 or the parts attribute select view 110, as explained in FIG. 7(
The screen design unit 53 creates operation definition data including the launch event, conditional operation, processing operation of the UI operation definition, using the operation definition format 61, for the respective UI parts. The screen design unit 53 creates the specification data using the operation definition data (S14).
The operator sets the simulation execution condition using the input apparatus 70 for the screen being the simulation target displayed on the display apparatus 71 (S15). Here, the operator performs setting of the option of parts in the screen being the simulation target, displayed by the condition setting display unit 13, according to the simulation condition.
The simulation processing unit 56 executes a simulation about the target screen using the created specification data 62, and the simulation execution condition set in S15 (S16).
The operator operates the simulation screen displayed on the display apparatus 71 using the input apparatus 70. By doing so, the operator tests whether the parts layout and the operation of the UI parts satisfy the requirement specification (S17).
When the parts layout and the operation of the UI parts do not satisfy the requirement specification (“No” in S17), the process returns to S11. When the parts layout and the operation of the UI parts satisfy the requirement specification (“Yes” in S17), the operator instructs, using the input apparatus 70, the UI design support apparatus 51 to output the specification or the source code.
Based on the instruction, the UI specification creation unit 57 creates the screen transition specification data 64, constituent parts specification data 65, parts attribute specification data 66, using the parts data 68, specification data 62 and the like stored in the storage unit 60 (S18). The output control unit 59 makes the display apparatus 71 display the created screen transition specification data 64, constituent parts specification data 65, parts attribute specification data 66, or makes a printer and the like output them.
Meanwhile, based on the instruction, the source code creation unit 58 creates the source code 63 using information regarding the condition for the parts to operate, information regarding the detail of the process of the parts to operate, and information regarding the attribute of the parts (S19). The output control unit 59 makes the display apparatus 71 display the created source code 63 on the display apparatus 71, or makes a printer and the like output them.
The simulation processing unit 56 scans the specification data 62 from the top node, and extracts a part for which an event is set (S16-2). The simulation processing unit 56 judges, from input information from the input apparatus 70, whether the screen or a part displayed on the display apparatus 71 have been operated (S16-3). When the screen or a part has been operated (“Yes” in S16-3), the simulation processing unit 56 sends a notification of a UI operation instruction to the program that forms the UI parts of the screen (S16-4). The simulation processing unit 56 judges, using operation definition data, whether an operation is defined for the part (S16-5).
As a result, when it is judged that no operation is defined for the part (“NO” in S16-5), the simulation processing unit 56 returns to S16-3, and waits for the screen or a part to be operated. Meanwhile, when it is judged that an operation is defined for the part (“Yes” in S16-5), the simulation processing unit 56 executes the operation using an executable module attached to the UI part (S16-6).
Then, the simulation processing unit 56 judges whether or not there has been a simulation termination instruction (S16-7). When there is no simulation termination instruction (“No” in S16-7), the simulation processing unit 56 returns to S16-5 and waits for the screen or a part to be operated. When there has been a simulation completion instruction (“Yes” in S16-7), the present flow is completed,
Next, the UI specification creation unit 57 judges, in the specification data 62, whether there is a UI part node under its output target screen (S18-2). When there is no UI part node (“No in S17-3), the process proceeds to S18-17. Meanwhile, when there is a UI part node (“Yes” in S17-3), the UI specification creation unit 57 judges whether there is data regarding the display/on display operation of the screen or the screen transition operation, in the operation definition data corresponding to the UI part node (S18-4). When there is no data regarding the display/on display operation of the screen or the screen transition operation, in the operation definition data corresponding to the UI part node (“No” in S18-4), the process proceeds to S18-7.
When there is data regarding the display/on display operation of the screen or the screen transition operation, in the operation definition data corresponding to the UI part node (“Yes” in S18-4), the UI specification creation unit 57 performs the following process. That is, the UI specification creation unit 57 outputs information representing screen display/no display or information representing the transition destination screen to the screen transition specification data file (S18-5).
The UI specification creation unit 57 obtains specification data corresponding to the searched transition destination screen from the operation definition data, and scans the specification data 62 from the top node, to detect an output target screen (S18-6). After that, the process returns to S18-3.
The UI specification creation unit 57 repeats S18-1 through S18-6, and creates the screen transition specification data file (S18-7). The output control unit 59 outputs the screen transition specification data file to the display apparatus 71 or an output apparatus such as a printer, as screen transition specification data 64.
The UI specification creation unit 57 obtains UI parts data in the screen from the specification data, and outputs the UI parts data to a constituent parts specification data file (S18-8). The output control unit 59 outputs the constituent parts specification data file to the display apparatus 71 or an output apparatus such as a printer as constituent parts specification data 65.
The UI specification creation unit 57 obtains parts information corresponding to the UI parts data obtained in S18-8, and outputs the parts information to a parts attribute specification data file (S18-9). The output control unit 59 outputs the parts attribute specification data file to the display apparatus 71 or an output apparatus such as a printer as parts attribute specification data 66.
Then, the source code creation unit 58 judges whether there is an operation definition (S19-4). When there is an operation definition (“Yes” in S19-4), the source code creation unit 58 performs source code conversion of the specification information of the operation definition and outputs the source code (S19-5). After that, the source code creation unit 58 judges whether there is a child node (S19-6). When there is a child node (“Yes” in S19-6), the source code creation unit 58 returns the process of S19-3, and creates the appearance related code and the code related to the operation definition for the child node as well. After that, when there is no child node (“No” in S19-6), the source code creation unit 58 returns to step S19-1.
In S19-1, when there is no screen for which the source code output is not performed (“No” in S19-1), the source code creation unit 58 terminates the process.
The computer 200 includes an output I/F 201, a CPU 202, a ROM 203, a communication I/F 204, an input I/F 205, a RAM 206, a storage apparatus 207, a reading apparatus 208, a bus 209. The computer is connected to an output device 211, an input device 212.
Here, the CPU represents a central processing unit. The ROM represents a read only memory. The RAM represents a random access memory. The I/F represents an interface. To the bus 209, the output I/F 201, the CPU 202, the ROM 203, the communication I/F 204, the input I/F 205, the RAM 206, the storage apparatus 207, the reading apparatus 208 are connected. The reading apparatus 208 is an apparatus that reads out a portable recording medium. The output device 211 is connected to an output I/F 201. The input device 212 is connected to the input I/F 205.
As the storage apparatus 207, a storage apparatus in various forms such as a hard disk drive, a flash memory apparatus, a magnetic disk apparatus and the like may be used. The storage apparatus 207 or the ROM 203 stores, for example, a program to realize the processes explained in the present embodiment is stored. Meanwhile, the storage apparatus 207 or the ROM 203 stores the screen data 67, parts data 68, operation definition data, operation definition format 61, specification data 62, source code 63, screen transition specification data 64, screen parts specification data 65, parts attribute specification data 66 and the like.
The CPU 202 reads out a program to realize the processes explained in the present embodiment stored in the storage apparatus 207 or the ROM 203, and executes the program. Specifically, the CPU 202 functions as the screen design unit 53, the option adjusting unit 54, the simulation processing unit 56, the UI specification creation unit 57, the source code creation unit 58, the output control unit 59, by executing the program.
The program to realize the processes explained in the present embodiment may be stored in the storage apparatus 207 for example through a communication network 210 and the communication I/F 204 from the program provider side. In addition, the program to realize the processes explained in the present embodiment may also be stored in a commercially sold and distributed portable storage medium. In this case, the portable storage medium may be set in the reading apparatus 208 and the CPU 202 may read out and execute the program. As the portable storage medium, a storage medium in various forms such as a CD-ROM, a flexible disk, an optical disk, a magnet optic disk, an IC card, a USB memory apparatus and the like may be used. A program stored in such a storage medium is read out by the reading apparatus 208.
Meanwhile, for the input device 212, a keyboard, a mouse, a digital camera, a Web camera, a microphone, a scanner, a sensor, a tablet, a touch panel and the like may be used. In addition, for the output device 211, a display, a printer, a speaker and the like may be used. In addition, the network 210 may be a communication network such as the Internet, LAN (Local Area Network), WAN (Wide Area Network), a dedicated line, a wired or wireless network and the like.
According to the present embodiment, in the screen transition specification, the screen change of the UI app and the branch operation according to the option may be separated, and a screen transition specification in which the original screen change of the UI app is made easier to understand may be output. Meanwhile, for the specification of the branch operation according to the option, options set for the parts are displayed in a selectable manner before the simulation execution. Accordingly, according to the execution condition, any of the options may be selected and the specification may be checked by executing a simulation. As a result, a screen transition specification that is easy to check visually may be created, and the option specification may also be secured.
According to an aspect of the present embodiment, in the screen transition specification, the screen transition according to the original change of the screen and the operation information may be separated, to output the screen transition specification according to the original change of the screen and also to secure the specification of the branch operation according to the option.
Meanwhile, the present invention is not limited to the embodiment described above, and may take various configurations or embodiments without departing from the gist of the present invention.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a depicting of the superiority and inferiority of the invention. Although the embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2012-000200 | Jan 2012 | JP | national |