Information processing device, information processing system, control method thereof, and program

The information processing device efficiently divides business process definitions into blocks, addressing compilation issues in programming languages with method size limits, facilitating efficient application code generation.

JP2024155927AActive Publication Date: 2024-10-31CANON MARKETING JAPAN INC +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2024133781
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-10-31
Estimated Expiration
2040-04-15

AI Technical Summary

Technical Problem

Existing programming languages, such as Java, impose a limit on the size of a method, leading to compilation failures when business processes exceed this limit, necessitating inefficient manual editing and division of business process definitions.

Method used

An information processing device that divides business process definitions into multiple blocks based on setting information, using an acquisition unit to generate an application program by splitting logic into manageable parts.

Benefits of technology

Enables efficient generation of operable programs by avoiding compilation failures and reducing manual editing, allowing for seamless business process division and application code creation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024155927000001_ABST
    Figure 2024155927000001_ABST
Patent Text Reader

Abstract

To provide a mechanism capable of efficiently generating an operable program.MEANS FOR SOLVING THE PROBLEM: An information processing device stores both a definition of a business process including a plurality of logics for data processing in an application program and setting information for dividing the business process; obtains the definition of the business process; and generates an application program in which the logics in the obtained business process definition are divided into a plurality of blocks on the basis of the setting information.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

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, Patent Document 1 discloses a mechanism in which, during the development stage of an application program, a tool for automatically creating a web application program uses a layout editor called a GUI layout screen to define the layout and attributes of input items (search condition text boxes, search buttons, etc.) and output items (search results, etc.) on the web application screen, and generates a web application program based on the input / output definition information.

[0004] Furthermore, Patent Document 2 discloses a mechanism for automatically generating an application program using a business process definition (definition information that constructs logic for processing data in an application) that includes multiple control contents that correspond to input items, processing contents for the input items, and output items that are output by the processing. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2015-99590 A [Patent Document 2] JP 2019-109732 A DISCLOSURE OF THEINVENTION [Problem to be solved by the invention]

[0006] However, some programming languages ​​have an upper limit on the size of a single function (method). For example, in the case of Java (registered trademark), the maximum size of a single method is 64kb, and if there is a method that exceeds this size, compilation will fail.

[0007] Naturally, the business processes that make up an application program contain code for multiple processes, and there are cases where the upper limit is exceeded. If a business process that exceeds the upper limit is written and generated as a single method, compilation will fail. In other words, a working application program cannot be generated.

[0008] To compile successfully, business process definitions had to be manually edited and split, which was inefficient.

[0009] An object of the present invention is to provide a mechanism for efficiently generating an operable program. [Means for solving the problem]

[0010] The present invention is characterized by comprising an information processing device that stores a definition of a business process having multiple data processing logics in an application program and configuration information for dividing the business process, an acquisition means that acquires the definition of the business process, and a generation means that generates an application program in which the logic in the business process definition acquired by the acquisition means is divided into multiple blocks based on the configuration information. Effect of the Invention

[0011] According to the present invention, it is possible to provide a mechanism for efficiently generating an operable program. [Brief description of the drawings]

[0012] [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] 1 is a flowchart showing an outline of processing in an embodiment of the present invention. [Figure 6] 11 is a flowchart showing the flow of a business process division process in the embodiment of the present invention. [Figure 7] 11 is a flowchart showing a detailed flow of a division process of a business process in the embodiment of the present invention. [Figure 8] 10 is a flowchart showing a detailed flow of a block output process in the embodiment of the present invention. [Figure 9] 11 is a diagram showing an example of a configuration of generation time setting information in the embodiment of the present invention. FIG. [Figure 10] 2 is a conceptual diagram of a business process, a route, a block, and business logic according to an embodiment of the present invention; [Figure 11] FIG. 2 is a diagram illustrating an example of a business process definition according to the embodiment of the present invention. [Figure 12] FIG. 2 is a diagram illustrating an example of a business process definition according to the embodiment of the present invention. [Figure 13] 1 is a diagram showing an example of a list of types of control codes of business logic according to an embodiment of the present invention. [Figure 14] FIG. 13 is a diagram illustrating an example of application code when a business process is not divided in the embodiment of the present invention. [Figure 15] FIG. 13 is a diagram illustrating an example of application code when a business process is divided in the embodiment of the present invention. [Figure 16]FIG. 4 is a diagram showing an example of data related to a block in the embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

[0014] 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.

[0015] A program development device 100, a database server 200, and an application server 300 are communicatively connected via a network 101. These devices are a type of information processing device.

