Function extension device and function extension method

The function expansion device facilitates dynamic switching between standard and extended functions in embedded software, maintaining software integrity and enabling customizable functionality without code changes, addressing the limitations of existing customization methods.

JP2024135744AActive Publication Date: 2024-10-04HITACHI INDUSTRY & CONTROL SOLUTIONS LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023046589
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-23
Publication Date
2024-10-04
Estimated Expiration
2043-03-23

AI Technical Summary

Technical Problem

Existing methods for customizing embedded software to meet individual customer needs deteriorate maintainability and limit sales by requiring source code modifications, and fail to allow flexible switching between standard and extended functions based on user needs.

Method used

A mechanism that allows users to switch between standard and extended functions without modifying the source code, using a function expansion device that includes an instance management unit, function calling unit, and a dictionary to manage instances and function calls based on user information and screen-specific settings.

Benefits of technology

Enables flexible operation by allowing users to switch between standard and extended functions dynamically, maintaining software maintainability and enabling customizable functionality without code modifications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024135744000001_ABST
    Figure 2024135744000001_ABST
Patent Text Reader

Abstract

To provide a mechanism which allows a standard function and an extended function to be switched for each person in charge while eliminating the need of modifying a source code of the standard function before customization.SOLUTION: An instance management unit 12 of a function extension device 10a refers to a user information table 11 in which designated function information indicating a name of a function to be called out of standard functions provided by a standard class A or extension functions provided by an extension class B obtained by extending the standard class A is designated for each user and each of screens of applications existing in a virtual environment activated by the user, to acquire designated function information corresponding to a user and screens of applications existing in a virtual environment. A function call unit 14 calls an instance corresponding to an instance type acquired from the designated function information.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a function expansion device and a function expansion method. [Background technology]

[0002] In the software package business, the base software provided as standard in the package is often customized by developers to meet the needs of individual customers before being provided. If customized source code is proliferated for each customer, maintainability decreases and sales become difficult due to a narrow target.

[0003] Therefore, Patent Document 1 describes a method for customizing embedded software without modifying the source code of the base software at all. Specifically, Patent Document 1 describes a customization method for embedded software that links a base software part and a custom software part. This customization method is a mechanism in which, at run time, an instance and class name of a derived class are registered in an instance table within a constructor of a base class, and the instance of the derived class registered in the instance table is called from within a compiled module. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2007-279918 A Summary of the Invention [Problem to be solved by the invention]

[0005] Below, we will explain the management of each class, referring to "standard classes" provided by the base software and "extended classes" provided by the custom software, and the side that calls each of these classes as the "calling part." We will consider a system that can flexibly respond to individual customer requests by adding extended classes that indicate customized parts as options to standard classes that are not customized according to customer needs. The calling section instantiates each class (standard class or extended class) and then invokes the processing provided by each class on that instance.

[0006] Previously, developers could switch classes by directly rewriting the part of the source code that instantiated the class (constructor). However, since the call part is also part of the base software provided as standard by the package, if the source code of the call part had to be rewritten for each customer, maintainability would decrease. Furthermore, because paragraph 0010 of Patent Document 1 contains the following descriptions (1) and (2), the class (instance) that the calling unit calls is determined when the application is started. (1) "When software written in C++ is executed, first, global class instances are generated (step 341), and their constructors are executed. Therefore, constructor 331 of instance 121 of derived class existing in custom software unit 12 is executed." (2) "The class name string used to search for a derived class from the instance table can be determined, for example, before the base software unit is created and communicated to the developer creating the custom software unit, so that it is already written in the source code of the execution control code (step 346). Alternatively, it is possible to create an embedded software unit by linking multiple different custom software units created by deriving them from the same base class, and to determine which derived class to use at run time. The class to be executed at run time can be determined by providing the device with a memory area, such as SRAM or FLASH-ROM, that can be changed even after the ROM is created, and recording the name string in that memory area."

[0007] Consider a case where different people in the same company use the same application. In this case, some people may require the application to operate with standard functions, while others may require the application to operate with extended functions. However, the method of Patent Document 1 fixes the application to start with either the standard functions or the extended functions, so it is not possible to flexibly switch the functions to be called depending on the person in charge when using the application.

