System and method for intelligent test environment allocation

By intelligently determining and allocating multiple test environments through a task allocator, the problem of unreasonable test environment selection in existing technologies is solved, and the optimization of test environments and efficient utilization of resources are achieved, thereby improving software development efficiency.

CN118733431APending Publication Date: 2024-10-01WOVEN BY TOYOTA INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410097664.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-31
Filing Date
2024-01-24
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In existing technologies, the selection and allocation of test environments are not intelligent enough, failing to meet user needs and test requirements, leading to software development delays and resource waste.

Method used

The task allocator intelligently determines and allocates multiple test environments, including SIL, HIL, and V-ECU test environments, and optimizes the test process based on performance information and task policy information.

Benefits of technology

It enables optimized testing that meets various testing requirements and conditions, improving testing efficiency and resource utilization, and reducing software development delays.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733431A_ABST
    Figure CN118733431A_ABST
Patent Text Reader

Abstract

The present disclosure provides systems and methods for intelligent test environment allocation. Tasks are appropriately allocated to a test environment. Systems, methods, and apparatus are provided for intelligent test environment allocation. According to an embodiment, a method for intelligently determining one or more test environments for testing software embedded in a system includes: acquiring performance information of a plurality of test environments using a task allocator; acquiring policy information of a task executed in order to test the software embedded in the system by using the task allocator; determining a test environment satisfying the policy information from a plurality of test environments by using a task allocator; and assigning tasks to the determined test environments using a task allocator, the embedded system being an in-vehicle electronic control unit (ECU), the plurality of test environments including at least one software-in-loop (SIL) test environment, at least one hardware-in-loop (HIL) test environment, and at least one virtual ECU (V-ECU) test environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] A system and method matching the embodiments of the present disclosure relate to a test environment, and more particularly, to a system and method for intelligently allocating or determining a test environment of a test system. Background Art

[0002] In the prior art, various test environments are introduced for testing the functionality and software performance of the system. For example, in particular, a vehicle embedded system such as an electronic control unit (ECU) can be tested by utilizing at least one software-in-the-loop (SIL) test environment, at least one hardware-in-the-loop (HIL) test environment, and at least one virtual ECU (V-ECU) test environment.

[0003] For example, in a SIL test environment, a SIL simulator (SiLS) can be used to evaluate or simulate the system implemented in general or universal hardware instead of the actual ECU of the intended system action. In a SIL test environment, multiple tests can be performed in parallel, and partially developed products (such as partially virtualized hardware, etc.) can be tested before the product is fully developed. As a result, the SIL test environment generally provides faster test simulations with high scalability and low cost. However, the hardware forming the basis is general hardware and / or may be different from the actual tested system, so the reliability and accuracy of the SIL test environment are lower.

[0004] On the other hand, in the HIL test environment, in order to evaluate or test the actual system (e.g., physical ECU) of the intended system action, a HIL simulator (HiLS) is used to communicate with the actual elements (e.g., physical ECU) to faithfully reproduce the real action environment, thereby providing very reliable test results. However, when using the HIL test environment to perform tests, it is sometimes expensive and time-consuming (e.g., due to low scalability), and when considering the limitation on the amount of hardware that can be used, it is not possible to provide a large number of parallel tests / simulations.

[0005] Among these, in the V-ECU test environment, a specific ECU environment and function can be reproduced or simulated by software in a manner that makes the test results more reliable and more accurate than in the SIL test environment. Furthermore, the V-ECU test environment is lower in cost (e.g., cheaper) than the HIL test environment, and therefore can be further expanded for a large number of simultaneous test scenarios and can be further accepted. Furthermore, in the V-ECU test environment, parallel testing can also be performed. However, in the V-ECU test environment, the ECU under test is sometimes not fully simulated (e.g., the system on chip (SoC) is sometimes not simulated), and the actual hardware / product functions that can be reproduced are limited. Furthermore, when the associated information is completely unknown (e.g., when the hardware model is kept confidential by its supplier, etc.), it is sometimes difficult to reproduce the ECU correctly. In addition, in the V-ECU test environment, the test object (i.e., one or more ECUs) needs to be converted into a software method (e.g., a virtual ECU, etc.), so it is sometimes not suitable for providing real-time testing or simulation.

[0006] Considering the above, each test environment (e.g., SIL, HIL, V-ECU, etc.) or methodology provides various tradeoffs between cost and advantage. Therefore, in order to optimize the test and to meet various test requirements, it is important to select and allocate the appropriate test environment. Nevertheless, the test environment selection and the allocation of tasks (e.g., tests to be executed, etc.) to the test environment in the prior art are not optimal, and there are several limitations and defects as shown below.

[0007] First, the prior art system and method only include test environment determination between multiple test environments of the same type or general test environments such as HIL or SIL test environments, and do not have functions and algorithms for utilizing all available test environments and methodologies (including V-ECU test environments). In other words, the prior art system and method cannot intelligently determine or allocate specific user needs and / or a specific test environment that best suits the test requirements.

[0008] Furthermore, in the development of embedded systems (such as software for vehicles, etc.), it is required to test the software on various platforms under development. A test environment limited to only one type is sometimes not optimal in the development cycle. For example, HIL testing is most accurate in execution, but on the other hand, it is sometimes not suitable in the initial stages of software development, especially in the stages where the development of related hardware (such as ECU, SoC, etc.) is not yet completed. In addition, when using the HIL test environment, there are only a few hardware environments that can be used for testing, so it takes a long time to execute a large number of scenarios, so software development is sometimes delayed. Summary of the invention

[0009] According to an embodiment, a method, system and apparatus for intelligently determining one or more test environments for testing software embedded in a system are provided. Specifically, the embodiments of the present disclosure can utilize multiple test environments to which one or more tasks (e.g., test execution, etc.) are intelligently assigned, thereby enabling multiple tasks to be performed or executed simultaneously in multiple test environments under various test requirements or conditions. Furthermore, by utilizing performance information of the test environment, one or more tasks can be intelligently assigned in a manner that optimizes the test or simulation while satisfying various requirements (speed, cost, etc.) of one or more tasks.

[0010] According to an implementation, a method for intelligently determining one or more test environments for testing software of an embedded system is provided, the method comprising: using a task allocator to obtain performance information of multiple test environments; using the task allocator to obtain policy information of tasks performed to test the software of the embedded system; using the task allocator to determine a test environment that meets the policy information from multiple test environments; and using the task allocator to assign tasks to the determined test environment, wherein the embedded system is an on-board electronic control unit (ECU), and the multiple test environments include at least one software-in-the-loop (SIL) test environment, at least one hardware-in-the-loop (HIL) test environment, and at least one virtual ECU (V-ECU) test environment.

[0011] According to an embodiment, the performance information includes at least one of processor speed, supported ECU functions, supported instruction sets, and usage cost.

[0012] According to an embodiment, the method further includes: using the task allocator to receive test results of the assigned tasks from the determined test environment; and using the task allocator to update performance information of the determined test environment according to the received test results.

[0013] According to an embodiment, the method further includes: using a task allocator to determine other test environments from a plurality of test environments according to the received test results; and using the task allocator to allocate tasks to the determined other test environments.

[0014] According to an embodiment, obtaining policy information includes obtaining policy information of multiple tasks, determining the test environment includes determining multiple test environments from multiple test environments in order to respectively assign multiple tasks according to the policy information, and assigning tasks includes assigning multiple tasks in order to execute them simultaneously in multiple test environments.

[0015] According to an embodiment, the method further comprises utilizing the task allocator to store the performance information into a record, wherein the record comprises a table.

[0016] According to an embodiment, the method further comprises: using the task allocator to receive the test results of the assigned tasks from the determined test environment; and using the task allocator to update the record table according to the received test results.

[0017] According to an implementation, a system is provided for intelligently determining one or more test environments for testing software of an embedded system, the system including a memory for storing instructions and a task distributor, the task distributor being configured to: execute instructions, obtain performance information of a plurality of test environments, obtain policy information of tasks performed to test the software of the embedded system, determine a test environment that satisfies the policy information from the plurality of test environments, and distribute tasks to the determined test environment, wherein the embedded system is an on-board electronic control unit (ECU), and the plurality of test environments include at least one software-in-the-loop (SIL) test environment, at least one hardware-in-the-loop (HIL) test environment, and at least one virtual ECU (V-ECU) test environment.

[0018] According to an embodiment, the performance information includes at least one of processor speed, supported ECU functions, supported instruction sets, and usage cost.

