Unified Parameter Object for Graphic Program Configuration
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In vehicular software development, configuring parameters for graphic programs is inefficient due to the need for different parameter objects for various parameter types, leading to errors and reduced development efficiency, especially when dealing with multiple execution units.
Innovation Solution
A method and system that allow parameter configuration directly as a string, with serialization and deserialization operations to simplify the process, enabling bidirectional switching between parameter configurations without requiring separate variable settings for each parameter.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If different parameter objects are established for different parameter types, then parameter configuration accuracy is improved, but device complexity and development time increase
Solution Approach 1:
The patent applies universality by creating a unified parameter object structure that can handle multiple parameter types (digital, string, object, etc.) through a common interface. Instead of creating separate parameter objects for each type, the system uses a single parameter object template with type identification fields, allowing the same object structure to serve multiple functions across different parameter types while maintaining type-specific validation and processing rules.
Solution Approach 2:
The patent utilizes parameter changes by introducing type identification parameters within the unified parameter object structure. The system changes the state of the parameter object by setting type flags or enumeration values that indicate the specific parameter type, enabling the same object structure to represent different parameter types dynamically without requiring separate object instances for each type.
2Reliability
If different parameter objects are established for different parameter types, then parameter type safety is improved, but development efficiency decreases
Solution Approach 1:
The unified parameter object structure provides type safety through a common interface that handles all parameter types consistently, reducing the risk of type-matching errors. The system maintains reliability by incorporating type validation mechanisms within the unified structure, such as type checking functions and enum-based type identification, ensuring that parameter types are correctly identified and processed while simplifying the development process.
Solution Approach 2:
The patent implements feedback mechanisms through type validation and error checking within the unified parameter object system. When a parameter is configured, the system provides immediate feedback by validating the parameter type against expected types and reporting errors or warnings if mismatches are detected. This feedback loop ensures type safety while guiding developers through the configuration process, maintaining reliability without sacrificing development efficiency.
3Manufacturing precision
If separate variable settings are required for each parameter, then parameter configuration precision is improved, but ease of operation deteriorates
Solution Approach 1:
The unified parameter object structure allows developers to configure all parameter types using the same object template and configuration process, significantly improving ease of operation. Instead of learning and managing separate variable settings for each parameter type, developers work with a single unified interface that automatically handles type-specific requirements, reducing the operational complexity while maintaining configuration precision through built-in validation rules.
Data Source
Figure 1~3
Figure 4~6
Figure 7
AI summary
A method and a system for configuring a parameter for a graphic program and a vehicular development and debugging system are provided. The method of configuring a parameter for a graphic program includes: configuring a parameter for an execution unit, performing serialization operation on a parameter configuration string associated with the parameter, and displaying a serialized string in a parameter correspondence table associated with the parameter; performing deserialization operation on the serialized string at the time of running the graphic program to obtain an actual parameter value required by the execution unit in the graphic program.