[0008] Therefore, the main objective of the present invention is to provide a mechanism that enables switching between standard functions and extended functions for each person in charge, while eliminating the need to modify the source code of the standard functions before they are customized. [Means for solving the problem]

[0009] In order to achieve the above object, a function expansion device of the present invention has the following features. The present invention acquires designated function information corresponding to a user and a screen of an application present in a virtual environment by referring to a user information storage unit in which designated function information indicating the name of a function to be called among standard functions provided by a standard class or extended functions provided by an extended class that extends the standard class is designated for each user and each screen of an application present in a virtual environment started by the user, an instance management unit that acquires the type of the instance that matches a combination of the name of the standard class and the specified function information by referring to a dictionary in which the name of the standard class, the function name of the standard function or the extended function, and the type of the instance for calling the standard class or the extended class are registered; and a function calling unit for calling an instance corresponding to the acquired type of the instance. Other means will be described later. Effect of the Invention

[0010] According to the present invention, it is possible to provide a mechanism that enables switching between standard functions and extended functions for each person in charge, while eliminating the need to modify the source code of the standard functions before they are customized. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a configuration diagram of a function providing system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a hardware configuration diagram of a function expansion device according to the present embodiment. [Diagram 3] 4 is a table showing an example of a user information table according to the present embodiment. [Figure 4] FIG. 2 is an explanatory diagram showing the stored contents of a dictionary, a namespace, and a class according to the embodiment. [Diagram 5] As a comparative example, this is a flowchart showing the process of calling an extension class B in a method in which the developer directly rewrites the instantiated parts. [Figure 6] 13 is a flowchart showing a process in which an instance management unit according to the present embodiment calls an extended class B. [Figure 7] 7 is a flowchart showing details of the process of FIG. 6 according to the present embodiment. [Figure 8] 11 is a table showing source code of standard class A executed by a standard function execution unit according to the present embodiment. [Figure 9]11 is a table showing source code of an extension class B executed by an extension function execution unit according to the present embodiment. [Figure 10] As a comparative example, this is a table showing the source code of the calling part in a method in which the developer directly rewrites the instantiated parts. [Figure 11] 11 is a table showing source code executed by a function calling unit according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] FIG. 1 is a configuration diagram of a function providing system 100. The function providing system 100 includes one or more user terminals 20 operated by each user, and a function expansion device 10. The function expansion device 10 receives access from each user terminal 20 and provides each user terminal 20 with a screen of an application existing in a virtual environment as a virtual desktop. The virtual environment is constructed on the function expansion device 10, for example.

[0013] The function extension device 10 has an instance management unit 12, a function calling unit 14, a standard function execution unit 15, and an extended function execution unit 16. The function extension device 10 has a user information table 11, a dictionary 13, a name space and class 17, and a memory unit that stores the executable files of each class (standard class A and extended class B). An application existing on the virtual environment provides a standard function or an extended function. A standard function execution unit 15 executes an instance of a standard class A in which a standard function is implemented. An extended function execution unit 16 executes an extended class B in which an extended function is implemented. The standard function is extended to an extended function.

[0014] The function calling section 14 refers to the dictionary 13 and calls either the standard function executing section 15 or the extended function executing section 16 for execution. The instance management unit 12 generates data structures (instances) capable of executing processes from the respective executable files of the standard function execution unit 15 and the extended function execution unit 16, and manages these instances. The instance management unit 12 also generates a dictionary 13 by referring to a user information table 11. The user information table 11 describes information for identifying standard functions or extended functions that each user wishes to call (see FIG. 3 for details).

[0015] FIG. 2 is a hardware configuration diagram of the function expansion device 10. As shown in FIG. The function expansion device 10 is configured as a computer 900 having a CPU 901 , a RAM 902 , a ROM 903 , a HDD 904 , a communication I / F 905 , an input / output I / F 906 , and a media I / F 907 . The communication I / F 905 is connected to an external communication device 915. The input / output I / F 906 is connected to an input / output device 916. The media I / F 907 reads and writes data from a recording medium 917. Furthermore, the CPU 901 executes a program (also called an application or its abbreviation, an app) loaded into the RAM 902, thereby improving and controlling each processing unit. This program can also be distributed via a communication line, or recorded on a recording medium 917 such as a CD-ROM and distributed.