[0019] According to an embodiment, the task allocator is configured to: execute instructions, receive test results of the assigned tasks from the determined test environment, and update performance information of the determined test environment based on the received test results.

[0020] According to an embodiment, the task allocator is configured to: execute instructions, determine other test environments from a plurality of test environments according to received test results, and allocate tasks to the determined other test environments.

[0021] According to an embodiment, the task allocator is configured to: execute an instruction to obtain policy information of a plurality of tasks, thereby obtaining policy information. Furthermore, the task allocator is configured to: execute an instruction to determine a plurality of test environments from a plurality of test environments in order to respectively allocate the plurality of tasks according to the policy information, thereby determining the test environment. Furthermore, the task allocator is configured to: execute an instruction to allocate a plurality of tasks in order to execute them simultaneously in a plurality of test environments, thereby allocating tasks.

[0022] According to an embodiment, the task allocator is configured to: execute instructions, store performance information in a record, and the record includes a table.

[0023] According to an embodiment, the task allocator is configured to execute instructions, receive test results of the assigned tasks from the determined test environment, and update the record table according to the received test results.

[0024] According to an embodiment, a non-transitory computer-readable recording medium is provided. In the non-transitory computer-readable recording medium, there is recorded an instruction that can be executed by a task distributor, and the instruction causes the task distributor to execute a method for intelligently determining one or more test environments for testing software of an embedded system, the method comprising: using the task distributor to obtain performance information of multiple test environments; using the task distributor to obtain policy information of tasks executed to test the software of the embedded system; using the task distributor to determine a test environment that satisfies the policy information from multiple test environments; and using the task distributor to assign tasks to the determined test environment, the embedded system is an on-board electronic control unit (ECU), and the multiple test environments include at least one software-in-the-loop (SIL) test environment, at least one hardware-in-the-loop (HIL) test environment, and at least one virtual ECU (V-ECU) test environment.

[0025] According to an embodiment, the performance information includes at least one of processor speed, supported ECU functions, supported instruction sets, and usage cost.

[0026] According to an embodiment, in a non-temporary computer-readable recording medium, instructions that enable a task allocator to execute the present method and that can be executed by the task allocator may also be recorded thereon. The present method may also include: using the task allocator to receive the test results of the assigned tasks from the determined test environment; and using the task allocator to update the performance information of the determined test environment based on the received test results.

[0027] According to an implementation, in a non-temporary computer-readable recording medium, there are recorded instructions that can be executed by a task allocator, and the instructions cause the task allocator to execute a method that also includes the following steps: using the task allocator to determine other test environments from multiple test environments based on the received test results; and using the task allocator to assign tasks to the determined other test environments.

[0028] According to an implementation, instructions that can be executed by a task allocator are recorded in a non-temporary computer-readable recording medium, and the instructions cause the task allocator to execute a method, obtaining policy information includes obtaining policy information of multiple tasks, determining the test environment includes determining multiple test environments from multiple test environments in order to respectively allocate multiple tasks according to the policy information, and allocating tasks includes allocating multiple tasks in order to execute them simultaneously in multiple test environments.

[0029] According to an embodiment, in a non-transitory computer-readable recording medium, there are recorded instructions executable by a task distributor, the instructions causing the task distributor to execute a method further including using the task distributor to store performance information in a record, wherein the record includes a table.

[0030] Regarding the additional aspects, some are described in the following description, and some become clear from the description or can be realized by practicing the embodiments disclosed in the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A block diagram illustrates a system architecture for intelligently assigning one or more tasks to one or more test environments in accordance with one or more embodiments.

[0032] Figure 2 A block diagram illustrating an example configuration of a hardware-in-the-loop (HIL) test environment according to one or more embodiments.

[0033] Figure 3A A block diagram is shown of an example configuration of a software-in-the-loop (SIL) test environment according to one or more embodiments.

[0034] Figure 3B A block diagram showing the configuration of a plurality of application software according to one or more embodiments.

[0035] Figure 4A A block diagram showing a configuration example of a virtual ECU (V-ECU) test environment according to one or more embodiments is provided.

[0036] Figure 4B A block diagram showing the configuration of a V-ECU and a plurality of application software according to one or more embodiments.

[0037] Figure 5 A block diagram illustrating exemplary components of a task assignment system according to one or more embodiments.

[0038] Figure 6 A block diagram illustrating exemplary communications between a task allocation system and a plurality of servers according to one or more embodiments.

[0039] Fig. 7A A block diagram is shown of an illustrative method for intelligently determining a test environment for testing software of a system in accordance with one or more embodiments.

[0040] Figure 7B Shows one or more embodiments involved in the implementation Fig. 7A A call flow of a non-exhaustive use case of an illustrative method.

[0041] Fig. 8A A block diagram depicts an exemplary method of managing information in accordance with one or more embodiments.

[0042] Figure 8B Shows one or more embodiments involved in the implementation Fig. 8AA call flow of a non-exhaustive use case of an illustrative method. DETAILED DESCRIPTION

[0043] Hereinafter, features, advantages, and significance of preferred embodiments of the present disclosure will be described with reference to the accompanying drawings, in which like reference numerals denote like elements.

[0044] The following detailed description of the preferred embodiments refers to the accompanying drawings. The above disclosure provides examples and descriptions, but is neither intended to be exhaustive nor to limit the implementation to the correct form disclosed. Modifications and changes can be made in view of the above disclosure or can be obtained from the execution of the implementation. Furthermore, one or more features or constituent elements of one embodiment can also be embedded or combined into other embodiments (or one or more features of other embodiments). Furthermore, it is understood that in the flowcharts and descriptions of the actions provided below, one or more actions can be omitted, one or more actions can be added, one or more actions can be performed simultaneously (at least partially), and the order of one or more actions can be rearranged.

[0045] Even if a particular combination of features is described in the claims and / or disclosed in the specification, these combinations are not intended to limit the disclosure of possible implementations. In fact, most of these features can also be combined by methods not specifically described in the claims and / or not disclosed in the specification. The dependent claims listed below are sometimes directly dependent on only one claim, but the disclosure of possible implementations includes each dependent claim in combination with all other claims in the claim group.

[0046] Any element, action, or instruction used in this specification should not be construed as being decisive or essential unless explicitly stated otherwise. In addition, the articles "a" and "an" used in this specification are intended to include more than one item and can be used interchangeably with "one or more". Figure 1 In the case of multiple items, the term "one" or the same term is used. In addition, when used in this specification, "having", "having", "including", "containing", or similar words are intended to be open-ended terms. Furthermore, a sentence such as "according to" is intended to mean "at least partially based on" unless otherwise clearly stated. Furthermore, expressions such as "at least one of "A" and "B" or "at least one of "A" or "B"" should be understood to include only A, only B, or both A and B.

[0047] Throughout this specification, "one embodiment", "an embodiment", "a non-limiting preferred embodiment", or references to similar terms mean that a specific feature, structure, or characteristic described in association with the illustrated embodiment is included in at least one embodiment of the present solution. Therefore, throughout this specification, phrases such as "in one embodiment", "in an embodiment", "in a non-limiting preferred embodiment", and similar expressions are not necessarily required, and sometimes all indicate the same embodiment.

[0048] Furthermore, the features, advantages, and characteristics described in the present disclosure may also be combined in any appropriate manner in one or more embodiments. It will be appreciated by those skilled in the art that the present disclosure can be implemented without one or more specific features or advantages of a specific embodiment if the description of this specification is considered. In other examples, additional features and advantages that are sometimes not present in all embodiments of the present disclosure are sometimes confirmed in a specific embodiment.

[0049] In one embodiment of the disclosure described in this specification, the display page may also include information existing in the memory of the computer device, which can be sent from the computer device to the database center and from the database center to the computer device via the network. The information can also be saved to the memory of each computer device, the data storage device at the end of the network, or the server of the database center. The computer device or mobile device can accept a non-temporary computer-readable medium, which can include: instructions, logic, data, or code that can be stored in a persistent memory or temporary memory of the mobile device, or can affect the action performed by the mobile device or start the action in some form. Similarly, one or more servers can communicate with one or more mobile devices via the network and send computer files existing in the memory. The network may include, for example, the Internet, a wireless communication network, or any other network for connecting one or more mobile devices to one or more servers.

[0050] Furthermore, the present disclosure records an embedded system of a vehicle (such as an electronic control unit (ECU) etc.), but it can be understood that the embodiments of the present disclosure described in this specification do not depart from the scope of the present disclosure and can also be applied to any other appropriate type of system such as a radar system, a robotic system, a power system, and the same system.