[0016] 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).

[0017] 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.

[0018] 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, the screen and table to which the data is input and output, etc.

[0019] 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.

[0020] 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.

[0021] Next, with reference to FIG. 2, the hardware configuration of each device in the embodiment of the present invention will be described.

[0022] 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.

[0023] 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.

[0024] 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).

[0025] 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.

[0026] 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.

[0027] 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.

[0028] 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.

[0029] 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.

[0030] Next, with reference to FIG. 3, the functional configuration of each device in the embodiment of the present invention will be described.

[0031] The business process definition storage unit 301 is a functional unit that stores a business process definition that is a part of the repository definition.

[0032] In the embodiment of the present invention, a business process is a concept that defines logic (business logic) for processing data in an application. Information that defines the business logic is called a business process definition.

[0033] A plurality of business process definitions can be stored for one application program.

[0034] In the embodiment of the present invention, business logic is a unit per instruction defined in a business process.

[0035] The setting information storage unit 302 is a storage unit that stores setting information for dividing a business process. The setting information is, for example, a setting value that indicates how many pieces of business logic in a business process definition are to be obtained and divided into separate business processes. An example is shown in Fig. 9. Details will be described later in the explanation of Fig. 9.

[0036] The analysis processing unit 303 is a functional unit that performs analysis processing of a business process. For example, it determines which business logic is to be divided and which business logic is not to be divided by analyzing the control code of each business logic.

[0037] The division processing unit 304 is a functional unit that divides a business process.

[0038] An example of a business process definition is shown in Figure 11. Details will be described later in the explanation of Figure 11.

[0039] The code generation unit 305 is a functional unit that generates (updates) code by describing the business process divided by the division processing unit in the code of the application program.

[0040] The compilation unit 306 is a functional unit that compiles (or builds) the code generated by the code generation unit.

[0041] The code storage unit 307 is a functional unit that stores application code (the code generated by the code generation unit 305 and the object code compiled by the compilation processing unit 306). This concludes the explanation of FIG.

[0042] Next, referring to FIG. 4, the detailed functional configuration of various devices in the embodiment of the present invention will be described. explain.

[0043] 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.

[0044] The application server 300 stores applications that are configured from codes generated by various code generating units.

[0045] 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, a database definition 405, and generation time setting information 406.

[0046] 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 .

[0047] 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.

[0048] The input / output definition 402 is definition information including 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. An example is shown below.

[0049] For example, the type of definition, the identification code of the definition itself, the name, the identification code of the data item that inputs and outputs data, the identification code of the data model that includes the data item, a setting indicating whether or not to display the component defined by the input / output definition on the display screen, the number of digits of the data to be input / output and the number of decimal points to be input / output, etc. are defined.

[0050] 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 item, and permission settings for whether or not NULL is permitted as data to be stored are defined.

[0051] 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.), the data model code, and the function code that indicates the function.

[0052] In this embodiment, business logic is a unit per instruction in a business process.

[0053] There are two types of business logic: non-block business logic, which operates independently, and block business logic, which operates as a set of multiple business logic. A group (set) of multiple business logic is called a block.

[0054] 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.

[0055] The generation time setting information 406 is information describing settings as to whether or not division processing of a business process is performed in the application generation unit 410. A specific example is shown in generation time setting information 900 in Fig. 9. Details will be described later.

[0056] 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.

[0057] 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.

[0058] When generating application code, the application generation unit 410 analyzes the repository definition unit 400 with a generation setting information analysis unit 414. If the analysis shows that a business process division setting exists in the generation time setting information 406 (i.e., if a setting to divide a business process is stored), the business process division unit 420 divides the business process.

[0059] A business process division section 420 acquires the business process definition 404 in a business logic analysis section 421, and analyzes the business process.

[0060] The business logic division unit 422 divides the business process based on the analysis result of the business logic analysis unit 421 .

[0061] The business logic output unit 423 outputs the divided business processes to a file (Java file). Specifically, the divided business processes are described in one Java file, and the file is stored in an external memory. This concludes the explanation of FIG. 4.

[0062] Hereinafter, the flow of processing in the embodiment of the present invention will be described with reference to Fig. 5 to Fig. 15. 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.

[0063] First, an overview of the processing in the embodiment of the present invention will be described with reference to FIG.

[0064] In S501, 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).

[0065] In S502, the program development application of the 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.

[0066] In S503, the program development application of the program development device 100 acquires from the external memory 211 the application definition whose specification was accepted in S501.