[0016] FIG. 3 is a table showing an example of the user information table 11. As shown in FIG. The user information table 11 describes an extended function name 52 (details in FIG. 4) which is a character string for identifying an extended function to be called, for each combination of the user ID of a user who logs in to the function extension device 10 and the screen ID of an application screen present in a virtual environment that the function extension device 10 provides to the user terminal 20. Alternatively, the user information table 11 may omit the column of the screen ID and associate the user ID with the extended function name 52. Here, the user ID is input to the function extension device 10 from the user terminal 20 via a screen for logging in to the virtual desktop, for example. Moreover, the screen of an application present on the virtual environment is, for example, a screen of the application mirrored from the function extension device 10 via the virtual desktop (such as a setting screen, a maintenance screen, or a monitoring screen for monitoring).

[0017] The extended function name 52 is a name indicating the type of extended function, and is set to, for example, "Option B" or "Option C." For example, the first row of the user information table 11 indicates that when the user "User1" activates the "A00" screen, control is performed so that "OptionB" is called as an extended function. Also, as shown in the second row of the user information table 11, even if the user is the same as the user "User1" in the first row, when the screen to be started (the "A01" screen) is different, "OptionC" may be called as an extended function. In other words, even if the user is the same, when the screen to be started is different, the function to be called may be changed. Furthermore, in the third row of the user information table 11, when the user "User2" activates the "A00" screen, the extended function name 52 is blank, so that the standard function is controlled to be invoked.

[0018] FIG. 4 is an explanatory diagram showing the stored contents of the dictionary 13 and the namespace and class 17. The procedure for extending the function without modifying the standard source code in which the execution contents of the standard function execution unit 15 are described will be described below. (Step A1) The application sets the class name 51 of the standard function written in the standard source code in the dictionary 13. In addition, by loading the assembly, the application registers the combination data including "standard function name 55 & standard class name 54" and "extended function name 52 & standard class name 54" in the namespace and class 17 in association with the type 53 of the extended class. (Step A2) The instance management unit 12 initially creates a dictionary 13 with 0 entries. Thereafter, a data structure that returns an extension class type 53 used by an extension instance 56 to be created, using "extended function name 52 & standard function class name 51" as a key, is registered as an entry in the initially created dictionary 13. Note that "A&B" is data that combines A and B.

[0019] (Step A3) The instance management unit 12 acquires the extended function name 52 from the user information table 11. This extended function name 52 is information for specifying a class to be provided to the person in charge.

[0020] (Step A4) The instance management unit 12 searches for the namespace and class 17 based on the "extended function name 52 & standard class name 54" and confirms that "extended function name 52 & standard class name 54" exists in the namespace and class 17. The process of searching for the namespace and class 17 is a process of searching a list of class names including the namespace and class 17 using reflection in the case of the .NET Framework (registered trademark) as an example. This confirmation process makes it possible to confirm that the class to be provided to the client has been registered in the namespace and class 17 (i.e., is in a state where it can be called as the extended function execution unit 16). The instance management unit 12 then generates an extended class type 53 based on a character string obtained by concatenating the extended function name 52 and the standard class name 54. Furthermore, the instance management unit 12 adds an entry to the dictionary 13 indicating that the extended class type 53 has been generated from the combination of "extended function name 52 & standard class name 54," and generates an extended instance 56 corresponding to the generated extended class type 53.