[0051] Embodiments of the present disclosure provide methods, systems, and devices for intelligently determining one or more test environments for testing software of a system. Specifically, methods, systems, and devices matching embodiments of the present disclosure provide intelligent determination of the best test environment for allocating one or more tasks (e.g., test execution, etc.) based on the requirements of the tasks and the performance of the available test environments.

[0052] Finally, embodiments of the present disclosure can utilize multiple different types of test environments, thereby enabling multiple tests to be performed or executed simultaneously in multiple test environments under various test requirements or conditions. Furthermore, by utilizing performance information of the test environments, one or more tasks can be intelligently allocated in a manner that optimizes the test and in a manner that satisfies various requirements (speed, cost, etc.) of the one or more tasks.

[0053] Figure 1 A block diagram of a system architecture 100 for intelligently assigning one or more tasks to one or more test environments in accordance with one or more embodiments is shown.

[0054] Reference Figure 1 The system architecture 100 may also include a task allocation system 110 and a plurality of test environments 120. The task allocation system 110 may also be communicatively connected to each of the plurality of test environments 120, and may also be configured to perform actions for intelligently determining one or more test environments from the plurality of test environments 120, and for allocating one or more tasks (e.g., executing / simulating tests, executing performance checks, setting test execution schedules, etc.) to the determined test environments. Figure 5 , providing further description of the components included in the task allocation system 110, the following reference Figures 6 to 8B , further description of examples of actions that can be performed by the task assignment system 110 is provided.

[0055] Moreover, if Figure 1 As shown, the multiple test environments may also include at least one hardware-in-the-loop (HIL) test environment 120-1, at least one software-in-the-loop (SIL) test environment 120-2, and at least one virtual electronic control unit (V-ECU) test environment 120-3. Each of the test environments 120-1 to 120-3 may also be communicatively connected to the task allocation system 110, and may also provide one or more signals, information, data, or examples of the same type associated with one or more tasks to the task allocation system 110, or receive them from the task allocation system 110. Figure 2 , provides further description of the HIL test environment 120-1 and the operations of the components contained therein, and the following reference is made to Figure 3A as well as Figure 3B, provides further description of the SIL test environment 120-2 and the operation of the components contained therein, and, below, with reference to Figure 4A as well as Figure 4B , providing further description regarding the operation of the V-ECU test environment 120 - 3 and the components contained therein.

[0056] The above-mentioned test environments 120-1 to 120-3 are only examples of possible test environments, and it should be understood that the scope of the present disclosure is not limited thereto. Specifically, the test environment 120 may include more or fewer test environments, and / or, the test environment 120 may also include any other appropriate type of test environment (e.g., a model-in-the-loop (MIL) test environment, a processor-in-the-loop (PIL) test environment, etc.) without departing from the scope of the present disclosure.

[0057] Next, refer to Figure 2 , Figure 2 A block diagram showing an example of a configuration of a hardware-in-the-loop (HIL) test environment 200 according to one or more embodiments. The HIL test environment 200 corresponds to Figure 1 Therefore, it should be understood that the features described in this specification with reference to the HIL test environments 120-1 and 200 are applicable to each other unless otherwise clearly stated.

[0058] In general, the HIL test environment 200 may be configured to manage (although not limited to) one or more tasks associated with testing of one or more test objects, such as the execution or simulation of tests, predetermined settings for test execution, or examples of the same kind. Specifically, the HIL test environment 200 can be communicatively connected to one or more developed (or partially developed) hardware / physical components, and at the same time, can simulate a real environment or actual usage in order to test or evaluate one or more hardware / physical components. For example, an engine ECU may also be developed and tested before being embedded in a vehicle. In such an example, instead of testing the engine ECU through an actual engine, the HIL test environment 200 may perform a simulation of the hardware and software of the engine that interacts with the engine ECU.

[0059] Moreover, if Figure 2 As shown, the HIL test environment 200 may also include at least one communication interface 210, at least one processor 220, at least one storage device 230, and at least one HIL simulator (HiLS) 240. The at least one HiLS 240 may also be communicatively connected to at least one electronic control unit (ECU) 250.

[0060] The communication interface 210 may also include a transceiver-like component (e.g., a transceiver, individual receivers, and a transmitter, etc.) that enables the components of the HIL test environment 200 to communicate with each other or communicate with one or more components outside the HIL test environment 200 via a wired connection, a wireless connection, or a combination of a wired connection and a wireless connection. For example, the communication interface 210 may also connect the processor 220 to the HiLS 240 so that they can communicate with each other and operate with each other when executing one or more tests / simulations. As another example, the communication interface 210 may also connect the HIL test environment 200 (or one or more components included therein) to a task allocation system (e.g., Figure 1 task allocation system 110, etc.), so that they can communicate with each other and use each other.

[0061] According to an embodiment, the communication interface 210 may also include a bus, an Ethernet interface, an optical interface, a coaxial interface, an infrared interface, a radio frequency (RF) interface, a universal serial bus (USB) interface, a WiFi interface, a cellular phone network interface, a software interface, or examples of the same. According to an embodiment, the communication interface 210 may also include at least one controller area network (CAN) bus that can be configured to communicatively connect the HIL test environment 200 (or one or more components contained therein) to multiple ECUs. In some embodiments, the CAN bus (or one or more associated functions) may also be defined in software form, for example, via virtualization (e.g., virtualized network functions, etc.).

[0062] At least one processor 220 may also include one or more processors that can be programmed in a manner that performs the functions or actions described in this specification. For example, the processor 220 may also be configured to execute computer-readable instructions stored in a storage medium (e.g., a storage device 230, etc.), thereby performing one or more behaviors or one or more actions described in this specification. According to an embodiment, the processor 220 may also be configured to receive one or more signals defining one or more instructions for performing one or more actions (e.g., via a communication interface 210, etc.). Furthermore, the processor 220 may also be implemented in hardware, firmware, or a combination of hardware and software. The processor 220 may also be a central processing unit (CPU), a graphics processing unit (GPU), an accelerated processing unit (APU), a microprocessor, a microcontroller, a digital signal processor (DSP), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC) and / or other types of processing or computing elements.

