Development environment construction system and development environment construction method
The development environment construction system optimizes the integration of physical and virtual devices by determining suitable locations and adjusting interface settings, enhancing development efficiency.
Patent Information
- Application Number
- JP2022052430
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-03-28
- Publication Date
- 2024-09-19
- Estimated Expiration
- 2042-03-28
AI Technical Summary
Existing development environments do not effectively integrate physical and virtual devices, limiting development efficiency.
A development environment construction system that determines the optimal location for constructing a development environment where physical and virtual devices coexist, utilizing a construction processing server to acquire and analyze specification and capability information, and automatically adjust interface settings to facilitate efficient development.
Enables the construction of development environments where physical and virtual devices coexist, improving development efficiency by automating the determination of construction destinations and ensuring proper functionality.
Smart Images

Figure 0007554022000004 
Figure 0007554022000003 
Figure 0007554022000002
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a development environment construction system, a development environment construction method, and a program for constructing a development environment for software that controls a target device configured with hardware. [Background technology]
[0002] Device control software is being developed in a development environment using a virtual device in which a device (physical device) configured with hardware is emulated as software. For example, hypervisor (HV), virtual machine (VM), container technology, etc., make it easy to build and replicate an in-vehicle software development environment. In addition, by emulating a physical device with software, it is possible to verify the device in a cloud environment without physical hardware. Based on this premise, technologies such as those shown in Patent Document 1 and Patent Document 2 are disclosed.
[0003] Patent Document 1 discloses an arithmetic device and a virtual development environment device that are capable of applying desired control, including desired fault injection, to a virtual device model from a test program at desired timing.
[0004] Patent Document 2 discloses a means for dynamically adding a virtual device to a virtual computing environment. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] Patent No. 6692278 [Patent Document 2] JP 2006-18814 A Summary of the Invention [Problem to be solved by the invention]
[0006] A development environment including multiple virtual devices that are virtually configured by emulating a device configured as hardware as software is being constructed in a cloud environment, etc., and software for controlling the devices is being developed. In response to this, there is a demand for improving development efficiency by using a development environment in which physical devices and virtual devices coexist, in which a specific device among the multiple virtual devices is treated as a physical device configured as hardware.
[0007] However, the above-mentioned Patent Documents 1 and 2 do not take into consideration the realization of a development environment in which physical devices and virtual devices coexist.
[0008] Therefore, the present disclosure provides a development environment construction system and the like that can construct a development environment in which physical devices and virtual devices coexist, thereby improving development efficiency. [Means for solving the problem]
[0009] A development environment construction system according to one aspect of the present disclosure is a development environment construction system that constructs a development environment for software that controls a target device constructed of hardware, wherein the development environment includes a virtually constructed virtual device, and includes an acquisition unit that acquires development environment specification information indicating specifications of the development environment, virtual device information relating to the virtual device, and construction capability information indicating the construction capability of the development environment in a candidate destination for the construction of the development environment, and a determination unit that determines the destination for the development environment based on the development environment specification information, the virtual device information, and the construction capability information.
[0010] A development environment construction method according to one aspect of the present disclosure is a development environment construction method executed by a development environment construction system that constructs a development environment for software that controls a target device configured in hardware, the development environment including a virtually configured virtual device, and the method includes an acquisition step of acquiring development environment specification information indicating specifications of the development environment, virtual device information related to the virtual device, and construction capability information indicating the construction capability of the development environment in a candidate destination for the construction of the development environment, and a determination step of determining a destination for the development environment based on the development environment specification information, the virtual device information, and the construction capability information.
[0011] A program according to one aspect of the present disclosure is a program for causing a computer to execute the above-described development environment construction method. Effect of the Invention
[0012] According to a development environment creation system according to an aspect of the present disclosure, a development environment in which physical devices and virtual devices coexist can be created, thereby improving development efficiency. [Brief description of the drawings]
[0013] [Figure 1] FIG. 1 is a configuration diagram showing an example of a cloud environment and a local environment including a development environment creation system according to an embodiment. [Diagram 2] 4 is a flowchart showing an example of an operation of the development environment creation system according to the embodiment. [Diagram 3] FIG. 1 is a configuration diagram illustrating an example of a development environment constructed in a local environment. [Figure 4] FIG. 1 is a configuration diagram illustrating an example of a development environment built in a cloud environment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] (Embodiment) Hereinafter, a development environment creation system according to an embodiment will be described with reference to the drawings.
[0015] 1 is a configuration diagram showing an example of a cloud environment 100 including a development environment construction system (construction processing server 10) according to an embodiment, and a local environment 200. For example, the cloud environment 100 and the local environment 200 are connected to each other so as to be able to communicate with each other via the Internet or the like.
[0016] The construction processing server 10 is an example of a development environment construction system that constructs a development environment for software that controls a target device constructed of hardware. The development environment constructed by the construction processing server 10 includes a virtual device that is virtually constructed. In FIG. 1, a real device A300 is shown as a target device. The real device A300 is a device (physical device) constructed of hardware, and is, for example, a device mounted on a vehicle. The device mounted on a vehicle may be an ECU (Electronic Control Unit) controlled by an on-board device via a CAN (Controller Area Network) or Ethernet (registered trademark), or a touch screen display for IVI (In Vehicle Infotainment).
[0017] For example, the real device A300 is placed in a local environment 200 where a user 400 verifies the real device A300, etc. For example, clients 210 and 220 are provided in the local environment 200. The clients 210 and 220 are computers such as PCs (Personal Computers) installed in the local environment 200.
[0018] For example, assume that a development environment for a plurality of virtual devices that are virtually configured by emulating a plurality of physical devices including the real device A300 as software has already been constructed in the cloud environment 100. In response to this, there is a demand for using a development environment in which a specific device among the plurality of virtual devices is a physical device. The construction processing server 10 is intended to meet such demands, and can construct a development environment in which physical devices and virtual devices coexist.
[0019] For example, the construction processing server 10 is provided in a cloud environment 100. However, the construction processing server 10 does not have to be provided in the cloud environment 100, and may be provided in an environment capable of communicating with the cloud environment 100 and the local environment 200.
[0020] The construction processing server 10 includes an acquisition unit 11, a determination unit 12, a construction unit 13, a trial unit 14, and a presentation unit 15. The construction processing server 10 is a computer including a processor and a memory. The memory is a ROM (Read Only Memory) and a RAM (Random Access Memory), and can store a program executed by the processor. The acquisition unit 11, the determination unit 12, the construction unit 13, the trial unit 14, and the presentation unit 15 are realized by a processor that executes a program stored in the memory. The acquisition unit 11, the determination unit 12, the construction unit 13, the trial unit 14, and the presentation unit 15 may be arranged in one server (one housing), or may be distributed across multiple servers (multiple housings).
[0021] The acquisition unit 11 acquires development environment specification information, virtual device information, and building capability information. The operation of the acquisition unit 11 and each piece of information will be described in detail later.
[0022] The determination unit 12 determines where the development environment is to be built. The operation of the determination unit 12 will be described in detail later.
[0023] The construction unit 13 constructs a development environment in the determined construction destination. The operation of the construction unit 13 will be described in detail later.
[0024] The trial unit 14 performs trials to determine whether or not software for controlling the target device can be developed in the constructed development environment. The operation of the trial unit 14 will be described in detail later.
[0025] The presentation unit 15 presents the result of the trial performed by the trial unit 14. The operation of the presentation unit 15 will be described in detail later.
[0026] In the cloud environment 100, a plurality of pieces of virtual device information related to a plurality of virtual devices included in a development environment constructed in the cloud environment 100 are stored. The virtual device information includes parameters required when using a virtual device, and the parameters are managed in a table or the like. As an example of the plurality of pieces of virtual device information, virtual device A information 30a related to a virtual device A configured virtually by emulating a real device A300 as software, and virtual device B information 30b related to a virtual device B configured virtually by emulating a real device B (not shown) as software are shown here.
[0027] The virtual device A information 30a includes device control software specification information 31, virtual IF setting information 32, virtual device software specification information 33, response performance requirement information 34, and virtual device setting information 35 for the virtual device A. Here, the description focuses on the virtual device A for the real device A300, but this information exists for each real device. In other words, the cloud environment 100 may store virtual device information corresponding to various other real devices.
[0028] The device control software specification information 31 is information indicating the content or acquisition source of software (device control software) that controls virtual device A included in the development environment built in the cloud environment 100. For example, the device control software specification information 31 includes access information for a git repository or information indicating which code state in the repository. By using the device control software specification information 31, the software that controls virtual device A can be used.
[0029] The virtual IF setting information 32 is setting information related to the setting of a virtual interface which is an input / output interface for the virtual device A when the virtual device A is controlled from the above software (device control software). For example, the virtual IF setting information 32 includes access destination information for the virtual device A. Note that by changing the virtual IF setting information 32, the access destination can be changed to the real device A300, and the real device A300 can be controlled from the device control software.
[0030] The virtual device software specification information 33 is information indicating the contents or acquisition source of the software indicating the virtual device A. For example, the virtual device software specification information 33 includes access information for a git repository or information indicating which code state in the repository. By using the virtual device software specification information 33, the virtual device A can be used.
[0031] The response performance requirement information 34 is information indicating the response required when controlling the virtual device A. For example, the response performance requirement information 34 includes the response time required when controlling the virtual device A.
[0032] The virtual device setting information 35 includes resource information indicating the computational resources required to control the virtual device A. For example, the resource information includes computational resources such as the number of CPU cores and memory amount required when the virtual device A is realized by an HV or the like.
[0033] The virtual device B information 30b also includes information similar to the virtual device A information 30a regarding the virtual device B. For example, in the above explanation, by replacing virtual device A with virtual device B, the explanation of the virtual device B information 30b can be obtained. The same applies to the other virtual device information.
[0034] For example, the user 400 inputs development environment specification information 20 indicating the specifications of a development environment in which physical devices and virtual devices coexist, for example, into a device (such as a PC or a mobile terminal) communicatively connected to the cloud environment 100 or the local environment 200. Alternatively, the development environment specification information 20 may be stored in a device in the cloud environment 100 or the local environment 200. For example, the development environment specification information 20 includes information indicating which physical device is to be specified (here, information indicating that real device A is to be specified) and information indicating the location of real device A300. The information indicating the location of real device A300 includes, for example, the location where real device A300 exists (here, the local environment 200) and the connected device (here, the client 210).
[0035] Furthermore, construction capability information indicating the construction capability of the development environment is stored in devices that are candidates for constructing the development environment. For example, construction capability information 40a is stored in client 210, construction capability information 40b is stored in client 220, and construction capability information 40c is stored in cloud environment 100.
[0036] For example, the construction capability information 40a includes information indicating whether a development environment can be constructed in the client 210, or information indicating the storage capacity of the storage owned by the client 210. The information indicating whether a development environment can be constructed may be information indicating whether the client 210 includes an HV, and if the client 210 does not include an HV, construction of a development environment in the client 210 may be impossible. Furthermore, the information indicating whether a development environment can be constructed may be information indicating whether the client 210 is permitted to construct a development environment, and if the client 210 is not permitted to construct a development environment, construction of a development environment in the client 210 may be impossible. The information indicating the storage capacity may be information indicating the remaining storage capacity of the storage owned by the client 210.
[0037] For example, the construction capability information 40b includes information indicating whether a development environment can be constructed in the client 220, or information indicating the storage capacity of the storage owned by the client 220. The information indicating whether a development environment can be constructed may be information indicating whether the client 220 includes an HV, and if the client 220 does not include an HV, construction of a development environment in the client 220 may be impossible. Furthermore, the information indicating whether a development environment can be constructed may be information indicating whether the client 220 is permitted to construct a development environment, and if the client 220 is not permitted to construct a development environment, construction of a development environment in the client 220 may be impossible. The information indicating the storage capacity may be information indicating the remaining storage capacity of the storage owned by the client 220.
[0038] For example, the construction capability information 40c includes information indicating whether a development environment can be constructed in the cloud environment 100, or information indicating the storage capacity of the storage of the cloud environment 100. The information indicating whether a development environment can be constructed may be information indicating whether the cloud environment 100 is permitted to construct a development environment, and if the cloud environment 100 is not permitted to construct a development environment, construction of a development environment in the cloud environment 100 may be impossible. The information indicating the storage capacity may be information indicating the remaining storage capacity of the storage of the cloud environment 100.
[0039] Next, the operation of the construction processing server 10 will be described in detail with reference to FIG.
[0040] FIG. 2 is a flowchart showing an example of the operation of the development environment construction system (construction processing server 10) according to the embodiment.
[0041] First, the acquisition unit 11 acquires development environment specification information 20 indicating the specifications of the development environment, virtual device information related to virtual devices (e.g., virtual device A information 30a and virtual device B information 30b, etc.), and construction capability information indicating the construction capability of the development environment in a candidate for the construction destination of the development environment (e.g., construction capability information 40a to 40c, etc.) (step S11). The acquisition unit 11 acquires this information from the cloud environment 100 or the local environment 200, but the acquisition destination of this information is not limited to the cloud environment 100 or the local environment 200. For example, this information does not have to be stored in the cloud environment 100 or the local environment 200, and the acquisition unit 11 may acquire this information from an environment other than the cloud environment 100 or the local environment 200.
[0042] Next, the determination unit 12 determines the construction destination of the development environment based on the development environment specification information 20, the virtual device information, and the construction capability information (step S12). For example, the determination unit 12 may determine either the cloud environment 100 or the local environment 200 as the construction destination of the development environment, and may further determine a specific device provided in the local environment 200 as the construction destination of the development environment.
[0043] For example, the determination unit 12 may determine the construction destination based on conditions related to the development environment specification information 20, the virtual device information, and the construction capability information. For example, the determination unit 12 may determine the construction destination based on conditions related to the development environment specification information 20, such as the location condition of the target device, the responsiveness and computational resource conditions required for controlling each virtual device (virtual devices A, B, ...), the condition of whether the development environment can be constructed in the candidate construction destination of the development environment, and the storage capacity condition of the candidate construction destination of the development environment.
[0044] Specifically, for the condition of the location of the target device, a device to which the target device is connected or a device in a LAN (Local Area Network) to which the device is connected is likely to be selected as the construction destination. For the condition of responsiveness required when controlling each virtual device (virtual device A, B, ...), a device having the performance to realize the responsiveness is likely to be selected as the construction destination. For the condition of the computational resources required when controlling each virtual device, a device having the performance (number of CPU cores, remaining storage capacity, etc.) that satisfies the computational resources is likely to be selected as the construction destination. For the condition of whether the development environment can be constructed in the candidate construction destination for the development environment, a device that can construct the development environment is likely to be selected as the construction destination. For the condition of the storage capacity of the candidate construction destination for the development environment, a device having the required storage capacity is likely to be selected as the construction destination.
[0045] The user 400 may specify the construction destination of the development environment, and the determination unit 12 may determine the construction destination specified by the user 400 as the construction destination of the development environment.
[0046] The construction processing server 10 may also include an output unit (not shown) that outputs information indicating the determined construction destination, allowing the user 400 to confirm the determined construction destination.
[0047] Next, the construction unit 13 constructs a development environment in the determined construction destination by changing the virtual IF setting information 32 (step S13). For example, the virtual IF setting information 32 is changed from a virtual interface setting for a virtual device (e.g., virtual device A) to a virtual interface setting for a target device (e.g., real device A300). This makes it possible to control the target device by software that controls the virtual device. By changing the virtual IF setting information 32, when a development environment is constructed in the determined construction destination, the target device is in a controllable state, so that the development environment can be automatically constructed in the determined construction destination. In other words, when a development environment is constructed in the determined construction destination, it is not necessary to manually change the virtual IF setting information 32.
[0048] The trial unit 14 then tries whether or not software for controlling the target device can be developed in the constructed development environment (step S14), and the presentation unit 15 presents the result of the trial (step S15). For example, the presentation unit 15 presents, as the result of the trial, whether or not development is possible, in other words, whether or not construction of the development environment has been successful, and may also present the construction destination if successful. For example, if unsuccessful, the processes from step S12 to step S15 may be repeated until success is achieved.
[0049] In addition, in step S12, when multiple construction destinations are determined, the user 400 may select in which construction destination the development environment is to be constructed.
[0050] In addition, a priority order may be set for the candidates for the construction destination of the development environment, and the construction destination may be determined in the order of priority from highest to lowest in steps S12 to S15, and the development environment may be constructed, tried, and the results of the trial may be presented. For example, if construction of the development environment at a construction destination with a high priority fails, the construction destination with the next highest priority may be determined, and the development environment may be constructed, tried, and the results of the trial may be presented.
[0051] Here, we will explain examples of information contained in the development environment specification information 20, virtual device information and construction capability information, as well as examples of the operation of the construction processing server 10, when a client 210 is presented as the destination for constructing the development environment and when a cloud environment 100 is presented.
[0052] First, a case where a client 210 is presented as a destination for constructing a development environment will be described.
[0053] For example, the development environment specification information 20 includes the global IP address of the local environment 200 as information on the location where the real device A300 exists, and the local IP address of the client 210 and the local IP address of the client 220 as information on the clients linked to the local environment 200. Note that the development environment specification information 20 also includes information similar to that of the local environment 200 for local environments not shown.
[0054] Also, for example, the development environment specification information 20 includes, as information regarding a physical device (actual device), a combination of information indicating the type of actual device A300 (e.g., storage) and information indicating the connected client (e.g., client 210).
[0055] For example, virtual device A information 30a includes a combination of information indicating the type of device (e.g., storage), virtual device setting information 35 (e.g., required storage capacity is 10 GB or more), and response performance requirement information 34 (e.g., within 100 ms).
[0056] For example, the construction capability information 40a includes information indicating that the client 210 can construct a development environment (information indicating that there is an HV) and information indicating that the remaining storage capacity is 100 GB. For example, the construction capability information 40b includes information indicating that the client 220 cannot construct a development environment (information indicating that there is no HV) and information indicating that the remaining storage capacity is 100 GB. For example, the construction capability information 40c includes information indicating that the client environment 100 can construct a development environment (information indicating that there is an HV) and information indicating that the remaining storage capacity is 1 TB.
[0057] When the development environment specification information 20, the virtual device information, and the construction capability information include the above information, the construction processing server 10 operates as follows.
[0058] The determining unit 12 checks the virtual device A information 30a corresponding to the real device A300 based on the information indicating the type of the real device A300 specified in the information on the physical device (real device), and confirms that the required storage capacity is 10 GB or more and the required response is within 100 ms. The determining unit 12 determines that the client 220 is inappropriate as a construction destination based on the construction capability information 40b. The determining unit 12 determines that the remaining storage capacity of both the client 210 and the cloud environment 100 is sufficient based on the construction capability information 40a and 40c.
[0059] The construction unit 13 constructs a development environment in the client 210 and the cloud environment 100 based on information on the locations where the client 210 and the cloud environment 100 exist. For example, the construction unit 13 may access an IP address and issue a construction instruction, or software that communicates with the cloud to obtain data may be provided for each location where the client 210 and the cloud environment 100 exist.
[0060] The trial unit 14 tries whether or not software can be developed in the development environments established in each of the client 210 and the cloud environment 100. Specifically, the trial unit 14 operates the development environments in each of the client 210 and the cloud environment 100, and checks whether the requirements indicated by the virtual device setting information 35 and the response performance requirement information 34 are satisfied. For example, it is assumed that the response of the cloud environment 100 exceeds 100 ms. As a result, the cloud environment 100 is determined to be inappropriate as a development environment, and the presentation unit 15 presents the client 210 as a result of the trial.
[0061] Next, a case where the cloud environment 100 is presented as the development environment construction destination will be described.
[0062] For example, the development environment specification information 20 includes the global IP address of the local environment 200 as information on the location where the real device A300 exists, and the local IP address of the client 210 and the local IP address of the client 220 as information on the clients linked to the local environment 200. Note that the development environment specification information 20 also includes information similar to that of the local environment 200 for local environments not shown.
[0063] Also, for example, the development environment specification information 20 includes, as information regarding a physical device (actual device), a combination of information indicating the type of actual device A300 (e.g., a display) and information indicating the connected client (e.g., client 210).
[0064] For example, virtual device A information 30a includes a combination of information indicating the type of device (e.g., display), virtual device setting information 35 (e.g., the number of allocated CPU cores is 4 or more), and response performance requirement information 34 (e.g., within 1 second).
[0065] For example, the construction capability information 40a includes information indicating that the client 210 can construct a development environment (information indicating that there is an HV) and information indicating that the remaining storage capacity is 100 GB. For example, the construction capability information 40b includes information indicating that the client 220 cannot construct a development environment (information indicating that there is no HV) and information indicating that the remaining storage capacity is 100 GB. For example, the construction capability information 40c includes information indicating that the client environment 100 can construct a development environment (information indicating that there is an HV) and information indicating that the remaining storage capacity is 1 TB.
[0066] When the development environment specification information 20, the virtual device information, and the construction capability information include the above information, the construction processing server 10 operates as follows.
[0067] The determining unit 12 checks the virtual device A information 30a corresponding to the real device A300 based on the information indicating the type of the real device A300 specified in the information on the physical device (real device), and confirms that the number of allocated CPU cores is 4 or more and the required response is within 1 second. The determining unit 12 judges that the client 220 is inappropriate as a construction destination based on the construction capability information 40b.
[0068] The construction unit 13 constructs a development environment in the client 210 and the cloud environment 100 based on information on the locations where the client 210 and the cloud environment 100 exist. For example, the construction unit 13 may access an IP address and issue a construction instruction, or software that communicates with the cloud to obtain data may be provided for each location where the client 210 and the cloud environment 100 exist.
[0069] The trial unit 14 tries whether or not software can be developed in the development environments constructed in each of the client 210 and the cloud environment 100. Specifically, the trial unit 14 operates the development environments in each of the client 210 and the cloud environment 100, and checks whether the requirements indicated by the virtual device setting information 35 and the response performance requirement information 34 are satisfied. For example, it is assumed that only two CPU cores can be allocated to the client 210. As a result, the client 210 is determined to be inappropriate as a location for constructing a development environment, and the presentation unit 15 presents the cloud environment 100 as a result of the trial.
[0070] Next, a case where the development environment is built in the local environment 200 will be described with reference to FIG. 3, and a case where the development environment is built in the cloud environment 100 will be described with reference to FIG.
[0071] Fig. 3 is a configuration diagram showing an example of a development environment 500 constructed in the local environment 200. For example, assume that the development environment 500 is constructed in the client 210 in the local environment 200. Fig. 3 shows a development environment 510 for device A and a development environment 520 for device B.
[0072] The development environment 510 includes device A control software 511 , virtual IF setting information for real device A 512 , virtual device A 513 , and virtual device setting information 515 .
[0073] 1, and is software for controlling the real device A 300. However, since the device A control software 511 is software developed for the virtual device A 513, for example, the user 400 uses the development environment 500 to improve the device A control software 511 in accordance with the real device A 300.
[0074] The virtual IF setting information 512 for real device A is the virtual IF setting information 32 included in the virtual device A information 30a shown in Fig. 1, which has been changed to the setting of a virtual interface for the real device A300. Since the virtual IF setting information 512 for real device A is the setting of a virtual interface for the real device A300, the real device A300 can be controlled by the device A control software 511.
[0075] The virtual device A513 is a virtual device indicated by the virtual device software designation information 33 included in the virtual device A information 30a shown in Fig. 1. The development environment 510 is a development environment for software that controls the real device A300, so the virtual device A513 does not need to be used. Alternatively, the virtual device A513 may also be used in the development environment 510 depending on the situation.
[0076] The virtual device setting information 515 is the virtual device setting information 35 included in the virtual device A information 30a shown in FIG.
[0077] The development environment 520 includes device B control software 521 , virtual IF setting information for virtual device B 522 , virtual device B 523 , and virtual device setting information 525 .
[0078] The device B control software 521 is software indicated by the device control software designation information 31 included in the virtual device B information 30b shown in FIG.
[0079] 1, which is a virtual interface setting for the virtual device B 523. Since the virtual interface setting information 522 for virtual device B is a virtual interface setting for the virtual device B 523, the virtual device B 523 can be controlled by the device B control software 521.
[0080] 1. The development environment 520 is a development environment for software that controls the virtual device B 523, and therefore the virtual device B 523 is used. In this manner, the development environment 500 includes a development environment 510 related to the real device A 300 and a development environment 520 related to the virtual device B 523.
[0081] The virtual device setting information 525 is the virtual device setting information 35 included in the virtual device B information 30b shown in FIG. 1. For example, the client 210 includes an HV, and the HV determines the number of CPU cores to be allocated to the development environment 520 according to the virtual device setting information 525. However, it may be found after the development environment 500 is constructed that the CPU performance is low with this number of CPU cores allocated. In such a case, the virtual device setting information 525 may be changed so that the CPU performance becomes sufficient, that is, the number of CPU cores allocated in the virtual device setting information 525 may be increased. For example, when the next development environment is constructed (for example, when the development environment for the real device A is constructed, or when the development environment for another real device is constructed), the changes in the virtual device setting information 525 (virtual device setting information 35) may be presented to the user 400 or the like and applied.
[0082] Fig. 4 is a configuration diagram showing an example of a development environment 600 constructed in the cloud environment 100. Fig. 4 shows a development environment 610 for device A and a development environment 620 for device B.
[0083] The development environment 610 includes device A control software 611 , virtual IF setting information for real device A 612 , virtual device A 613 , and virtual device setting information 615 .
[0084] 1, and is software for controlling the real device A 300. However, since the device A control software 611 is software developed for the virtual device A 613, for example, the user 400 uses the development environment 600 to improve the device A control software 611 in accordance with the real device A 300.
[0085] 1, which is changed to a virtual interface setting for the real device A300. Since the virtual IF setting information 612 for the real device A is a virtual interface setting for the real device A300, the real device A300 can be controlled by the device A control software 611. For example, the virtual IF setting information 612 for the real device A includes access information to the real device A300 provided in the local environment 200 (for example, access information to the real device A300 connected to the client 210 provided in the local environment 200 connected to the cloud environment 100 via the Internet, etc.).
[0086] The virtual device A613 is a virtual device indicated by the virtual device software designation information 33 included in the virtual device A information 30a shown in Fig. 1. The development environment 610 is a development environment for software that controls the real device A300, so the virtual device A613 does not need to be used. Alternatively, the virtual device A613 may also be used in the development environment 610 depending on the situation.
[0087] The virtual device setting information 615 is the virtual device setting information 35 included in the virtual device A information 30a shown in FIG.
[0088] The development environment 620 includes device B control software 621 , virtual IF setting information for virtual device B 622 , virtual device B 623 , and virtual device setting information 625 .
[0089] The device B control software 621 is software indicated by the device control software designation information 31 included in the virtual device B information 30b shown in FIG.
[0090] 1, which is the virtual IF setting information 32 included in the virtual device B information 30b shown in Fig. 1, and which is the setting of a virtual interface for the virtual device B 623. Since the virtual IF setting information 622 for virtual device B is the setting of a virtual interface for the virtual device B 623, the device B control software 621 can control the virtual device B 623.
[0091] 1. The development environment 620 is a development environment for software that controls the virtual device B 623, so the virtual device B 623 is used. In this way, the development environment 600 includes a development environment 610 related to the real device A 300 and a development environment 620 related to the virtual device B 623.
[0092] The virtual device setting information 625 is the virtual device setting information 35 included in the virtual device B information 30b shown in FIG. 1. For example, the cloud environment 100 includes an HV, and the HV determines the number of CPU cores to be allocated to the development environment 620 according to the virtual device setting information 625. However, it may be found after the development environment 600 is constructed that the CPU performance is low with this number of CPU cores allocated. In such a case, the virtual device setting information 625 may be changed so that the CPU performance becomes sufficient, that is, the number of CPU cores allocated in the virtual device setting information 625 may be increased. For example, when the next development environment is constructed (for example, when the development environment for the real device A is constructed, or when the development environment for another real device is constructed), the changes in the virtual device setting information 625 (virtual device setting information 35) may be presented to the user 400 or the like and applied.
[0093] (summary) The construction processing server 10 is a development environment construction system that constructs a development environment for software that controls a target device (actual device A300) configured with hardware, and the development environment includes a virtually constructed virtual device. The construction processing server 10 includes an acquisition unit 11 that acquires development environment specification information 20 indicating the specifications of the development environment, virtual device information related to the virtual device, and construction capability information indicating the construction capability of the development environment in a candidate destination for the construction of the development environment, and a determination unit 12 that determines the destination for the development environment based on the development environment specification information 20, the virtual device information, and the construction capability information.
[0094] According to this, the optimal construction destination can be determined according to the specifications of the development environment in which the target device (physical device) and virtual device are mixed, information on the virtual device included in the development environment, and the construction capacity of the development environment of the candidate construction destination of the development environment. Therefore, a development environment in which physical devices and virtual devices are mixed can be constructed in the determined construction destination, and development efficiency can be improved. For example, although construction of a development environment takes time, the present disclosure automates the determination of the construction destination, and development efficiency can be improved.
[0095] For example, the determination unit 12 may determine the construction destination based on conditions related to the development environment specification information 20, virtual device information, and construction capability information.
[0096] For example, the development environment specification information 20 may include information indicating the location of the target device.
[0097] This makes it possible to determine the optimal construction destination based on information such as the location of the target device and the connected equipment.
[0098] For example, the virtual device information may include response performance requirement information 34 indicating the responsiveness required when controlling the virtual device, or resource information indicating the computational resources required when controlling the virtual device.
[0099] This makes it possible to determine the optimal construction destination that satisfies the conditions, depending on the responsiveness required when controlling the virtual device or the computational resources required when controlling the virtual device.
[0100] For example, the construction capability information may include information indicating whether a development environment can be constructed, or information indicating storage capacity.
[0101] This makes it possible to determine a construction destination where the development environment (e.g., a virtual device included in the development environment) can function properly, depending on whether the development environment can be constructed at the candidate construction destinations for the development environment or on the storage capacity.
[0102] For example, the virtual device information includes virtual IF setting information 32 regarding the settings of a virtual interface, which is an input / output interface for the virtual device, and the construction processing server 10 may further include a construction unit 13 that constructs a development environment at the determined construction destination by changing the virtual IF setting information 32.
[0103] According to this, by changing the setting of the input / output interface for the virtual device to the input / output interface for the target device, it is possible to automatically build a development environment in the determined build destination.
[0104] For example, the construction processing server 10 may further include a trial unit 14 that attempts to determine whether software for controlling a target device can be developed in the constructed development environment, and a presentation unit 15 that presents the results of the trial.
[0105] This makes it possible to check whether the development environment built in the determined build destination is functioning correctly.
[0106] For example, candidates for the construction of a development environment may include a HV.
[0107] According to this, HV makes it easier to build and replicate development environments.
[0108] (Other embodiments) As described above, the embodiment has been described as an example of the technology according to the present disclosure. However, the technology according to the present disclosure is not limited to this, and can be applied to an embodiment in which appropriate changes, substitutions, additions, omissions, etc. are made. For example, the following modified examples are also included in one embodiment of the present disclosure.
[0109] For example, in the early stages of development of the target device, all functions of the target device may not be complete, so the presentation unit 15 may present the differences between the functions supported by the target device and the functions supported by the virtual device.
[0110] For example, if it is not possible to create a development environment that includes a mixture of a target device and a virtual device, a development environment that includes a virtual device that corresponds to the target device may be created with the consent of the user 400.
[0111] For example, before a development environment is built in the determined build destination, the user 400 may be asked whether it is OK to build the development environment in the determined build destination.
[0112] The present disclosure can be realized not only as a development environment construction system, but also as a development environment construction method including steps (processing) performed by each component that constitutes the development environment construction system.
[0113] The development environment construction method is executed by a development environment construction system that constructs a development environment for software that controls a target device configured in hardware, and the development environment includes a virtually constructed virtual device. As shown in FIG. 2, the development environment construction method includes an acquisition step (step S11) of acquiring development environment specification information indicating the specifications of the development environment, virtual device information regarding the virtual device, and construction capability information indicating the construction capability of the development environment in a candidate destination for the development environment, and a determination step (step S12) of determining the destination for the development environment based on the development environment specification information, the virtual device information, and the construction capability information.
[0114] For example, the steps in the development environment construction method may be executed by a computer (computer system). The present disclosure can be realized as a program for causing a computer to execute the steps included in the development environment construction method.
[0115] Furthermore, the present disclosure can be realized as a non-transitory computer-readable recording medium, such as a CD-ROM on which the program is recorded.
[0116] For example, when the present disclosure is realized by a program (software), each step is executed by executing the program using hardware resources such as a computer's CPU, memory, input / output circuit, etc. In other words, each step is executed by the CPU acquiring data from the memory or input / output circuit, etc., performing calculations, and outputting the calculation results to the memory or input / output circuit, etc.
[0117] Furthermore, each of the components included in the development environment construction system of the above-described embodiment may be realized as a dedicated or general-purpose circuit.
[0118] Furthermore, each of the components included in the development environment construction system of the above-described embodiment may be realized as an LSI (Large Scale Integration) which is an integrated circuit (IC: Integrated Circuit).
[0119] Furthermore, the integrated circuit is not limited to an LSI, and may be realized by a dedicated circuit or a general-purpose processor. A programmable FPGA (Field Programmable Gate Array) or a reconfigurable processor in which the connections and settings of circuit cells within an LSI can be reconfigured may also be used.
[0120] Furthermore, if an integrated circuit technology that can replace LSI emerges due to advances in semiconductor technology or other derived technologies, it is natural that each component included in the development environment construction system may be integrated into an integrated circuit using that technology.
[0121] In addition, the present disclosure also includes forms obtained by applying various modifications to the embodiments that a person skilled in the art may conceive, and forms realized by arbitrarily combining the components and functions of each embodiment within the scope that does not deviate from the spirit of the present disclosure. [Industrial Applicability]
[0122] The present disclosure can be applied, for example, to a system for constructing a development environment for software that controls devices mounted on a vehicle. [Explanation of symbols]
[0123] 10 Construction Processing Server 11 Acquisition Department 12 Decision Section 13 Construction Department 14 Trial Section 15 Presentation section 20 Development environment specification information 30a Virtual device A information 30b Virtual device B information 31 Device control software specification information 32 Virtual IF setting information 33 Virtual device software specification information 34 Response performance requirements 35 Virtual device setting information 40, 40b, 40c construction ability information 100 Cloud Environments 200 Local Environment 210, 220 clients 300 Real Device A 400 users 500, 510, 520, 600, 610, 620 Development Environment 511, 611 Device A control software 512, 612 Virtual IF setting information for real device A 513, 613 Virtual Device A 515, 525, 615, 625 Virtual Device Configuration Information 521, 621 Device B control software 522, 622 Virtual IF setting information for virtual device B 523, 623 Virtual Device B
Claims
1. A development environment construction system for constructing a development environment for software that controls a target device configured with hardware, The development environment includes a virtually configured virtual device; an acquisition unit that acquires development environment specification information indicating a specification of the development environment, virtual device information regarding the virtual device, and construction capability information indicating a construction capability of the development environment in a candidate for a construction destination of the development environment; a determination unit that determines a construction destination of the development environment based on the development environment specification information, the virtual device information, and the construction capability information; the virtual device information includes virtual IF setting information regarding settings of a virtual interface which is an input / output interface for the virtual device, The development environment construction system further includes a construction unit that constructs the development environment in the determined construction destination by changing the virtual IF setting information. Development environment construction system.
2. A development environment construction system for constructing a development environment for software that controls a target device configured with hardware, comprising: The development environment includes a virtually configured virtual device; an acquisition unit that acquires development environment specification information indicating a specification of the development environment, virtual device information regarding the virtual device, and construction capability information indicating a construction capability of the development environment in a candidate for a construction destination of the development environment; a determination unit that determines a construction destination of the development environment based on the development environment specification information, the virtual device information, and the construction capability information; a trial unit that tests whether or not software for controlling the target device can be developed in the constructed development environment; A presentation unit that presents the result of the trial. Development environment construction system.
3. A development environment construction system for constructing a development environment for software that controls a target device configured with hardware, comprising: The development environment includes a virtually configured virtual device; an acquisition unit that acquires development environment specification information indicating a specification of the development environment, virtual device information regarding the virtual device, and construction capability information indicating a construction capability of the development environment in a candidate for a construction destination of the development environment; a determination unit that determines a construction destination of the development environment based on the development environment specification information, the virtual device information, and the construction capability information; the development environment specification information includes information indicating a type of the target device and information indicating a location of the target device; Development environment construction system.
4. the determination unit determines the construction destination based on conditions related to the development environment specification information, the virtual device information, and the construction capability information.
4. The development environment construction system according to claim 1.
5. The virtual device information includes response performance requirement information indicating a response required when controlling the virtual device, or resource information indicating a computation resource required when controlling the virtual device.
5. The development environment construction system according to claim 1.
6. The construction capability information includes information indicating whether the development environment can be constructed or information indicating storage capacity.
6. The development environment construction system according to claim 1.
7. The candidates for the development environment include a hypervisor.
7. The development environment construction system according to claim 1.
8. A development environment construction method executed by a development environment construction system that constructs a development environment for software that controls a target device configured with hardware, comprising: The development environment includes a virtually configured virtual device; an acquisition step of acquiring development environment specification information indicating a specification of the development environment, virtual device information regarding the virtual device, and construction capability information indicating a construction capability of the development environment in a candidate for a construction destination of the development environment; a determination step of determining a destination for constructing the development environment based on the development environment specification information, the virtual device information, and the construction capability information; the virtual device information includes virtual IF setting information regarding settings of a virtual interface which is an input / output interface for the virtual device; The development environment construction method further includes a construction step of constructing the development environment in the determined construction destination by changing the virtual IF setting information. How to build a development environment.
9. A development environment construction method executed by a development environment construction system for constructing a development environment for software that controls a target device configured with hardware, comprising: The development environment includes a virtually configured virtual device; an acquisition step of acquiring development environment specification information indicating a specification of the development environment, virtual device information regarding the virtual device, and construction capability information indicating a construction capability of the development environment in a candidate for a construction destination of the development environment; a determination step of determining a destination for constructing the development environment based on the development environment specification information, the virtual device information, and the construction capability information; a trial step of testing whether software for controlling the target device can be developed in the constructed development environment; and presenting a result of the trial. How to build a development environment.
10. A development environment construction method executed by a development environment construction system for constructing a development environment for software that controls a target device configured with hardware, comprising: The development environment includes a virtually configured virtual device; an acquisition step of acquiring development environment specification information indicating a specification of the development environment, virtual device information regarding the virtual device, and construction capability information indicating a construction capability of the development environment in a candidate for a construction destination of the development environment; a determination step of determining a destination for constructing the development environment based on the development environment specification information, the virtual device information, and the construction capability information; the development environment specification information includes information indicating a type of the target device and information indicating a location of the target device; How to build a development environment.
Citation Information
Patent Citations
System and method for development of emulated device in virtual machine environment
JP2006018814A
Resource management system, resource management method and resource management program
JP2014085773A
Generalized virtualization platform for systems using hardware abstraction software layers
JP2020071870A
Computing device and virtual development environment device
JP6692278B2
Emulation of hardware components
US20180285134A1
Cited By
Development environment device, device control method and program
DE102025150321A1
Development environment apparatus, device control method, and program
JP2026099519A