[0021] (Step A5) The function calling unit 14 calls the extended function executing unit 16 using the extended instance 56 generated in (Step A4). (Step A6) The instance management unit 12 generates a character string of "extended function name 52 & standard class name 54" when generating a standard function instance, which is an instance of the standard function execution unit 15. This character string is obtained by replacing (converting) the standard function name 55 with the extended function name 52 based on the character string of "standard function name 55 & standard class name 54". Then, the instance management unit 12 obtains a response of the extension class type 53 by referring to the dictionary 13 using "extended function name 52 & standard class name 54" or "extended function name 52 & standard function class name 51" as a key. Furthermore, the function calling unit 14 calls the extension execution unit 16 using the extension instance 56 corresponding to the returned extension class type 53.

[0022] The above-described mechanism of (Procedure A1) to (Procedure A6) allows the operation to be changed by an external program without modifying the source code of the standard package. Note that (Procedure A1) to (Procedure A6) can be summarized as the following (Procedure B1) to (Procedure B4) executed by the instance management unit 12. (Step B1) Before instantiating standard class A, obtain the string to be generated, “standard function name 55 & standard class name 54”. (Step B2) Based on the extended function name 52 specified in the user information table 11, the information "extended function name 52 & standard function class name 51" that "switches standard class A to extended class B" is obtained from the dictionary 13. (Step B3) Based on the information obtained in (Step B2), the string to be generated for standard class A is replaced with the string for extension class B, "extension function name 52 & standard class name 54." (Step B4) By generating an extension instance 56 which instantiates extension class B based on the information replaced in (Step B3), the processing of extension class B can be called.

[0023] In this way, in the user information table 11, specified function information indicating the name of the function to be called among the standard functions provided by standard class A or the extended functions provided by extended class B that extends standard class A is specified for each user and for each screen of an application in the virtual environment launched by the user. In the dictionary 13, the name of the standard class A, the function names of the standard functions or extended functions, and the instance types for calling the standard class A or the extended class B are registered. The instance management unit 12 obtains specified function information corresponding to the user and the screen of the application present in the virtual environment from the user information table 11, and by referring to the dictionary 13, obtains the type of instance that matches the combination of the name of the standard class A and the specified function information. The function calling unit 14 calls an instance corresponding to the type of the instance acquired by the instance management unit 12.

[0024] In addition, in Namespaces and Classes 17, the names of the functions provided by each class are registered for each class name. The instance management unit 12 searches for combination information of the name of the standard class A and the name of the function indicated by the specified function information from the name space and class 17. Depending on the search result, the instance management unit 12 executes one of the following registration processes. If the combination information is found, a first registration process is executed to register the type of the instance corresponding to the combination information in the dictionary 13. If the combination information cannot be found, a second registration process is executed to register the name of the standard class A, the function name of the standard function, and the instance type for calling the standard class A in the dictionary 13.

[0025] As a comparative example, Figure 5 is a flowchart showing the calling process of extension class B in a method in which the developer directly rewrites the instantiated parts. The left lane of the flowchart is the process (S10A) provided by the source code of standard class A (and the calling part). The right lane of the flowchart is the process (S10B) provided by the source code of extension class B. The developer checks whether or not the extended function will be called based on the customer's requirements (S11). When calling an extended function (S11, Yes), the developer edits the source code of the calling part to add to the calling part a process for generating an instance of extended class B (S14) and a process for executing the generated instance of extended class B (S15). The developer executes this calling part to call the extended function.

[0026] When the extended function is not called (S11, No), the developer executes, without modification, the calling part in the source code, which includes the process of generating an instance of standard class A (S12) and the process of executing the generated instance of standard class A (S13). The developer executes this calling part, which calls the standard function.

[0027] FIG. 6 is a flowchart showing a process in which the instance management unit 12 of this embodiment calls the extended class B. The left lane of the flowchart is the process (S20A) provided by the source code of standard class A (and the calling part). The right lane of the flowchart is the process (S20B) provided by the source code of extension class B. The instance management unit 12 executes the mechanism (function extension mechanism) described in FIG. 4 (S21, the above-mentioned (steps A2) to (steps A4)) to start each process (S22-S24, S14, S15). This calls the extension function. On the other hand, if the extension function is not called, a process (S13) of executing the instance of standard class A generated in S12 is started, as in FIG. 4.

