Information processing device, information processing system, control method, program, and recording medium
The described mechanism simplifies application development by associating and generating programs for third-party components, addressing inefficiencies in existing technologies by automating the integration process.
Patent Information
- Application Number
- JP2024133768
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-04-15
AI Technical Summary
Existing application development technologies require manual creation of components and functions, leading to inefficiencies when incorporating third-party parts, as users must understand programming to attach special instructions, making the process time-consuming.
A mechanism that stores and arranges screen items with display and function information, associating them with components, and generates programs to display and execute these components, allowing easy integration of third-party components without manual code manipulation.
Enables efficient application development by simplifying the integration of existing component displays and functions, reducing the need for manual programming and increasing development speed.
Smart Images

Figure 2024153930000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, an information processing system, and a control method and program thereof. [Background technology]
[0002] In recent years, development efficiency has been improved by using application development programs.
[0003] For example, when designing a screen, a technology is becoming widespread that allows screen design by placing components such as input fields and buttons (items that can be placed on the screen of the application being developed) on the screen, rather than creating the screen by manually typing in source code.
[0004] However, there are limitations to the components and functions that an application development program provides. Sometimes, you may want to incorporate components that have been created and published (provided) by a third party, other than the components provided by the application development program, and the functions realized by those components, into the application you are developing.
[0005] One method for incorporating the relevant part would be to refer to the appearance (display) and functions of the relevant part and create a part with the same appearance and functions from scratch, but this is extremely time-consuming and leads to a decrease in efficiency in the entire application development process. Therefore, it is desirable to reuse the code related to the appearance (display) and function code of the relevant part that has already been released.
[0006] For example, Patent Document 1 describes a technique for creating a program in an editor for program development and editing, in which an identifier is assigned to an existing instruction when developing a program that includes a special instruction not registered in the editor, and then converting the program into a program in which the instruction with the identifier is replaced with a special instruction according to a conversion rule. It also describes that when an element in a program corresponds to the identifier, the element is converted into a function registered in the conversion rule, making it possible to easily change and set the number and contents of arguments of the special instruction. [Prior art documents] [Patent documents]
[0007] [Patent Document 1] Japanese Patent Application Publication No. 11-24905 DISCLOSURE OF THEINVENTION [Problem to be solved by the invention]
[0008] According to the technology of Patent Document 1, it is possible to easily call and realize an existing function. However, with the technology of Patent Document 1, it is necessary to directly add an identifier of a special command to the program code.
[0009] For example, when replacing the data output processing of a part with different data processing, it is necessary to find the part that corresponds to the output processing of that data in the code. In other words, to the extent that the user can recognize which output command to which they want to add a special command and add or rewrite the code, they need to be able to read and understand the code created by the program development application and be familiar with programming itself.
[0010] The present invention aims to provide a mechanism that enables easy application development using the displays and functions of existing components. [Means for solving the problem]
[0011] The present invention is characterized by comprising a placement means for storing information regarding items to be placed on a screen and the display and / or functions of parts and placing the items on the screen, a matching means for matching the items placed by the placement means with the parts, and a generation means for generating a program capable of executing the display and / or functions of the parts matched by the matching means. Effect of the Invention
[0012] According to the present invention, it is possible to provide a mechanism that enables easy application development using the displays and functions of existing components. [Brief description of the drawings]
[0013] [Figure 1] 1 is a diagram illustrating an example of a configuration of an information processing system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram illustrating an example of a hardware configuration of various devices in the embodiment of the present invention. [Diagram 3] FIG. 2 is a diagram illustrating an example of a functional configuration of various devices in the embodiment of the present invention. [Figure 4] FIG. 2 is a diagram showing detailed functional configurations of various devices in the embodiment of the present invention. [Diagram 5] 10 is a flowchart showing the flow of a registration process for a custom part in an embodiment of the present invention. [Figure 6] 10 is a flowchart showing a flow of an application generation process in the embodiment of the present invention. [Figure 7] 10 is a flowchart showing a flow of a code generation process for a custom part in an embodiment of the present invention. [Figure 8] FIG. 4 is a diagram showing an example of a configuration of a display screen in the embodiment of the present invention. [Figure 9] FIG. 2 is a diagram showing an example of a data configuration in the embodiment of the present invention. [Figure 10] FIG. 4 is a diagram illustrating an example of a source code according to the embodiment of the present invention. [Figure 11]FIG. 1 is a diagram illustrating an example of a source code according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0015] First, with reference to FIG. 1, an example of the configuration of an information processing system in an embodiment of the present invention will be described.
[0016] A program development device 100 , a database server 200 , and an application server 300 are communicatively connected via a network 101 .
[0017] A program development application is installed in the program development device 100, and the program development device 100 is capable of developing and generating programs (application programs).
[0018] For example, you can edit the screen of the target application. Specifically, you can place components (such as buttons and text input fields displayed by the application) on the screen, and set or change the size, shape, and position of the components.
[0019] It is also possible to set and edit the name of the part, the action taken when an operation is received for the part, the data to be input and output (also called input / output values / input / output data), the screen and table to which the input and output are to be made, etc.
[0020] A search application is installed in the database server 200, and the database server 200 can search for data within a database that can be referenced.
[0021] The application server 300 is a server on which an application generated by the program development device 100 runs. The program development device 100 stores the code of the generated application in itself, and then stores the code in the application server 300 in accordance with a user operation. This concludes the explanation of FIG. 1.
[0022] Next, with reference to FIG. 2, the hardware configuration of each device in the embodiment of the present invention will be described.
[0023] 2, reference numeral 201 denotes a CPU, which performs overall control of each device and controller connected to a system bus 204. Also, a ROM 202 or an external memory 211 stores a BIOS (Basic Input / Output System), which is a control program for the CPU 201, an operating system program (hereinafter, OS), and various programs (to be described later) required to realize the functions executed by each server or each PC.
[0024] A RAM 203 functions as a main memory, a work area, etc., for the CPU 201. The CPU 201 loads programs and the like required for executing processing from the ROM 202 or the external memory 211 into the RAM 203 and executes the loaded programs to realize various operations.
[0025] Reference numeral 205 denotes an input controller that controls input from a keyboard (KB) 209 and a pointing device such as a mouse (not shown).
[0026] A video controller 206 controls the display on a display device such as a display 210 (for example, a CRT display). The display device is not limited to a CRT display, and may be another type of display device such as a liquid crystal display. These are used by the user as needed.
[0027] Reference numeral 207 denotes a memory controller, which controls access to an external memory 211 such as a hard disk (HD) for storing boot programs, various applications, font data, user files, edited files, various data, etc., a flexible disk (FD), or a compact flash (registered trademark) memory connected to a PCMCIA card slot via an adapter.
[0028] A communication I / F controller 208 connects to and communicates with external devices via a network (for example, the network 101 shown in FIG. 1) and executes communication control processing on the network. For example, communication using TCP / IP is possible.
[0029] The CPU 201 enables display on the display 210 by, for example, executing a process of expanding (rasterizing) an outline font in a display information area in the RAM 203. The CPU 201 also enables a user to give instructions using a mouse cursor (not shown) on the display 210.
[0030] Various programs for implementing the present invention, which will be described later, are recorded in the external memory 211, and are executed by the CPU 201 by being loaded into the RAM 203 as necessary. Furthermore, definition files and various information tables, etc., used when executing the above programs are also stored in the external memory 211, and these will also be described in detail later. This concludes the explanation of FIG. 2.
[0031] Next, with reference to FIG. 3, the functional configuration of each device in the embodiment of the present invention will be described.
[0032] The part storage unit 311 is a storage unit that stores parts (template parts) that are stored and managed as templates by a program development application installed in the program development device 100, and other parts (non-template parts).
[0033] Non-template parts are, for example, parts created independently by a user or parts published by a company other than the provider of the program development application, i.e., a third party from the perspective of the company that developed the program development application.
[0034] The following describes the characteristics of non-template parts: While template parts are optimized for the program development application that provides the template parts, non-template parts are not necessarily optimized for the program development application that provides the template parts.
[0035] For example, the data item names of the non-template components themselves, where information (e.g., text) entered into the component is registered, the data item names of the data output to the component (e.g., output from a database to the component for display in a component such as a graph), and the data types and restrictions of this data (maximum number of digits to be displayed, restrictions on full-width and half-width characters), do not necessarily match the data item names, data types, permitted restrictions, etc. handled by a program development application installed in program development device 100 or handled by a program developed by that application (an application generated by the program development application).
[0036] In order for non-template parts to be used reliably in the program development application and in applications generated by the program development application in the same way as template parts, the non-template parts need to be optimized for the application that uses them.
[0037] Returning to the explanation of Fig. 3, custom I / O item storage unit 312 is a functional unit that stores images of custom I / O items, non-template parts set in custom I / O items, and data conversion rules used when inputting / outputting data to / from non-template parts.
[0038] An I / O item (input / output item) is a component that has the ability to input or output data, or both. Examples of I / O items include text fields and graph objects.
[0039] Custom I / O items (custom input / output items) are non-template parts and input / output items (parts) that are set to input and output data for those non-template parts. Parts set as custom I / O items are called custom parts.
[0040] The custom I / O item placement processor 313 is a functional unit that places custom I / O items on the screen of the application being developed. For example, by dragging and dropping an image of a custom I / O item displayed beside the screen editor onto the screen, the image of the custom I / O item is placed at the dropped position.
[0041] A designation receiving screen display unit 314 displays a screen for receiving designation of which non-template part is to be associated with a custom I / O item. A designation receiving unit 315 is a functional unit that receives designation of a non-template part to be associated with a custom I / O item.
[0042] The application generation unit 316 is a functional unit that generates the code of an application. For example, it generates source code for the entire application, including the code for custom I / O items. For example, it has the functions of an application generation unit 410 and a custom component source generation unit 430 in FIG. 4, which will be described later. This concludes the explanation of FIG. 3.
[0043] Next, referring to FIG. 4, the detailed functional configuration of various devices in the embodiment of the present invention will be described. explain.
[0044] The program development device 100 includes a repository definition unit 400 that manages definition files defined by a developer developing an application by operating the program development device (generated by a program development application of the program development device), and an application generation unit 410 that generates application code based on these.
[0045] Furthermore, it includes an extension file management unit 420 that stores and manages extension files.
[0046] Furthermore, a custom component source generator 430 is provided for generating source code for the custom I / O item. That is, this generator generates source code related to the custom component set in the custom I / O item.
[0047] The application server 300 stores applications that are configured from codes generated by various code generating units.
[0048] Each functional unit will be described in detail below. The repository definition unit 400 manages an application definition 401, an input / output definition 402, a data model definition 403, a business process definition 404, and a database definition 405.
[0049] These files are input and created by a developer via a program development application and are stored in the external memory of the program development device 100 .
[0050] The application definition 401 is a definition held for each application developed in the program development application, and is information that defines the settings, data, etc. used in the application. Specifically, it is possible to define input / output definitions used when generating an application, an identification code for the application definition itself, and an application name.
[0051] The input / output definition 402 is definition information that includes input definition information that defines items to be input as arguments to a program, and output definition information that defines items to be output from the program as processing results.
[0052] For example, definitions include the type of definition (item type), the identification code (item code) of the definition itself, the name, the item code of the data item that inputs and outputs data, the identification code of the data model that includes the data item (data model code), a setting (display setting) indicating whether or not to display the component defined by the input / output definition on the display screen, settings for the number of digits of input / output data and the number of decimal places to be input / output (number of digits, decimal places, etc.) etc. An example of a definition editing screen (a screen displaying a list of definitions) is shown in Figure 9.
[0053] The data model definition 403 is a definition defined as schema information. Each data model definition holds an identification code and a name. A plurality of data items are defined in the data model definition. Specifically, the item codes and item names of various data items, the number of digits and data type (character, numeric, date, etc.) used in the data items, and permission settings such as whether or not null is permitted as data to be stored are defined.
[0054] The business process definition 404 is information that defines the business logic that runs in an application. For example, it includes the operation type for each business logic ("IN" stores input data to the business process in variables, "CALL" calls the contents of the function code held by the data model code, etc.), data model code, function code indicating the function, etc.
[0055] The database definition 405 is a definition that stores the settings of a server that is accessed by a program (application) generated by a program development application. Specifically, the identification code of the server that holds the database to be accessed, the server name, the connection URL, the database name, the user name and password required to connect to the database, etc. are defined. The repository definition unit 400 is an example of a means for managing these definitions.
[0056] The extension file management unit 420 is a functional unit that manages extension files for extending the functions of a program development application. An extension file is a file of a non-template part. The program development device 100 stores the file of a non-template part in its external memory 211 in accordance with a user operation or the like. For example, a part that is publicly available on the Internet as commercially available data may be downloaded in accordance with a user operation.
[0057] The extended file management unit 420 will now be described in detail.
[0058] The include file management unit 421 is a management function unit that manages files (CSS files, JS files, etc.) that are included (called) in a JSP file.
[0059] The JS file 422 (JavaScript file) to be included is a script file specified as a target for inclusion. The JS file describes code related to the operation (function) of the non-template part. For example, the operation is to display the character string "Please enter" in the text field of the non-template part until a mouse click operation is performed on the text field, and to hide the character string when a mouse click operation is performed on the text input field.
[0060] In addition, if the non-template file is a graph, for example, if the non-template part is a graph, the code contains the operation (function) to highlight the graph or display the numerical values of the target graph when the mouse cursor is hovered over the graph.
[0061] The CSS file 423 to be included (Cascading Style Sheets file) is a style sheet specified as a target to be included. For example, if the non-template part is a graph, a CSS file that specifies the style for the display area of the graph and the graph itself is stored.
[0062] The code management unit 424 is a functional unit that manages various codes.
[0063] The component drawing code 425 is the code for drawing components set as custom I / O items in the JSP file. For example, it describes what event is executed when a certain element is focused by hovering the mouse, etc. The contents of the event are described in the JS file. An example is shown in 1002 of FIG. 10. Note that the above explanation is just an example, and for graph components, drawing-related code different from the above explanation may be described.
[0064] The data processing unit and drawing component association code 426 is code that associates the drawing of the non-template component with data managed by the program development application. For example, when the non-template component is a graph, the code describes what data is acquired and drawn on the graph when what settings are made in the input / output definition of the non-template component (what parameters are specified). In an embodiment of the present invention, the association code is a JS file. An example is shown in FIG. 11. Note that the above explanation is an example, and code with content different from the above explanation may be written in the graph component.
[0065] The application generation unit 410 analyzes various definitions in the repository definition unit 400 using a repository definition analysis unit 411, and generates application code 442 consisting of compiled code 443 and HTML / JSP / Javascript (registered trademark) 444 in a source code compilation unit 413 via an application code generation unit 412. For example, a Web application 441 (Web application code) is generated.
[0066] The application code accesses database 445 specified in database definition 405 that is used when an application configured by the code executes its function. In other words, application generation unit 410 is an example of a means for storing rules for generating a program used in an application.
[0067] The custom part source generator 430 is a processing unit that renders a custom part and generates a source that indicates the content of the processing related to the custom part.
[0068] The include part generation unit 431 is a functional unit that writes code indicating a process of importing CSS and JS files of non-template parts (custom parts) set in a custom I / O item into a JSP file of a screen on which the custom I / O item is placed. An example of a JSP file generated by the include part generation unit is shown in 1001 of FIG.
[0069] The body part generation unit 432 is a functional unit that writes the drawing code and data processing code related to the custom I / O item in the JSP file of the screen on which the custom I / O item is placed. Here, the part in which the drawing code and data processing code are written is called the body part. An example is shown in 1003 in FIG.
[0070] The data processing unit code generation unit 433 is a functional unit that generates a data processing unit, which is a part that holds data inside a custom I / O item. An example is shown at 1003 in Fig. 10. For example, 1003 is a hidden item "disp" for holding the internal value of the custom I / O item (BAR_VERTICAL) shown in Fig. 9. In other words, this indicates that a data processing unit for holding the internal value of a custom I / O item is generated in a JSP.
[0071] For example, a case will be described in which text entered in a text input field component is registered in data item X on a database (not shown).
[0072] If the "data processing unit and drawing component association code 426" describes that the text entered in the text input field component is to be written in "disp," the component entered in the text input field component is once written in "disp." After that, the data is written in data item X according to the code "write the data written in 'disp' to data item X" separately described in application code 442.
[0073] The drawing section code generating unit 434 is a functional unit that generates (writes) a drawing section, which is code that draws the parts (custom parts) set in the custom I / O items, in the JSP file of the screen on which the custom I / O items are placed. This concludes the explanation of FIG. 4.
[0074] The flow of processing in the embodiment of the present invention will be described below with reference to Figures 5 to 11. Note that the processing of each flowchart is executed by the CPU 201 installed in each device using the functions of the functional units included in each device.
[0075] First, the flow of the registration process for a custom part in the embodiment of the present invention will be described with reference to FIG.
[0076] In step S501, the program development device 100 starts a program development application in accordance with an operation received from a user.
[0077] In step S502, the program development device 100 starts an application screen editing function (screen editor function) provided by the program development application, and displays a screen editing screen (screen editor screen). The editor screen displays objects indicating custom I / O items and template parts. In other words, items are displayed on the screen.
[0078] In step S503, the program development application of program development device 100 generates a custom I / O item on the screen. Specifically, as shown in 800 in Fig. 8, an object 801 of the custom I / O item is dragged and dropped onto the screen being edited, so that the custom I / O item is placed at the location on the screen where it was dropped.
[0079] At the time of placement, it is not yet determined as to which non-template part the custom I / O item will be displayed and operated as, so a dummy object representing the custom I / O item is displayed at the placement destination (an object containing a dummy image is displayed).
[0080] The default value for the size of the dummy object is stored in the external memory 211 of the program development device 100. The size is changed by an operation such as dragging the edge of the dummy object. The program development application generates a program that displays the part (custom part) associated with the custom I / O item at the size. Specifically, the changed size is written to the set style class in the class attribute of the div tag in the body part of the JSP file for the screen. For example, in the case of the example in FIG. 10, it is written to "field_BAR_VERTICAL".
[0081] When an input / output item (template item) corresponding to a template part is placed, an image of the template part corresponding to the input / output item is obtained from the storage device and displayed as an object. The list shown in 802 is an example of such an object.
[0082] In step S504, the program development application of program development device 100 performs settings to associate the placed custom I / O items with non-template parts.
[0083] Specifically, in response to a user operation, a definition editing function provided by the program development application is started and a definition list screen (as exemplified by 900 in FIG. 9) is displayed. Then, in the properties of the custom I / O item placed in step S503, input of identification information of the non-template part desired by the user and a setting value indicating which process is to be executed among the processes related to the non-template part is accepted.
[0084] A specific example is shown in Fig. 9. In 900 in Fig. 9, an input / output item is selected that has the default item code "XXX" and has blank fields for the property "compName" 901, which is the registration destination of the identification information of the non-template part, and the property "compParam" 902, which is the setting destination of the parameters. The user can edit each item of the selected input / output item. In other words, the user can input and set setting values.
[0085] The screen image after the settings are made is shown in 910 of Fig. 9. In 910 of Fig. 9, the identification information of the non-template part called "GRAPH" is set in the item code = "BAR_VERTICAL". In addition, ""type":"PROCEED"" is set as the value (parameter) to be set for the "GRAPH" part.
[0086] The property "compName" where the identification information of the non-template part is registered, and the property "compParam" where the parameters are set, are displayed only in the custom I / O item. In reality, these property fields are associated with the custom I / O item and stored in external memory, and when the custom I / O item is placed on the screen, a new custom I / O item with these property fields empty is generated in the list of input / output items.
[0087] In this embodiment, a non-template part is information stored in a folder having the same name as the identification information of the non-template part, and is configured from a CSS file, a JS file, a drawing code of the non-template part, and the non-template part. An example of a non-template part will be described.
[0088] The CSS file of a non-template part describes the settings (drawing code) related to the display of the non-template part, such as the type, color, size, etc. of the graph.
[0089] In addition, the JS file of a non-template part contains code (Figure 11) that associates the drawing of the non-template part with data processing.
[0090] For example, 1101 describes a process code that says, "When drawing using the CSS file "GRAPH" (here, drawing a graph), refer to the setting value, and if the setting value is "type":"PROCEED", obtain data from the "year / month" (MONTH_AN...) and "sales" (PROCEEDS) columns in the definition list (Fig. 9) and output it to the graph." Also, 1102 describes a process code that says, "When drawing using the CSS file "GRAPH" (here, drawing a graph), refer to the setting value, and if the setting value is "type":"EVENT", obtain data from the "year / month" (MONTH_AN...) and "event count" (EVENT) columns in the definition list (Fig. 9) and output it to the graph." This concludes the explanation of non-template parts.
[0091] Returning to the explanation of Fig. 5, in step S505, the program development application of program development device 100 stores the information input in step S504 in the external memory. That is, "GRPH" and "'type':'PROCEED'" are stored in each item of the property of the custom I / O item "BAR_VERTICAL". This concludes the explanation of Fig. 5.
[0092] Next, the flow of the application generation process will be described with reference to FIG.
[0093] In step S601, the program development application of the program development device 100 accepts, on an application generation execution screen (not shown), the specification of a definition of an application for which code is to be generated (application definition).
[0094] In step S602, the program development application of program development device 100 receives an instruction to generate application code based on the application definition, for example, by pressing a "Generate" button on the application generation / execution screen.
[0095] In step S603, the program development application of the program development device 100 acquires from the external memory 211 the application definition whose specification was accepted in step S601.
[0096] In step S604, the data model definition specified by the application definition is obtained from the external memory 211.
[0097] In step S605, the input / output definition specified by the application definition is obtained from the external memory 211.
[0098] In step S 606 , the business process definition specified by the application definition is obtained from the external memory 211 .
[0099] In step S607, the database definition specified by the application definition is obtained from the external memory 211.
[0100] In step S608, the program development application of the program development device 100 obtains from the external memory 211 the extension file specified by the application definition.
[0101] In step S609, the program development application of program development device 100 generates application code, such as a Java file for the application, a JSP file for each screen, a CSS file, and a JavaScript file (see 444 in FIG. 4, etc.).
[0102] In step S610, the program development application of program development device 100 generates a custom part source. Details of step S610 will be described later in the description of FIG.
[0103] Now, with reference to FIG. 7, a flow of a code generation process for a custom part in an embodiment of the present invention will be described.
[0104] In step S701, the program development application of the program development device 100 acquires a list of input / output definitions. Then, the processing of steps S702 to S708 is repeated the number of times corresponding to the number of input / output items.
[0105] In step S702, the program development application of the program development device 100 obtains one unprocessed input / output definition.
[0106] In step S703, the program development application of the program development device 100 determines whether a value is set in "compName" of the acquired input / output definition. In other words, it determines whether identification information of a non-template part is set in the input / output definition.
[0107] Here, a part determined to have identification information of a non-template part set is identified as a custom I / O item. That is, the determination process of step S703 is a process of determining whether the input / output definition is a definition of a custom I / O item.
[0108] If it is determined that no value is set in the "compName" of the input / output definition, the process returns to step S702 to acquire an unprocessed input / output definition. If there is no unprocessed input / output definition, the process of FIG. 7 ends.
[0109] If it is determined that a value is set in "compName" of the input / output definition, the process proceeds to step S704.
[0110] In step S704, the program development application of the program development device 100 determines whether a value is set in "compParam" of the acquired input / output definition, that is, whether a parameter is set in the input / output definition.
[0111] If it is determined that no value is set in "compParam," the process proceeds to step S706.
[0112] If it is determined that a value is set in "compParam," the process proceeds to step S705, where the set value is acquired, and the process proceeds to step S706.
[0113] In step S706, the program development application of the program development device 100 generates an include part for the custom part.
[0114] Specifically, code is written to include the CSS file and JS file of the non-template part in the JSP file of the screen that holds the input / output item (custom I / O item) to which the input / output definition is applied. A specific example is shown in 1001 in Figure 10.
[0115] In step S707, the program development application of the program development device 100 generates code for the data processing section of the custom part. The data processing section is a section that holds data inside the custom part. An example is shown as 1003 in FIG.
[0116] In step S708, the program development application of the program development device 100 generates code for a drawing section of the custom part. The drawing section is a section that draws the custom part. An example of the drawing section is shown in 1002 in FIG.
[0117] If there is an unprocessed input / output definition, the program development application of program development device 100 returns the process to step S702, acquires one input / output definition, and executes the processes of steps S703 to S708. If there is no unprocessed input / output definition, the process of Fig. 7 ends. This concludes the explanation of Fig. 7.
[0118] Returning to the explanation of Fig. 6, in step S611, the program development application of the program development device 100 deploys the code generated in steps S609 and S610. This concludes the explanation of Fig. 6.
[0119] As described above, according to the present invention, it is possible to provide a mechanism that allows easy and straightforward application development using the displays and functions of existing components.
[0120] A display example of this part is shown at 810 in Fig. 8. The screen shown at 810 is an example of the case where the application generated in steps S609 and S610 and deployed in step S610 displays the screen shown at 800. 811 in Fig. 8 shows a display example of a non-template part associated with 801 ("GRAPH" associated with a custom I / O item called "BAR_VERTICAL" in 920 in Fig. 9). Also, 812 shows a display example of a non-template part associated with a custom I / O item placed separately from 801 ("GRAPH" associated with a custom I / O item called "BAR_VERTICAL2" in 920 in Fig. 9).
[0121] These components are displayed in a style that conforms to the CSS of the non-template component "GRAPH" and retain functionality according to the JS file corresponding to "GRAPH" (information included in the JSP file at 1001 in Figure 10).
[0122] 10 and the data processing unit 1003, and can execute drawing and data input / output according to the association code in FIG.
[0123] In the above-mentioned embodiment, an example was given of including both a CSS file (one piece of information related to the display of the component) and a JS file (one piece of information related to the function of the component) of a non-template file set as a custom I / O item, but the invention may be configured to include either one of them.
[0124] In the above-described embodiment, the definition editing function provided by the program development application is started in response to a user operation to display the definition list screen 900 (illustrated in FIG. 9 ), but the definition list screen 900 may be displayed automatically. For example, when the program development application detects that a custom I / O item has been placed (generated) in S503, the definition list screen 900 may be displayed on the display screen. In addition, in order to display a screen in which a component to be associated with the custom I / O item can be specified, the custom I / O item generated in S503 may be automatically focused on in the displayed definition list screen 900 (or the definition list screen 900 may be displayed with the focus on the custom I / O item).
[0125] By automatically displaying the definition list screen 900, it is possible to reduce the effort required for the user to perform an operation to display the definition list screen.
[0126] Furthermore, by displaying a screen in which a component associated with the custom I / O item can be specified, the user's effort in locating the placed custom I / O item from the list can be reduced.
[0127] Also, in the description of the above embodiment, it is assumed that the association code between drawing and data processing ( FIG. 11 ) describes that input values from non-template parts set as custom I / O items and output values to the non-template parts are performed, for example, via the data processing unit 1003. In other words, it is assumed that the association code describes the contents of data processing (all or part) when an operation on a part is accepted, and the identification information of the items to which values are input and from which values are output.
[0128] However, in non-template parts published by third parties, the identification information of the items to which the values are input or from which the values are output may not necessarily match the item names and data types of the data handled by the program development application.
[0129] This can often occur when a file containing code equivalent to the code relating drawing and data processing, such as which data item data input to a component should be input to, or which data item data should be output from to a component, is created and published not by the user of the program development application but by a third party such as the provider of the non-template component.
[0130] This can also occur when the creator of the association code (Figure 11) specifies an incorrect item name (for example, an item name different from the hidden item in the data processing unit 1003) or when an item name that does not exist anywhere in the data model definition is specified.
[0131] For example, the item name of a hidden item that is a data processing unit is "disp", but the item name specified by the association code (Figure 11) (for example, the name of the data item that is the output source of the graph data) does not exist in the data model and is not "disp".
[0132] In this case, data for the part cannot be output from anywhere, nor can it be input anywhere. In other words, the part becomes inoperable.
[0133] In order to avoid this problem and efficiently register working components, i.e., to efficiently create application programs constructed from working components, the items may be updated and generated automatically.
[0134] For example, after S610, the program generation application obtains the item name, number of digits, decimal places, and data type of the hidden item of the data processing unit generated in the process of Fig. 7. It also obtains the association code (Fig. 11) between drawing and data processing.
[0135] The program generation application analyzes the association code, and identifies one or more item names of data input destinations and output sources in the code. Then, it determines whether each data item name matches any of the data model definitions or hidden item names of the data processing unit acquired in S604. In other words, it determines whether a data input destination and output source exist.
[0136] If there is no matching item name (i.e., if there is no data input destination or output source), the item name in the association code is changed or updated to the hidden item name of the data processing unit 1003 of the non-template part that corresponds to the association code. If there is a matching item, the unprocessed item name in the association code is obtained. This is repeated for the item names of the data input destination and output source in the association code. Then, the process proceeds to S611.
[0137] This change / update process allows the data input / output source to be set to the data item name handled by the program development application.
[0138] That is, application programs constructed from working components can be easily created.
[0139] Furthermore, if the settings of data items such as the number of digits, decimal places, data type, etc. are different between the part and the data input destination or output source, these differences can cause data registration errors.
[0140] Therefore, for example, at the step S610, the number of digits, decimal places, and data type of the data item are obtained from the data item name of the input destination of the data described in the association code. Then, a code is automatically generated and inserted into the association code to change the value input to the part to the number of digits, decimal places, and data type of the data item of the input destination.
[0141] Also, for example, at the step S610, the name of the data item that is the output source of the data described in the association code is obtained. Also, the number of digits, decimal places, and data type of the data to be output to the component described in the JS file of the non-template component are obtained. Then, code is automatically generated and inserted into the association code to change the value to be output from the data item of the output source to the component's number of digits, decimal places, and data type.
[0142] By generating and inserting the code for this conversion, it becomes possible to input and output data between components and items with different settings for the number of digits, decimal points, data types, etc. Also, it is possible to efficiently create programs that allow for the input and output of this data.
[0143] In other words, it is possible to provide a mechanism that enables efficient application development using the displays and functions of existing components.
[0144] In the above-described embodiment, the code for processing to update the item names in the association code to hidden items of the data processing unit 1003 is described in the association code. However, for example, what item names should be changed or updated to what item names may be stored in an external memory as rules that correspond to the item names before the change and the item names after the change, and item names in the association code that do not match the data model definition and hidden items may be converted or updated according to the rules.
[0145] Furthermore, rather than storing and managing template parts and non-template parts as files, for example, the CSS, JS files, drawing code, etc. for each part may be stored and managed by being written within the code of the program generation application itself.
[0146] Note that template parts are stored in pairs with input / output items. In other words, when an input / output item paired with a template part is placed on the screen, there is no need for an indicator (such as CompName) to associate the part with the input / output item. The program generation application will add / generate the input / output item that is already paired (associated) with the template part to the input / output item definition in accordance with the placement.
[0147] Furthermore, the present invention may also be embodied, for example, as a system, an apparatus, a method, a program, or a storage medium, and specifically, may be applied to a system made up of multiple devices, or may be applied to an apparatus consisting of a single device.
[0148] Specifically, the program development device 100, the database server 200, and the application server 300 may be integrated to execute the processes of the above-mentioned embodiments.
[0149] The extended file management unit 420 may also be configured to be included in the database server 200. That is, the system may be configured so that files (CSS files, JS files) of components to be included as custom components, drawing codes of the components, and code for associating data processing with drawing are stored in a storage device separate from the program development device 100. In this case, the program development device 100 requests and acquires information on the components specified in the setting values of the specified custom I / O items from the database server 200, stores the information in the RAM of the program development device 100 itself, and sets the path to be included.
[0150] The present invention also includes a case where a software program for realizing the functions of the above-described embodiments is supplied to a system or device directly or remotely, and the present invention also includes a case where the computer of the system or device reads and executes the supplied program code to achieve the functions.
[0151] Therefore, the program code installed in a computer to realize the functional processing of the present invention also realizes the present invention, that is, the present invention includes the computer program itself for realizing the functional processing of the present invention.
[0152] Examples of recording media for supplying the program include flexible disks, hard disks, optical disks, magneto-optical disks, MOs, CD-ROMs, CD-Rs, CD-RWs, etc. In addition, there are magnetic tapes, non-volatile memory cards, ROMs, DVDs (DVD-ROMs, DVD-Rs), etc.
[0153] Another method of supplying the program is to connect to a homepage on the Internet using a browser on a client computer, and then download the computer program of the present invention itself, or a compressed file including an automatic installation function, from the homepage to a recording medium such as a hard disk.
[0154] It is also possible to realize the present invention by dividing the program code constituting the program of the present invention into multiple files and downloading each file from a different homepage. In other words, the present invention also includes a WWW server that allows multiple users to download program files for implementing the functional processing of the present invention on a computer.
[0155] It is also possible to encrypt the program of the present invention, store it on a storage medium such as a CD-ROM, and distribute it to users, and have users who meet certain conditions download key information for decrypting the program from a website via the Internet.Then, it is possible to execute the encrypted program using the downloaded key information and install it on a computer.
[0156] The functions of the above-mentioned embodiments are realized by the computer executing the read program. In addition, the functions of the above-mentioned embodiments can also be realized by the OS running on the computer performing part or all of the actual processing based on the instructions of the program.
[0157] Furthermore, the program read from the recording medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Then, based on instructions from the program, a CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing, and the functions of the above-mentioned embodiment are also realized by this processing.
[0158] It should be noted that the above-described embodiments are merely illustrative of specific examples of how the present invention may be implemented, and the technical scope of the present invention should not be construed as being limited thereby. That is, the present invention can be implemented in various forms without departing from its technical concept or main characteristics. [Explanation of symbols]
[0159] 100 Program Development Equipment 200 Database Servers 300 Application Servers
Claims
1. An information processing device that stores information regarding items to be arranged on a screen and display and / or functions of parts, arrangement means for arranging the items on a screen; an association means for associating the items arranged by the arrangement means with the parts; a program for causing the program to function as a generating means for generating a program capable of executing the display and / or functions of the parts associated by the associating means;
2. An information processing device that stores a first item associated with a part and a second item not associated with the part, 2. The program according to claim 1, for functioning as a screen display means for displaying a screen for associating a part with the second item.
3. 3. The computer-readable storage medium according to claim 2, wherein the first item is an item stored as a template, and the second item is an item not stored as the template.
4. 4. The program according to claim 2, for causing said screen display means to function as a means for displaying said screen when said second item is arranged.
5. In an information processing device that stores a first item associated with a part and a second item not associated with the part, 5. The program according to claim 1, for causing the generating means to function as a means for generating a program capable of executing a display and / or a function of a part associated with the second item.
6. The item is an input / output item for inputting or outputting data, A program according to any one of claims 1 to 5, for causing the generation means to function as a means for generating a program including processing of input and / or output of data for an item that generates the input / output item arranged by the arrangement means.
7. The information processing device, an item display means for displaying the items in a resizable manner; 7. The program according to claim 1, which functions as a setting means for setting a size of a part associated with an item displayed by said item display means in accordance with the size of the item.
8. An information processing device that stores information regarding items to be arranged on a screen and display and / or functions of parts, arrangement means for arranging the items on a screen; an association means for associating the items arranged by the arrangement means with the parts; a generating means for generating a program capable of displaying and / or executing the functions of the parts associated by the associating means; An information processing device comprising:
9. A control method for controlling an information processing device that stores information regarding items to be arranged on a screen and display and / or functions of parts, comprising: an arrangement step of arranging the items on a screen; a matching step of matching the items placed by the placement step with the components; a generating step of generating a program capable of displaying and / or executing the functions of the components associated by the associating step; A control method comprising:
10. An information processing system including: a storage device that stores information regarding items to be arranged on a screen and display and / or functions of components; and an information processing device, arrangement means for arranging the items on a screen; an association means for associating the items arranged by the arrangement means with the parts; a generating means for generating a program capable of displaying and / or executing the functions of the parts associated by the associating means; An information processing system comprising:
Citation Information
Patent Citations
Program developing method
JP1999024905A
Cited By
Display method, program, and information processing apparatus
EP4708842A1
