The present invention relates to a device, method, and program for developing application programs (hereinafter referred to as simply “applications”), and more specifically to a device, method, and program that makes reviewing of applications possible.
Typically, the problems in the operation of applications are noticed by users when attempts are made to run the application. In such cases, the user notifies the developer of the application about the problem. Such operations are normally carried out with the following steps.
2. The user runs the application and describes the problem. At that time, screen captures may be taken to clarify the problem.
4. The developer reads the description of the problem. At that time, the screen captures may be referred to for gaining an understanding of the problem.
However, with the scenario in question, the developer must find the location of the problem in the application based on the description obtained from the user. If there are screen captures, it may help in that investigation. However, when there are no screen captures, there is the fear of the developer not being able to find the correct location where the problem is. Moreover, when a group of people are working on drawing objects, technology already exists such that any user can input comment data for the drawing object (for example, see Published Unexamined Patent Application JP8-16514). In this Patent Reference, comments concerning drawing, text and other objects that are displayed in a screen area that is shared with others through a communications network are stored together with the object, and the object and the comments are used jointly through the communications network.
However, the above cited patent merely discloses the sharing of comment data related to a drawing object among a plurality of users working in collaboration with each other. Namely, no means is disclosed for efficiently communicating information concerning the operation of the application from a user to the developer when one user is the application developer and refers to the screen for defining the operations of the application (an application development tool or environment) and another user is a user of the application and refers to the screen to run the application.
The present invention is for solving technical problems such as those above, and it is an object thereof to be able to efficiently acquire information concerning the operation of an application. Furthermore, another object of the present invention is acquiring the information concerning the operation of an application in such a way that it can be determined which location within the application the acquired information is concerned with.
Based on these objects, an application was developed where, in the development of an application, it is possible to relate the data that is input concerning elements that define the operation of the application to those elements. Namely, the device of the present invention is provided with a display part that displays a plurality of elements that define the operations of an application and a creation part that creates an application program that carries out operations defined by a plurality of elements displayed on this display part and maintains the correspondence between the specific element and the data when data related to a specific element out of the plurality of elements is entered.
Here, the creation part may be such that an application program that outputs the correspondence information as a file is created. In addition, there may also be provided a reading part that reads the correspondence information that the application program maintains, and the display part may further display data that includes the correspondence information read by the reading part. Furthermore, the display part can be constituted so as to display the correspondence relationship between the specific element and the data in response to a predetermined operation. In addition, a user interface object for inputting and outputting information among users is given as an example for a specific element. Alternatively, it may be a transition between two user interface objects for inputting and outputting information among users.
In addition, the present invention may also be perceived as a method for developing application programs. In such cases, the method of the present invention includes a step that displays the plurality of elements defining the operations of the application program, a step that carries out the operations defined by the plurality of elements and creates the application program for maintaining the correspondence information for the specific element and the data when the data for a specific element out of the plurality of elements is entered, a step where the application program reads the correspondence information, and a step that displays the data included in the correspondence information.
On the other hand, the present invention may also be perceived as a program for implementing prescribed functions on a computer. In such cases, a first program of the present invention implements a function that reads design information obtained by designing using a plurality of elements that operate the application program and a function carries out the operations defined by the plurality of elements and creates the application program that maintains the correspondence information for the specific element and the data when data is input for a specific element out of the plurality of elements. In addition, a second program of the present invention is a computer program reviewed by a reviewer. Furthermore, the functions provided for the reviewer so as to input into the computer the data concerning the specific element out of the plurality of elements that define the operations of that computer program and the function for maintaining the correspondence information between the specific element and the data when data is input by the reviewer are implemented. Furthermore, a third program of the present invention implements the function for displaying the plurality of elements that define the operations of the application program, the function for reading the correspondence information for the specific element created by the data concerning the specific element out of the plurality of elements being input and the data, and the function for displaying the data included in the correspondence information.
According to the present invention, it becomes possible to efficiently acquire information concerning the operation of an application.
In the following, the preferred embodiment for carrying out the present invention (hereinafter, referred to as “embodiment”) will be described in detail referring to the appended drawings. First, the computer system used by the present embodiment will be described.
Here, the computer 10 is a computer used by the application developer. Furthermore, an application development tool, which is software for developing applications, is installed. For example, a personal computer, a workstation or another computer may be used for this computer 10. In addition, the computer 20 is a computer used by the application reviewer. Here, the reviewer is someone who is a user of the application, reviews the operation of the application, and verifies whether or not that operation satisfies the requirements. For example, a personal computer, a workstation or another computer may also be used for this computer 20. Furthermore, the communications line 30 maybe anything as long as it carries out telecommunications between the computer 10 and the computer 20, and for example, the Internet may be used.
Next, the functions the computer 10 and the computer 20 are provided with in the present embodiment will be described. First, the functions on the computer 10 used by the developer will be described. This computer 10 is equipped with a design information storage part 11, an application storage part 12, and a feedback storage part 13. In addition, a design information editing part 14 and an application creation part 15 are provided.
The design information storage part 11 stores the design information created by the user's defining the operations of the application. Namely, the design information is information that includes a component for an example of the elements that define the operations of the application. Here there are, for example, user interface (UI) objects and UI transitions for the components that define the operation of the application. A UI object is an object that the user can confirm visually, and is a page or a button, text box, checkbox, table or other UI element displayed on a display. In addition, UI objects may have a hierarchical structure, and this is applicable to tables and cells, which are their subordinate objects. UI transitions are defined as moving and changing to another UI by an operation in a certain UI. However, although this example is of a component related to a UI, the concept is not limited to this. For example, making a component out of a process (for, example, database search processing or the like) that is not directly related to the UI that is executed by the operation in a certain UI may also be considered to be using this concept.
The application storage part 12 stores the application that the application creation part 15 has created based on the design information for review. In the present embodiment, this application includes a function for listing the flow of the application process and functions for inputting opinions, suggestions and comments (hereinafter referred to as “feedback”) about the components that define the operation of the application. The feedback storage part 13 stores a feedback file (hereinafter simply referred to as “feedback”) that includes the feedback entered by the reviewer that has been output by the application.
The design information editing part 14 reads the design information from the design information storage part 11, edits the design information that has been read, and writes the design information after editing back to the design information storage part 11. In addition, the feedback stored in the feedback storage part 13 is read, and the correspondence relationship between the feedback and the component that is the object of that feedback is displayed according to a prescribed operation. In other words, this design information editing part 14 is also an example of a reading part that reads the feedback. The application creation part 15 creates an application for review based on the design information stored in the design information storage part 11.
Moreover, these functions are executed through cooperation between the software and hardware resources. Specifically, the design information editing part 14 and the application creation part 15 are achieved by the CPU of the computer 10 executing the application development tool by reading from, for example, a magnetic disk device into a main memory. In addition, the design information storage part 11, application storage part 12, and feedback storage part 13 may be achieved using, for example, a magnetic disk device. Furthermore, the programs and data stored on the magnetic disk device may also be loaded from a CD or other storage medium or may be downloaded through a network such as the Internet.
Next, the functions on the computer 20 used by the reviewer will be described. This computer 20 is equipped with an application storage part 22 and a feedback storage part 23. In addition, it is equipped with a feedback editing part 26. The application storage part 22 stores an application created in the computer 10 and received through the communications line 30. The feedback storage part 23 stores feedback that has been output by the application. The feedback editing part 26 inputs the feedback for the application and indicates the saving of the feedback.
Moreover, these functions are executed through cooperation between the software and hardware resources. Specifically, the feedback editing part 26 is achieved by the CPU of the computer 20 reading the application that has been created in the computer 10 from the application storage part 22 to the main memory and executing it. In addition, the application storage part 22 and feedback storage part 23 may be achieved using, for example, a magnetic disk device. Furthermore, the programs and data stored on the magnetic disk device may also be loaded from a CD or other storage medium or may be downloaded through a network such as the Internet.
Next, we describe the flow of work when the developer creates an application, the reviewer reviews that application, and the developer confirms the results of the review on the computer system in question.
First, the developer designs the application flow (Step 101). Here, the application flow is the definition of the processing flow for the application. Next, the developer designs a UI object used in the application processing (Step 102). In addition, a UI transition is associated with the UI object if necessary (Step 103). At this time, the application development tool assigns a unique ID to the UI object and the UI transition (Step 111).
Next, the developer creates an application using the application development tool and sends that application to the reviewer (Step 104). At this time, the application development tool embeds the ID assigned in step 111 in the application (Step 112). Furthermore, the developer waits for the reviewer to return feedback (Step 105).
On the other hand, the reviewer, who has received the application, first runs the application (Step 201). In addition, the reviewer may view the UI transition at this time. Furthermore, the reviewer adds feedback about the UI object, UI transition and the like according to the results of the running of the application (Step 202). At this time, in addition to the feedback itself, the application also records the position information on the screen of the component that is the object of the feedback as well as its ID (Step 211). Moreover, in
By this means, the developer receives the feedback, and the application development tool loads the feedback (Step 106). At this time, the application development tool relates the feedback to the position where the reviewer has added the feedback based on the position information and the ID of the component that is the target of the feedback (Step 113). Subsequently, the developer reads and analyzes the feedback in the application development tool (Step 107). Furthermore, the developer determines whether or not there is a problem (Step 108), and if there is a problem, returns to step 101, and if not, ends the operation.
In the following, we show examples of the screens displayed following this workflow. First, a description of examples of screens displayed on the computer 10 when the developer is designing the application will be given referring to
Next, a description of examples of screens displayed on the computer 20 when the reviewer is reviewing the application will be given referring to
In this state, if, for example, the first line on the menu 57 is clicked, it goes to the state shown in
Furthermore, a description of examples of screens displayed on the computer 10 when the developer is checking the feedback will be given referring to
Next, a detailed description will be given of the application development tool that executes these screen transitions and the operation of the application automatically created by this application development tool. Moreover, in the following also, components (UI components) related to UI objects and UI transitions in the UI are presumed as the objects for which feedback is added. In addition, the UI design information is that which indicates the page flow and page design information in
First, the design information editing part 14 determines whether or not the reading of the UI design information has been indicated (Step 401). Here, if the determination is made that reading of the UI design information is indicated, the UI design information is read and displayed on the screen (Step 402). When reading of the UI design information is not indicated, the design information editing part 14 determines whether or not the reading of feedback has been indicated (Step 403). Here, if the determination is made that reading of feedback is indicated, the feedback is read and displayed on the screen (Step 404).
When reading of feedback is not indicated, the design information editing part 14 determines whether or not the reading of changes to the UI design information has been indicated (Step 405). For example, there is a determination as to whether a new UI component has been added, the position where a UI component is placed has been changed, the color of a UI component has been changed, a UI component has been deleted or the like. Here, if a determination is made that the reading of changes in the UI design information is indicated, the UI design information is changed, and the screen is updated (Step 406). Moreover, when a UI component is added, a unique ID is assigned to that UI component. Furthermore, the correspondence between that UI component and ID are embedded in the UI design information in an understandable format.
When the reading of changes in the UI design information is not indicated, the design information editing part 14 determines whether or not a UI component has been selected (Step 407). Here, if it is determined that a UI component has been selected and if there is a description that has been given correspondence to the same ID as the ID for the selected UI component, that description is highlighted (Step 408). Namely, since the correspondence between the UI component and the ID in Step 406 is embedded in the UI design information, the ID for the selected UI component is first extracted from the UI design information. Furthermore, feedback descriptions that correspond to this ID are identified within the feedback.
When no UI component has been selected, the design information editing part 14 determines whether or not a feedback description has been selected (Step 409). Here, if it is determined that a feedback description has been selected and if there is a UI component having the same ID as the ID that has been given correspondence with the selected description, that UI component is highlighted (Step 410). Namely, as will be discussed later, the feedback description is embedded in the feedback so that the correspondence with the ID of the UI component that is the target of the feedback is understood, so the ID that the selected description corresponds to is extracted from the feedback. Furthermore, the UI component given correspondence with this ID is identified within the UI design information.
When no feedback description has been selected, the design information editing part 14 determines whether or not the writing of the UI design information has been indicated (Step 411). Here, if it is determined that the writing of the UI design information has been indicated, the UI design information that is being edited is written to the design information storage part 11 (Step 412). Subsequently, the design information editing part 14 determines whether or not there has been an end indication (Step 413). Here, when there has been no end indication, there is a return to Step 410, but when there has been an end indication, the process terminates.
Subsequently, the application creation part 15 reads the next UI component in the UI design information (Step 506) and returns to Step 504. Then the Steps 504-506 are processed repeatedly until the UI components in the UI design information are exhausted. Furthermore, when the UI components are exhausted, the next UI design information is read (Step 507), and there is a return to Step 502. Then the Steps 502-507 are processed repeatedly until the UI design information is exausted. Finally, when it is determined that there is no UI design information in Step 502, functions related to the application as a whole, such as a page flow display function or a feedback editing function, are created (Step 508), and processing is terminated.
When there has been no indication for the addition of feedback, the application determines whether or not there has been an indication of a change in feedback (Step 605). Here, when there is a determination that there has been an indication of the change, the application carries out feedback change processing, which will be discussed later (Step 606). When there has been no indication of a change in feedback, the application determines whether or not there has been an indication for saving the feedback (Step 607). Here, when there is a determination that there has been an indication for saving the feedback, the application saves the feedback in a file (Step 608). Subsequently, the application determines whether or not there has been an end indication (Step 609). Here, when there has been no end indication, there is a return to Step 601, but when there has been an end indication, the process terminates.
Here, the processing content in Step 604 and Step 606 described above will be described in further detail with reference to
As a result, when it is determined that there has been such a save indication, the application stores the feedback that has been input in memory that it can reference itself (Step 613). Moreover, the application determines which UI component the indication of the feedback addition was for in Step 603 based on the position information on the screen and obtains the ID for that UI component based on the correspondence between the UI component and the ID embedded in the application. Furthermore, in this Step 613, the feedback that has been input is related to and maintained with the correspondence with the ID for that UI component. On the other hand, when there is no indication for that saving, the processing ends.
As a result, when it is determined that there has been such a save indication, the application changes the feedback in the memory using the feedback that has been entered (Step 623). In addition, when there has been no indication for that saving, the application determines whether or not there has been an indication for deleting the feedback (Step 624). As a result, when it is determined that there has been such an indication for deletion the application deletes the feedback in the memory (Step 625). On the other hand, when there is no indication for that deletion, the processing ends.
In the present embodiment, the ID for the UI component is embedded in all of the design information created by the design information editing part 14, the application created by the application creation part 15, and the feedback created by the feedback editing part 26. Therefore, specific examples of the methods for embedding the ID for the UI component will be described with reference to examples of source code that correspond to the design information, the application and the feedback, respectively. FIG. 20 shows examples of source code used in the design and creation of an application. Of these,
Furthermore,
Finally, the computer hardware configuration preferable for use as computer 10 and computer 20 in the present embodiment will be described.
Moreover, each of the constituent elements is connected via a bus in
Here, the present invention may be implemented totally through hardware, or may be implemented totally through software. In addition, it may be implemented through both hardware and software. In addition, the present invention may be implemented as a computer, data processing system or computer program. This computer program may be stored on a computer-readable medium. Here, electronic, magnetic, optical, electromagnetic, infrared, semiconductor system (device or machine), or propagation media may be considered for the medium. In addition, semiconductor or solid-state recording devices, magnetic tape, removable computer diskettes, random access memory (RAM), read only memory (ROM), rigid magnetic disks, and optical discs may be cited as examples for the computer-readable medium. At present, the example of optical discs includes compact disc read only memory (CD-ROM), compact disc read/write (CD-R/N) and DVD.