[0028] The instance management unit 12 obtains the character string of the standard class A (class name 51 of the standard function in FIG. 4) from the dictionary 13 (S22), and also obtains the extended function name 52 in FIG. 4 from the user information table 11 (S23). The instance management unit 12 replaces the character string "standard class A" with "extended class B" in the source code of the function calling unit 14 (the calling unit in FIG. 4) (S24, the above (step A4)). As a result, the function calling unit 14 generates an extended instance 56 of the extended class B (S14, the above (step A5)), and can execute the processing of the extended class B from the extended instance 56 (S15).

[0029] Fig. 7 is a flowchart showing the details of the process in Fig. 6. This flowchart is started when the user inputs an operation for starting the system of the function extension device 10. The instance management unit 12 loads an assembly (S101). The instance management unit 12 executes a process (processing of the function calling unit 14) for calling standard class A (S102), thereby calling a method for generating an instance (S103). Here, the instance management unit 12 accepts an operation to open a screen for the virtual environment from the user terminal 20 (S111). The instance management unit 12 refers to the user information table 11 based on the user ID of the user who opened the screen and the screen ID of the opened screen (S112), and acquires the corresponding extended function name 52 (start mode) (S113). The start mode of S113 does not include the extended function name 52 in Fig. 4 when a standard function is called, but includes the extended function name 52 when an extended function is called.

[0030] On the other hand, if the user information table 11 does not have a column for the screen ID, the user information table 11 is referenced based on the user ID of the user who launched the screen (S112), and the corresponding extension function name 52 (launch mode) is obtained (S113). Here, the instance management unit 12 determines whether or not extension information (extension name 52) exists in the start mode acquired in S113 (S114), and if Yes in S114, proceeds to S121, and if No, registers in the dictionary 13 that the type of standard class A is to be returned (S115). That is, in S115, an entry indicating that the type of the standard function instance is to be returned from the combination of "standard function name 55 & standard class name 54" is registered in the dictionary 13.

[0031] The instance management unit 12 determines whether the dictionary 13 has been created (S121), and if Yes in S121, proceeds to S122, and if No, proceeds to S123. Note that if an entry for the key "extended function name 52 & standard function class name 51" exists in the dictionary 13, the instance management unit 12 determines Yes in S121. The instance management unit 12 returns the type according to the information already registered in the dictionary 13 (S122), and one of the following processes is executed according to the type. If the type of the standard function instance is returned, an instance of standard class A is generated (S12), and instance processing of standard class A is executed (S13). If the extension class type 53 is returned, an instance of extension class B is generated (S14), and instance processing of extension class B is executed (S15).

[0032] The instance management unit 12 searches for extended class B from the name space and class 17 (S123, above (step A4)). If an entry for extended class B exists (S124, Yes) and if the attributes of extended class B are specified (S125, Yes), the instance management unit 12 registers in the dictionary 13 that it will be returned in the type of extended class B (S126). The extended class B registered in S126 is the class specified by the extended function name 52 in the user information table 11. Then, the process returns to S121. That is, attribute information indicating the class to which the class name belongs is also registered in the namespace and class 17. Then, the instance management unit 12 may perform the first registration process when it is able to search for attribute information of the class to which the instance management unit 12 belongs, in addition to the combination information, from the namespace and class 17. Also, in S126, as shown in (Step A2), an entry is registered in the dictionary 13 that returns the extension class type 53 used by the extension instance 56 to be generated, using the "extension function name 52 & standard function class name 51" as a key.

[0033] On the other hand, if the result is (S124, No) or (S125, No), the process of registering in the dictionary 13 in S115 is executed. Also, the branching process in S125 may be omitted. The purpose of providing the branching process in S125 is to indicate an attribute for clearly indicating that the instance management unit 12 itself belongs to the extended class B.

[0034] An example of each name explained in Fig. 4 will be explained below using the simple source code in Fig. 8 to Fig. 11. This simple source code was created with reference to the grammar of Java (registered trademark), but other object-oriented languages ​​may be used. This simple source code assumes a program that controls a fan (blower) that cools heat-generating components, and defines the following two types of classes. ·Standard class A manages only the fan model number as an instance variable. · Extension class B manages the power output value (e.g. fan speed) as an instance variable in addition to the fan model number.