[0067] In S504, the data model definition specified by the application definition is obtained from the external memory 211.

[0068] In S505, the input / output definition specified by the application definition is obtained from the external memory 211.

[0069] In S506, the business process definition specified by the application definition is obtained from the external memory 211. An example of a business process definition is shown in Figures 11 and 12. Figure 11 shows an example of a long business process definition, in which 241 business logics are registered.

[0070] The business process definition stores control codes (1102, 1202) for each business logic, numbers (1101, 1201) indicating their sequence, and the like.

[0071] In S507, the database definition specified by the application definition is obtained from the external memory 211.

[0072] In S508, the program development application of the program development device 100 executes division processing of the business process. Details of S508 will be described later in the description of FIG.

[0073] Now, with reference to FIG. 6, the flow of business process division processing in the embodiment of the present invention will be described.

[0074] In S601, the program development application (the creation setting information analysis unit 414) reads the contents of the creation time setting information 406 from the external memory 211. An example of the creation time setting information is shown in 900 in FIG.

[0075] The generation time setting information 900 describes split setting information (business process split property 901) that indicates how many business logics (how many business logics) in the business process are to be split off from the business process as one block when splitting the business process.

[0076] For example, a value of 100 is stored in 901 (business process division property) in Fig. 9. This indicates that up to 100 pieces of business logic can be grouped into one block.

[0077] In S602, it is determined whether the business process division property 901 of the creation time setting information 406 is valid. Here, if a positive number is set, it is determined to be valid.

[0078] If it is invalid, that is, if a positive number is not set, the process of Fig. 6 ends. If it is valid, the process proceeds to S603, that is, to division processing of the business process.

[0079] In S 603 , the program development application (business logic analysis section 421 ) reads the contents of the business process definition 404 in the repository definition section 400 .

[0080] In S604, the program development application (business logic division unit 422) divides the business process based on the information read in S601 and S603. Details will be described later in the explanation of FIG.

[0081] Now, with reference to FIG. 7, the division processing of a business process will be described in detail.

[0082] In the business process division process in Figure 7, business logic is consolidated so that it does not break down logically. "So that it does not break down logically" here means, for example, that the control code for the "start" and "end" of a process is split between inside and outside of a method, making it impossible to end a started process normally. For example, in the case of an IF statement or loop process, if the start and end are not written in the same method, a logical break down will occur.

[0083] A business logic is a unit of one command in a business process. There are two types of business logic: non-blocking business logic, which operates independently, and blocking business logic, which operates as a set of multiple business logic.

[0084] In addition, a group (set) of business logic is called a block.

[0085] The blocks include a root that groups together the entire business process before it was split, and blocks contained within it, or blocks that group business logic that has been split off from the root.

[0086] In S701, the program development application (business process division unit 420) creates a route that serves as the base of a block that summarizes the business logic of a business process.

[0087] For example, the block list 1610 (FIG. 16) is generated on the RAM 203, and a block with block number=1 indicating the root is added and stored.

[0088] A conceptual diagram of the root is shown in 1001 and 1002 in Fig. 10. A conceptual diagram of the blocks is shown in 1003 to 1006 in Fig. 10. 1003, 1004, 1005, and 1006 are blocks. Fig. 10 shows that blocks 1003 to 1004 are separated and divided from the root block, and business logic is assigned to each block.

[0089] In the embodiment of the present invention, the root and block files before division are not actually generated and output to memory. Based on the information on the separated logic as shown in the conceptual diagram of Figure 10, a Java file is generated according to the post-division configuration. Details will be described later.

[0090] In S702, the program development application (business logic division unit 422) creates a current block for consolidating the divided business logic as NULL.

[0091] The current block is the block that the program development application is processing. An example is shown in 1600 in Fig. 16. The current block 1600 stores the block number of the block that is processing. The block number stored in the current block is a number of a block other than the root, and is a unique number. If there is no block to be processed (initialized / the block being processed is the root), NULL is stored.

[0092] In S703, the program development application (business logic division unit 422) sets the block number of the current block 1600 to 1.

[0093] In S704, the program development application (business logic division unit 422) repeats the processes of S705 to S715 until there is no more business logic in one business process.

[0094] In S705, the program development application (business logic division unit 422) determines whether the business logic is block-based business logic. If it is block-based business logic, the process proceeds to S706. If it is non-block-based business logic, the process proceeds to S708.

[0095] The determination of whether a block is a block-based business logic or a non-block-based business logic is made based on the control code of the block and identification information of whether the block is a block-based business logic or a non-block-based business logic. Information associating the control code with the identification information is written in the code of the program that makes the determination.