[0063] According to an embodiment, the processor 220 may also be configured to receive from a task allocation system (eg Figure 1The task allocation system 110 of the embodiment receives one or more information / signals, processes or analyzes the received information / signals, and performs one or more actions according to the processing or analysis. According to an embodiment, the processor 220 may also retrieve one or more information or data stored in at least one storage device 230 according to the processing or analysis, and provide it to the task allocation system. Furthermore, the processor 220 may also generate a schedule for executing the test according to the processing or analysis, and store the schedule in the storage device 230. Furthermore, the processor 220 may also start, instruct and / or configure the HiLS 240 in a manner of executing one or more tests / simulations according to the processing or analysis.

[0064] At least one storage device 230 may also include one or more storage media suitable for storing data, information and / or computer-readable instructions therein. Depending on the implementation, the storage device 230 may also include a random access memory (RAM), a read-only memory (ROM), and / or other types of dynamic or static storage devices (e.g., flash memory, magnetic memory, and / or optical memory) that store information and / or instructions for use by the processor 220. In addition or alternatively, the storage device 230 may also include a hard disk (e.g., a magnetic disk, an optical disk, an optical magnetic disk, and / or a semiconductor disk), a compact disk (CD), a digital versatile disk (DVD), a floppy disk, a cassette, a magnetic tape, and / or other types of non-transitory computer-readable media together with a corresponding drive.

[0065] According to an embodiment, the storage device 230 may also be configured to store information related to the capabilities of the HIL test environment 200, such as capacity information of a test server that configures / provides the HIL test environment 200, processing performance of the HiLS 240, past test results, usage costs, or examples of the same type (but not limited thereto). According to an embodiment, the performance information may also include processing speed / test speed (or a parameter that can determine the processing speed / test speed). Furthermore, the storage device 230 may also store computer-readable instructions that, when executed by one or more processors (e.g., the processor 220), cause the one or more processors to perform one or more actions described in this specification.

[0066] At least one HiLS 240 may also be configured to be communicably connected to at least one system and perform one or more real-time environment simulations or tests on at least one system. According to an embodiment, the HiLS 240 may also be communicably connected to at least one system via the communication interface 210 .

[0067] exist Figure 2In the illustrated embodiment, HiLS240 is communicatively connected to an ECU (i.e., ECU250) that may also be an embedded system of a vehicle, but it should be understood that any other appropriate physical components or systems (e.g., developed hardware, etc.) can also be applied without departing from the scope of the present disclosure. HiLS240 can also be configured in the form of hardware, software, or a combination thereof. In this regard, software components associated with HiLS240 (e.g., software programming, functional algorithms, etc.) can also be provided or stored in one or more storage media (e.g., at least one storage device 230, etc.) that can be communicatively connected to HiLS240.

[0068] HiLS240 may also be configured to perform one or more simulations or tests. According to an embodiment, HiLS may also perform electrical simulation of at least one sensor and at least one actuator, which acts as an interface between the system / hardware elements of the simulation and test. HiLS240 provides the parameters of each electrically simulated sensor and actuator to ECU250, and HiLS240 monitors the response and / or performance of ECU250. According to an embodiment, HiLS240 may also obtain one or more predetermined structures or conditions from one or more storage media (such as storage device 230, etc.), and perform simulation or emulation according to the predetermined structures or conditions. It should be understood that HiLS240 may also be configured to perform any other appropriate actions in order to simulate or emulate the actual environment or usage used to test ECU250 without departing from the scope of the present disclosure.

[0069] ECU250 may include any suitable type of embedded system or electronic control unit. According to an embodiment, ECU250 may also include one or more electronic control units used to perform one or more actions of the vehicle, such as an engine ECU, a steering ECU, an infotainment ECU, an ECU for a passive safety system (such as airbags, seat belts, etc.), or examples of the same type, but not limited to these. In this regard, it should be understood that any other suitable system, element or product (such as developed hardware, etc.) tested without departing from the scope of this disclosure can be exchanged with ECU250.

[0070] Furthermore, the HIL test environment 200 is a simple example of a HIL test environment, and the scope of the present disclosure should not be limited thereto. For example, the HIL test environment may include more or fewer components described in this specification without departing from the scope of the present disclosure, and / or may be constructed by a method different from the method described in this specification.

[0071] Next, refer to Figure 3A , Figure 3AA block diagram showing an example of a configuration of a software-in-the-loop (SIL) test environment 300 according to one or more embodiments. The SIL test environment 300 corresponds to Figure 1 Therefore, it should be understood that the features described in this specification with reference to the SIL test environments 120-2 and 300 are applicable to each other unless otherwise clearly stated.

[0072] Similar to the HIL test environment 200, the SIL test environment 300 may be configured to manage (although not limited to) one or more tasks associated with testing of one or more test objects, such as execution or simulation of tests, predetermined settings of test execution, or examples of the same kind. Nevertheless, it is communicatively connected to one or more physical / hardware components, so that, unlike the HIL test environment 200 that executes tests / simulations, the SIL test environment 300 may simply obtain or receive one or more software components (e.g., application software, virtual functions, programming codes, functional algorithms, etc.) and execute software-based tests / simulations thereon. In short, the SIL test environment 300 does not need to be connected to the physical / hardware components of the test as the HIL test environment 200 does, but can be generated, configured, and executed in any appropriate computing device or environment.

[0073] Reference Figure 3A The SIL test environment 300 can include at least one communication interface 310, at least one processor 320, and at least one storage device 330, which can respectively have Figure 2 The communication interface 210, the processor 220, and the storage device 230 of the HIL test environment 200 have the same role and function, so the repeated description thereof is sometimes omitted below for simplicity.

[0074] In this regard, unlike the HIL test environment 200 that includes a simulator (e.g., HiLS 240) that is communicatively connected to physical / hardware components, the SIL test environment 300 may also utilize at least one software-based SIL simulator (SiLS) in order to perform one or more tests / simulations on one or more test objects. That is, the SiLS may also be configured in the form of a software application or computer program that can be executed by the processor 320 and stored or provided by the storage device 330.

[0075] Furthermore, if Figure 3AAs shown, at least one application software 340 is provided to the SIL test environment 300 for testing (via the communication interface 310). The at least one application software 340 may also be stored in the storage device 330 and retrieved therefrom for testing when necessary. According to an embodiment, the at least one application software 340 may also be provided or stored in one or more storage media (such as an external server, etc.) outside the SIL test environment 300, and quickly supplied or provided to the SIL test environment 300 when performing a test / simulation. For example, according to the execution of the test / simulation, at least one SiLS (or any other appropriate component of the SIL test environment 300) executed by the processor 320 may also retrieve or receive the application software 340 (such as programming code, algorithm, etc.) from one or more external storage media (via the communication interface 310) in real time or near real time, and perform a test / simulation thereon.

[0076] For this purpose, SiLS and at least one application software may be generated or configured using any appropriate programming language or computing technology such as Java (registered trademark), C++, or similar examples, but are not limited to these.

[0077] According to the implementation, the SIL test environment 300 may also execute multiple tests / simulations simultaneously. For example, the SIL test environment 300 may also execute multiple tests / simulations of one application software in parallel, execute one test / simulation of multiple applications software in parallel, or execute multiple tests / simulations of multiple applications software in parallel.

[0078] Figure 3B A block diagram showing the structure of multiple application software involved in one or more embodiments. Specifically, Figure 3B An example of communication among a plurality of application software, such as application software 340 - 1 associated with an advanced driving assistance system (ADAS), application software 340 - 2 associated with an in-vehicle infotainment (IVI) system, and a simulated ECU 340 - 3 is shown.

[0079] It is also possible that multiple application software can be connected to each other and to the SIL test environment 300 via the virtualized network 310-1 so as to be able to communicate. In this regard, it is considered that the virtualized network 310-1 described in this specification refers to any appropriate physical network (such as Ethernet, WiFi, etc.) in which one or more virtualized network functions (such as CAN bus, etc.) are implemented, which can be configured to connect multiple application software to the SIL test environment 300. The virtualized network 310-1 is only an example of a communication channel, and it should be understood that in order to connect multiple application software to the SIL test environment 300, any appropriate component (such as a software interface, etc.) can also be used instead or in addition. In this way, the SIL test environment 300 can also execute the multiple tests / simulations in parallel by receiving or using multiple application software in parallel.

[0080] Figure 3B The application software 340-1, application software 340-2, and simulated ECU 340-3 shown are merely examples of application software, and it should be understood that any other appropriate application software (such as application software associated with an integrated circuit (IC), central application software, etc.) can also be applied in the same way. Figure 3B The structure can be applied to multiple programming codes or functional algorithms. For example, the first algorithm of ADAS and the second algorithm of ADAS can also be provided to the SIL test environment in the same way as the method described in this specification, and simulated / tested by the SIL test environment.

[0081] Next, refer to Figure 4A , Figure 4A A block diagram showing a configuration example of a virtual ECU (V-ECU) test environment 400 according to one or more embodiments. The V-ECU test environment 400 corresponds to Figure 1 Therefore, it should be understood that the features described in this specification with reference to the V-ECU test environment 120-3 and 400 are applicable to each other unless otherwise clearly stated.

[0082] In the aspect that the tests / simulations performed by the V-ECU test environment 400 are also software-based, the V-ECU test environment 400 may also be used in conjunction with the reference Figure 3A as well as Figure 3B The SIL test environment 300 described above is similar. Figure 4A The SIL test environment 400 can include at least one communication interface 410, at least one processor 420, and at least one storage device 430, which can respectively have Figure 3AThe communication interface 310, the processor 320, and the storage device 330 of the SIL test environment 300 have the same role and function, so the repeated description thereof is sometimes omitted below for simplicity.

[0083] like Figure 4A As shown, at least one application software 440 can also be provided to the V-ECU test environment 400 for testing / simulation. The application software 440 can also be used with reference Figure 3A as well as Figure 3B The above-mentioned application software 340 is similar, and therefore, for simplicity, the repeated description thereof is sometimes omitted below. Furthermore, in addition to the application software (eg, application software 340 / 440 ), at least one V-ECU may be provided to the V-ECU test environment 400 for testing.

[0084] According to an embodiment, V-ECU450 may also include (for example, based on design, development, manufacturing, etc.) application software, programming code, functional algorithm, or similar examples that define the final ECU. On the other hand, in the aspect that the simulated ECU may also include application software, programming code, functional algorithm, or similar examples that define a general or non-final ECU, V-ECU450 is different from the simulated ECU (for example, an example of application software 340 / 440).

[0085] According to other embodiments, V-ECU450 may also include application software, programming code, functional algorithm, or similar examples that define one or more required actions or functions of the ECU (such as a central ECU, etc.), and the application software tested / simulated together with V-ECU450 may also include application software, programming code, functional algorithm, or similar examples that define general or non-required actions or functions of the ECU.

[0086] According to an embodiment, the V-ECU test environment 400 may also execute multiple tests / simulations simultaneously. For example, the V-ECU test environment 400 may also execute multiple tests / simulations of one V-ECU in parallel, execute one test / simulation of multiple V-ECUs in parallel, and / or execute multiple tests / simulations of at least one V-ECU and at least one application software in parallel.

[0087] Figure 4B A block diagram showing the structure of a V-ECU and a plurality of application software according to one or more embodiments is shown. Specifically, Figure 4B 4 shows an example of communication between a plurality of simulated ECUs 440-1 and 440-2 and V-ECU 450-1. According to the embodiment, V-ECU 450-1 may also include a virtual central ECU. Figure 4BMore than one structure or action associated with it can also be referenced Figure 3B The above-mentioned structures or operations are similar, and therefore, repeated descriptions thereof may be omitted for simplicity below.

[0088] Reference Figure 4B , multiple simulated ECUs 440-1 and 440-2 and V-ECU 450-1 may also be connected to each other and to the V-ECU test environment 400 via the virtualized network 410-1 so as to be communicable. The virtualized network 410-1 is merely an example of a communication channel, and it should be understood that any appropriate component (such as a software interface, etc.) may be used instead of or in addition to connect multiple simulated ECUs 440-1 and 440-2 and V-ECU 450-1 to the V-ECU test environment 400. In this way, the V-ECU test environment may also utilize one or more application software in parallel with the V-ECU to execute the multiple tests / simulations in parallel.

[0089] Next, refer to Figure 5 , Figure 5 A block diagram showing exemplary components of a task assignment system 500 according to one or more embodiments. The task assignment system 500 corresponds to Figure 1 Therefore, it should be understood that the features described in this specification with reference to the task assignment systems 110 and 500 are applicable to each other unless otherwise clearly stated.

[0090] Reference Figure 5 The task allocation system 500 can include at least one communication interface 510, at least one processor 520, and at least one storage device 530, which can respectively have at least a part of the same functions, effects, and / or examples as the above-mentioned communication interface 210 / 310 / 410, processor 220 / 320 / 420, and storage device 230 / 330 / 430, so the repeated descriptions associated therewith are sometimes omitted for simplicity below.

[0091] Furthermore, the task assignment system 500 may also include at least one input component 540 and at least one output component 550. The at least one input component 540 may also include one or more components (e.g., a touch screen display, a button, a switch, a microphone, a sensor, etc.) that enable the task assignment system 500 to receive information. The at least one output component 550 may also include one or more components (e.g., a display, a speaker, one or more light emitting diodes (LEDs), etc.) that provide output information from the task assignment system 500.

[0092] For this purpose, components of the task assignment system 500 may also interact with each other and / or with one or more components outside the task assignment system 500 to perform one or more actions associated with one or more tasks.

[0093] Specifically, the communication interface 510 can communicatively connect the task allocation system 500 (or one or more of its components) to one or more test environments (or components such as a test server that provide or configure the test environment), thereby allowing the task allocation system 500 to interact with one or more test environments in order to manage one or more tasks.

[0094] Furthermore, the communication interface 510 can be connected to the task allocation system 500 (or one or more of its components) via a wireless network connection and / or via a wired connection to one or more terminals / devices of users (e.g., users who expect to specify policies or test parameters, etc.), and can also receive one or more user inputs from one or more terminals / devices. According to the embodiment, the one or more user inputs can also include information defining test policies, test requirements, test parameters, test conditions, or examples of the same kind. In this regard, the communication interface 510 can be connected to the storage device 530 in a communicative manner, provide the received one or more user inputs to the storage device 530, and store the received one or more user inputs therein, or can be connected to the processor 520 in a communicative manner, provide the received one or more user inputs to the processor 520 in real time or substantially real time for processing, and can also be connected to the output component 550 in a communicative manner, provide the received one or more user inputs to the output component 550 in a manner that can output (e.g., express, display, etc.) one or more user inputs via the output component 550, or can also perform the same action.

[0095] In addition to providing one or more user inputs via a terminal / device, a user may also directly provide one or more user inputs to the task assignment system 500, for example, via an input component 540. In this regard, the input component 540 may be communicatively connected to the storage device 530 to store the one or more received user inputs in the storage device 530, may be communicatively connected to the processor 520 to provide the one or more received user inputs to the processor 520 in real time or substantially real time for processing, may be communicatively connected to the output component 550 to provide the one or more received user inputs to the output component 550 in a manner that the one or more user inputs can be output (e.g., expressed, displayed, etc.) via the output component 550, may be communicatively connected to the communication interface 510 to provide the one or more received user inputs (e.g., for storage, for further processing, etc.) to one or more components outside the task assignment system 500, or may perform the same actions.

[0096] The storage device 530 may be configured to receive information or data from an external component, from an input component 540, from a processor 520, or from an example of the same kind (via the communication interface 510), or may be configured to store information or data therein. For example, the storage device 530 may also store information or data associated with a test / simulation policy, store information or data associated with past test / simulation results of one or more test environments that are communicatively connected to the task allocation system, store information or data associated with the performance of one or more test environments, or an example of the same kind. According to an embodiment, the storage device 530 may also be configured to store information or data associated with the performance of one or more test environments in a table (or any other appropriate record format).

[0097] Furthermore, the storage device 530 may also provide one or more stored data or information to the at least one processor 520 (e.g., continuously, periodically, in response to a request or event, etc.). Furthermore, the storage device 530 may also store computer-readable instructions that, when executed by the at least one processor 520, cause the at least one processor 520 to perform one or more actions described in this specification.

[0098] At least one processor 520 may also be configured to intelligently determine one or more test environments for executing one or more tests / simulations on one or more software of the system. Specifically, the processor 520 may also determine at least one test environment that satisfies one or more requirements of a task from a plurality of test environments that are communicatively connected to the task allocation system 500, and allocate tasks to the determined test environment. Therefore, the processor 520 may also be referred to as a "task allocator" in this specification.

[0099] According to an embodiment, the processor 520 may also be configured to obtain one or more information or data associated with the performance of one or more test environments (sometimes referred to as "performance information" in this specification). For example, the processor 520 may also request, retrieve, or receive one or more performance information from multiple test environments (or components that provide or configure multiple test environments) via the communication interface 510 in real time, near real time, or at the same timing. Alternatively or in addition, the processor 520 may also request, retrieve, or receive one or more stored performance information from one or more storage media (such as storage device 530, etc.).

[0100] As described above, the performance information may also include capacity information, processor / test speed (or a parameter that can determine the speed at which the processor can perform the test), simulated or supported functions / algorithms, supported instruction sets, rental fees, usage costs, or similar examples (but not limited to these). For example, at least a portion of the capacity information may also be obtained via a CPUID instruction (by the test environment or a component associated therewith) that enables one or more software to know the details (e.g., capacity, processing power, load, etc.) of an associated component (e.g., a processor, etc.).

[0101] Furthermore, the processor 520 may also be configured to obtain one or more information or data (sometimes referred to as "policy information" in this specification) of a policy associated with a task. For example, the processor 520 may also request, retrieve, or receive one or more policy information from a user (e.g., via the input component 540, a terminal / device that can be communicatively connected to the communication interface 510, etc.) in real time, near real time, or at the same timing. Alternatively or in addition, the processor 520 may also request, retrieve, or receive one or more stored policy information from the storage device 530. Furthermore, the processor 520 may also obtain policy information for multiple tasks (e.g., executed tests, scheduled tests, etc.).

[0102] The policy information is not limited to these, and may include, for example, target test period, target cost, test function, and any other appropriate parameters, constraints, or requirements of the test, and one or more information or parameters defining one or more requirements / conditions for configuring the task. For example, the policy information may also include information defining that the task (e.g., the test to be performed) requires a short / long test time, requires a cost to be within the budget, requires passing a specific function / algorithm test, and / or examples of the same type.

[0103] According to an embodiment, the processor 520 may also be configured to determine a test environment that satisfies the policy information of the task (from multiple test environments), and then assign the task to the determined test environment. For example, the processor 520 may also determine which of the multiple test environments can perform the test / simulation according to the requirements / conditions defined in the policy information based on the performance information of the multiple test environments, and assign or configure the task accordingly.

[0104] According to an implementation manner, based on a determination that multiple test environments satisfy the requirements / conditions defined in the policy information, the processor 520 may assign or configure tasks to a test environment that satisfies the most requirements / conditions (for example, test environment 1 that satisfies three requirements / conditions may be selected over test environment 2 that satisfies two requirements / conditions, etc.) and / or to a test environment that can provide the best performance / results (for example, a test environment that can complete testing / simulation in the shortest period of time, a test environment with the lowest cost, etc.).

[0105] According to an embodiment, based on a determination that none of the multiple test environments satisfies the requirements / conditions defined in the policy information, processor 520 may generate a notification message to notify a user (eg, a user requesting the test / simulation, a user defining the policy information, etc.) of the determination.

[0106] Alternatively, the processor 520 may determine one or more combinations of a part of the plurality of test environments that may satisfy the requirement / condition before generating or providing the notification message to the user, and assign / configure tasks to the combination of the test environments accordingly. For example, it may be assumed that the plurality of test environments include test environment 1 and test environment 2, and based on the determination that neither test environment 1 nor test environment 2 has the ability to satisfy the requirement / condition defined in the policy information, the processor 520 determines (based on the performance information of test environment 1 and test environment 2) whether test environment 1 and test environment 2 as a combination satisfy the requirement / condition. Based on the determination that test environment 1 and test environment 2 as a combination may satisfy the requirement / condition, the processor 520 may appropriately configure / configure tasks to test environment 1 and test environment 2 according to their respective available capabilities (e.g., assign a part of the task to test environment 1, and assign the remaining part of the task to test environment 2, etc.). Otherwise, the processor 520 may also generate and provide a notification message notifying the user that there is no available test environment that can perform the test / simulation according to the policy information.

[0107] Considering the above description, it should be understood that the processor 520 may also be configured to allocate or configure multiple tasks in the same way. For example, the processor 520 may also obtain policy information of multiple tasks in the same way as described above, determine one or more test environments for respectively allocating the multiple tasks based on the policy information (from multiple test environments), and allocate the multiple tasks in a manner of testing / simulating in the determined one or more test environments.

[0108] Furthermore, according to an embodiment, the processor 520 may also be configured to generate a record of received or stored performance information (e.g., stored in the storage device 530, etc.). For example, after acquiring or receiving new performance information, the processor 520 may generate a record of the performance information and store the record (e.g., store the record in the storage device 530, store the record in an external storage medium that is communicatively connected to the task allocation system 500 via the communication interface 510, etc.). According to an embodiment, the processor 520 may also generate a record based on the performance information of multiple test environments, and the record may also include: a table including the performance information of each of the multiple test environments.

[0109] Furthermore, the processor 520 may also be configured to update the record of performance information. For example, when assigning or configuring one or more tasks to the test environment, the processor 520 may monitor the performance of the test environment, receive one or more test results of the assigned tasks, or examples of the same type, from the test environment, and update the associated information in the record accordingly. For example, when one or more test results indicate that the test execution failed (due to an exception or a timeout of a task not being completed within a specified period, etc.), the processor 520 may always update the record (or the table contained therein) so that the same task is not reallocated to the same environment. Similarly, whenever one or more test results indicate a specific parameter (such as time or speed) that is different from the parameter expected from the record or reflected in the record, the processor 520 may update the record accordingly in a manner that more accurately reflects the latest capabilities of the corresponding test environment.

[0110] Furthermore, the processor 520 may be configured to reconfigure the failed task to another test environment when receiving a task failure report or determining that the task has failed. For example, when a task failure is reported due to a timeout, the processor 520 may always reconfigure the task to another test environment that has a higher test speed than the performance information associated with the test environment before the task was assigned.

[0111] Furthermore, the processor 520 may also be configured to allocate one or more tasks based on the test results of the previous test plan. For example, a first series of tests or simulations are performed to test the software, and then the source code of the software is updated. In this regard, the processor 520 can always optimize the task allocation for testing (e.g., shortening the test execution time, etc.) when testing the software with the updated source code in a second series of tests or simulations based on the results of the first series of tests or simulations.

[0112] It should be understood that the actions and functions of the components of the task allocation system 500 described above are merely examples of possible implementations, and the scope of the present disclosure should not be limited thereto. For example, the task allocation system 500 may include more or fewer components than those described, one or more components of the task allocation system 500 may be configured in different structures, one or more components of the task allocation system 500 may include more or fewer functions, or may be of the same structure.

[0113] Considering the above, in an embodiment of the present disclosure, a task allocation system that can be communicatively connected to multiple test environments may also be provided, and the task allocation system intelligently manages one or more tasks. For example, the task allocation system may also determine the best test environment for executing one or more tests / simulations, track and update the performance information of multiple test environments, and intelligently configure / reconfigure one or more tasks based on the updated performance information, or may also perform the same type of management. In this regard, the multiple test environments may also include one or more HIL test environments, one or more SIL test environments, and / or one or more V-ECU test environments, but it should be understood that other embodiments are not limited to this. For example, in other embodiments, other test environments, such as one or more MIL test environments, one or more PIL test environments, or examples of the same type may also (or alternatively) be applied.

[0114] Furthermore, it is considered that the reference Figures 1 to 5 The above-mentioned one or more components, structures, actions, or examples of the same kind are configured or implemented in one or more servers, such as cloud servers, server clusters, and examples of the same kind. Therefore, according to the implementation, the communication between the task allocation system and the multiple test environments and the actions contained therein can also be prompted in the form of communication between servers.

[0115] Reference Figure 6 , Figure 6 A block diagram showing exemplary communications between a task allocation system and a plurality of servers according to one or more embodiments. The task allocation system 610 may also correspond to the reference Figure 1 as well as Figure 5In the above-mentioned task allocation system, each of the first test server 620-1 and the second test server 620-2 may also provide or configure one or more test environments, such as (but not limited to) referring to Figures 1 to 4B The above-mentioned one or more HIL test environments, one or more SIL test environments, and / or one or more V-ECU environments, etc. Therefore, it should be understood that the first test server 620-1 and / or the second test server 620-2 may also include reference Figures 2 to 4B One or more components and one or more structures as described above.

[0116] For this purpose, the task allocation system 610 may also be communicatively connected to the first test server 620-1 and the second test server 602-2, respectively. For example, the communication interface of the task allocation system 610 may also be communicatively connected to the communication interface of the first test server 620-1 and the communication interface of the second test server 620-2 via a wireless network connection and / or a wired network connection. It should be understood that the task allocation system 610 may also be communicatively connected to less than two test servers, more than two test servers, or the same type of test servers by the same method as described in this specification without departing from the scope of the present disclosure.

[0117] Next, refer to the following 7A to 8B , an implementation method of the operation between the task allocation system 610 and the test servers (ie, the first test server 620 - 1 and the second test server 620 - 2 ) is described.

[0118] First refer to Fig. 7A , Fig. 7A A block diagram of an exemplary method 700 for intelligently determining one or more test environments for testing software of a system according to one or more embodiments is shown. One or more actions of the method 700 may also be performed by Figure 6 The task allocation system 610 is executed by at least one task allocator (e.g., at least one processor, etc.). Furthermore, according to an embodiment, the system is an embedded system, such as (but not limited to) an in-vehicle ECU. Furthermore, it is also possible to Figure 6 The first test server 620 - 1 and the second test server 620 - 2 configure or provide a test environment associated with one or more actions of the method 700 .

[0119] and then, Figure 7B The calling flow of a non-exhaustive use case of implementing method 700 according to one or more embodiments is shown. Figure 7B illustrate Fig. 7A One or more actions of method 700.

[0120] You can also Fig. 7A The structure shown is that in action S710, the task allocation system obtains one or more performance information. For example, the task allocator of the task allocation system can also generate a request signal or query message for requesting performance information of a test environment that can be used (for example, a test environment related to the task allocation system, etc.), and then send the request signal or query message to one or more test servers that are communicatively connected to the task allocation system. Correspondingly, one or more test servers can also provide the latest or most updated performance information to the task allocation system.

[0121] Reference Figure 7B In the use case of the task allocation system 610, the task allocator may also initially obtain (in action S710-1) performance information of one or more test environments provided or configured for the first test server 620-1 from the first test server 620-1, and then subsequently obtain (in action S710-2) performance information of one or more test environments provided or configured for the second test server 620-2 from the second test server 620-2.

[0122] It should be understood that the task dispatcher may also obtain performance information from multiple test servers by any appropriate sequential method. For example, the task dispatcher may simultaneously execute action S710-1 and action S710-2 to obtain performance information of multiple test environments in parallel, or may execute action S710-2 before action S710-1 to initially obtain performance information from the second test server 620-2, or may use the same method.

[0123] In return Fig. 7A When referring to the information, the task allocation system may obtain one or more policy information in action S720. For example, the task dispatcher may obtain policy information of the executed task (e.g., execution of the test, predetermined setting of the test, etc.) (e.g., from one or more storage media, from a user terminal / device connected to the task allocation system in a communicative manner, from an input component, etc.) in order to test the software of the system.

[0124] Furthermore, the task allocator may determine at least one test environment in action S730. For example, the task allocator may determine a test environment that satisfies the policy information from a plurality of test environments.

[0125] Reference Figure 7BIn the use case, after obtaining the performance information of multiple test environments provided or configured for the first test server 620-1 and the second test server 620-2, the task allocator of the task allocation system 610 executes the task planning process (including actions S720 and S730) by generating a test plan for executing or performing more than one test / simulation on the entire test environment (for example, in parallel, simultaneously, etc.).

[0126] In this regard, the task allocator may also generate a test plan based on the performance information and policy information. For example, the task allocator may also configure the tasks according to the performance information of each test environment and the configuration policy of the task. Therefore, the task allocator can determine the best test environment that meets the requirements (defined in the policy information) of each task. For example, as described above, when the policy information for testing is defined as the test must be completed within a specific time range, it can be determined based on the performance information of each test environment which test environment can meet the time constraint, and the tasks are configured for the test environment accordingly.

[0127] For this purpose, it should be understood that the reference can be applied or executed by the task allocator when generating the test plan. Figure 5 For example, the performance information used by the task dispatcher when generating the test plan may include performance information directly obtained from the associated test server and / or may also include reference to Figure 5 The performance information stored in the above records can be obtained by the task dispatcher through Figure 5 The method described in for the operation of the processor 520 may be similar to the method for determining one or more optimal test environments, or the same operation may be performed.

[0128] In return Fig. 7A When referring to the above, the task allocation system may allocate tasks in action S740. For example, the task allocator of the task allocation system may generate a signal, message, instruction or the like including information of the task (such as a timetable for executing the test, a target period for completing the test, etc.) according to the policy information of the task. Afterwards, the task allocator may also provide the generated signal / message / instruction to the test server that provides or configures the determined test environment.

[0129] Reference Figure 7B In the use case, after completing the task plan, the task allocator of the task allocation system 610 may first (in action S740-1) allocate or configure tasks for the test environment provided or configured for the first test server 620-1, and then (in action S740-2) allocate or configure tasks for the test environment provided or configured for the second test server 620-2.

[0130] It should be understood that the tasks assigned or configured in actions S740-1 and S740-2 may be the same, different, or partially the same. For example, the tasks assigned or configured in action S740-2 may be the same series of tasks as the tasks assigned or configured in action S740-1.

[0131] As another example, a task may include multiple tasks, and the policy information obtained by the task allocator may include policy information of multiple tasks. In this regard, the task allocator may determine multiple test environments from multiple test environments in order to respectively allocate or configure multiple tasks according to the associated policy information. Therefore, the task allocator may also allocate multiple tasks in order to execute them simultaneously in multiple test environments.

[0132] Furthermore, it should be understood that the task allocator may also allocate or configure tasks in any appropriate order. For example, the task allocator may simultaneously execute actions S740-1 and S740-2 in order to allocate or configure tasks to multiple test environments in parallel, or may execute action S740-2 before action S740-1 in order to initially allocate or configure tasks to the test environment of the second test server 620-2, or may execute the same order.

[0133] Next refer to Fig. 8A , Fig. 8A A block diagram of an exemplary method 800 for managing information according to one or more embodiments is shown. Fig. 7A Similarly, one or more actions of method 800 may also be performed by Figure 6 At least one task allocator of the task allocation system 610 is executed. Figure 6 The first test server 620-1 and the second test server 620-2 configure or provide a test environment associated with one or more actions of the method 800. In addition, it should be understood that it is also possible to Fig. 7A One or more actions of method 700 are combined to perform one or more actions of method 800.

[0134] and then, Figure 8B The calling flow of a non-exhaustive use case of implementing method 800 according to one or more embodiments is shown. Figure 8B illustrate Fig. 8A The method 800 may include one or more actions.

[0135] like Fig. 8AAs shown, in action S810, the task allocation system may receive information. For example, the task allocator of the task allocation system may also receive performance information of the test environment provided or configured for the one or more test servers from one or more test servers. In this regard, action S810 may also be Fig. 7A Alternatively or in addition thereto, the task allocator may also receive one or more test results of the assigned tasks from one or more test servers (or test environments configured or provided therein).

[0136] Reference Figure 8B In the use case, in actions S810-1 and S810-2, the task dispatcher of the task dispatching system 610 may receive performance information of one or more test environments from the first test server 620-1 and the second test server 620-2, respectively. Furthermore, in actions S810-3 and S810-4, the task dispatcher may receive one or more test results of one or more assigned tasks from the first test server 620-1 and the second test server 620-2, respectively.

[0137] It should be understood that the task dispatcher may receive information in any suitable order. For example, the task dispatcher may receive performance information from both the first test server 620-1 and the second test server 620-2 at the same time, or may first receive the test results from the second test server 620-2 before receiving other information, or may receive the same order.

[0138] In return Fig. 8A When referring to, it can also be configured that in action S820, the task allocation system manages the received information. For example, the task allocator of the task allocation system can also generate a record and store the received information in the record. According to the implementation method of making the record, the task allocator can also update the information of the record according to the received information.

[0139] According to an embodiment, the record may also include a table, and the task distributor may also store the performance information of each test environment in the table of the record. In this regard, when receiving the performance information from the test server, the task distributor may replace the performance information of the table with the newly received performance information, or may determine the difference between the performance information of the table and the newly received performance information, and update the performance information of the table different from the newly received performance information accordingly. The task distributor may also update the performance information of the table according to one or more received test results by the same method as described above.

[0140] Reference Figure 8BIn the use case of the present invention, in actions S820-1 and S820-2, the task distributor of the task distribution system 610 may also update the record (for example, update the performance information stored in the table of the record) based on the performance information of one or more test environments received from the first test server 620-1 and the second test server 620-2, respectively. Furthermore, in actions S820-3 and S820-4, the task distributor of the task distribution system 610 may update the record based on one or more test results of one or more assigned tasks received from the first test server 620-1 and the second test server 620-2, respectively. It should be understood that the task distributor may also update the record in any appropriate order.

[0141] Furthermore, as mentioned above, referring to 7A to 8B The above actions are merely implementations of actions between the task allocation system 610 and the test servers (i.e., the first test server 620-1 and the second test server 620-2). It should be understood that any other appropriate actions may be performed without departing from the scope of the present disclosure. For example, as shown in FIG. Figure 5 As described above, the task allocator (ie, processor 520) of the task allocation system can allocate or configure one or more tasks according to the test results, optimize the allocation or configuration of one or more tasks according to the test results, or perform the same actions.

[0142] It should be understood that the specific order or hierarchy of blocks of the process / flowchart disclosed in this specification is an illustration of exemplary treatment. It should be understood that the specific order or hierarchy of blocks of the process / flowchart can also be reorganized according to design preferences. Furthermore, some blocks can also be combined or omitted. The accompanying method claims present the elements of various blocks in an example order and are not intended to be limited to the specific order or hierarchy presented.

[0143] A portion of the embodiments may also be associated with a system, method, and / or computer-readable medium at a comprehensive level of detail of any possible technology. Furthermore, as described above, one or more of the above-mentioned constituent elements may also be saved to a computer-readable medium, implemented as instructions that can be executed by at least one processor (and / or may also include at least one processor). The computer-readable medium may also include a computer-readable non-temporary storage medium (or medium) having computer-readable program instructions for causing the processor to act.

[0144] The computer-readable storage medium can be set as a tangible device that can hold and store instructions for the use of the instruction execution device. The computer-readable storage medium can also be, for example, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any appropriate combination thereof, but is not limited thereto. A non-exhaustive list of more specific examples of computer-readable storage media includes the following. Portable computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk-read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanically coded device, such as a punch card or a raised structure of a groove with recorded instructions thereon, and any appropriate combination thereof. The computer-readable storage medium used in this specification should not be understood as an essentially temporary signal such as an electric wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating in a waveguide or other transmission medium (such as a light pulse through an optical fiber cable), or an electric signal sent via a wire.

[0145] The computer-readable program instructions recorded in this specification can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network may also include copper transmission cables, optical transmission fibers, wireless communications, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface of each computing / processing device transmits the computer-readable program instructions in order to receive the computer-readable program instructions from the network and store them in the computer-readable storage medium in each computing / processing device.

[0146] The computer-readable program code / instructions for performing the action may be assembly language instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, structural data of integrated circuits, or may be source code or object code written in any combination of one or more programming languages ​​including target-oriented programming languages ​​such as Smalltalk, C++ or similar examples, and procedural programming languages ​​such as "C" programming language or similar programming languages. The computer-readable program instructions may be executed as a whole on the user's computer as an independent software package, or may be executed in part on the user's computer, or in part on the user's computer and in part on a remote computer, or may be executed in whole on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer via any type of network such as a local area network (LAN), a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, for example, an electronic circuit including a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA) may also execute computer-readable program instructions using state information of the computer-readable program instructions that personalize the electronic circuit in order to execute a mode or action.

[0147] The machine is generated by providing these computer-readable program instructions to the processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device in such a manner that the instructions for the processor of the computer or other programmable data processing device generate units for implementing the blocks of the flowchart and / or block diagram or the functions / actions specified in the blocks. The computer-readable program instructions can also be stored in a computer-readable storage medium that can instruct a computer, a programmable data processing device, and / or other device to perform functions in a specific manner in such a manner that the computer-readable storage medium storing the instructions includes a product containing instructions for implementing the blocks of the flowchart and / or block diagram or the functions / actions specified in the blocks.

[0148] Computer-readable program instructions may also be read into a computer, other programmable data processing device, or other device in such a manner that the instructions for actions in the computer, other programmable device, or other device implement the blocks of the flowchart and / or block diagram or the functions / actions specified in the blocks, so as to generate a computer-implemented process so that the computer, other programmable device, or other device performs a series of action steps.

[0149] The flowchart and block diagram of the figure illustrate the structure, function and action of the possible implementation of the system, method and computer-readable medium involved in various embodiments. In this regard, each block of the flowchart or block diagram may also represent a module, segment or part of an instruction that can execute instructions for implementing a specified logical function. The present method, computer system and computer-readable medium may also include additional blocks, fewer blocks, different blocks or blocks configured in different ways compared to the structure recorded in the figure. In a part of the alternative implementation, the functions shown in the block are sometimes generated in an order different from the order shown in the figure. For example, in fact, the two blocks shown in succession are sometimes executed in parallel or substantially in parallel, or sometimes according to the relevant functions, the blocks are executed in the reverse order. It is hoped that each block of the block diagram and / or flowchart and the combination of the blocks of the block diagram and / or flowchart can be realized by a special purpose hardware-based system that performs a specified function or action or performs a combination of special purpose hardware and computer instructions.

[0150] It should be understood that the systems and / or methods described in this specification can be implemented in hardware, firmware, or a combination of hardware and software in various ways. The actual specific control hardware or software code used to implement these systems and / or methods does not limit the implementation. Therefore, the actions and behaviors of the systems and / or methods are described in this specification without reference to specific software code, but it should be understood that the software and hardware can also be designed in a manner to implement the systems and / or methods according to the description of this specification.

Claims

1. A method for intelligently determining one or more test environments for testing software embedded in a system, wherein: The method comprises: Use the task allocator to obtain performance information for multiple test environments; Using the task dispatcher, obtaining policy information of tasks to be performed for testing software of the embedded system; Determine, by using the task allocator, a test environment that satisfies the policy information from among the plurality of test environments; and using the task allocator to allocate the task to the determined test environment, The embedded system is an on-board electronic control unit (ECU), The plurality of test environments include at least one software-in-the-loop (SIL) test environment, at least one hardware-in-the-loop (HIL) test environment, and at least one virtual ECU (V-ECU) test environment.

2. The method according to claim 1, wherein: Also includes: Using the task allocator, receiving the test result of the assigned task from the determined test environment; as well as The task allocator is used to update the determined performance information of the test environment according to the received test result.

3. The method according to claim 2, wherein: Also includes: Determining other test environments from the plurality of test environments according to the received test results by using the task allocator; as well as The task is allocated to the determined other test environments using the task allocator.

4. The method according to any one of claims 1 to 3, wherein: The performance information includes at least one of processor speed, supported ECU functions, supported instruction sets, and usage cost.

5. The method according to any one of claims 1 to 4, wherein: Acquiring the policy information includes acquiring the policy information of a plurality of tasks, Determining the test environment includes determining a plurality of test environments from the plurality of test environments in order to respectively assign the plurality of tasks according to the policy information, Allocating the tasks includes allocating the plurality of tasks for simultaneous execution in the plurality of test environments.

6. The method according to any one of claims 1 to 5, wherein: Also included is storing, using the task allocator, the performance information into a record, the record comprising a table.

7. The method according to claim 6, wherein: Also includes: Using the task allocator, receiving the test result of the assigned task from the determined test environment; as well as The table of records is updated according to the received test results using the task distributor.

8. A system for intelligently determining one or more test environments for testing software embedded in a system, wherein: The system has: a memory storing instructions; and Task allocator, The task distributor is configured to: execute the instructions, Get performance information for multiple test environments, obtaining policy information for tasks to be performed to test the software embedded in the system, determining a test environment that satisfies the policy information from among the plurality of test environments; assigning the task to the determined test environment, The embedded system is an on-board electronic control unit (ECU), The plurality of test environments include at least one software-in-the-loop (SIL) test environment, at least one hardware-in-the-loop (HIL) test environment, and at least one virtual ECU (V-ECU) test environment.

9. The system according to claim 8, wherein: The task distributor is further configured to: execute the instructions, receiving the test result of the assigned task from the determined test environment, The performance information of the determined test environment is updated according to the received test result.

10. The system according to claim 9, wherein: The task distributor is also configured as follows: Determine another test environment from the multiple test environments according to the received test result, The task is assigned to the determined other test environment.

11. The system according to any one of claims 8 to 10, wherein: The performance information includes at least one of processor speed, supported ECU functions, supported instruction sets, and usage cost.

12. The system according to any one of claims 8 to 11, wherein: The task distributor is configured to: execute the instruction to obtain the policy information of the plurality of tasks, thereby obtaining the policy information; The task allocator is configured to: execute the instruction, determine a plurality of test environments from the plurality of test environments in order to respectively allocate the plurality of tasks according to the policy information, thereby determining the test environment; The task distributor is configured to execute the instruction to distribute the plurality of tasks so as to be executed simultaneously in the plurality of test environments, thereby distributing the tasks.

13. A system according to any one of claims 8 to 12, wherein: The task distributor is further configured to execute the instructions and store the performance information in a record, wherein the record includes a table.

14. The system according to claim 13, wherein: The task distributor is further configured to: execute the instructions, receiving the test result of the assigned task from the determined test environment, The table of records is updated according to the received test results.

15. A non-transitory computer-readable recording medium having recorded thereon instructions executable by a task allocator, The instructions cause the task distributor to execute a method for intelligently determining one or more test environments for testing software embedded in a system. The method comprises: Using the task allocator, obtaining performance information of multiple test environments; Using the task dispatcher, obtaining policy information of tasks to be performed for testing software of the embedded system; Determine, by using the task allocator, a test environment that satisfies the policy information from among the multiple test environments; as well as using the task allocator to allocate the task to the determined test environment, The embedded system is an on-board electronic control unit (ECU), The plurality of test environments include at least one software-in-the-loop (SIL) test environment, at least one hardware-in-the-loop (HIL) test environment, and at least one virtual ECU (V-ECU) test environment.

16. The non-transitory computer-readable recording medium according to claim 15, wherein: The method further comprises: Using the task allocator, receiving the test result of the assigned task from the determined test environment; and The task allocator is used to update the determined performance information of the test environment according to the received test result.

17. The non-transitory computer-readable recording medium according to claim 16, wherein: The method further comprises: Determining other test environments from the plurality of test environments according to the received test results by using the task allocator; and The task is allocated to the determined other test environments using the task allocator.

18. The non-transitory computer-readable recording medium according to any one of claims 15 to 17, wherein: The performance information includes at least one of processor speed, supported ECU functions, supported instruction sets, and usage cost.

19. The non-transitory computer-readable recording medium according to any one of claims 15 to 18, wherein: Acquiring the policy information includes acquiring the policy information of a plurality of tasks, Determining the test environment includes determining a plurality of test environments from the plurality of test environments in order to respectively assign the plurality of tasks according to the policy information, Allocating the tasks includes allocating the plurality of tasks for simultaneous execution in the plurality of test environments.

20. The non-transitory computer-readable recording medium according to any one of claims 15 to 19, wherein: The method further comprises: The performance information is stored in a record using the task allocator, the record having a table.