[0035] FIG. 8 is a table showing the source code of the standard class A executed by the standard function executing unit 15. As shown in FIG. The left row of the table shows the line numbers (lines A00 to A13), and the right row of the table shows the contents of the source code. Also, the text within "~" enclosed in " / *~* / " in the source code is a comment. Standard class A has an instance variable indicating a fan model number (line A03), a method indicating a character output test (lines A06 to A08), and a method returning the fan model number (lines A10 to A12). "Standard.StandardFan" in line A00 is the type of a standard function instance, with the first "Standard" being the character string to be converted (standard function name 55), and the following "StandardFan" being the standard class name 54 shown in line A01. An entry that returns Standard.StandardFan (instance type) from the key "Standard (function name) & StandardFan (class name)" is registered in the dictionary 13. The function calling unit 14 references this entry, creates an instance of Standard.StandardFan, and executes it (S12, S13).

[0036] FIG. 9 is a table showing the source code of the extension class B executed by the extension execution unit 16. As shown in FIG. The extended class B has the following changes compared to the standard class A: - Line C01 indicates that the extended class B in Figure 9 extends the standard class A in Figure 8. -Add an instance variable (line C04) that indicates the power output value. Added a note (line C08) that the method showing the character output test (lines C07 to C10) shows an override of the method of the same name in Figure 8. “Power.StandardFan” in line C00 is the type of a standard function instance, with the first “Power” being the converted character string (extended function name 52) and the following “StandardFan” being the standard class name 54. An entry that returns Power.StandardFan (extension class type 53) from the key "Power (function name) & StandardFan (class name)" is registered in dictionary 13. Function calling unit 14 references this entry, creates an instance of Power.StandardFan, and executes it (S14, S15).

[0037] FIG. 10 is a table showing, as a comparative example, the source code of the calling part in a method in which the developer directly rewrites the instantiated parts. Line B03 specifies the class name (StandardFan) and contains a command to directly generate an instance. Whenever a developer wants to switch the instance to be generated, they must add logic to switch the class name in line B03 (logic to branch the switch destination with an if statement) each time. This creates the need to make a large number of modifications to the standard source.

[0038] FIG. 11 is a table showing source code executed by the function calling unit 14 of this embodiment. In the table of Fig. 11, row B03 in Fig. 10 is replaced with row B03P in Fig. 11. In row B03P, a process for generating an instance with a full path character string (Standard.StandardFan) as the starting point is written as CreateInstance (process S21 for executing the function extension mechanism in Fig. 6).

[0039] By executing S21, the function extension device 10 executes the following process. The instance management unit 12 acquires the standard class name 54 (StandardFan) from line B03 in FIG. 10 (S22). The instance management unit 12 acquires the extended function name 52 (Power) from the user information table 11 (S23). The instance management unit 12 replaces the standard class name 54 (StandardFan) at the beginning of the character string (Standard.StandardFan) in line B03P with the extended function name 52 (Power) (S24). The function calling unit 14 creates an extension instance 56 of the extension class B (FIG. 9) by using the character string (Power.StandardFan) replaced in S24 as the extension class type 53 (S14).

[0040] The function expansion device 10 of this embodiment described above provides the following effects. (First Effect) It becomes possible to change the way software package products are sold according to customer needs. For example, when developing and selling an extended class B, which is an extension of a standard class A, as a standard package product, it is possible to change the sales price depending on whether a customer uses the standard class A or the extended class B. (Second Effect) It is possible to develop functions that meet customer needs without modifying the source code of the standard package. For example, when a customer adds on standard class A to suit their operation, they can create extension class B, which allows them to change the processing without modifying the source code of the standard package.