[0096] For ease of understanding, an example described in the form of a data table is shown in FIG. 13 as a control code 1301 and a block type / non-block type 1302.

[0097] In addition, the combination of the control code and the identification information is described in the code of the program that determines whether the acquired business logic is block-based business logic or non-block-based business logic. However, the program that makes the determination may be configured to store a table such as that shown in FIG. 13 in the external memory 211 of the program development device 100, read this as appropriate, and make the determination.

[0098] When the process proceeds to S706, that is, when it is determined that the business logic is a block-based business logic, the program development application (business logic division unit 422) registers the business logic being processed in the route. An example of the registration result is shown in the block list allocation table 1620 in FIG.

[0099] In S707, the program development application (business logic division unit 422) sets the current block 1600 to NULL.

[0100] When the process proceeds to S708, that is, when it is determined that the current block is non-block-based business logic, the program development application (business logic division unit 422) determines whether the current block is NULL. If it is NULL, the process proceeds to S709. If it is not NULL, the process proceeds to S713.

[0101] In S709, the program development application (business logic division unit 422) increments the block number by one.

[0102] In S710, the program development application (business logic division unit 422) creates a new block having the new block number generated in S709. Specifically, the program development application adds the block to the block list 1610.

[0103] In S711, the program development application (business logic division unit 422) changes the current block to the new block created in S710.

[0104] In S712, the program development application (business logic division unit 422) registers the current block in the root.

[0105] In S713, the program development application (business logic division unit 422) registers the business logic in the current block.

[0106] Specifically, the number and control code of the business logic are stored in association with the block number registered in the current block (1600 in FIG. 16) (see 1620 in FIG. 16). Note that in practice, other information on the business logic besides the number and control code is also stored.

[0107] In S714, the program development application (business logic division unit 422) judges whether the number of business logics in the block is equal to or greater than the set value (901 in FIG. 9). If the number of business logics in the block is equal to or greater than the set value, the process proceeds to S715. If the number is less than the set value, the process from S704 is repeated until there is no more business logic.

[0108] In S715, the program development application (business logic division unit 422) sets the current block to NULL.

[0109] Note that business logic that is neither block logic nor non-block logic (business logic that corresponds to "other" in FIG. 13) is managed and stored as block number = 0. An example is shown in 1620 in FIG. 16. This concludes the explanation of FIG. 7.

[0110] According to the process of FIG. 7, a block can be divided from a business process with a number of business logic pieces that falls within a set value.

[0111] That is, a business process can be divided according to set values.

[0112] Returning to the explanation of Fig. 6, in S605, the program development application (business logic output unit 423) outputs the business logic divided in S604 in the form of executable source code. Details will be described later in the explanation of Fig. 8.

[0113] Now, with reference to FIG. 8, details of the block output process in the embodiment of the present invention will be described.

[0114] In the block output process of FIG. 8, the blocks divided in the process of FIG. 7 are output in the form of operating source code.

[0115] S801 to S804 are route output processes.

[0116] S805 to S809 are output processes for blocks other than the root.

[0117] In S801, the program development application (business logic output unit 423) repeats the processes up to S804 until the contents of the route are exhausted.

[0118] In S802, the program development application (business logic output unit 423) determines whether the content of the route is a block.

[0119] Specifically, one of the Java objects (business logic or block registered in S06 or S712 in FIG. 7) registered in the route is obtained, and it is determined whether the object is business logic or a block.

[0120] If it is determined to be a block, the process proceeds to S803, and if it is determined to be logic (not a block), the process proceeds to S804.

[0121] In S803, the program development application (business logic output unit 423) outputs a method call process consisting of a block number. For example, a call process code 1501 such as "execute1(context, iN_A_LIST3, iN_A_LIST2, iN_A_LIST4, iN_A_LIST);" in Fig. 15 is output to memory (output and store in a Java file generated and stored in memory).

[0122] In S804, the program development application (business logic output unit 423) outputs the business logic. For example, the business logic code 1502 shown in Fig. 15 from " / / CALL:50

[50] ···" to "···("done CALL:50

[50] )" is output to the memory (output and stored in a Java file generated and stored in the memory).

[0123] If it is determined in S802 that the contents of the route are not blocks, then only block-related business logic should be included.

[0124] In S805, the program development application (business logic output unit 423) repeats the processes of S806 to S809 until the content of the route is exhausted.

[0125] In S806, the program development application (business logic output unit 423) determines whether the content of the route is a block.