[0041] (Third Effect) It becomes easy to switch between standard class A and extended class B by using the user information table 11. In other words, even if multiple people use the same application, it becomes possible to finely switch the extended function ON / OFF according to the person in charge (and further according to the screen that the person launches). (Fourth effect) It becomes possible to provide multiple extended functions for the same standard function. For this reason, multiple extended classes B are prepared for standard class A, and a separate entry is registered in the dictionary 13 for each extended class B. For example, the instance management unit 12 adds to the dictionary 13 both a first entry that returns the type 53 of the first extended class from "first extended function name 52 & standard class name 54" and a second entry that returns the type 53 of the second extended class from "second extended function name 52 & standard class name 54."

[0042] Furthermore, the present invention is not limited to the above-mentioned embodiments, and various other applications and modifications are possible without departing from the gist of the present invention described in the claims. For example, the above-mentioned embodiments are detailed and specific descriptions of the configuration of the function expansion device 10 in order to easily explain the present invention, and are not necessarily limited to those including all of the components described. Also, it is possible to replace a part of the configuration of one embodiment with a component of another embodiment. It is also possible to add a component of another embodiment to the configuration of one embodiment. It is also possible to add, replace, or delete other components to, a part of the configuration of each embodiment.

[0043] In addition, the above-mentioned configurations, functions, processing units, etc. may be realized in part or in whole by hardware, for example, by designing them as integrated circuits. As the hardware, a broad processor device such as an FPGA (Field Programmable Gate Array) or an ASIC (Application Specific Integrated Circuit) may be used. In addition, each component of the function expansion device 10 according to the above-mentioned embodiment may be implemented in any hardware as long as each hardware can transmit and receive information to and from each other via a network. In addition, the process executed by a certain processing unit may be realized by one hardware, or may be realized by distributed processing by multiple hardware. [Explanation of symbols]

[0044] 10. Function expansion device 11 User information table (user information storage section) 12 Instance Management Department 13. Dictionaries 14 Function call section 15 Standard Function Execution Unit 16 Extended Function Execution Unit 17 Namespaces and Classes 20 User terminal 51 Class names of standard functions 52 Extended Function Name 53 Extension Class Types 54 Standard Class Names 55 Standard function names 56 Extended Instances (Instances) 100 Function provision system

Claims

1. acquiring designated function information corresponding to a user and a screen of an application in a virtual environment by referring to a user information storage unit in which designated function information indicating the name of a function to be called among a standard function provided by a standard class or an extended function provided by an extended class that extends the standard class is specified for each user and each screen of an application in a virtual environment started by the user; an instance management unit that acquires the type of the instance that matches a combination of the name of the standard class and the specified function information by referring to a dictionary in which the name of the standard class, the function name of the standard function or the extended function, and the type of the instance for calling the standard class or the extended class are registered; and a function calling unit for calling an instance corresponding to the acquired type of the instance. Function expansion device.

2. The instance management unit searching for combination information of the name of the standard class and the name of the function indicated by the specified function information from a name space and a class in which the names of the functions provided by each class are registered; If the combination information is found, a first registration process is executed to register the type of the instance corresponding to the combination information in the dictionary; If the combination information cannot be retrieved, a second registration process is executed to register the name of the standard class, the function name of the standard function, and the type of the instance for calling the standard class in the dictionary. The function expansion device according to claim 1 .

3. The namespace and the class are further registered with attribute information indicating the class to which the class name belongs, The instance management unit performs the first registration process when attribute information of a class to which the instance management unit belongs can be retrieved from the name space and class in addition to the combination information. The function expansion device according to claim 2 .

4. The function extension device includes an instance management unit and a function calling unit, The instance management unit acquiring designated function information corresponding to a user and a screen of an application in a virtual environment by referring to a user information storage unit in which designated function information indicating the name of a function to be called among a standard function provided by a standard class or an extended function provided by an extended class that extends the standard class is specified for each user and each screen of an application in a virtual environment started by the user; acquiring the type of the instance that matches the combination of the name of the standard class and the specified function information by referring to a dictionary in which the name of the standard class, the function name of the standard function or the extended function, and the type of the instance for calling the standard class or the extended class are registered; The function calling unit calls an instance corresponding to the acquired type of the instance. How to extend functionality.

Citation Information

Patent Citations

  • Method for customizing built-in software and controller

    JP2007279918A