[0126] Specifically, one of the Java objects (business logic or block registered in S06 or S712 in FIG. 7) registered in the route is obtained, and it is determined whether the object is business logic or a block.

[0127] If it is determined to be a block, the process proceeds to S807, and if it is determined to be logic (not a block), the determination is repeated until there is no content in the route.

[0128] In S807, the program development application (business logic output unit 423) outputs a method definition process consisting of a block number. The method definition process is a process for defining the business logic registered in the divided block as one method, and is the code for the process. When compiling, one or more business logics described after the method definition process are compiled as one method by each method definition process.

[0129] The code for the method definition process is, for example, code 1503 such as "private void execute2(BpContextImpl..." shown in FIG.

[0130] In S808, the program development application (business logic output unit 423) repeats the process of S809 until the business logic of the block is exhausted.

[0131] In S809, the program development application (business logic output unit 423) outputs the business logic. Specifically, this is the code 1504 described from the line next to the method definition process in FIG.

[0132] An example of code when the business process is not divided is shown in Fig. 14. In Fig. 14, all business logic is written in one process. This means that the code is very long and there is a possibility that it will exceed the upper limit of the code at compile time.

[0133] Returning to the explanation of Fig. 5, in S509, the program development application of the program development device 100 generates application code. For example, the process of generating the code group generated on the memory in Fig. 8 as one Java file and storing it in the external memory 211 is one example of the application code generation process. In addition, a CSS file, JSP, and JS file required for executing the application are generated.

[0134] In S510, the program development application of the program development device 100 deploys the code generated in S509. This concludes the explanation of FIG.

[0135] As described above, according to the present invention, business logic that functions in combination with other business logic (block-based business logic) is not divided into different files or different methods.

[0136] That is, according to the present invention, a mechanism for efficiently generating an operable program can be provided.

[0137] The present invention may also be embodied, for example, as a system, an apparatus, a method, a program, or a storage medium, and more specifically, may be applied to a system made up of multiple devices, or may be applied to an apparatus consisting of a single device.

[0138] 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.

[0139] 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.

[0140] 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.

[0141] 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.

[0142] 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.

[0143] 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.

[0144] 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.

[0145] 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.

[0146] 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.

[0147] 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]

[0148] 100 Program Development Equipment 200 Database Servers 300 Application Servers

Claims

1. An information processing device that stores definitions of business processes each having a logic for data processing in an application program and setting information for dividing the business processes, An acquisition means for acquiring a definition of the business process; A program for functioning as a generating means for generating an application program in which the logic in the definition acquired by the acquiring means is divided into a plurality of blocks based on the setting information.

2. The program described in claim 1, for causing the generation means to function as a means for generating an application program in which the logic is divided into multiple blocks based on whether the logic is a first logic that operates independently or a second logic that operates as a set of multiple logics.

3. The program described in claim 1 or 2, for causing the generation means to function as a means for generating an application program that is not divided when the logic is a second logic that operates as a set of multiple logics, and is divided when the logic is a first logic that operates independently.

4. 4. The program according to claim 1, for causing said generating means to function as means for generating application code in which blocks into which said logic is divided are each defined as a method.

5. An information processing device that stores a definition of a business process having a plurality of logics for data processing in an application program and setting information for dividing the business process, An acquisition means for acquiring a definition of the business process; a generating means for generating an application program in which the logic in the definition acquired by the acquiring means is divided into a plurality of blocks based on the setting information; An information processing device comprising:

6. A method for controlling an information processing device that stores a definition of a business process having a plurality of logics for data processing in an application program and setting information for dividing the business process, comprising: obtaining a definition of the business process; a generating step of generating an application program in which the logic in the definition acquired in the acquiring step is divided into a plurality of blocks based on the setting information; A control method comprising:

7. An information processing system including: a storage device that stores a definition of a business process having a plurality of data processing logics in an application program, and setting information for dividing the business process; and an information processing device, An acquisition means for acquiring a definition of the business process; a generating means for generating an application program in which the logic in the definition acquired by the acquiring means is divided into a plurality of blocks based on the setting information; An information processing device comprising:

Citation Information

Patent Citations

  • Program generation device, program generation method, program and recording medium

    JP2007241364A

  • Source code analysis method and source code analysis device

    JP2019219848A

  • Converting an activity diagram into code

    US20110088010A1

  • Information processing apparatus, control method of information processing apparatus, and program

    JP2015099590A

  • Information processing system, control method thereof and program, and information processing apparatus, control method thereof and program

    JP2019109732A